diff options
Diffstat (limited to 'recipes-bsp/imx-mkimage/files/0001-mkimage_fit_atf-fix-fit-generator-node-naming.patch')
-rw-r--r-- | recipes-bsp/imx-mkimage/files/0001-mkimage_fit_atf-fix-fit-generator-node-naming.patch | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/recipes-bsp/imx-mkimage/files/0001-mkimage_fit_atf-fix-fit-generator-node-naming.patch b/recipes-bsp/imx-mkimage/files/0001-mkimage_fit_atf-fix-fit-generator-node-naming.patch deleted file mode 100644 index 5a4a895b..00000000 --- a/recipes-bsp/imx-mkimage/files/0001-mkimage_fit_atf-fix-fit-generator-node-naming.patch +++ /dev/null | |||
@@ -1,55 +0,0 @@ | |||
1 | From f281b935985f1b592534ee2837ce0d0b28c7dc43 Mon Sep 17 00:00:00 2001 | ||
2 | From: Andrey Zhizhikin <andrey.z@gmail.com> | ||
3 | Date: Tue, 11 Jan 2022 15:32:05 -0600 | ||
4 | Subject: [PATCH] mkimage_fit_atf: fix fit generator node naming | ||
5 | |||
6 | Extend sections which contains "firmware" in their types with "os" | ||
7 | parameter to conform to the latest FIT specification. | ||
8 | |||
9 | Indicate that load and entry addresses are covered by one 32-bit value | ||
10 | by adding "address-cells" in the root node of the generated ITS. | ||
11 | |||
12 | Upstream-Status: Inappropriate [script is imx-boot specific] | ||
13 | Link: [1] https://github.com/u-boot/u-boot/commit/79af75f7776fc20b0d7eb6afe1e27c00fdb4b9b4 | ||
14 | Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com> | ||
15 | Cc: Tom Hochstein <tom.hochstein@nxp.com> | ||
16 | --- | ||
17 | iMX8M/mkimage_fit_atf.sh | 4 ++++ | ||
18 | 1 file changed, 4 insertions(+) | ||
19 | |||
20 | diff --git a/iMX8M/mkimage_fit_atf.sh b/iMX8M/mkimage_fit_atf.sh | ||
21 | index 4f2b3f3..10903ea 100755 | ||
22 | --- a/iMX8M/mkimage_fit_atf.sh | ||
23 | +++ b/iMX8M/mkimage_fit_atf.sh | ||
24 | @@ -64,10 +64,12 @@ cat << __HEADER_EOF | ||
25 | |||
26 | / { | ||
27 | description = "Configuration to load ATF before U-Boot"; | ||
28 | + #address-cells = <1>; | ||
29 | |||
30 | images { | ||
31 | uboot-1 { | ||
32 | description = "U-Boot (64-bit)"; | ||
33 | + os = "u-boot"; | ||
34 | data = /incbin/("$BL33"); | ||
35 | type = "standalone"; | ||
36 | arch = "arm64"; | ||
37 | @@ -93,6 +95,7 @@ done | ||
38 | cat << __HEADER_EOF | ||
39 | atf-1 { | ||
40 | description = "ARM Trusted Firmware"; | ||
41 | + os = "arm-trusted-firmware"; | ||
42 | data = /incbin/("$BL31"); | ||
43 | type = "firmware"; | ||
44 | arch = "arm64"; | ||
45 | @@ -106,6 +109,7 @@ if [ -f $BL32 ]; then | ||
46 | cat << __HEADER_EOF | ||
47 | tee-1 { | ||
48 | description = "TEE firmware"; | ||
49 | + os = "op-tee-firmware"; | ||
50 | data = /incbin/("$BL32"); | ||
51 | type = "firmware"; | ||
52 | arch = "arm64"; | ||
53 | -- | ||
54 | 2.17.1 | ||
55 | |||