Advertisement
trini

Untitled

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