kernel.its 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. /*
  2. * Simple U-Boot uImage source file containing a single kernel
  3. */
  4. /dts-v1/;
  5. / {
  6. description = "Simple image with single Linux kernel";
  7. #address-cells = <1>;
  8. images {
  9. kernel {
  10. description = "Vanilla Linux kernel";
  11. data = /incbin/("./vmlinux.bin.gz");
  12. type = "kernel";
  13. arch = "ppc";
  14. os = "linux";
  15. compression = "gzip";
  16. load = <00000000>;
  17. entry = <00000000>;
  18. hash-1 {
  19. algo = "crc32";
  20. };
  21. hash-2 {
  22. algo = "sha1";
  23. };
  24. };
  25. };
  26. configurations {
  27. default = "config-1";
  28. config-1 {
  29. description = "Boot Linux kernel";
  30. kernel = "kernel";
  31. };
  32. };
  33. };
  34. For x86 a setup node is also required: see x86-fit-boot.txt.
  35. /dts-v1/;
  36. / {
  37. description = "Simple image with single Linux kernel on x86";
  38. #address-cells = <1>;
  39. images {
  40. kernel {
  41. description = "Vanilla Linux kernel";
  42. data = /incbin/("./image.bin.lzo");
  43. type = "kernel";
  44. arch = "x86";
  45. os = "linux";
  46. compression = "lzo";
  47. load = <0x01000000>;
  48. entry = <0x00000000>;
  49. hash-2 {
  50. algo = "sha1";
  51. };
  52. };
  53. setup {
  54. description = "Linux setup.bin";
  55. data = /incbin/("./setup.bin");
  56. type = "x86_setup";
  57. arch = "x86";
  58. os = "linux";
  59. compression = "none";
  60. load = <0x00090000>;
  61. entry = <0x00090000>;
  62. hash-2 {
  63. algo = "sha1";
  64. };
  65. };
  66. };
  67. configurations {
  68. default = "config-1";
  69. config-1 {
  70. description = "Boot Linux kernel";
  71. kernel = "kernel";
  72. setup = "setup";
  73. };
  74. };
  75. };
  76. Note: the above assumes a 32-bit kernel. To directly boot a 64-bit kernel,
  77. change both arch values to "x86_64". U-Boot will then change to 64-bit mode
  78. before booting the kernel (see boot_linux_kernel()).