diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2022-01-27 20:41:30 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-27 20:41:30 -0300 |
commit | 724def083c543489d151b72568d1cbb31d884ee5 (patch) | |
tree | a235969e9422595399b37b7e7de34a3dba0430e4 | |
parent | d5e4f4cf9790d3498239d0819be557666fcbd66a (diff) | |
parent | 76374eaf673e7c2b5537d1cae5af390bec20773c (diff) | |
download | meta-freescale-724def083c543489d151b72568d1cbb31d884ee5.tar.gz |
Merge pull request #964 from chrisdimich/honister
Backport to honister: Update various recipes to 5.10.72-2.2.0 BSP
14 files changed, 84 insertions, 170 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 index 3c2842af..5a4a895b 100644 --- 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 | |||
@@ -1,19 +1,10 @@ | |||
1 | From 9cf936493388897379f33b511ec869c6fa5409ce Mon Sep 17 00:00:00 2001 | 1 | From f281b935985f1b592534ee2837ce0d0b28c7dc43 Mon Sep 17 00:00:00 2001 |
2 | From: Andrey Zhizhikin <andrey.z@gmail.com> | 2 | From: Andrey Zhizhikin <andrey.z@gmail.com> |
3 | Date: Thu, 22 Apr 2021 12:20:28 +0000 | 3 | Date: Tue, 11 Jan 2022 15:32:05 -0600 |
4 | Subject: [PATCH] mkimage_fit_atf: fix fit generator node naming | 4 | Subject: [PATCH] mkimage_fit_atf: fix fit generator node naming |
5 | 5 | ||
6 | Since upstream commit 79af75f777 ("fit: Don't allow verification of images | 6 | Extend sections which contains "firmware" in their types with "os" |
7 | with @ nodes") [1], unit addresses on the nodes are prohibited and nodes | 7 | parameter to conform to the latest FIT specification. |
8 | that do contain those addresses are ignored during the ITS parsing. This | ||
9 | is done in an effort to cover the CVE-2021-27138, where nodes with unit | ||
10 | addresses can be mis-interpreted by libfdt. | ||
11 | |||
12 | Correct FIT generator script and replace nodes with unit addresses to | ||
13 | plain node names with "-" instead of "@" to create a unique naming. | ||
14 | |||
15 | In addition, extend sections which contains "firmware" in their types | ||
16 | with "os" parameter to conform to the latest FIT specification. | ||
17 | 8 | ||
18 | Indicate that load and entry addresses are covered by one 32-bit value | 9 | Indicate that load and entry addresses are covered by one 32-bit value |
19 | by adding "address-cells" in the root node of the generated ITS. | 10 | by adding "address-cells" in the root node of the generated ITS. |
@@ -23,40 +14,13 @@ Link: [1] https://github.com/u-boot/u-boot/commit/79af75f7776fc20b0d7eb6afe1e27c | |||
23 | Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com> | 14 | Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com> |
24 | Cc: Tom Hochstein <tom.hochstein@nxp.com> | 15 | Cc: Tom Hochstein <tom.hochstein@nxp.com> |
25 | --- | 16 | --- |
26 | iMX8M/mkimage_fit_atf.sh | 40 ++++++++++++++++++++++------------------ | 17 | iMX8M/mkimage_fit_atf.sh | 4 ++++ |
27 | 1 file changed, 22 insertions(+), 18 deletions(-) | 18 | 1 file changed, 4 insertions(+) |
28 | 19 | ||
29 | diff --git a/iMX8M/mkimage_fit_atf.sh b/iMX8M/mkimage_fit_atf.sh | 20 | diff --git a/iMX8M/mkimage_fit_atf.sh b/iMX8M/mkimage_fit_atf.sh |
30 | index 95749b1..10903ea 100755 | 21 | index 4f2b3f3..10903ea 100755 |
31 | --- a/iMX8M/mkimage_fit_atf.sh | 22 | --- a/iMX8M/mkimage_fit_atf.sh |
32 | +++ b/iMX8M/mkimage_fit_atf.sh | 23 | +++ b/iMX8M/mkimage_fit_atf.sh |
33 | @@ -23,7 +23,7 @@ else | ||
34 | fi | ||
35 | |||
36 | BL32="tee.bin" | ||
37 | -LOADABLES="\"atf@1\"" | ||
38 | +LOADABLES="\"atf-1\"" | ||
39 | |||
40 | if [ ! -f $BL32 ]; then | ||
41 | BL32=/dev/null | ||
42 | @@ -31,7 +31,7 @@ else | ||
43 | echo "Building with TEE support, make sure your bl31 is compiled with spd. If you do not want tee, please delete tee.bin" >&2 | ||
44 | echo "tee.bin size: " >&2 | ||
45 | ls -lct tee.bin | awk '{print $5}' >&2 | ||
46 | - LOADABLES="$LOADABLES, \"tee@1\"" | ||
47 | + LOADABLES="$LOADABLES, \"tee-1\"" | ||
48 | fi | ||
49 | |||
50 | BL33="u-boot-nodtb.bin" | ||
51 | @@ -41,7 +41,7 @@ if [ ! -f $DEK_BLOB ]; then | ||
52 | DEK_BLOB=/dev/null | ||
53 | else | ||
54 | echo "Building with encrypted boot support, make sure to replace DEK Blob in final image." >&2 | ||
55 | - LOADABLES="\"dek_blob@1\", $LOADABLES" | ||
56 | + LOADABLES="\"dek_blob-1\", $LOADABLES" | ||
57 | fi | ||
58 | |||
59 | if [ ! -f $BL33 ]; then | ||
60 | @@ -64,10 +64,12 @@ cat << __HEADER_EOF | 24 | @@ -64,10 +64,12 @@ cat << __HEADER_EOF |
61 | 25 | ||
62 | / { | 26 | / { |
@@ -64,103 +28,28 @@ index 95749b1..10903ea 100755 | |||
64 | + #address-cells = <1>; | 28 | + #address-cells = <1>; |
65 | 29 | ||
66 | images { | 30 | images { |
67 | - uboot@1 { | 31 | uboot-1 { |
68 | + uboot-1 { | ||
69 | description = "U-Boot (64-bit)"; | 32 | description = "U-Boot (64-bit)"; |
70 | + os = "u-boot"; | 33 | + os = "u-boot"; |
71 | data = /incbin/("$BL33"); | 34 | data = /incbin/("$BL33"); |
72 | type = "standalone"; | 35 | type = "standalone"; |
73 | arch = "arm64"; | 36 | arch = "arm64"; |
74 | @@ -80,7 +82,7 @@ cnt=1 | 37 | @@ -93,6 +95,7 @@ done |
75 | for dtname in $* | ||
76 | do | ||
77 | cat << __FDT_IMAGE_EOF | ||
78 | - fdt@$cnt { | ||
79 | + fdt-$cnt { | ||
80 | description = "$(basename $dtname .dtb)"; | ||
81 | data = /incbin/("$dtname"); | ||
82 | type = "flat_dt"; | ||
83 | @@ -91,8 +93,9 @@ cnt=$((cnt+1)) | ||
84 | done | ||
85 | |||
86 | cat << __HEADER_EOF | 38 | cat << __HEADER_EOF |
87 | - atf@1 { | 39 | atf-1 { |
88 | + atf-1 { | ||
89 | description = "ARM Trusted Firmware"; | 40 | description = "ARM Trusted Firmware"; |
90 | + os = "arm-trusted-firmware"; | 41 | + os = "arm-trusted-firmware"; |
91 | data = /incbin/("$BL31"); | 42 | data = /incbin/("$BL31"); |
92 | type = "firmware"; | 43 | type = "firmware"; |
93 | arch = "arm64"; | 44 | arch = "arm64"; |
94 | @@ -104,8 +107,9 @@ __HEADER_EOF | 45 | @@ -106,6 +109,7 @@ if [ -f $BL32 ]; then |
95 | |||
96 | if [ -f $BL32 ]; then | ||
97 | cat << __HEADER_EOF | 46 | cat << __HEADER_EOF |
98 | - tee@1 { | 47 | tee-1 { |
99 | + tee-1 { | ||
100 | description = "TEE firmware"; | 48 | description = "TEE firmware"; |
101 | + os = "op-tee-firmware"; | 49 | + os = "op-tee-firmware"; |
102 | data = /incbin/("$BL32"); | 50 | data = /incbin/("$BL32"); |
103 | type = "firmware"; | 51 | type = "firmware"; |
104 | arch = "arm64"; | 52 | arch = "arm64"; |
105 | @@ -118,7 +122,7 @@ fi | ||
106 | |||
107 | if [ -f $DEK_BLOB ]; then | ||
108 | cat << __HEADER_EOF | ||
109 | - dek_blob@1 { | ||
110 | + dek_blob-1 { | ||
111 | description = "dek_blob"; | ||
112 | data = /incbin/("$DEK_BLOB"); | ||
113 | type = "script"; | ||
114 | @@ -131,7 +135,7 @@ fi | ||
115 | cat << __CONF_HEADER_EOF | ||
116 | }; | ||
117 | configurations { | ||
118 | - default = "config@1"; | ||
119 | + default = "config-1"; | ||
120 | |||
121 | __CONF_HEADER_EOF | ||
122 | |||
123 | @@ -141,31 +145,31 @@ do | ||
124 | if [ -f $BL32 ]; then | ||
125 | if [ $ROLLBACK_INDEX_IN_FIT ]; then | ||
126 | cat << __CONF_SECTION_EOF | ||
127 | - config@$cnt { | ||
128 | + config-$cnt { | ||
129 | description = "$(basename $dtname .dtb)"; | ||
130 | - firmware = "uboot@1"; | ||
131 | + firmware = "uboot-1"; | ||
132 | loadables = $LOADABLES; | ||
133 | - fdt = "fdt@$cnt"; | ||
134 | + fdt = "fdt-$cnt"; | ||
135 | rbindex = "$ROLLBACK_INDEX_IN_FIT"; | ||
136 | }; | ||
137 | __CONF_SECTION_EOF | ||
138 | else | ||
139 | cat << __CONF_SECTION_EOF | ||
140 | - config@$cnt { | ||
141 | + config-$cnt { | ||
142 | description = "$(basename $dtname .dtb)"; | ||
143 | - firmware = "uboot@1"; | ||
144 | + firmware = "uboot-1"; | ||
145 | loadables = $LOADABLES; | ||
146 | - fdt = "fdt@$cnt"; | ||
147 | + fdt = "fdt-$cnt"; | ||
148 | }; | ||
149 | __CONF_SECTION_EOF | ||
150 | fi | ||
151 | else | ||
152 | cat << __CONF_SECTION1_EOF | ||
153 | - config@$cnt { | ||
154 | + config-$cnt { | ||
155 | description = "$(basename $dtname .dtb)"; | ||
156 | - firmware = "uboot@1"; | ||
157 | + firmware = "uboot-1"; | ||
158 | loadables = $LOADABLES; | ||
159 | - fdt = "fdt@$cnt"; | ||
160 | + fdt = "fdt-$cnt"; | ||
161 | }; | ||
162 | __CONF_SECTION1_EOF | ||
163 | fi | ||
164 | -- | 53 | -- |
165 | 2.17.1 | 54 | 2.17.1 |
166 | 55 | ||
diff --git a/recipes-bsp/imx-mkimage/imx-mkimage_git.inc b/recipes-bsp/imx-mkimage/imx-mkimage_git.inc index c51c1e08..b4d32a54 100644 --- a/recipes-bsp/imx-mkimage/imx-mkimage_git.inc +++ b/recipes-bsp/imx-mkimage/imx-mkimage_git.inc | |||
@@ -2,12 +2,12 @@ | |||
2 | 2 | ||
3 | DEPENDS = "zlib-native openssl-native" | 3 | DEPENDS = "zlib-native openssl-native" |
4 | 4 | ||
5 | SRCBRANCH = "lf-5.10.52_2.1.0" | 5 | SRCBRANCH = "lf-5.10.72_2.2.0" |
6 | SRC_URI = "git://source.codeaurora.org/external/imx/imx-mkimage.git;protocol=https;branch=${SRCBRANCH} \ | 6 | SRC_URI = "git://source.codeaurora.org/external/imx/imx-mkimage.git;protocol=https;branch=${SRCBRANCH} \ |
7 | file://0001-mkimage_fit_atf-fix-fit-generator-node-naming.patch \ | 7 | file://0001-mkimage_fit_atf-fix-fit-generator-node-naming.patch \ |
8 | file://0001-iMX8M-soc.mak-use-native-mkimage-from-sysroot.patch \ | 8 | file://0001-iMX8M-soc.mak-use-native-mkimage-from-sysroot.patch \ |
9 | " | 9 | " |
10 | SRCREV = "1112c88470f339dc631e2a7117087f416af6d6b5" | 10 | SRCREV = "7a277c8a1a21ff921d217889dde6a9f84e6d2168" |
11 | S = "${WORKDIR}/git" | 11 | S = "${WORKDIR}/git" |
12 | 12 | ||
13 | BOOT_TOOLS = "imx-boot-tools" | 13 | BOOT_TOOLS = "imx-boot-tools" |
diff --git a/recipes-bsp/imx-sc-firmware/imx-sc-firmware_1.10.0.bb b/recipes-bsp/imx-sc-firmware/imx-sc-firmware_1.11.0.bb index e3dad7da..27f7a2a7 100644 --- a/recipes-bsp/imx-sc-firmware/imx-sc-firmware_1.10.0.bb +++ b/recipes-bsp/imx-sc-firmware/imx-sc-firmware_1.11.0.bb | |||
@@ -3,15 +3,15 @@ | |||
3 | 3 | ||
4 | DESCRIPTION = "i.MX System Controller Firmware" | 4 | DESCRIPTION = "i.MX System Controller Firmware" |
5 | LICENSE = "Proprietary" | 5 | LICENSE = "Proprietary" |
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=e565271ec9a80ce47abbddc4bffe56fa" | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=03bcadc8dc0a788f66ca9e2b89f56c6f" |
7 | SECTION = "BSP" | 7 | SECTION = "BSP" |
8 | 8 | ||
9 | inherit fsl-eula-unpack pkgconfig deploy | 9 | inherit fsl-eula-unpack pkgconfig deploy |
10 | 10 | ||
11 | SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}.bin;fsl-eula=true" | 11 | SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}.bin;fsl-eula=true" |
12 | 12 | ||
13 | SRC_URI[md5sum] = "5c2b9d35e526136042a84e8d8f6c116e" | 13 | SRC_URI[md5sum] = "95f1b0a148c323968c0741e807995948" |
14 | SRC_URI[sha256sum] = "0adc3d2c2df250a873232f1b62b14674694b50a4e01dd6ceae479e4ff2b2276b" | 14 | SRC_URI[sha256sum] = "4ad2999088098c7d95837b7dc88adceda319c2102c8bdf55bf6e9453653fba00" |
15 | 15 | ||
16 | BOARD_TYPE ?= "mek" | 16 | BOARD_TYPE ?= "mek" |
17 | SC_FIRMWARE_NAME ?= "INVALID" | 17 | SC_FIRMWARE_NAME ?= "INVALID" |
diff --git a/recipes-bsp/imx-seco/imx-seco-libs_git.bb b/recipes-bsp/imx-seco/imx-seco-libs_git.bb index 41128e28..f8c3c239 100644 --- a/recipes-bsp/imx-seco/imx-seco-libs_git.bb +++ b/recipes-bsp/imx-seco/imx-seco-libs_git.bb | |||
@@ -4,14 +4,14 @@ SUMMARY = "NXP i.MX SECO library" | |||
4 | DESCRIPTION = "NXP i.MX Security Controller library" | 4 | DESCRIPTION = "NXP i.MX Security Controller library" |
5 | SECTION = "base" | 5 | SECTION = "base" |
6 | LICENSE = "Proprietary" | 6 | LICENSE = "Proprietary" |
7 | LIC_FILES_CHKSUM = "file://EULA.txt;md5=85d06b38f17b935ca11784d67075b846" | 7 | LIC_FILES_CHKSUM = "file://EULA.txt;md5=76871788f27c28af824e2ec1ca187832" |
8 | 8 | ||
9 | DEPENDS = "zlib" | 9 | DEPENDS = "zlib" |
10 | 10 | ||
11 | SRCBRANCH = "lf-5.10.y_2.0.0" | 11 | SRCBRANCH = "lf-5.10.72_2.2.0" |
12 | SRC_URI = "git://github.com/NXP/imx-seco-libs.git;protocol=https;branch=${SRCBRANCH} \ | 12 | SRC_URI = "git://github.com/NXP/imx-seco-libs.git;protocol=https;branch=${SRCBRANCH} \ |
13 | file://0002-Makefile-Fix-install-to-clear-host-user-contaminated.patch" | 13 | file://0002-Makefile-Fix-install-to-clear-host-user-contaminated.patch" |
14 | SRCREV = "44caf511023012e9eda93f8bf64c90eaff1bade6" | 14 | SRCREV = "3e8ad6b168f23a8c6ecd75edabc18d2673403e24" |
15 | 15 | ||
16 | S = "${WORKDIR}/git" | 16 | S = "${WORKDIR}/git" |
17 | 17 | ||
diff --git a/recipes-bsp/imx-seco/imx-seco_3.8.2.bb b/recipes-bsp/imx-seco/imx-seco_3.8.4.bb index bd749e4f..bd5739cd 100644 --- a/recipes-bsp/imx-seco/imx-seco_3.8.2.bb +++ b/recipes-bsp/imx-seco/imx-seco_3.8.4.bb | |||
@@ -4,14 +4,14 @@ SUMMARY = "NXP i.MX SECO firmware" | |||
4 | DESCRIPTION = "NXP i.MX Security Controller firmware" | 4 | DESCRIPTION = "NXP i.MX Security Controller firmware" |
5 | SECTION = "base" | 5 | SECTION = "base" |
6 | LICENSE = "Proprietary" | 6 | LICENSE = "Proprietary" |
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=e565271ec9a80ce47abbddc4bffe56fa" | 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=03bcadc8dc0a788f66ca9e2b89f56c6f" |
8 | 8 | ||
9 | inherit fsl-eula-unpack use-imx-security-controller-firmware deploy | 9 | inherit fsl-eula-unpack use-imx-security-controller-firmware deploy |
10 | 10 | ||
11 | SRC_URI = "${FSL_MIRROR}/${BP}.bin;fsl-eula=true" | 11 | SRC_URI = "${FSL_MIRROR}/${BP}.bin;fsl-eula=true" |
12 | 12 | ||
13 | SRC_URI[md5sum] = "92a15f2ffe162374806e2dfe9b0aa2e9" | 13 | SRC_URI[md5sum] = "38d298cda9ea91db945b266bd6774e07" |
14 | SRC_URI[sha256sum] = "c543cd3ec4d30c0cf5ee2a2f4dc7efe209363e45087e0b7c380b727b7bcf2c8a" | 14 | SRC_URI[sha256sum] = "ed65381fac7a17a7594099191952821ed3f3f54c944937926dc19f82ecd8fef5" |
15 | 15 | ||
16 | do_compile[noexec] = "1" | 16 | do_compile[noexec] = "1" |
17 | 17 | ||
diff --git a/recipes-bsp/imx-test/imx-test_git.bb b/recipes-bsp/imx-test/imx-test_git.bb index f7ef0348..d33ad18c 100644 --- a/recipes-bsp/imx-test/imx-test_git.bb +++ b/recipes-bsp/imx-test/imx-test_git.bb | |||
@@ -16,12 +16,12 @@ DEPENDS:append:imxvpu = " virtual/imxvpu" | |||
16 | PE = "1" | 16 | PE = "1" |
17 | PV = "7.0+${SRCPV}" | 17 | PV = "7.0+${SRCPV}" |
18 | 18 | ||
19 | SRCBRANCH = "lf-5.10.52_2.1.0" | 19 | SRCBRANCH = "lf-5.10.72_2.2.0" |
20 | SRC_URI = " \ | 20 | SRC_URI = " \ |
21 | git://source.codeaurora.org/external/imx/imx-test.git;protocol=https;branch=${SRCBRANCH} \ | 21 | git://source.codeaurora.org/external/imx/imx-test.git;protocol=https;branch=${SRCBRANCH} \ |
22 | file://memtool_profile \ | 22 | file://memtool_profile \ |
23 | " | 23 | " |
24 | SRCREV = "2dcb987a91183770f328258b424d9ad2fdfdc17a" | 24 | SRCREV = "a26b1ee51177e317aa05251d4c8f10c4c68064f6" |
25 | S = "${WORKDIR}/git" | 25 | S = "${WORKDIR}/git" |
26 | 26 | ||
27 | inherit module-base use-imx-headers | 27 | inherit module-base use-imx-headers |
diff --git a/recipes-bsp/imx-vpu-hantro-vc/imx-vpu-hantro-vc_1.5.0.bb b/recipes-bsp/imx-vpu-hantro-vc/imx-vpu-hantro-vc_1.6.0.bb index e6cffaca..2a17d76f 100644 --- a/recipes-bsp/imx-vpu-hantro-vc/imx-vpu-hantro-vc_1.5.0.bb +++ b/recipes-bsp/imx-vpu-hantro-vc/imx-vpu-hantro-vc_1.6.0.bb | |||
@@ -2,7 +2,7 @@ | |||
2 | 2 | ||
3 | DESCRIPTION = "i.MX VC8000E Encoder library" | 3 | DESCRIPTION = "i.MX VC8000E Encoder library" |
4 | LICENSE = "Proprietary" | 4 | LICENSE = "Proprietary" |
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=e565271ec9a80ce47abbddc4bffe56fa" | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=03bcadc8dc0a788f66ca9e2b89f56c6f" |
6 | 6 | ||
7 | inherit fsl-eula-unpack | 7 | inherit fsl-eula-unpack |
8 | 8 | ||
@@ -10,8 +10,8 @@ SRC_URI = "${FSL_MIRROR}/${BP}.bin;fsl-eula=true" | |||
10 | 10 | ||
11 | S = "${WORKDIR}/${BPN}-${PV}" | 11 | S = "${WORKDIR}/${BPN}-${PV}" |
12 | 12 | ||
13 | SRC_URI[md5sum] = "fbd43a100c27abbae301428f1ae2bc64" | 13 | SRC_URI[md5sum] = "c24e2622c522bb4bc2da710c27389ee4" |
14 | SRC_URI[sha256sum] = "e59ac2ded726d722f61793b17fc394ce87b1c5710cb79f0b1d60b87fca5829e1" | 14 | SRC_URI[sha256sum] = "338eaa313cfa6f93eee5930903386fca922f82fda3617ecb2597cc90ccf8f22d" |
15 | 15 | ||
16 | # SCR is the location and name of the Software Content Register file | 16 | # SCR is the location and name of the Software Content Register file |
17 | # relative to ${D}${D_SUBDIR}. | 17 | # relative to ${D}${D_SUBDIR}. |
diff --git a/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro-daemon_1.1.0.bb b/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro-daemon_1.1.1.bb index 25f54c7a..d4a48627 100644 --- a/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro-daemon_1.1.0.bb +++ b/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro-daemon_1.1.1.bb | |||
@@ -9,8 +9,8 @@ DEPENDS:append:mx8mp = " imx-vpu-hantro-vc" | |||
9 | SRC_URI = " \ | 9 | SRC_URI = " \ |
10 | ${FSL_MIRROR}/${BP}.tar.gz \ | 10 | ${FSL_MIRROR}/${BP}.tar.gz \ |
11 | " | 11 | " |
12 | SRC_URI[md5sum] = "980237589af195c2c4b852a7aad175ee" | 12 | SRC_URI[md5sum] = "99e96b2e00516d56a78a95a80851076b" |
13 | SRC_URI[sha256sum] = "a5d915fefd3637e68d693638edd1161c30e75011a6312251b914f04546fd0fc9" | 13 | SRC_URI[sha256sum] = "e7b3d55f72e233179b1b28c03628139b463d1994d140fed3c3e0796c66e917c8" |
14 | 14 | ||
15 | PLATFORM:mx8mm = "IMX8MM" | 15 | PLATFORM:mx8mm = "IMX8MM" |
16 | PLATFORM:mx8mq = "IMX8MQ" | 16 | PLATFORM:mx8mq = "IMX8MQ" |
diff --git a/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.23.0.bb b/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.24.0.bb index 427dbf92..84c71610 100644 --- a/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.23.0.bb +++ b/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.24.0.bb | |||
@@ -2,13 +2,13 @@ | |||
2 | 2 | ||
3 | DESCRIPTION = "i.MX Hantro VPU library" | 3 | DESCRIPTION = "i.MX Hantro VPU library" |
4 | LICENSE = "Proprietary" | 4 | LICENSE = "Proprietary" |
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=e565271ec9a80ce47abbddc4bffe56fa" | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=03bcadc8dc0a788f66ca9e2b89f56c6f" |
6 | 6 | ||
7 | PROVIDES = "virtual/imxvpu" | 7 | PROVIDES = "virtual/imxvpu" |
8 | 8 | ||
9 | SRC_URI = "${FSL_MIRROR}/${BP}.bin;fsl-eula=true" | 9 | SRC_URI = "${FSL_MIRROR}/${BP}.bin;fsl-eula=true" |
10 | SRC_URI[md5sum] = "3f8d4bb593d851d0523d0146131946ae" | 10 | SRC_URI[md5sum] = "1f99c6941b8a51035b52cc5bc72faa3d" |
11 | SRC_URI[sha256sum] = "a312a0b6d32ed16527e5bfcff362b231069428362ad5710f816bca019f70c6a2" | 11 | SRC_URI[sha256sum] = "aa9461a152e13a1caa852f29ae18fd33aebd90c8a2b49519003e632687fe89d6" |
12 | 12 | ||
13 | inherit fsl-eula-unpack use-imx-headers | 13 | inherit fsl-eula-unpack use-imx-headers |
14 | 14 | ||
diff --git a/recipes-bsp/isp-imx/basler-camera_4.2.2.15.0.bb b/recipes-bsp/isp-imx/basler-camera_4.2.2.16.0.bb index 0122d273..e7c8a326 100644 --- a/recipes-bsp/isp-imx/basler-camera_4.2.2.15.0.bb +++ b/recipes-bsp/isp-imx/basler-camera_4.2.2.16.0.bb | |||
@@ -2,14 +2,14 @@ | |||
2 | 2 | ||
3 | DESCRIPTION = "Basler camera binary drivers" | 3 | DESCRIPTION = "Basler camera binary drivers" |
4 | LICENSE = "Proprietary" | 4 | LICENSE = "Proprietary" |
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=e565271ec9a80ce47abbddc4bffe56fa" | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=03bcadc8dc0a788f66ca9e2b89f56c6f" |
6 | 6 | ||
7 | inherit fsl-eula-unpack | 7 | inherit fsl-eula-unpack |
8 | 8 | ||
9 | SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}.bin;fsl-eula=true" | 9 | SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}.bin;fsl-eula=true" |
10 | 10 | ||
11 | SRC_URI[md5sum] = "963339f568e8b0ba5d67328238284d47" | 11 | SRC_URI[md5sum] = "489763169857773bade28611e649172e" |
12 | SRC_URI[sha256sum] = "f4d4aa08103937ddd86b9c0880d07c1e0db1ec7f51a420a8ccc76dcf2fb7dbe6" | 12 | SRC_URI[sha256sum] = "3d4ae594659a697eef7479ca2480cc53f1d460f22bcc1c58104cff63bc6705fe" |
13 | 13 | ||
14 | do_install() { | 14 | do_install() { |
15 | dest_dir=${D}/opt/imx8-isp/bin | 15 | dest_dir=${D}/opt/imx8-isp/bin |
diff --git a/recipes-bsp/isp-imx/isp-imx/0001-isp-imx-drop-use-of-__TIME__-__DATE__.patch b/recipes-bsp/isp-imx/isp-imx/0001-isp-imx-drop-use-of-__TIME__-__DATE__.patch index d8d12267..c3ee088f 100644 --- a/recipes-bsp/isp-imx/isp-imx/0001-isp-imx-drop-use-of-__TIME__-__DATE__.patch +++ b/recipes-bsp/isp-imx/isp-imx/0001-isp-imx-drop-use-of-__TIME__-__DATE__.patch | |||
@@ -1,6 +1,6 @@ | |||
1 | From accaeb1ae77eb40b89e70df3efcb00d0dc2af758 Mon Sep 17 00:00:00 2001 | 1 | From ea5ce303fa5bc7b6a17c522b4caf49d349adb12b Mon Sep 17 00:00:00 2001 |
2 | From: Max Krummenacher <max.krummenacher@toradex.com> | 2 | From: Max Krummenacher <max.krummenacher@toradex.com> |
3 | Date: Mon, 14 Jun 2021 08:20:48 +0000 | 3 | Date: Sat, 30 Oct 2021 17:26:42 +0200 |
4 | Subject: [PATCH] isp-imx: drop use of __TIME__, __DATE__ | 4 | Subject: [PATCH] isp-imx: drop use of __TIME__, __DATE__ |
5 | 5 | ||
6 | With reproducible build enabled the compiler is configured to throw | 6 | With reproducible build enabled the compiler is configured to throw |
@@ -21,7 +21,7 @@ Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> | |||
21 | 2 files changed, 7 insertions(+), 4 deletions(-) | 21 | 2 files changed, 7 insertions(+), 4 deletions(-) |
22 | 22 | ||
23 | diff --git a/mediacontrol/CMakeLists.txt b/mediacontrol/CMakeLists.txt | 23 | diff --git a/mediacontrol/CMakeLists.txt b/mediacontrol/CMakeLists.txt |
24 | index 48cd7633e..f587758e0 100755 | 24 | index 5849c163e..8a8e1a4a0 100755 |
25 | --- a/mediacontrol/CMakeLists.txt | 25 | --- a/mediacontrol/CMakeLists.txt |
26 | +++ b/mediacontrol/CMakeLists.txt | 26 | +++ b/mediacontrol/CMakeLists.txt |
27 | @@ -2,6 +2,9 @@ cmake_minimum_required(VERSION 3.1.0) | 27 | @@ -2,6 +2,9 @@ cmake_minimum_required(VERSION 3.1.0) |
@@ -35,38 +35,38 @@ index 48cd7633e..f587758e0 100755 | |||
35 | if(DEFINED PLATFORM) | 35 | if(DEFINED PLATFORM) |
36 | if(${PLATFORM} STREQUAL ARM64) | 36 | if(${PLATFORM} STREQUAL ARM64) |
37 | diff --git a/mediacontrol/daemon/main_v4l2.cpp b/mediacontrol/daemon/main_v4l2.cpp | 37 | diff --git a/mediacontrol/daemon/main_v4l2.cpp b/mediacontrol/daemon/main_v4l2.cpp |
38 | index a3033cf83..d08dee127 100644 | 38 | index d3d1c2423..dd0514358 100644 |
39 | --- a/mediacontrol/daemon/main_v4l2.cpp | 39 | --- a/mediacontrol/daemon/main_v4l2.cpp |
40 | +++ b/mediacontrol/daemon/main_v4l2.cpp | 40 | +++ b/mediacontrol/daemon/main_v4l2.cpp |
41 | @@ -96,7 +96,7 @@ int main(int argc, char* argv[]) { | 41 | @@ -105,7 +105,7 @@ int main(int argc, char* argv[]) { |
42 | if (argc == 2){ | ||
43 | if(!(string2Version.find(argv[1])==string2Version.end())){ | 42 | if(!(string2Version.find(argv[1])==string2Version.end())){ |
44 | std::cout << "Version : "<<MEDIA_SERVER_VERSION<<std::endl; | 43 | std::cout << "Version : "<<MEDIA_SERVER_VERSION<<std::endl; |
44 | #ifndef ANDROID | ||
45 | - std::cout << "Build Time : "<<__DATE__<<", "<<__TIME__<<std::endl; | 45 | - std::cout << "Build Time : "<<__DATE__<<", "<<__TIME__<<std::endl; |
46 | + std::cout << "Build Time : "<<BUILD_DATE<<std::endl; | 46 | + std::cout << "Build Time : "<<BUILD_DATE<<std::endl; |
47 | #endif | ||
47 | return 0; | 48 | return 0; |
48 | } | 49 | } |
49 | } | 50 | @@ -116,8 +116,8 @@ int main(int argc, char* argv[]) { |
50 | @@ -105,8 +105,8 @@ int main(int argc, char* argv[]) { | ||
51 | if(fd_running >= 0) | ||
52 | { | 51 | { |
53 | ALOGI("******************************************************************"); | 52 | ALOGI("******************************************************************"); |
53 | #ifndef ANDROID | ||
54 | - ALOGI("VIV ISP Media Control Framework V%s (%s, %s)", | 54 | - ALOGI("VIV ISP Media Control Framework V%s (%s, %s)", |
55 | - MEDIA_SERVER_VERSION, __DATE__, __TIME__); | 55 | - MEDIA_SERVER_VERSION, __DATE__, __TIME__); |
56 | + ALOGI("VIV ISP Media Control Framework V%s (%s)", | 56 | + ALOGI("VIV ISP Media Control Framework V%s (%s)", |
57 | + MEDIA_SERVER_VERSION, BUILD_DATE); | 57 | + MEDIA_SERVER_VERSION, BUILD_DATE); |
58 | ALOGI("******************************************************************\n"); | 58 | #else |
59 | 59 | ALOGI("VIV ISP Media Control Framework V%s", MEDIA_SERVER_VERSION); | |
60 | if (argc < 2) { | 60 | #endif |
61 | @@ -123,7 +123,7 @@ int main(int argc, char* argv[]) { | 61 | @@ -138,7 +138,7 @@ int main(int argc, char* argv[]) { |
62 | while( i < argc ){ | ||
63 | if(!(string2Version.find(argv[i])==string2Version.end())){ | 62 | if(!(string2Version.find(argv[i])==string2Version.end())){ |
64 | std::cout << "Version : "<<MEDIA_SERVER_VERSION<<std::endl; | 63 | std::cout << "Version : "<<MEDIA_SERVER_VERSION<<std::endl; |
64 | #ifndef ANDROID | ||
65 | - std::cout << "Build Time : "<<__DATE__<<", "<<__TIME__<<std::endl; | 65 | - std::cout << "Build Time : "<<__DATE__<<", "<<__TIME__<<std::endl; |
66 | + std::cout << "Build Time : "<<BUILD_DATE<<std::endl; | 66 | + std::cout << "Build Time : "<<BUILD_DATE<<std::endl; |
67 | #endif | ||
67 | i++; | 68 | i++; |
68 | continue; | 69 | continue; |
69 | } | ||
70 | -- | 70 | -- |
71 | 2.20.1 | 71 | 2.20.1 |
72 | 72 | ||
diff --git a/recipes-bsp/isp-imx/isp-imx_4.2.2.15.0.bb b/recipes-bsp/isp-imx/isp-imx_4.2.2.16.0.bb index 9f975511..4411c351 100644 --- a/recipes-bsp/isp-imx/isp-imx_4.2.2.15.0.bb +++ b/recipes-bsp/isp-imx/isp-imx_4.2.2.16.0.bb | |||
@@ -2,17 +2,16 @@ | |||
2 | 2 | ||
3 | DESCRIPTION = "i.MX Verisilicon Software ISP" | 3 | DESCRIPTION = "i.MX Verisilicon Software ISP" |
4 | LICENSE = "Proprietary" | 4 | LICENSE = "Proprietary" |
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=e565271ec9a80ce47abbddc4bffe56fa" | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=03bcadc8dc0a788f66ca9e2b89f56c6f" |
6 | DEPENDS = "python3 libdrm virtual/libg2d libtinyxml2" | 6 | DEPENDS = "python3 libdrm virtual/libg2d libtinyxml2-8" |
7 | 7 | ||
8 | SRC_URI = " \ | 8 | SRC_URI = " \ |
9 | ${FSL_MIRROR}/${BP}.bin;fsl-eula=true \ | 9 | ${FSL_MIRROR}/${BP}.bin;fsl-eula=true \ |
10 | file://0001-start_isp.sh-fix-NR_DEVICE_TREE_BASLER-variable.patch \ | 10 | file://0001-start_isp.sh-fix-NR_DEVICE_TREE_BASLER-variable.patch \ |
11 | file://0001-isp-imx-drop-use-of-__TIME__-__DATE__.patch \ | ||
12 | " | 11 | " |
13 | 12 | ||
14 | SRC_URI[md5sum] = "e9e0943b9f4923c767d07901e550c41c" | 13 | SRC_URI[md5sum] = "f490153dbec234a04416ad41834806b2" |
15 | SRC_URI[sha256sum] = "13274c0fd442da4b3b9900a7568c59872ffa6408f5699d35eebc6760a8e51297" | 14 | SRC_URI[sha256sum] = "83b24b9d1f7a40a506a45a1c5c2ef2ca2313fe9b23fde591e3b7dce77ea359ca" |
16 | 15 | ||
17 | inherit fsl-eula-unpack cmake systemd use-imx-headers | 16 | inherit fsl-eula-unpack cmake systemd use-imx-headers |
18 | 17 | ||
@@ -25,6 +24,7 @@ OECMAKE_GENERATOR = "Unix Makefiles" | |||
25 | SYSTEMD_SERVICE:${PN} = "imx8-isp.service" | 24 | SYSTEMD_SERVICE:${PN} = "imx8-isp.service" |
26 | 25 | ||
27 | EXTRA_OECMAKE += " \ | 26 | EXTRA_OECMAKE += " \ |
27 | -DSDKTARGETSYSROOT=${STAGING_DIR_HOST} \ | ||
28 | -DCMAKE_BUILD_TYPE=release \ | 28 | -DCMAKE_BUILD_TYPE=release \ |
29 | -DISP_VERSION=ISP8000NANO_V1802 \ | 29 | -DISP_VERSION=ISP8000NANO_V1802 \ |
30 | -DPLATFORM=ARM64 \ | 30 | -DPLATFORM=ARM64 \ |
@@ -46,6 +46,10 @@ do_configure:prepend() { | |||
46 | export SDKTARGETSYSROOT=${STAGING_DIR_HOST} | 46 | export SDKTARGETSYSROOT=${STAGING_DIR_HOST} |
47 | } | 47 | } |
48 | 48 | ||
49 | do_compile:prepend() { | ||
50 | ln -sf ${RECIPE_SYSROOT}/${libdir}/libtinyxml2.so.?.?.? ${RECIPE_SYSROOT}/${libdir}/libtinyxml2.so | ||
51 | } | ||
52 | |||
49 | do_install() { | 53 | do_install() { |
50 | install -d ${D}/${libdir} | 54 | install -d ${D}/${libdir} |
51 | install -d ${D}/${includedir} | 55 | install -d ${D}/${includedir} |
@@ -55,7 +59,6 @@ do_install() { | |||
55 | cp -r ${WORKDIR}/build/generated/release/bin/*2775* ${D}/opt/imx8-isp/bin | 59 | cp -r ${WORKDIR}/build/generated/release/bin/*2775* ${D}/opt/imx8-isp/bin |
56 | cp -r ${WORKDIR}/build/generated/release/bin/isp_media_server ${D}/opt/imx8-isp/bin | 60 | cp -r ${WORKDIR}/build/generated/release/bin/isp_media_server ${D}/opt/imx8-isp/bin |
57 | cp -r ${WORKDIR}/build/generated/release/bin/vvext ${D}/opt/imx8-isp/bin | 61 | cp -r ${WORKDIR}/build/generated/release/bin/vvext ${D}/opt/imx8-isp/bin |
58 | cp -r ${WORKDIR}/${BP}/dewarp/dewarp_config/ ${D}/opt/imx8-isp/bin | ||
59 | cp -r ${WORKDIR}/build/generated/release/lib/*.so* ${D}/${libdir} | 62 | cp -r ${WORKDIR}/build/generated/release/lib/*.so* ${D}/${libdir} |
60 | cp -r ${WORKDIR}/build/generated/release/include/* ${D}/${includedir} | 63 | cp -r ${WORKDIR}/build/generated/release/include/* ${D}/${includedir} |
61 | 64 | ||
diff --git a/recipes-bsp/isp-imx/libtinyxml2-8_8.0.0.bb b/recipes-bsp/isp-imx/libtinyxml2-8_8.0.0.bb new file mode 100644 index 00000000..363f7305 --- /dev/null +++ b/recipes-bsp/isp-imx/libtinyxml2-8_8.0.0.bb | |||
@@ -0,0 +1,22 @@ | |||
1 | SUMMARY = "TinyXML-2 is a simple, small, efficient, C++ XML parser that can be easily integrating into other programs" | ||
2 | HOMEPAGE = "http://www.grinninglizard.com/tinyxml2/" | ||
3 | SECTION = "libs" | ||
4 | LICENSE = "Zlib" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=135624eef03e1f1101b9ba9ac9b5fffd" | ||
6 | |||
7 | SRC_URI = "git://github.com/leethomason/tinyxml2.git" | ||
8 | |||
9 | SRCREV = "bf15233ad88390461f6ab0dbcf046cce643c5fcb" | ||
10 | |||
11 | S = "${WORKDIR}/git" | ||
12 | |||
13 | inherit cmake | ||
14 | |||
15 | # make sure we don't provide files which are also present in the | ||
16 | # current libtinyxml2 version's -dev package. | ||
17 | do_install:append() { | ||
18 | rm -rf ${D}/${includedir} | ||
19 | rm -rf ${D}/${libdir}/cmake | ||
20 | rm -rf ${D}/${libdir}/libtinyxml2.so | ||
21 | rm -rf ${D}/${libdir}/pkgconfig | ||
22 | } | ||
diff --git a/recipes-kernel/linux/linux-imx-headers_5.10.bb b/recipes-kernel/linux/linux-imx-headers_5.10.bb index 8acb2652..8a142b91 100644 --- a/recipes-kernel/linux/linux-imx-headers_5.10.bb +++ b/recipes-kernel/linux/linux-imx-headers_5.10.bb | |||
@@ -8,9 +8,9 @@ LICENSE = "GPLv2" | |||
8 | LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" | 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" |
9 | 9 | ||
10 | SRCBRANCH = "lf-5.10.y" | 10 | SRCBRANCH = "lf-5.10.y" |
11 | LOCALVERSION = "-5.10.52-2.1.0" | 11 | LOCALVERSION = "-5.10.72-2.2.0" |
12 | SRC_URI = "git://source.codeaurora.org/external/imx/linux-imx.git;protocol=https;branch=${SRCBRANCH}" | 12 | SRC_URI = "git://source.codeaurora.org/external/imx/linux-imx.git;protocol=https;branch=${SRCBRANCH}" |
13 | SRCREV = "ef3f2cfc6010c13feb40cfb7fd7490832cf86f45" | 13 | SRCREV = "a68e31b63f864ff71cd4adb40fbc9e1edc75c250" |
14 | 14 | ||
15 | S = "${WORKDIR}/git" | 15 | S = "${WORKDIR}/git" |
16 | 16 | ||