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