blob: a8545d245c992e2f101b2df677c8692ac4ccdae3 [file] [log] [blame]
Karl Apsiteecf8cd62015-05-21 09:52:47 -04001/*
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 {
13 xen_kernel@1 {
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>;
22 hash@1 {
23 algo = "md5";
24 };
25 };
26
27 fdt@1 {
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>;
34 hash@1 {
35 algo = "md5";
36 };
37 };
38
39 fdt@2 {
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>;
46 hash@1 {
47 algo = "md5";
48 };
49 };
50
51 linux_kernel@1 {
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>;
60 hash@1 {
61 algo = "md5";
62 };
63 };
64 };
65
66 configurations {
67 default = "config@2";
68
69 config@1 {
70 description = "Just plain Linux";
71 kernel = "linux_kernel@1";
72 fdt = "fdt@1";
73 };
74
75 config@2 {
76 description = "Xen one loadable";
77 kernel = "xen_kernel@1";
78 fdt = "fdt@1";
79 loadables = "linux_kernel@1";
80 };
81
82 config@3 {
83 description = "Xen two loadables";
84 kernel = "xen_kernel@1";
85 fdt = "fdt@1";
86 loadables = "linux_kernel@1", "fdt@2";
87 };
88 };
89};