blob: 47ee5760c494663e508a05fb87bed28511dd3fc0 [file] [log] [blame]
Michal Simeked0cea72016-05-17 13:58:44 +02001/*
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 fpga before Kernel";
10 #address-cells = <1>;
11
12 images {
Andre Przywarab8790eb2017-12-04 02:05:08 +000013 fdt-1 {
Michal Simeked0cea72016-05-17 13:58:44 +020014 description = "zc706";
15 data = /incbin/("/tftpboot/devicetree.dtb");
16 type = "flat_dt";
17 arch = "arm";
18 compression = "none";
19 load = <0x10000000>;
Andre Przywarab8790eb2017-12-04 02:05:08 +000020 hash-1 {
Michal Simeked0cea72016-05-17 13:58:44 +020021 algo = "md5";
22 };
23 };
24
Andre Przywarab8790eb2017-12-04 02:05:08 +000025 fpga {
Michal Simeked0cea72016-05-17 13:58:44 +020026 description = "FPGA";
27 data = /incbin/("/tftpboot/download.bit");
28 type = "fpga";
29 arch = "arm";
30 compression = "none";
31 load = <0x30000000>;
Andre Przywarab8790eb2017-12-04 02:05:08 +000032 hash-1 {
Michal Simeked0cea72016-05-17 13:58:44 +020033 algo = "md5";
34 };
35 };
36
Andre Przywarab8790eb2017-12-04 02:05:08 +000037 linux_kernel {
Michal Simeked0cea72016-05-17 13:58:44 +020038 description = "Linux";
39 data = /incbin/("/tftpboot/zImage");
40 type = "kernel";
41 arch = "arm";
42 os = "linux";
43 compression = "none";
44 load = <0x8000>;
45 entry = <0x8000>;
Andre Przywarab8790eb2017-12-04 02:05:08 +000046 hash-1 {
Michal Simeked0cea72016-05-17 13:58:44 +020047 algo = "md5";
48 };
49 };
50 };
51
52 configurations {
Andre Przywarab8790eb2017-12-04 02:05:08 +000053 default = "config-2";
54 config-1 {
Michal Simeked0cea72016-05-17 13:58:44 +020055 description = "Linux";
Andre Przywarab8790eb2017-12-04 02:05:08 +000056 kernel = "linux_kernel";
57 fdt = "fdt-1";
Michal Simeked0cea72016-05-17 13:58:44 +020058 };
59
Andre Przywarab8790eb2017-12-04 02:05:08 +000060 config-2 {
Michal Simeked0cea72016-05-17 13:58:44 +020061 description = "Linux with fpga";
Andre Przywarab8790eb2017-12-04 02:05:08 +000062 kernel = "linux_kernel";
63 fdt = "fdt-1";
64 fpga = "fpga";
Michal Simeked0cea72016-05-17 13:58:44 +020065 };
66 };
67};