blob: 4d4909f83207ab8a6780b93ecefd61130773be59 [file] [log] [blame]
Karl Apsite8f0537d2015-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 {
Andre Przywara9b22b6d2017-12-04 02:05:08 +000013 xen_kernel {
Karl Apsite8f0537d2015-05-21 09:52:47 -040014 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>;
Andre Przywara9b22b6d2017-12-04 02:05:08 +000022 hash-1 {
Karl Apsite8f0537d2015-05-21 09:52:47 -040023 algo = "md5";
24 };
25 };
26
Andre Przywara9b22b6d2017-12-04 02:05:08 +000027 fdt-1 {
Karl Apsite8f0537d2015-05-21 09:52:47 -040028 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>;
Andre Przywara9b22b6d2017-12-04 02:05:08 +000034 hash-1 {
Karl Apsite8f0537d2015-05-21 09:52:47 -040035 algo = "md5";
36 };
37 };
38
Andre Przywara9b22b6d2017-12-04 02:05:08 +000039 fdt-2 {
Karl Apsite8f0537d2015-05-21 09:52:47 -040040 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>;
Andre Przywara9b22b6d2017-12-04 02:05:08 +000046 hash-1 {
Karl Apsite8f0537d2015-05-21 09:52:47 -040047 algo = "md5";
48 };
49 };
50
Andre Przywara9b22b6d2017-12-04 02:05:08 +000051 linux_kernel {
Karl Apsite8f0537d2015-05-21 09:52:47 -040052 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>;
Andre Przywara9b22b6d2017-12-04 02:05:08 +000060 hash-1 {
Karl Apsite8f0537d2015-05-21 09:52:47 -040061 algo = "md5";
62 };
63 };
64 };
65
66 configurations {
Andre Przywara9b22b6d2017-12-04 02:05:08 +000067 default = "config-2";
Karl Apsite8f0537d2015-05-21 09:52:47 -040068
Andre Przywara9b22b6d2017-12-04 02:05:08 +000069 config-1 {
Karl Apsite8f0537d2015-05-21 09:52:47 -040070 description = "Just plain Linux";
Andre Przywara9b22b6d2017-12-04 02:05:08 +000071 kernel = "linux_kernel";
72 fdt = "fdt-1";
Karl Apsite8f0537d2015-05-21 09:52:47 -040073 };
74
Andre Przywara9b22b6d2017-12-04 02:05:08 +000075 config-2 {
Karl Apsite8f0537d2015-05-21 09:52:47 -040076 description = "Xen one loadable";
Andre Przywara9b22b6d2017-12-04 02:05:08 +000077 kernel = "xen_kernel";
78 fdt = "fdt-1";
79 loadables = "linux_kernel";
Karl Apsite8f0537d2015-05-21 09:52:47 -040080 };
81
Andre Przywara9b22b6d2017-12-04 02:05:08 +000082 config-3 {
Karl Apsite8f0537d2015-05-21 09:52:47 -040083 description = "Xen two loadables";
Andre Przywara9b22b6d2017-12-04 02:05:08 +000084 kernel = "xen_kernel";
85 fdt = "fdt-1";
86 loadables = "linux_kernel", "fdt-2";
Karl Apsite8f0537d2015-05-21 09:52:47 -040087 };
88 };
89};