Alexander Kochetkov | a730a28 | 2024-09-16 11:24:46 +0300 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
| 2 | |
| 3 | /dts-v1/; |
| 4 | |
| 5 | / { |
| 6 | #address-cells = <1>; |
| 7 | #size-cells = <1>; |
| 8 | |
| 9 | binman { |
| 10 | fit { |
| 11 | description = "test desc"; |
| 12 | #address-cells = <1>; |
| 13 | fit,fdt-list = "of-list"; |
| 14 | fit,sign; |
| 15 | |
| 16 | images { |
| 17 | u-boot { |
| 18 | description = "test u-boot"; |
| 19 | type = "standalone"; |
| 20 | arch = "arm64"; |
| 21 | os = "u-boot"; |
| 22 | compression = "none"; |
| 23 | load = <0x00000000>; |
| 24 | entry = <0x00000000>; |
| 25 | |
| 26 | u-boot-nodtb { |
| 27 | }; |
| 28 | |
| 29 | hash { |
| 30 | algo = "sha256"; |
| 31 | }; |
| 32 | |
| 33 | signature { |
| 34 | algo = "sha256,rsa2048"; |
| 35 | key-name-hint = "rsa2048"; |
| 36 | }; |
| 37 | }; |
| 38 | @atf-SEQ { |
| 39 | fit,operation = "split-elf"; |
| 40 | description = "test tf-a"; |
| 41 | type = "firmware"; |
| 42 | arch = "arm64"; |
| 43 | os = "arm-trusted-firmware"; |
| 44 | compression = "none"; |
| 45 | fit,load; |
| 46 | fit,entry; |
| 47 | fit,data; |
| 48 | |
| 49 | atf-bl31 { |
| 50 | }; |
| 51 | |
| 52 | hash { |
| 53 | algo = "sha256"; |
| 54 | }; |
| 55 | |
| 56 | signature { |
| 57 | algo = "sha256,rsa2048"; |
| 58 | key-name-hint = "rsa2048"; |
| 59 | }; |
| 60 | }; |
| 61 | @fdt-SEQ { |
| 62 | description = "test fdt"; |
| 63 | type = "flat_dt"; |
| 64 | compression = "none"; |
| 65 | |
| 66 | hash { |
| 67 | algo = "sha256"; |
| 68 | }; |
| 69 | |
| 70 | signature { |
| 71 | algo = "sha256,rsa2048"; |
| 72 | key-name-hint = "rsa2048"; |
| 73 | }; |
| 74 | }; |
| 75 | }; |
| 76 | |
| 77 | configurations { |
| 78 | default = "@conf-uboot-DEFAULT-SEQ"; |
| 79 | @conf-uboot-SEQ { |
| 80 | description = "uboot config"; |
| 81 | fdt = "fdt-SEQ"; |
| 82 | fit,firmware = "u-boot"; |
| 83 | fit,loadables; |
| 84 | |
| 85 | hash { |
| 86 | algo = "sha256"; |
| 87 | }; |
| 88 | |
| 89 | signature { |
| 90 | algo = "sha256,rsa2048"; |
| 91 | key-name-hint = "conf-rsa2048"; |
| 92 | sign-images = "firmware", "loadables", "fdt"; |
| 93 | }; |
| 94 | }; |
| 95 | }; |
| 96 | }; |
| 97 | }; |
| 98 | }; |