Simon Glass | c44aa61 | 2023-06-23 13:22:04 +0100 | [diff] [blame] | 1 | .. SPDX-License-Identifier: GPL-2.0+ |
| 2 | |
| 3 | SEC Firmware and multiple loadable images |
| 4 | ========================================= |
| 5 | |
| 6 | Example FIT image description file demonstrating the usage |
| 7 | of SEC Firmware and multiple loadable images loaded by U-Boot. |
| 8 | For booting PPA (SEC Firmware), "firmware" is searched and loaded. |
| 9 | |
| 10 | Multiple binaries will be loaded as "loadables" (if present) at their |
| 11 | respective load offsets from firmware image address. |
| 12 | |
| 13 | :: |
| 14 | |
| 15 | /dts-v1/; |
| 16 | |
| 17 | /{ |
| 18 | description = "PPA Firmware"; |
| 19 | #address-cells = <1>; |
| 20 | images { |
| 21 | firmware@1 { |
| 22 | description = "PPA Firmware: <version>"; |
| 23 | data = /incbin/("../obj/monitor.bin"); |
| 24 | type = "firmware"; |
| 25 | arch = "arm64"; |
| 26 | compression = "none"; |
| 27 | }; |
| 28 | trustedOS@1 { |
| 29 | description = "Trusted OS"; |
| 30 | data = /incbin/("../../tee.bin"); |
| 31 | type = "OS"; |
| 32 | arch = "arm64"; |
| 33 | compression = "none"; |
| 34 | load = <0x00200000>; |
| 35 | }; |
| 36 | fuse_scr { |
| 37 | description = "Fuse Script"; |
| 38 | data = /incbin/("../../fuse_scr.bin"); |
| 39 | type = "firmware"; |
| 40 | arch = "arm64"; |
| 41 | compression = "none"; |
| 42 | load = <0x00180000>; |
| 43 | }; |
| 44 | }; |
| 45 | |
| 46 | configurations { |
| 47 | default = "config-1"; |
| 48 | config-1 { |
| 49 | description = "PPA Secure firmware"; |
| 50 | firmware = "firmware@1"; |
| 51 | loadables = "trustedOS@1", "fuse_scr"; |
| 52 | }; |
| 53 | }; |
| 54 | }; |