bootfs-generic.its 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
  2. /dts-v1/;
  3. / {
  4. description = "OpenWrt bootfs image";
  5. #address-cells = <1>;
  6. images {
  7. atf {
  8. description = "ATF";
  9. data = /incbin/("${images_dir}/bl31.bin");
  10. type = "firmware";
  11. arch = "arm64";
  12. os = "arm-trusted-firmware";
  13. compression = "none";
  14. load = <0x4000>;
  15. entry = <0x4000>;
  16. hash-1 {
  17. algo = "sha256";
  18. };
  19. };
  20. uboot {
  21. description = "U-Boot";
  22. data = /incbin/("${images_dir}/u-boot/u-boot-nodtb.bin");
  23. os = "U-Boot";
  24. arch = "arm64";
  25. compression = "none";
  26. load = <0x1000000>;
  27. entry = <0x1000000>;
  28. hash-1 {
  29. algo = "sha256";
  30. };
  31. };
  32. kernel {
  33. description = "Linux kernel";
  34. data = /incbin/("${kernel}");
  35. type = "kernel";
  36. os = "linux";
  37. arch = "arm64";
  38. compression = "lzma";
  39. load = <0x80000>;
  40. entry = <0x80000>;
  41. hash-1 {
  42. algo = "sha256";
  43. };
  44. };
  45. fdt_uboot {
  46. description = "dtb";
  47. data = /incbin/("${images_dir}/u-boot/u-boot.dtb");
  48. type = "flat_dt";
  49. compression = "none";
  50. hash-1 {
  51. algo = "sha256";
  52. };
  53. };
  54. fdt_GTAX6000 {
  55. description = "dtb";
  56. data = /incbin/("${images_dir}/u-boot/GTAX6000.dtb");
  57. type = "flat_dt";
  58. compression = "none";
  59. hash-1 {
  60. algo = "sha256";
  61. };
  62. };
  63. fdt_uboot_RAX220 {
  64. description = "dtb";
  65. data = /incbin/("${images_dir}/u-boot/RAX220.dtb");
  66. type = "flat_dt";
  67. compression = "none";
  68. hash-1 {
  69. algo = "sha256";
  70. };
  71. };
  72. fdt_linux_RAX220 {
  73. description = "dtb";
  74. data = /incbin/("${dts_dir}/broadcom/bcm4908/bcm4908-netgear-raxe500.dtb");
  75. arch = "arm64";
  76. type = "flat_dt";
  77. compression = "none";
  78. };
  79. };
  80. configurations {
  81. default = "conf_uboot";
  82. conf_uboot {
  83. description = "BRCM 63xxx with uboot";
  84. fdt = "fdt_uboot";
  85. loadables = "atf", "uboot";
  86. };
  87. conf_ub_GTAX6000 {
  88. description = "GTAX6000";
  89. fdt = "fdt_GTAX6000";
  90. loadables = "atf", "uboot";
  91. };
  92. conf_ub_RAX220 {
  93. description = "RAX220";
  94. fdt = "fdt_uboot_RAX220";
  95. loadables = "atf", "uboot";
  96. };
  97. conf_lx_RAX220 {
  98. description = "BRCM 63xxx linux";
  99. kernel = "kernel";
  100. fdt = "fdt_linux_RAX220";
  101. };
  102. };
  103. };