Advertisement
trini

Example FIT its file for AM/OMAP platforms

Sep 4th, 2013
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.29 KB | None | 0 0
  1. /dts-v1/;
  2. / {
  3. description = "Simple image with single Linux kernel and FDT blob";
  4. #address-cells = <1>;
  5. images {
  6. kernel@1 {
  7. description = "Vanilla Linux kernel v3.10";
  8. data = /incbin/("./zImage");
  9. type = "kernel_noload";
  10. arch = "arm";
  11. os = "linux";
  12. compression = "none";
  13. load = <0x00000000>;
  14. entry = <0x00000000>;
  15. hash@1 {
  16. algo = "crc32";
  17. };
  18. hash@2 {
  19. algo = "sha1";
  20. };
  21. };
  22. fdt@1 {
  23. description = "Flattened Device Tree blob";
  24. data = /incbin/("./am335x-bone.dtb");
  25. type = "flat_dt";
  26. arch = "arm";
  27. compression = "none";
  28. hash@1 {
  29. algo = "crc32";
  30. };
  31. hash@2 {
  32. algo = "sha1";
  33. };
  34. };
  35. ramdisk@1 {
  36. description = "recovery ramdisk";
  37. data = /incbin/("../ramdisk-pm.gz");
  38. type = "ramdisk";
  39. arch = "arm";
  40. os = "linux";
  41. compression = "none";
  42. load = <00000000>;
  43. entry = <00000000>;
  44. hash@1 {
  45. algo = "sha1";
  46. };
  47. };
  48.  
  49. };
  50.  
  51. /* a notable concept of FIT, “configurations” */
  52. configurations {
  53. default = "defaultconf@1";
  54. defaultconf@1 {
  55. description = "Boot Linux kernel with FDT blob";
  56. kernel = "kernel@1";
  57. fdt = "fdt@1";
  58. };
  59. recoveryconf@1 {
  60. description = "Boot Linux kernel + fdt with ramdisk for recovery";
  61. kernel = "kernel@1";
  62. ramdisk = "ramdisk@1";
  63. fdt = "fdt@1";
  64. };
  65.  
  66. };
  67. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement