blob: 021cbc7cf4a86da6250e1e34fb2704a19e5ab0f3 [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>;
Alexandru Gagniuc6795c752021-03-29 12:05:16 -050032 compatible = "u-boot,fpga-legacy"
Andre Przywarab8790eb2017-12-04 02:05:08 +000033 hash-1 {
Michal Simeked0cea72016-05-17 13:58:44 +020034 algo = "md5";
35 };
36 };
37
Andre Przywarab8790eb2017-12-04 02:05:08 +000038 linux_kernel {
Michal Simeked0cea72016-05-17 13:58:44 +020039 description = "Linux";
40 data = /incbin/("/tftpboot/zImage");
41 type = "kernel";
42 arch = "arm";
43 os = "linux";
44 compression = "none";
45 load = <0x8000>;
46 entry = <0x8000>;
Andre Przywarab8790eb2017-12-04 02:05:08 +000047 hash-1 {
Michal Simeked0cea72016-05-17 13:58:44 +020048 algo = "md5";
49 };
50 };
51 };
52
53 configurations {
Andre Przywarab8790eb2017-12-04 02:05:08 +000054 default = "config-2";
55 config-1 {
Michal Simeked0cea72016-05-17 13:58:44 +020056 description = "Linux";
Andre Przywarab8790eb2017-12-04 02:05:08 +000057 kernel = "linux_kernel";
58 fdt = "fdt-1";
Michal Simeked0cea72016-05-17 13:58:44 +020059 };
60
Andre Przywarab8790eb2017-12-04 02:05:08 +000061 config-2 {
Michal Simeked0cea72016-05-17 13:58:44 +020062 description = "Linux with fpga";
Andre Przywarab8790eb2017-12-04 02:05:08 +000063 kernel = "linux_kernel";
64 fdt = "fdt-1";
Alexandru Gagniuc6795c752021-03-29 12:05:16 -050065 loadables = "fpga";
Michal Simeked0cea72016-05-17 13:58:44 +020066 };
67 };
68};