multi-with-loadables.its 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. /*
  2. * U-Boot uImage source file with multiple kernels, ramdisks and FDT blobs
  3. * This example makes use of the 'loadables' field
  4. */
  5. /dts-v1/;
  6. / {
  7. description = "Configuration to load a Xen Kernel";
  8. #address-cells = <1>;
  9. images {
  10. xen_kernel {
  11. description = "xen binary";
  12. data = /incbin/("./xen");
  13. type = "kernel";
  14. arch = "arm";
  15. os = "linux";
  16. compression = "none";
  17. load = <0xa0000000>;
  18. entry = <0xa0000000>;
  19. hash-1 {
  20. algo = "md5";
  21. };
  22. };
  23. fdt-1 {
  24. description = "xexpress-ca15 tree blob";
  25. data = /incbin/("./vexpress-v2p-ca15-tc1.dtb");
  26. type = "flat_dt";
  27. arch = "arm";
  28. compression = "none";
  29. load = <0xb0000000>;
  30. hash-1 {
  31. algo = "md5";
  32. };
  33. };
  34. fdt-2 {
  35. description = "xexpress-ca15 tree blob";
  36. data = /incbin/("./vexpress-v2p-ca15-tc1.dtb");
  37. type = "flat_dt";
  38. arch = "arm";
  39. compression = "none";
  40. load = <0xb0400000>;
  41. hash-1 {
  42. algo = "md5";
  43. };
  44. };
  45. linux_kernel {
  46. description = "Linux Image";
  47. data = /incbin/("./Image");
  48. type = "kernel";
  49. arch = "arm";
  50. os = "linux";
  51. compression = "none";
  52. load = <0xa0000000>;
  53. entry = <0xa0000000>;
  54. hash-1 {
  55. algo = "md5";
  56. };
  57. };
  58. };
  59. configurations {
  60. default = "config-2";
  61. config-1 {
  62. description = "Just plain Linux";
  63. kernel = "linux_kernel";
  64. fdt = "fdt-1";
  65. };
  66. config-2 {
  67. description = "Xen one loadable";
  68. kernel = "xen_kernel";
  69. fdt = "fdt-1";
  70. loadables = "linux_kernel";
  71. };
  72. config-3 {
  73. description = "Xen two loadables";
  74. kernel = "xen_kernel";
  75. fdt = "fdt-1";
  76. loadables = "linux_kernel", "fdt-2";
  77. };
  78. };
  79. };