Tao Huang | 18a6cae | 2021-09-16 11:19:12 +0800 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2021 Rockchip Electronics Co., Ltd |
| 3 | * |
| 4 | * SPDX-License-Identifier: GPL-2.0 |
| 5 | */ |
| 6 | |
| 7 | /dts-v1/; |
| 8 | / { |
| 9 | description = "FIT image with Linux kernel, FDT blob and resource"; |
| 10 | |
| 11 | images { |
| 12 | fdt { |
| 13 | data = /incbin/("fdt"); |
| 14 | type = "flat_dt"; |
| 15 | arch = ""; |
| 16 | compression = "none"; |
| 17 | load = <0xffffff00>; |
| 18 | |
| 19 | hash { |
| 20 | algo = "sha256"; |
| 21 | }; |
| 22 | }; |
| 23 | |
| 24 | kernel { |
| 25 | data = /incbin/("kernel"); |
| 26 | type = "kernel"; |
| 27 | arch = ""; |
| 28 | os = "linux"; |
| 29 | compression = ""; |
| 30 | entry = <0xffffff01>; |
| 31 | load = <0xffffff01>; |
| 32 | |
| 33 | hash { |
| 34 | algo = "sha256"; |
| 35 | }; |
| 36 | }; |
| 37 | |
| 38 | resource { |
| 39 | data = /incbin/("resource"); |
| 40 | type = "multi"; |
| 41 | arch = ""; |
| 42 | compression = "none"; |
| 43 | |
| 44 | hash { |
| 45 | algo = "sha256"; |
| 46 | }; |
| 47 | }; |
| 48 | }; |
| 49 | |
| 50 | configurations { |
| 51 | default = "conf"; |
| 52 | |
| 53 | conf { |
| 54 | rollback-index = <0x00>; |
| 55 | fdt = "fdt"; |
| 56 | kernel = "kernel"; |
| 57 | multi = "resource"; |
| 58 | |
| 59 | signature { |
| 60 | algo = "sha256,rsa2048"; |
| 61 | padding = "pss"; |
| 62 | key-name-hint = "dev"; |
| 63 | sign-images = "fdt", "kernel", "multi"; |
| 64 | }; |
| 65 | }; |
| 66 | }; |
| 67 | }; |