]>
Commit | Line | Data |
---|---|---|
ed0cea7c MS |
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 fpga before Kernel"; | |
10 | #address-cells = <1>; | |
11 | ||
12 | images { | |
b8790ebe | 13 | fdt-1 { |
ed0cea7c MS |
14 | description = "zc706"; |
15 | data = /incbin/("/tftpboot/devicetree.dtb"); | |
16 | type = "flat_dt"; | |
17 | arch = "arm"; | |
18 | compression = "none"; | |
19 | load = <0x10000000>; | |
b8790ebe | 20 | hash-1 { |
ed0cea7c MS |
21 | algo = "md5"; |
22 | }; | |
23 | }; | |
24 | ||
b8790ebe | 25 | fpga { |
ed0cea7c MS |
26 | description = "FPGA"; |
27 | data = /incbin/("/tftpboot/download.bit"); | |
28 | type = "fpga"; | |
29 | arch = "arm"; | |
30 | compression = "none"; | |
31 | load = <0x30000000>; | |
b8790ebe | 32 | hash-1 { |
ed0cea7c MS |
33 | algo = "md5"; |
34 | }; | |
35 | }; | |
36 | ||
b8790ebe | 37 | linux_kernel { |
ed0cea7c MS |
38 | 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>; | |
b8790ebe | 46 | hash-1 { |
ed0cea7c MS |
47 | algo = "md5"; |
48 | }; | |
49 | }; | |
50 | }; | |
51 | ||
52 | configurations { | |
b8790ebe AP |
53 | default = "config-2"; |
54 | config-1 { | |
ed0cea7c | 55 | description = "Linux"; |
b8790ebe AP |
56 | kernel = "linux_kernel"; |
57 | fdt = "fdt-1"; | |
ed0cea7c MS |
58 | }; |
59 | ||
b8790ebe | 60 | config-2 { |
ed0cea7c | 61 | description = "Linux with fpga"; |
b8790ebe AP |
62 | kernel = "linux_kernel"; |
63 | fdt = "fdt-1"; | |
64 | fpga = "fpga"; | |
ed0cea7c MS |
65 | }; |
66 | }; | |
67 | }; |