]>
Commit | Line | Data |
---|---|---|
ecf8cd65 KA |
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 | ||
6 | /dts-v1/; | |
7 | ||
8 | / { | |
9 | description = "Configuration to load a Xen Kernel"; | |
10 | #address-cells = <1>; | |
11 | ||
12 | images { | |
b8790ebe | 13 | xen_kernel { |
ecf8cd65 KA |
14 | description = "xen binary"; |
15 | data = /incbin/("./xen"); | |
16 | type = "kernel"; | |
17 | arch = "arm"; | |
18 | os = "linux"; | |
19 | compression = "none"; | |
20 | load = <0xa0000000>; | |
21 | entry = <0xa0000000>; | |
b8790ebe | 22 | hash-1 { |
ecf8cd65 KA |
23 | algo = "md5"; |
24 | }; | |
25 | }; | |
26 | ||
b8790ebe | 27 | fdt-1 { |
ecf8cd65 KA |
28 | description = "xexpress-ca15 tree blob"; |
29 | data = /incbin/("./vexpress-v2p-ca15-tc1.dtb"); | |
30 | type = "flat_dt"; | |
31 | arch = "arm"; | |
32 | compression = "none"; | |
33 | load = <0xb0000000>; | |
b8790ebe | 34 | hash-1 { |
ecf8cd65 KA |
35 | algo = "md5"; |
36 | }; | |
37 | }; | |
38 | ||
b8790ebe | 39 | fdt-2 { |
ecf8cd65 KA |
40 | description = "xexpress-ca15 tree blob"; |
41 | data = /incbin/("./vexpress-v2p-ca15-tc1.dtb"); | |
42 | type = "flat_dt"; | |
43 | arch = "arm"; | |
44 | compression = "none"; | |
45 | load = <0xb0400000>; | |
b8790ebe | 46 | hash-1 { |
ecf8cd65 KA |
47 | algo = "md5"; |
48 | }; | |
49 | }; | |
50 | ||
b8790ebe | 51 | linux_kernel { |
ecf8cd65 KA |
52 | description = "Linux Image"; |
53 | data = /incbin/("./Image"); | |
54 | type = "kernel"; | |
55 | arch = "arm"; | |
56 | os = "linux"; | |
57 | compression = "none"; | |
58 | load = <0xa0000000>; | |
59 | entry = <0xa0000000>; | |
b8790ebe | 60 | hash-1 { |
ecf8cd65 KA |
61 | algo = "md5"; |
62 | }; | |
63 | }; | |
64 | }; | |
65 | ||
66 | configurations { | |
b8790ebe | 67 | default = "config-2"; |
ecf8cd65 | 68 | |
b8790ebe | 69 | config-1 { |
ecf8cd65 | 70 | description = "Just plain Linux"; |
b8790ebe AP |
71 | kernel = "linux_kernel"; |
72 | fdt = "fdt-1"; | |
ecf8cd65 KA |
73 | }; |
74 | ||
b8790ebe | 75 | config-2 { |
ecf8cd65 | 76 | description = "Xen one loadable"; |
b8790ebe AP |
77 | kernel = "xen_kernel"; |
78 | fdt = "fdt-1"; | |
79 | loadables = "linux_kernel"; | |
ecf8cd65 KA |
80 | }; |
81 | ||
b8790ebe | 82 | config-3 { |
ecf8cd65 | 83 | description = "Xen two loadables"; |
b8790ebe AP |
84 | kernel = "xen_kernel"; |
85 | fdt = "fdt-1"; | |
86 | loadables = "linux_kernel", "fdt-2"; | |
ecf8cd65 KA |
87 | }; |
88 | }; | |
89 | }; |