Andre Przywara | 411cf32 | 2017-04-26 01:32:37 +0100 | [diff] [blame] | 1 | /dts-v1/; |
| 2 | |
| 3 | /* |
| 4 | * (Bogus) example FIT image description file demonstrating the usage |
| 5 | * of multiple images loaded by the SPL. |
| 6 | * Several binaries will be loaded at their respective load addresses. |
York Sun | c8bc3c0 | 2017-08-15 11:14:45 -0700 | [diff] [blame] | 7 | * |
| 8 | * For booting U-Boot, "firmware" is searched first. If not found, "loadables" |
| 9 | * is used to identify images to be loaded into memory. If falcon boot is |
| 10 | * enabled, "kernel" is searched first. If not found, it falls back to the |
| 11 | * same flow as booting U-Boot. Changing image type will result skipping |
| 12 | * specific image. |
| 13 | * |
Andre Przywara | 411cf32 | 2017-04-26 01:32:37 +0100 | [diff] [blame] | 14 | * Finally the one image specifying an entry point will be entered by the SPL. |
| 15 | */ |
| 16 | |
| 17 | / { |
| 18 | description = "multiple firmware blobs and U-Boot, loaded by SPL"; |
| 19 | #address-cells = <0x1>; |
| 20 | |
| 21 | images { |
| 22 | |
| 23 | uboot { |
| 24 | description = "U-Boot (64-bit)"; |
| 25 | type = "standalone"; |
| 26 | arch = "arm64"; |
| 27 | compression = "none"; |
| 28 | load = <0x4a000000>; |
| 29 | }; |
| 30 | |
| 31 | atf { |
| 32 | description = "ARM Trusted Firmware"; |
| 33 | type = "firmware"; |
| 34 | arch = "arm64"; |
| 35 | compression = "none"; |
| 36 | load = <0x18000>; |
| 37 | entry = <0x18000>; |
| 38 | }; |
| 39 | |
| 40 | mgmt-firmware { |
| 41 | description = "arisc management processor firmware"; |
| 42 | type = "firmware"; |
| 43 | arch = "or1k"; |
| 44 | compression = "none"; |
| 45 | load = <0x40000>; |
| 46 | }; |
| 47 | |
Andre Przywara | b8790eb | 2017-12-04 02:05:08 +0000 | [diff] [blame] | 48 | fdt-1 { |
Andre Przywara | 411cf32 | 2017-04-26 01:32:37 +0100 | [diff] [blame] | 49 | description = "Pine64+ DT"; |
| 50 | type = "flat_dt"; |
| 51 | compression = "none"; |
| 52 | load = <0x4fa00000>; |
| 53 | arch = "arm64"; |
| 54 | }; |
| 55 | |
Andre Przywara | b8790eb | 2017-12-04 02:05:08 +0000 | [diff] [blame] | 56 | fdt-2 { |
Andre Przywara | 411cf32 | 2017-04-26 01:32:37 +0100 | [diff] [blame] | 57 | description = "Pine64 DT"; |
| 58 | type = "flat_dt"; |
| 59 | compression = "none"; |
| 60 | load = <0x4fa00000>; |
| 61 | arch = "arm64"; |
| 62 | }; |
| 63 | |
| 64 | kernel { |
| 65 | description = "4.7-rc5 kernel"; |
| 66 | type = "kernel"; |
| 67 | compression = "none"; |
| 68 | load = <0x40080000>; |
| 69 | arch = "arm64"; |
| 70 | }; |
| 71 | |
| 72 | initrd { |
| 73 | description = "Debian installer initrd"; |
| 74 | type = "ramdisk"; |
| 75 | compression = "none"; |
| 76 | load = <0x4fe00000>; |
| 77 | arch = "arm64"; |
| 78 | }; |
| 79 | }; |
| 80 | |
| 81 | configurations { |
Andre Przywara | b8790eb | 2017-12-04 02:05:08 +0000 | [diff] [blame] | 82 | default = "config-1"; |
Andre Przywara | 411cf32 | 2017-04-26 01:32:37 +0100 | [diff] [blame] | 83 | |
Andre Przywara | b8790eb | 2017-12-04 02:05:08 +0000 | [diff] [blame] | 84 | config-1 { |
Andre Przywara | 411cf32 | 2017-04-26 01:32:37 +0100 | [diff] [blame] | 85 | description = "sun50i-a64-pine64-plus"; |
| 86 | loadables = "uboot", "atf", "kernel", "initrd"; |
Andre Przywara | b8790eb | 2017-12-04 02:05:08 +0000 | [diff] [blame] | 87 | fdt = "fdt-1"; |
Andre Przywara | 411cf32 | 2017-04-26 01:32:37 +0100 | [diff] [blame] | 88 | }; |
| 89 | |
Andre Przywara | b8790eb | 2017-12-04 02:05:08 +0000 | [diff] [blame] | 90 | config-2 { |
Andre Przywara | 411cf32 | 2017-04-26 01:32:37 +0100 | [diff] [blame] | 91 | description = "sun50i-a64-pine64"; |
| 92 | loadables = "uboot", "atf", "mgmt-firmware"; |
Andre Przywara | b8790eb | 2017-12-04 02:05:08 +0000 | [diff] [blame] | 93 | fdt = "fdt-2"; |
Andre Przywara | 411cf32 | 2017-04-26 01:32:37 +0100 | [diff] [blame] | 94 | }; |
| 95 | }; |
| 96 | }; |