kernel_fdts_compressed.its 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. /*
  2. * U-Boot uImage source file with a kernel and multiple compressed FDT blobs.
  3. * Since the FDTs are compressed, configurations must provide a compatible
  4. * string to match directly.
  5. */
  6. /dts-v1/;
  7. / {
  8. description = "Image with single Linux kernel and compressed FDT blobs";
  9. #address-cells = <1>;
  10. images {
  11. kernel {
  12. description = "Vanilla Linux kernel";
  13. data = /incbin/("./vmlinux.bin.gz");
  14. type = "kernel";
  15. arch = "ppc";
  16. os = "linux";
  17. compression = "gzip";
  18. load = <00000000>;
  19. entry = <00000000>;
  20. hash-1 {
  21. algo = "crc32";
  22. };
  23. hash-2 {
  24. algo = "sha1";
  25. };
  26. };
  27. fdt@1 {
  28. description = "Flattened Device Tree blob 1";
  29. data = /incbin/("./myboard-var1.dtb");
  30. type = "flat_dt";
  31. arch = "ppc";
  32. compression = "gzip";
  33. hash-1 {
  34. algo = "crc32";
  35. };
  36. hash-2 {
  37. algo = "sha1";
  38. };
  39. };
  40. fdt@2 {
  41. description = "Flattened Device Tree blob 2";
  42. data = /incbin/("./myboard-var2.dtb");
  43. type = "flat_dt";
  44. arch = "ppc";
  45. compression = "lzma";
  46. hash-1 {
  47. algo = "crc32";
  48. };
  49. hash-2 {
  50. algo = "sha1";
  51. };
  52. };
  53. };
  54. configurations {
  55. default = "conf@1";
  56. conf@1 {
  57. description = "Boot Linux kernel with FDT blob 1";
  58. kernel = "kernel";
  59. fdt = "fdt@1";
  60. compatible = "myvendor,myboard-variant1";
  61. };
  62. conf@2 {
  63. description = "Boot Linux kernel with FDT blob 2";
  64. kernel = "kernel";
  65. fdt = "fdt@2";
  66. compatible = "myvendor,myboard-variant2";
  67. };
  68. };
  69. };