Michal Simek | 0a130b1 | 2016-05-17 13:58:44 +0200 | [diff] [blame] | 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 { |
| 13 | fdt@1 { |
| 14 | description = "zc706"; |
| 15 | data = /incbin/("/tftpboot/devicetree.dtb"); |
| 16 | type = "flat_dt"; |
| 17 | arch = "arm"; |
| 18 | compression = "none"; |
| 19 | load = <0x10000000>; |
| 20 | hash@1 { |
| 21 | algo = "md5"; |
| 22 | }; |
| 23 | }; |
| 24 | |
| 25 | fpga@1 { |
| 26 | description = "FPGA"; |
| 27 | data = /incbin/("/tftpboot/download.bit"); |
| 28 | type = "fpga"; |
| 29 | arch = "arm"; |
| 30 | compression = "none"; |
| 31 | load = <0x30000000>; |
| 32 | hash@1 { |
| 33 | algo = "md5"; |
| 34 | }; |
| 35 | }; |
| 36 | |
| 37 | linux_kernel@1 { |
| 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>; |
| 46 | hash@1 { |
| 47 | algo = "md5"; |
| 48 | }; |
| 49 | }; |
| 50 | }; |
| 51 | |
| 52 | configurations { |
| 53 | default = "config@2"; |
| 54 | config@1 { |
| 55 | description = "Linux"; |
| 56 | kernel = "linux_kernel@1"; |
| 57 | fdt = "fdt@1"; |
| 58 | }; |
| 59 | |
| 60 | config@2 { |
| 61 | description = "Linux with fpga"; |
| 62 | kernel = "linux_kernel@1"; |
| 63 | fdt = "fdt@1"; |
| 64 | fpga = "fpga@1"; |
| 65 | }; |
| 66 | }; |
| 67 | }; |