uboot-fit-image.its 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. /dts-v1/;
  2. / {
  3. description = "U-boot FIT image for HiFive Unleashed";
  4. #address-cells = <2>;
  5. images {
  6. bbl {
  7. description = "BBL/SBI/riscv-pk";
  8. data = /incbin/("../work/bbl.bin");
  9. type = "kernel";
  10. arch = "riscv";
  11. os = "linux";
  12. load = <0x80000000>;
  13. entry = <0x80000000>;
  14. compression = "none";
  15. hash-1 {
  16. algo = "sha256";
  17. };
  18. };
  19. kernel {
  20. description = "Linux kernel";
  21. data = /incbin/("../work/vmlinux.bin");
  22. type = "kernel";
  23. arch = "riscv";
  24. os = "linux";
  25. load = <0x80200000>;
  26. compression = "none";
  27. hash-1 {
  28. algo = "sha256";
  29. };
  30. };
  31. ramdisk {
  32. description = "buildroot initramfs";
  33. data = /incbin/("../work/initramfs.cpio.gz");
  34. type = "ramdisk";
  35. arch = "riscv";
  36. os = "linux";
  37. load = <0x82000000>;
  38. compression = "gzip";
  39. hash-1 {
  40. algo = "sha256";
  41. };
  42. };
  43. fdt {
  44. data = /incbin/("../work/HiFive_U-Boot/arch/riscv/dts/hifive_u540.dtb");
  45. type = "flat_dt";
  46. arch = "riscv";
  47. load = <0x81f00000>;
  48. compression = "none";
  49. hash-1 {
  50. algo = "sha256";
  51. };
  52. };
  53. };
  54. configurations {
  55. default = "config-1";
  56. config-1 {
  57. description = "HiFive Unleashed with BBL";
  58. kernel = "bbl";
  59. fdt = "fdt";
  60. loadables = "kernel", "ramdisk";
  61. };
  62. };
  63. };