diff options
15 files changed, 280 insertions, 31 deletions
@@ -9,7 +9,7 @@ This file lists all licenses used by recipes in the meta-freescale layer. | |||
9 | ./recipes-bsp/boot-format/boot-format_git.bb: LICENSE = "GPL-2.0-only" | 9 | ./recipes-bsp/boot-format/boot-format_git.bb: LICENSE = "GPL-2.0-only" |
10 | ./recipes-bsp/ddr-phy/ddr-phy_git.bb: LICENSE = "NXP-Binary-EULA" | 10 | ./recipes-bsp/ddr-phy/ddr-phy_git.bb: LICENSE = "NXP-Binary-EULA" |
11 | ./recipes-bsp/dp-firmware-cadence/dp-firmware-cadence_22.04.bb: LICENSE = "Proprietary" | 11 | ./recipes-bsp/dp-firmware-cadence/dp-firmware-cadence_22.04.bb: LICENSE = "Proprietary" |
12 | ./recipes-bsp/firmware-imx/firmware-ele-imx_1.3.0.bb: LICENSE = "Proprietary" | 12 | ./recipes-bsp/firmware-imx/firmware-ele-imx_2.0.1.bb: LICENSE = "Proprietary" |
13 | ./recipes-bsp/firmware-imx/firmware-imx-8.27.inc: LICENSE = "Proprietary" | 13 | ./recipes-bsp/firmware-imx/firmware-imx-8.27.inc: LICENSE = "Proprietary" |
14 | ./recipes-bsp/firmware-imx/firmware-nxp-wifi_1.1.bb: LICENSE = "Proprietary" | 14 | ./recipes-bsp/firmware-imx/firmware-nxp-wifi_1.1.bb: LICENSE = "Proprietary" |
15 | ./recipes-bsp/firmware-imx/firmware-sof-imx_2.3.0.bb: LICENSE = "BSD-3-Clause" | 15 | ./recipes-bsp/firmware-imx/firmware-sof-imx_2.3.0.bb: LICENSE = "BSD-3-Clause" |
@@ -22,7 +22,7 @@ This file lists all licenses used by recipes in the meta-freescale layer. | |||
22 | ./recipes-bsp/imx-mkimage/imx-mkimage_git.bb: LICENSE = "GPL-2.0-only" | 22 | ./recipes-bsp/imx-mkimage/imx-mkimage_git.bb: LICENSE = "GPL-2.0-only" |
23 | ./recipes-bsp/imx-sc-firmware/imx-sc-firmware_1.15.0.bb: LICENSE = "Proprietary" | 23 | ./recipes-bsp/imx-sc-firmware/imx-sc-firmware_1.15.0.bb: LICENSE = "Proprietary" |
24 | ./recipes-bsp/imx-seco/imx-seco-libs_git.bb: LICENSE = "Proprietary" | 24 | ./recipes-bsp/imx-seco/imx-seco-libs_git.bb: LICENSE = "Proprietary" |
25 | ./recipes-bsp/imx-seco/imx-seco_5.9.4.bb: LICENSE = "Proprietary" | 25 | ./recipes-bsp/imx-seco/imx-seco_5.9.4.1.bb: LICENSE = "Proprietary" |
26 | ./recipes-bsp/imx-secure-enclave/imx-secure-enclave_git.bb: LICENSE = "BSD-3-Clause" | 26 | ./recipes-bsp/imx-secure-enclave/imx-secure-enclave_git.bb: LICENSE = "BSD-3-Clause" |
27 | ./recipes-bsp/imx-test/imx-test_00.00.00.bb: LICENSE = "MIT" | 27 | ./recipes-bsp/imx-test/imx-test_00.00.00.bb: LICENSE = "MIT" |
28 | ./recipes-bsp/imx-test/imx-test_git.bb: LICENSE = "GPL-2.0-or-later" | 28 | ./recipes-bsp/imx-test/imx-test_git.bb: LICENSE = "GPL-2.0-or-later" |
@@ -142,10 +142,10 @@ LICENSE_FLAGS = "commercial" | |||
142 | ./recipes-multimedia/gstreamer/imx-gst1.0-plugin_git.bb: LICENSE = "GPL-2.0-only & LGPL-2.0-only & LGPL-2.1-only" | 142 | ./recipes-multimedia/gstreamer/imx-gst1.0-plugin_git.bb: LICENSE = "GPL-2.0-only & LGPL-2.0-only & LGPL-2.1-only" |
143 | ./recipes-multimedia/imx-codec/imx-codec_4.9.0.bb: LICENSE = "Proprietary" | 143 | ./recipes-multimedia/imx-codec/imx-codec_4.9.0.bb: LICENSE = "Proprietary" |
144 | ./recipes-multimedia/imx-dsp/imx-dsp-codec-ext_2.1.8.bb: LICENSE = "Proprietary" | 144 | ./recipes-multimedia/imx-dsp/imx-dsp-codec-ext_2.1.8.bb: LICENSE = "Proprietary" |
145 | ./recipes-multimedia/imx-dsp/imx-dsp_2.1.9.bb: LICENSE = "Proprietary" | 145 | ./recipes-multimedia/imx-dsp/imx-dsp_2.1.10.bb: LICENSE = "Proprietary" |
146 | ./recipes-multimedia/imx-dspc-asrc/imx-dspc-asrc_1.0.1.bb: LICENSE = "Proprietary" | 146 | ./recipes-multimedia/imx-dspc-asrc/imx-dspc-asrc_1.0.1.bb: LICENSE = "Proprietary" |
147 | ./recipes-multimedia/imx-opencl-converter/imx-opencl-converter_0.6.0.bb: LICENSE = "Proprietary" | 147 | ./recipes-multimedia/imx-opencl-converter/imx-opencl-converter_0.7.0.bb: LICENSE = "Proprietary" |
148 | ./recipes-multimedia/imx-parser/imx-parser_4.9.2.bb: LICENSE = "Proprietary" | 148 | ./recipes-multimedia/imx-parser/imx-parser_4.9.3.bb: LICENSE = "Proprietary" |
149 | ./recipes-multimedia/imx-sw-pdm/imx-sw-pdm_1.0.3.bb: LICENSE = "Proprietary" | 149 | ./recipes-multimedia/imx-sw-pdm/imx-sw-pdm_1.0.3.bb: LICENSE = "Proprietary" |
150 | ./recipes-multimedia/imx-vpuwrap/imx-vpuwrap_git.bb: LICENSE = "Proprietary" | 150 | ./recipes-multimedia/imx-vpuwrap/imx-vpuwrap_git.bb: LICENSE = "Proprietary" |
151 | ./recipes-multimedia/libimxvpuapi/libimxvpuapi2_2.3.1.bb: LICENSE = "LGPL-2.1-only" | 151 | ./recipes-multimedia/libimxvpuapi/libimxvpuapi2_2.3.1.bb: LICENSE = "LGPL-2.1-only" |
diff --git a/recipes-bsp/firmware-imx/firmware-ele-imx_1.3.0.bb b/recipes-bsp/firmware-imx/firmware-ele-imx_2.0.1.bb index 8a812f41..d9a6218e 100644 --- a/recipes-bsp/firmware-imx/firmware-ele-imx_1.3.0.bb +++ b/recipes-bsp/firmware-imx/firmware-ele-imx_2.0.1.bb | |||
@@ -1,15 +1,15 @@ | |||
1 | # Copyright 2021-2024 NXP | 1 | # Copyright 2021-2025 NXP |
2 | SUMMARY = "NXP i.MX ELE firmware" | 2 | SUMMARY = "NXP i.MX ELE firmware" |
3 | DESCRIPTION = "EdgeLock Secure Enclave firmware for i.MX series SoCs" | 3 | DESCRIPTION = "EdgeLock Secure Enclave firmware for i.MX series SoCs" |
4 | SECTION = "base" | 4 | SECTION = "base" |
5 | LICENSE = "Proprietary" | 5 | LICENSE = "Proprietary" |
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=ca53281cc0caa7e320d4945a896fb837" | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=c0fb372b5d7f12181de23ef480f225f3" |
7 | 7 | ||
8 | inherit fsl-eula-unpack use-imx-security-controller-firmware deploy | 8 | inherit fsl-eula-unpack use-imx-security-controller-firmware deploy |
9 | 9 | ||
10 | SRC_URI = "${FSL_MIRROR}/${BP}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true" | 10 | SRC_URI = "${FSL_MIRROR}/${BP}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true" |
11 | IMX_SRCREV_ABBREV = "17945fc" | 11 | IMX_SRCREV_ABBREV = "19b6ee2" |
12 | SRC_URI[sha256sum] = "8791109824767346237e53ac2c712824e54608e2092859161e6bb3e5385a7595" | 12 | SRC_URI[sha256sum] = "14ad172ed70d2f16decca4b55e508dad32923390a298f10a598e8bc7778b6b66" |
13 | 13 | ||
14 | S = "${WORKDIR}/${BP}-${IMX_SRCREV_ABBREV}" | 14 | S = "${WORKDIR}/${BP}-${IMX_SRCREV_ABBREV}" |
15 | 15 | ||
diff --git a/recipes-bsp/firmware-imx/firmware-nxp-wifi_1.1.bb b/recipes-bsp/firmware-imx/firmware-nxp-wifi_1.1.bb index 31c806b0..e713336e 100644 --- a/recipes-bsp/firmware-imx/firmware-nxp-wifi_1.1.bb +++ b/recipes-bsp/firmware-imx/firmware-nxp-wifi_1.1.bb | |||
@@ -7,11 +7,11 @@ should be preferred." | |||
7 | 7 | ||
8 | SECTION = "kernel" | 8 | SECTION = "kernel" |
9 | LICENSE = "Proprietary" | 9 | LICENSE = "Proprietary" |
10 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=ca53281cc0caa7e320d4945a896fb837" | 10 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=c0fb372b5d7f12181de23ef480f225f3" |
11 | 11 | ||
12 | SRC_URI = "git://github.com/nxp-imx/imx-firmware.git;protocol=https;branch=${SRCBRANCH}" | 12 | SRC_URI = "git://github.com/nxp-imx/imx-firmware.git;protocol=https;branch=${SRCBRANCH}" |
13 | SRCBRANCH = "lf-6.6.52_2.2.0" | 13 | SRCBRANCH = "lf-6.12.3_1.0.0" |
14 | SRCREV = "2978f3c88d6bcc5695a7b45f1936f18d31eebfa8" | 14 | SRCREV = "eef7ef94bc44cacd3b068f66658ef33391547daa" |
15 | 15 | ||
16 | S = "${WORKDIR}/git" | 16 | S = "${WORKDIR}/git" |
17 | 17 | ||
@@ -19,6 +19,8 @@ inherit allarch | |||
19 | 19 | ||
20 | CLEANBROKEN = "1" | 20 | CLEANBROKEN = "1" |
21 | ALLOW_EMPTY:${PN} = "1" | 21 | ALLOW_EMPTY:${PN} = "1" |
22 | ALLOW_EMPTY:${PN}-all-sdio = "1" | ||
23 | ALLOW_EMPTY:${PN}-all-pcie = "1" | ||
22 | 24 | ||
23 | do_compile() { | 25 | do_compile() { |
24 | : | 26 | : |
@@ -173,3 +175,17 @@ RDEPENDS:${PN}-nxpiw612-sdio += "${PN}-nxp-common" | |||
173 | RPROVIDES:${PN}-nxpiw612-sdio = "linux-firmware-nxpiw612-sdio" | 175 | RPROVIDES:${PN}-nxpiw612-sdio = "linux-firmware-nxpiw612-sdio" |
174 | RREPLACES:${PN}-nxpiw612-sdio = "linux-firmware-nxpiw612-sdio" | 176 | RREPLACES:${PN}-nxpiw612-sdio = "linux-firmware-nxpiw612-sdio" |
175 | RCONFLICTS:${PN}-nxpiw612-sdio = "linux-firmware-nxpiw612-sdio" | 177 | RCONFLICTS:${PN}-nxpiw612-sdio = "linux-firmware-nxpiw612-sdio" |
178 | |||
179 | RDEPENDS:${PN}-all-sdio = " \ | ||
180 | ${PN}-nxp8801-sdio \ | ||
181 | ${PN}-nxp8987-sdio \ | ||
182 | ${PN}-nxp9098-sdio \ | ||
183 | ${PN}-nxpiw416-sdio \ | ||
184 | ${PN}-nxpiw610-sdio \ | ||
185 | ${PN}-nxpiw612-sdio \ | ||
186 | " | ||
187 | |||
188 | RDEPENDS:${PN}-all-pcie = " \ | ||
189 | ${PN}-nxp8997-pcie \ | ||
190 | ${PN}-nxp9098-pcie \ | ||
191 | " | ||
diff --git a/recipes-bsp/imx-mkimage/imx-mkimage_git.inc b/recipes-bsp/imx-mkimage/imx-mkimage_git.inc index abc60c9e..ad464aee 100644 --- a/recipes-bsp/imx-mkimage/imx-mkimage_git.inc +++ b/recipes-bsp/imx-mkimage/imx-mkimage_git.inc | |||
@@ -1,12 +1,12 @@ | |||
1 | # Copyright 2017-2023 NXP | 1 | # Copyright 2017-2025 NXP |
2 | 2 | ||
3 | DEPENDS = "zlib-native openssl-native" | 3 | DEPENDS = "zlib-native openssl-native" |
4 | 4 | ||
5 | SRC_URI = "git://github.com/nxp-imx/imx-mkimage.git;protocol=https;branch=${SRCBRANCH} \ | 5 | SRC_URI = "git://github.com/nxp-imx/imx-mkimage.git;protocol=https;branch=${SRCBRANCH} \ |
6 | file://0001-iMX8M-soc.mak-use-native-mkimage-from-sysroot.patch \ | 6 | file://0001-iMX8M-soc.mak-use-native-mkimage-from-sysroot.patch \ |
7 | " | 7 | " |
8 | SRCBRANCH = "lf-6.6.52_2.2.0" | 8 | SRCBRANCH = "lf-6.12.3_1.0.0" |
9 | SRCREV = "71b8c18af93a5eb972d80fbec290006066cff24f" | 9 | SRCREV = "9e60b1f7a87a6397cf8db10e07293075f489e974" |
10 | 10 | ||
11 | S = "${WORKDIR}/git" | 11 | S = "${WORKDIR}/git" |
12 | 12 | ||
diff --git a/recipes-bsp/imx-seco/imx-seco_5.9.4.bb b/recipes-bsp/imx-seco/imx-seco_5.9.4.1.bb index 6e8aefdf..352fc49e 100644 --- a/recipes-bsp/imx-seco/imx-seco_5.9.4.bb +++ b/recipes-bsp/imx-seco/imx-seco_5.9.4.1.bb | |||
@@ -1,17 +1,19 @@ | |||
1 | # Copyright 2019-2022 NXP | 1 | # Copyright 2019-2024 NXP |
2 | 2 | ||
3 | SUMMARY = "NXP i.MX SECO firmware" | 3 | SUMMARY = "NXP i.MX SECO firmware" |
4 | DESCRIPTION = "Firmware for i.MX Security Controller Subsystem" | 4 | DESCRIPTION = "Firmware for i.MX Security Controller Subsystem" |
5 | SECTION = "base" | 5 | SECTION = "base" |
6 | LICENSE = "Proprietary" | 6 | LICENSE = "Proprietary" |
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=10c0fda810c63b052409b15a5445671a" | 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=ca53281cc0caa7e320d4945a896fb837" |
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}/${BPN}-${PV}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true" |
12 | 12 | ||
13 | SRC_URI[sha256sum] = "9b04be33814a9cbda9bbfcb6711585cf7e4ed2527793813c95230f350323cba7" | 13 | SRC_URI[sha256sum] = "bd8dc01966076836aabff53f2463295294166595006e1db430db21b6ffa6b667" |
14 | IMX_SRCREV_ABBREV = "0333596" | ||
14 | 15 | ||
16 | S = "${WORKDIR}/${BPN}-${PV}-${IMX_SRCREV_ABBREV}" | ||
15 | 17 | ||
16 | do_compile[noexec] = "1" | 18 | do_compile[noexec] = "1" |
17 | 19 | ||
diff --git a/recipes-bsp/imx-vpu-hantro-vc/imx-vpu-hantro-vc/0001-base_type.h-make-header-compatible-with-c23.patch b/recipes-bsp/imx-vpu-hantro-vc/imx-vpu-hantro-vc/0001-base_type.h-make-header-compatible-with-c23.patch new file mode 100644 index 00000000..8d017ab7 --- /dev/null +++ b/recipes-bsp/imx-vpu-hantro-vc/imx-vpu-hantro-vc/0001-base_type.h-make-header-compatible-with-c23.patch | |||
@@ -0,0 +1,39 @@ | |||
1 | From e7f6097c9e7cb30f130502cc4804e1a1b01342de Mon Sep 17 00:00:00 2001 | ||
2 | From: Max Krummenacher <max.krummenacher@toradex.com> | ||
3 | Date: Wed, 7 May 2025 16:13:38 +0000 | ||
4 | Subject: [PATCH] base_type.h: make header compatible with c23 | ||
5 | |||
6 | With C23 bool, true and false are built in keywords and cannot be | ||
7 | redefined. | ||
8 | |||
9 | Upstream-Status: Pending | ||
10 | Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> | ||
11 | --- | ||
12 | usr/include/hantro_VC8000E_enc/base_type.h | 4 ++++ | ||
13 | 1 file changed, 4 insertions(+) | ||
14 | |||
15 | diff --git a/usr/include/hantro_VC8000E_enc/base_type.h b/usr/include/hantro_VC8000E_enc/base_type.h | ||
16 | index 282fc81b8eba..af4212eed2bd 100755 | ||
17 | --- a/usr/include/hantro_VC8000E_enc/base_type.h | ||
18 | +++ b/usr/include/hantro_VC8000E_enc/base_type.h | ||
19 | @@ -67,6 +67,9 @@ typedef unsigned int UInt; | ||
20 | #define HANTRO_FALSE 0 | ||
21 | #define HANTRO_TRUE 1 | ||
22 | |||
23 | +#if defined __STDC_VERSION__ && __STDC_VERSION__ > 201710L | ||
24 | +/* bool, true and false are keywords. */ | ||
25 | +#else | ||
26 | #ifndef bool | ||
27 | typedef enum | ||
28 | { | ||
29 | @@ -74,6 +77,7 @@ typedef enum | ||
30 | true = HANTRO_TRUE | ||
31 | } bool; | ||
32 | #endif | ||
33 | +#endif | ||
34 | |||
35 | enum | ||
36 | { | ||
37 | -- | ||
38 | 2.42.0 | ||
39 | |||
diff --git a/recipes-bsp/imx-vpu-hantro-vc/imx-vpu-hantro-vc_1.10.1.bb b/recipes-bsp/imx-vpu-hantro-vc/imx-vpu-hantro-vc_1.10.1.bb index 2e4718c9..5aaf92c5 100644 --- a/recipes-bsp/imx-vpu-hantro-vc/imx-vpu-hantro-vc_1.10.1.bb +++ b/recipes-bsp/imx-vpu-hantro-vc/imx-vpu-hantro-vc_1.10.1.bb | |||
@@ -6,7 +6,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=ca53281cc0caa7e320d4945a896fb837" | |||
6 | 6 | ||
7 | inherit fsl-eula-unpack | 7 | inherit fsl-eula-unpack |
8 | 8 | ||
9 | SRC_URI = "${FSL_MIRROR}/${BP}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true" | 9 | SRC_URI = " \ |
10 | ${FSL_MIRROR}/${BP}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true \ | ||
11 | file://0001-base_type.h-make-header-compatible-with-c23.patch \ | ||
12 | " | ||
10 | IMX_SRCREV_ABBREV = "c0244a1" | 13 | IMX_SRCREV_ABBREV = "c0244a1" |
11 | 14 | ||
12 | SRC_URI[sha256sum] = "713ba375f25490727fcc62bab5d5508f74de03204b4c153464b696b652c5c7df" | 15 | SRC_URI[sha256sum] = "713ba375f25490727fcc62bab5d5508f74de03204b4c153464b696b652c5c7df" |
diff --git a/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro/0001-basetype.h-make-header-compatible-with-c23.patch b/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro/0001-basetype.h-make-header-compatible-with-c23.patch new file mode 100644 index 00000000..bbfec172 --- /dev/null +++ b/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro/0001-basetype.h-make-header-compatible-with-c23.patch | |||
@@ -0,0 +1,38 @@ | |||
1 | From e39a6602817e4221ae09ac3d520ca6a0d94814dc Mon Sep 17 00:00:00 2001 | ||
2 | From: Max Krummenacher <max.krummenacher@toradex.com> | ||
3 | Date: Wed, 7 May 2025 16:13:38 +0000 | ||
4 | Subject: [PATCH] basetype.h: make header compatible with c23 | ||
5 | |||
6 | With C23 bool, true and false are built in keywords and cannot be | ||
7 | redefined. | ||
8 | |||
9 | Upstream-Status: Pending | ||
10 | Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> | ||
11 | --- | ||
12 | h1_encoder/software/inc/basetype.h | 4 ++++ | ||
13 | 1 file changed, 4 insertions(+) | ||
14 | |||
15 | diff --git a/h1_encoder/software/inc/basetype.h b/h1_encoder/software/inc/basetype.h | ||
16 | index 55e46a195b3b..6655ec54481b 100755 | ||
17 | --- a/h1_encoder/software/inc/basetype.h | ||
18 | +++ b/h1_encoder/software/inc/basetype.h | ||
19 | @@ -66,12 +66,16 @@ typedef size_t ptr_t; | ||
20 | #define PRT_PTR "x" | ||
21 | #endif | ||
22 | |||
23 | +#if defined __STDC_VERSION__ && __STDC_VERSION__ > 201710L | ||
24 | +/* bool, true and false are keywords. */ | ||
25 | +#else | ||
26 | #ifndef __cplusplus | ||
27 | typedef enum { | ||
28 | false = 0, | ||
29 | true = 1 | ||
30 | } bool; | ||
31 | #endif | ||
32 | +#endif | ||
33 | |||
34 | #else /* __symbian__ or __win__ or whatever, customize it to suit well */ | ||
35 | |||
36 | -- | ||
37 | 2.42.0 | ||
38 | |||
diff --git a/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro/0001-test-md5-convert-to-ansi-c.patch b/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro/0001-test-md5-convert-to-ansi-c.patch new file mode 100644 index 00000000..da1af2b9 --- /dev/null +++ b/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro/0001-test-md5-convert-to-ansi-c.patch | |||
@@ -0,0 +1,90 @@ | |||
1 | From 0c5bdd12a6f3ba73e605656828bf429966a997ef Mon Sep 17 00:00:00 2001 | ||
2 | From: Max Krummenacher <max.krummenacher@toradex.com> | ||
3 | Date: Wed, 7 May 2025 13:25:26 +0000 | ||
4 | Subject: [PATCH] test: md5: convert to ansi c | ||
5 | |||
6 | GCC 15 no longer likes this K&R style function declarations. | ||
7 | |||
8 | Upstream-Status: Pending | ||
9 | Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> | ||
10 | --- | ||
11 | decoder_sw/software/test/common/swhw/md5.c | 15 +++++---------- | ||
12 | decoder_sw/software/test/common/swhw/md5.h | 8 ++++---- | ||
13 | 2 files changed, 9 insertions(+), 14 deletions(-) | ||
14 | |||
15 | diff --git a/decoder_sw/software/test/common/swhw/md5.c b/decoder_sw/software/test/common/swhw/md5.c | ||
16 | index c3334bf751fd..20014fbdf268 100755 | ||
17 | --- a/decoder_sw/software/test/common/swhw/md5.c | ||
18 | +++ b/decoder_sw/software/test/common/swhw/md5.c | ||
19 | @@ -42,8 +42,7 @@ | ||
20 | /* | ||
21 | * Note: this code is harmless on little-endian machines. | ||
22 | */ | ||
23 | -void ByteReverse(buf, longs) unsigned char *buf; | ||
24 | -unsigned longs; | ||
25 | +void ByteReverse(unsigned char *buf, unsigned longs) | ||
26 | { | ||
27 | uint32 t; | ||
28 | do { | ||
29 | @@ -59,7 +58,7 @@ unsigned longs; | ||
30 | * Start MD5 accumulation. Set bit count to 0 and buffer to mysterious | ||
31 | * initialization constants. | ||
32 | */ | ||
33 | -void MD5Init(ctx) struct MD5Context *ctx; | ||
34 | +void MD5Init(struct MD5Context *ctx) | ||
35 | { | ||
36 | ctx->buf[0] = 0x67452301; | ||
37 | ctx->buf[1] = 0xefcdab89; | ||
38 | @@ -74,9 +73,7 @@ void MD5Init(ctx) struct MD5Context *ctx; | ||
39 | * Update context to reflect the concatenation of another buffer full | ||
40 | * of bytes. | ||
41 | */ | ||
42 | -void MD5Update(ctx, buf, len) struct MD5Context *ctx; | ||
43 | -unsigned char *buf; | ||
44 | -unsigned len; | ||
45 | +void MD5Update(struct MD5Context *ctx, unsigned char *buf, unsigned len) | ||
46 | { | ||
47 | uint32 t; | ||
48 | |||
49 | @@ -124,8 +121,7 @@ unsigned len; | ||
50 | * Final wrapup - pad to 64-byte boundary with the bit pattern | ||
51 | * 1 0* (64-bit count of bits processed, MSB-first) | ||
52 | */ | ||
53 | -void MD5Final(digest, ctx) unsigned char digest[16]; | ||
54 | -struct MD5Context *ctx; | ||
55 | +void MD5Final(unsigned char digest[16], struct MD5Context *ctx) | ||
56 | { | ||
57 | unsigned count; | ||
58 | unsigned char *p; | ||
59 | @@ -186,8 +182,7 @@ struct MD5Context *ctx; | ||
60 | * reflect the addition of 16 longwords of new data. MD5Update blocks | ||
61 | * the data and converts bytes into longwords for this routine. | ||
62 | */ | ||
63 | -void MD5Transform(buf, in) uint32 buf[4]; | ||
64 | -uint32 in[16]; | ||
65 | +void MD5Transform(uint32 buf[4], uint32 in[16]) | ||
66 | { | ||
67 | register uint32 a, b, c, d; | ||
68 | |||
69 | diff --git a/decoder_sw/software/test/common/swhw/md5.h b/decoder_sw/software/test/common/swhw/md5.h | ||
70 | index 516400236606..c1d773093b66 100755 | ||
71 | --- a/decoder_sw/software/test/common/swhw/md5.h | ||
72 | +++ b/decoder_sw/software/test/common/swhw/md5.h | ||
73 | @@ -76,10 +76,10 @@ struct MD5Context { | ||
74 | unsigned char in[64]; | ||
75 | }; | ||
76 | |||
77 | -extern void MD5Init(); | ||
78 | -extern void MD5Update(); | ||
79 | -extern void MD5Final(); | ||
80 | -extern void MD5Transform(); | ||
81 | +extern void MD5Init(struct MD5Context *ctx); | ||
82 | +extern void MD5Update(struct MD5Context *ctx, unsigned char *buf, unsigned len); | ||
83 | +extern void MD5Final(unsigned char digest[16], struct MD5Context *ctx); | ||
84 | +extern void MD5Transform(uint32 buf[4], uint32 in[16]); | ||
85 | |||
86 | /* | ||
87 | * This is needed to make RSAREF happy on some MS-DOS compilers. | ||
88 | -- | ||
89 | 2.42.0 | ||
90 | |||
diff --git a/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.36.0.bb b/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.36.0.bb index 645d2554..3a171942 100644 --- a/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.36.0.bb +++ b/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.36.0.bb | |||
@@ -6,7 +6,11 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=c0fb372b5d7f12181de23ef480f225f3" | |||
6 | 6 | ||
7 | PROVIDES = "virtual/imxvpu" | 7 | PROVIDES = "virtual/imxvpu" |
8 | 8 | ||
9 | SRC_URI = "${FSL_MIRROR}/${BP}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true" | 9 | SRC_URI = " \ |
10 | ${FSL_MIRROR}/${BP}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true \ | ||
11 | file://0001-test-md5-convert-to-ansi-c.patch \ | ||
12 | file://0001-basetype.h-make-header-compatible-with-c23.patch \ | ||
13 | " | ||
10 | IMX_SRCREV_ABBREV = "194a305" | 14 | IMX_SRCREV_ABBREV = "194a305" |
11 | 15 | ||
12 | SRC_URI[sha256sum] = "0ef1fb5c6653c08f2d2812c72dedf3e8beb091dd5b3d70d6e26f41bac4ebffa7" | 16 | SRC_URI[sha256sum] = "0ef1fb5c6653c08f2d2812c72dedf3e8beb091dd5b3d70d6e26f41bac4ebffa7" |
diff --git a/recipes-kernel/linux/linux-imx-headers/0001-video-fbdev-mxc-make-uapi-ipu.h-pxp_dma.h-compatible.patch b/recipes-kernel/linux/linux-imx-headers/0001-video-fbdev-mxc-make-uapi-ipu.h-pxp_dma.h-compatible.patch new file mode 100644 index 00000000..1750d624 --- /dev/null +++ b/recipes-kernel/linux/linux-imx-headers/0001-video-fbdev-mxc-make-uapi-ipu.h-pxp_dma.h-compatible.patch | |||
@@ -0,0 +1,54 @@ | |||
1 | From a5bcb18b42cfc0485397da9f48be6a73de86dfac Mon Sep 17 00:00:00 2001 | ||
2 | From: Max Krummenacher <max.krummenacher@toradex.com> | ||
3 | Date: Sat, 10 May 2025 14:21:35 +0200 | ||
4 | Subject: [PATCH] video: fbdev: mxc: make uapi ipu.h, pxp_dma.h compatible with | ||
5 | c23 standard | ||
6 | |||
7 | In C23 standard bool, false, true are reserved keywords. | ||
8 | Make ipu.h, pxp_dma.h uapi include file compatible with C23 standard. | ||
9 | |||
10 | Upstream-Status: Pending | ||
11 | Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> | ||
12 | --- | ||
13 | include/uapi/linux/ipu.h | 4 ++++ | ||
14 | include/uapi/linux/pxp_dma.h | 4 ++++ | ||
15 | 2 files changed, 8 insertions(+) | ||
16 | |||
17 | diff --git a/include/uapi/linux/ipu.h b/include/uapi/linux/ipu.h | ||
18 | index c92f292bcc9d..a7b60730bbd4 100644 | ||
19 | --- a/include/uapi/linux/ipu.h | ||
20 | +++ b/include/uapi/linux/ipu.h | ||
21 | @@ -29,9 +29,13 @@ | ||
22 | #include <linux/videodev2.h> | ||
23 | |||
24 | #ifndef __KERNEL__ | ||
25 | +#if defined __STDC_VERSION__ && __STDC_VERSION__ > 201710L | ||
26 | +/* bool, true and false are keywords. */ | ||
27 | +#else | ||
28 | #ifndef __cplusplus | ||
29 | typedef unsigned char bool; | ||
30 | #endif | ||
31 | +#endif | ||
32 | #define irqreturn_t int | ||
33 | #define dma_addr_t int | ||
34 | #define uint32_t unsigned int | ||
35 | diff --git a/include/uapi/linux/pxp_dma.h b/include/uapi/linux/pxp_dma.h | ||
36 | index 9b5228504095..e2deff07516d 100644 | ||
37 | --- a/include/uapi/linux/pxp_dma.h | ||
38 | +++ b/include/uapi/linux/pxp_dma.h | ||
39 | @@ -25,8 +25,12 @@ | ||
40 | |||
41 | #ifndef __KERNEL__ | ||
42 | typedef unsigned long dma_addr_t; | ||
43 | +#if defined __STDC_VERSION__ && __STDC_VERSION__ > 201710L | ||
44 | +/* bool, true and false are keywords. */ | ||
45 | +#else | ||
46 | typedef unsigned char bool; | ||
47 | #endif | ||
48 | +#endif | ||
49 | |||
50 | /* PXP Pixel format definitions */ | ||
51 | /* Four-character-code (FOURCC) */ | ||
52 | -- | ||
53 | 2.42.0 | ||
54 | |||
diff --git a/recipes-kernel/linux/linux-imx-headers_6.6.bb b/recipes-kernel/linux/linux-imx-headers_6.6.bb index dbf4442c..41c337c4 100644 --- a/recipes-kernel/linux/linux-imx-headers_6.6.bb +++ b/recipes-kernel/linux/linux-imx-headers_6.6.bb | |||
@@ -7,7 +7,10 @@ New headers are installed in ${includedir}/imx." | |||
7 | LICENSE = "GPL-2.0-only" | 7 | LICENSE = "GPL-2.0-only" |
8 | LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" | 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" |
9 | 9 | ||
10 | SRC_URI = "git://github.com/nxp-imx/linux-imx.git;protocol=https;branch=${SRCBRANCH}" | 10 | SRC_URI = " \ |
11 | git://github.com/nxp-imx/linux-imx.git;protocol=https;branch=${SRCBRANCH} \ | ||
12 | file://0001-video-fbdev-mxc-make-uapi-ipu.h-pxp_dma.h-compatible.patch \ | ||
13 | " | ||
11 | SRCBRANCH = "lf-6.6.y" | 14 | SRCBRANCH = "lf-6.6.y" |
12 | LOCALVERSION = "-6.6.52-2.2.0" | 15 | LOCALVERSION = "-6.6.52-2.2.0" |
13 | SRCREV = "e0f9e2afd4cff3f02d71891244b4aa5899dfc786" | 16 | SRCREV = "e0f9e2afd4cff3f02d71891244b4aa5899dfc786" |
diff --git a/recipes-multimedia/imx-dsp/imx-dsp_2.1.9.bb b/recipes-multimedia/imx-dsp/imx-dsp_2.1.10.bb index 73321ddc..4e42110b 100644 --- a/recipes-multimedia/imx-dsp/imx-dsp_2.1.9.bb +++ b/recipes-multimedia/imx-dsp/imx-dsp_2.1.10.bb | |||
@@ -2,16 +2,16 @@ | |||
2 | 2 | ||
3 | DESCRIPTION = "i.MX DSP Wrapper, Firmware Binary, Codec Libraries" | 3 | DESCRIPTION = "i.MX DSP Wrapper, Firmware Binary, Codec Libraries" |
4 | LICENSE = "Proprietary" | 4 | LICENSE = "Proprietary" |
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=ca53281cc0caa7e320d4945a896fb837" | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=c0fb372b5d7f12181de23ef480f225f3" |
6 | 6 | ||
7 | inherit fsl-eula-unpack autotools pkgconfig | 7 | inherit fsl-eula-unpack autotools pkgconfig |
8 | 8 | ||
9 | IMX_SRCREV_ABBREV = "a3074e2" | 9 | IMX_SRCREV_ABBREV = "ea4fe3f" |
10 | SRC_URI = "${FSL_MIRROR}/${BP}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true" | 10 | SRC_URI = "${FSL_MIRROR}/${BP}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true" |
11 | 11 | ||
12 | S = "${WORKDIR}/${BP}-${IMX_SRCREV_ABBREV}" | 12 | S = "${WORKDIR}/${BP}-${IMX_SRCREV_ABBREV}" |
13 | 13 | ||
14 | SRC_URI[sha256sum] = "1f763c21f20abfbb013a0d1acb5846fec55241e9fa8c8aae47fd95b007d800fe" | 14 | SRC_URI[sha256sum] = "fc6e6a7c2417730b39eeddc26606c3d58a8f5d0a1521f44bbbd505657046858b" |
15 | 15 | ||
16 | EXTRA_OECONF = " \ | 16 | EXTRA_OECONF = " \ |
17 | -datadir=${base_libdir}/firmware \ | 17 | -datadir=${base_libdir}/firmware \ |
diff --git a/recipes-multimedia/imx-opencl-converter/imx-opencl-converter_0.6.0.bb b/recipes-multimedia/imx-opencl-converter/imx-opencl-converter_0.7.0.bb index 7f0c2256..07ea662c 100644 --- a/recipes-multimedia/imx-opencl-converter/imx-opencl-converter_0.6.0.bb +++ b/recipes-multimedia/imx-opencl-converter/imx-opencl-converter_0.7.0.bb | |||
@@ -2,13 +2,13 @@ | |||
2 | DESCRIPTION = "NXP Multimedia opencl converter lib" | 2 | DESCRIPTION = "NXP Multimedia opencl converter lib" |
3 | LICENSE = "Proprietary" | 3 | LICENSE = "Proprietary" |
4 | SECTION = "multimedia" | 4 | SECTION = "multimedia" |
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=ca53281cc0caa7e320d4945a896fb837" | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=c0fb372b5d7f12181de23ef480f225f3" |
6 | DEPENDS = "virtual/opencl-icd" | 6 | DEPENDS = "virtual/opencl-icd" |
7 | 7 | ||
8 | SRC_URI = "${FSL_MIRROR}/${BP}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true" | 8 | SRC_URI = "${FSL_MIRROR}/${BP}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true" |
9 | IMX_SRCREV_ABBREV = "605ef75" | 9 | IMX_SRCREV_ABBREV = "ad0094a" |
10 | 10 | ||
11 | SRC_URI[sha256sum] = "777f49805d5455ebc27e63d19552e2924174011d2ae7d9b392febfa8794d4dc6" | 11 | SRC_URI[sha256sum] = "d23ad4234f34ffcfb37d77c91345b935894937913a68995223d2f9f421eade46" |
12 | 12 | ||
13 | S = "${WORKDIR}/${BP}-${IMX_SRCREV_ABBREV}" | 13 | S = "${WORKDIR}/${BP}-${IMX_SRCREV_ABBREV}" |
14 | inherit fsl-eula-unpack autotools pkgconfig meson | 14 | inherit fsl-eula-unpack autotools pkgconfig meson |
diff --git a/recipes-multimedia/imx-parser/imx-parser_4.9.2.bb b/recipes-multimedia/imx-parser/imx-parser_4.9.3.bb index 78b48da0..15df0aeb 100644 --- a/recipes-multimedia/imx-parser/imx-parser_4.9.2.bb +++ b/recipes-multimedia/imx-parser/imx-parser_4.9.3.bb | |||
@@ -5,7 +5,7 @@ | |||
5 | DESCRIPTION = "Freescale Multimedia parser libs" | 5 | DESCRIPTION = "Freescale Multimedia parser libs" |
6 | LICENSE = "Proprietary" | 6 | LICENSE = "Proprietary" |
7 | SECTION = "multimedia" | 7 | SECTION = "multimedia" |
8 | LIC_FILES_CHKSUM = "file://COPYING;md5=ca53281cc0caa7e320d4945a896fb837" | 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=c0fb372b5d7f12181de23ef480f225f3" |
9 | 9 | ||
10 | # For backwards compatibility | 10 | # For backwards compatibility |
11 | PROVIDES += "libfslparser" | 11 | PROVIDES += "libfslparser" |
@@ -14,10 +14,10 @@ RPROVIDES:${PN} = "libfslparser" | |||
14 | RCONFLICTS:${PN} = "libfslparser" | 14 | RCONFLICTS:${PN} = "libfslparser" |
15 | 15 | ||
16 | SRC_URI = "${FSL_MIRROR}/${BP}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true" | 16 | SRC_URI = "${FSL_MIRROR}/${BP}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true" |
17 | IMX_SRCREV_ABBREV = "828fcb7" | 17 | IMX_SRCREV_ABBREV = "c296eb2" |
18 | S = "${WORKDIR}/${BP}-${IMX_SRCREV_ABBREV}" | 18 | S = "${WORKDIR}/${BP}-${IMX_SRCREV_ABBREV}" |
19 | 19 | ||
20 | SRC_URI[sha256sum] = "7414db9e2cce2cb2d6fe63ac7d193a0ea65ad8a184e6a2e2ce2785e43acbb339" | 20 | SRC_URI[sha256sum] = "997a7f79f291ef4b3c8dd3ba6f2f32c430c63feb4bb29d923f71da0d1ccf20a9" |
21 | 21 | ||
22 | inherit fsl-eula-unpack autotools pkgconfig | 22 | inherit fsl-eula-unpack autotools pkgconfig |
23 | 23 | ||