kernel_fdt.rst 882 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. .. SPDX-License-Identifier: GPL-2.0+
  2. Single kernel and FDT blob
  3. ==========================
  4. ::
  5. /dts-v1/;
  6. / {
  7. description = "Simple image with single Linux kernel and FDT blob";
  8. #address-cells = <1>;
  9. images {
  10. kernel {
  11. description = "Vanilla Linux kernel";
  12. data = /incbin/("./vmlinux.bin.gz");
  13. type = "kernel";
  14. arch = "ppc";
  15. os = "linux";
  16. compression = "gzip";
  17. load = <00000000>;
  18. entry = <00000000>;
  19. hash-1 {
  20. algo = "crc32";
  21. };
  22. hash-2 {
  23. algo = "sha1";
  24. };
  25. };
  26. fdt-1 {
  27. description = "Flattened Device Tree blob";
  28. data = /incbin/("./target.dtb");
  29. type = "flat_dt";
  30. arch = "ppc";
  31. compression = "none";
  32. hash-1 {
  33. algo = "crc32";
  34. };
  35. hash-2 {
  36. algo = "sha1";
  37. };
  38. };
  39. };
  40. configurations {
  41. default = "conf-1";
  42. conf-1 {
  43. description = "Boot Linux kernel with FDT blob";
  44. kernel = "kernel";
  45. fdt = "fdt-1";
  46. };
  47. };
  48. };