From 16907876d76c5ac499cb6c174968886940d6042b Mon Sep 17 00:00:00 2001 From: Hiago De Franco Date: Sun, 27 Oct 2024 11:27:36 -0300 Subject: [PATCH 1/6] recipes-multimedia: gstreamer: Upgrade BSP to LF6.6.36_2.1.0 Upgrade the following recipes to the new NXP BSP LF6.6.36_2.1.0: - gstreamer1.0 - gstreamer1.0-plugins-bad - gstreamer1.0-plugins-base - gstreamer1.0-plugins-good - imx-gst1.0-plugin In addition, remove patch for imx-gst1.0-plugin since it is not needed anymore (see [1]). [1] https://github.com/nxp-imx/imx-gst1.0-plugin/commit/74a6afa6cceb69fe4b8cf09690392093cc7c5b37 Signed-off-by: Hiago De Franco --- .../gstreamer1.0-plugins-bad_1.24.0.imx.bb | 4 +-- .../gstreamer1.0-plugins-base_1.24.0.imx.bb | 4 +-- .../gstreamer1.0-plugins-good_1.24.0.imx.bb | 4 +-- .../gstreamer/gstreamer1.0_1.24.0.imx.bb | 4 +-- ...ME_BITS-along-with-_FILE_OFFSET_BITS.patch | 34 ------------------- .../gstreamer/imx-gst1.0-plugin_git.bb | 10 +++--- 6 files changed, 12 insertions(+), 48 deletions(-) delete mode 100644 recipes-multimedia/gstreamer/imx-gst1.0-plugin/0011-meson-Undef-_TIME_BITS-along-with-_FILE_OFFSET_BITS.patch diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.24.0.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.24.0.imx.bb index c53025b75..f6d094f55 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.24.0.imx.bb +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.24.0.imx.bb @@ -190,8 +190,8 @@ SRC_URI:remove = "https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plug SRC_URI:prepend = "${GST1.0-PLUGINS-BAD_SRC};branch=${SRCBRANCH} " SRC_URI:append = " file://0001-autovideoconvert-add-imxvideoconvert_g2d.patch" GST1.0-PLUGINS-BAD_SRC ?= "gitsm://github.com/nxp-imx/gst-plugins-bad.git;protocol=https" -SRCBRANCH = "MM_04.09.00_2405_L6.6.y" -SRCREV = "869cef4efbc004c795392d274e617f2dfa71ac98" +SRCBRANCH = "MM_04.09.01_2408_L6.6.y" +SRCREV = "7011fdfa6d60fb3ee1dc8545f675cfdb519203cd" S = "${WORKDIR}/git" diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.24.0.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.24.0.imx.bb index 348a30dc5..6e7bc20eb 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.24.0.imx.bb +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.24.0.imx.bb @@ -118,8 +118,8 @@ SRC_URI:remove = " \ SRC_URI:prepend = "${GST1.0-PLUGINS-BASE_SRC};branch=${SRCBRANCH} " GST1.0-PLUGINS-BASE_SRC ?= "gitsm://github.com/nxp-imx/gst-plugins-base.git;protocol=https" -SRCBRANCH = "MM_04.09.00_2405_L6.6.y" -SRCREV = "1c9913d7ce81c43cbf756158a35f61dbeee19ea3" +SRCBRANCH = "MM_04.09.01_2408_L6.6.y" +SRCREV = "97b1a45e945d3784790cafd2fcc4f6cb16e739d7" S = "${WORKDIR}/git" diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.24.0.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.24.0.imx.bb index 5d5a2425c..67dc139fa 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.24.0.imx.bb +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.24.0.imx.bb @@ -111,8 +111,8 @@ SRC_URI:remove = "https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plu SRC_URI:prepend = "${GST1.0-PLUGINS-GOOD_SRC};branch=${SRCBRANCH} " GST1.0-PLUGINS-GOOD_SRC ?= "gitsm://github.com/nxp-imx/gst-plugins-good.git;protocol=https" -SRCBRANCH = "MM_04.09.00_2405_L6.6.y" -SRCREV = "50535da48c564bd3a46b2e39e0a3a97cf7e86df3" +SRCBRANCH = "MM_04.09.01_2408_L6.6.y" +SRCREV = "d8727edd56536a5c39de7905f073fce61896c0af" # set 32bit compile timer for 32-bit platform GLIBC_64BIT_TIME_FLAGS:mx6-nxp-bsp = "" diff --git a/recipes-multimedia/gstreamer/gstreamer1.0_1.24.0.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0_1.24.0.imx.bb index 33b3c65c1..43cb6a4a2 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0_1.24.0.imx.bb +++ b/recipes-multimedia/gstreamer/gstreamer1.0_1.24.0.imx.bb @@ -95,8 +95,8 @@ LIC_FILES_CHKSUM = " \ SRC_URI:remove = "https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-${PV}.tar.xz" SRC_URI:prepend = "${GST1.0_SRC};branch=${SRCBRANCH} " GST1.0_SRC ?= "gitsm://github.com/nxp-imx/gstreamer.git;protocol=https" -SRCBRANCH = "MM_04.09.00_2405_L6.6.y" -SRCREV = "753c7b4471d14befd1b7c9cd3fa9af9f10ab4a08" +SRCBRANCH = "MM_04.09.01_2408_L6.6.y" +SRCREV = "eb286c0766a4fbbae70c8e9dda074f5a90e52e42" S = "${WORKDIR}/git" diff --git a/recipes-multimedia/gstreamer/imx-gst1.0-plugin/0011-meson-Undef-_TIME_BITS-along-with-_FILE_OFFSET_BITS.patch b/recipes-multimedia/gstreamer/imx-gst1.0-plugin/0011-meson-Undef-_TIME_BITS-along-with-_FILE_OFFSET_BITS.patch deleted file mode 100644 index 5a58a5a67..000000000 --- a/recipes-multimedia/gstreamer/imx-gst1.0-plugin/0011-meson-Undef-_TIME_BITS-along-with-_FILE_OFFSET_BITS.patch +++ /dev/null @@ -1,34 +0,0 @@ -From bda3461b0b6493f3e04910e82e6e530a64af26b1 Mon Sep 17 00:00:00 2001 -From: Tom Hochstein -Date: Mon, 24 Jul 2023 12:09:34 -0700 -Subject: [PATCH] meson: Undef _TIME_BITS along with _FILE_OFFSET_BITS - -On gcc 13, _TIME_BITS is set to 64 and causes failure with the undef of -_FILE_OFFSET_BITS: -``` -/usr/include/features-time64.h:26:5: error: #error "_TIME_BITS=64 is allowed only with _FILE_OFFSET_BITS=64" - 26 | # error "_TIME_BITS=64 is allowed only with _FILE_OFFSET_BITS=64" - | ^~~~~ -``` - -Upstream-Status: Pending -Signed-off-by: Tom Hochstein ---- - meson.build | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/meson.build b/meson.build -index 7ec5c70..64b2930 100644 ---- a/meson.build -+++ b/meson.build -@@ -24,6 +24,7 @@ gst_dep = dependency('gstreamer-' + api_version, version : gst_req) - #meson automaticaly add _FILE_OFFSET_BITS=64 to gcc, this will make ipu test - #case fail when do mmap on 6q, autoconf didn't add this define, so undef it - add_project_arguments('-U_FILE_OFFSET_BITS', language: 'c') -+add_project_arguments('-U_TIME_BITS', language: 'c') - - #below two marcos are defined in autoconf - add_project_arguments ('-DARM', language: 'c') --- -2.25.1 - diff --git a/recipes-multimedia/gstreamer/imx-gst1.0-plugin_git.bb b/recipes-multimedia/gstreamer/imx-gst1.0-plugin_git.bb index d5ba00ed2..e58980771 100644 --- a/recipes-multimedia/gstreamer/imx-gst1.0-plugin_git.bb +++ b/recipes-multimedia/gstreamer/imx-gst1.0-plugin_git.bb @@ -34,13 +34,11 @@ RREPLACES:${PN} = "gst1.0-fsl-plugin" RPROVIDES:${PN} = "gst1.0-fsl-plugin" RCONFLICTS:${PN} = "gst1.0-fsl-plugin" -PV = "4.9.0+git${SRCPV}" +PV = "4.9.1+git${SRCPV}" -SRC_URI = "git://github.com/nxp-imx/imx-gst1.0-plugin.git;protocol=https;branch=${SRCBRANCH} \ - file://0011-meson-Undef-_TIME_BITS-along-with-_FILE_OFFSET_BITS.patch \ - " -SRCBRANCH = "MM_04.09.00_2405_L6.6.y" -SRCREV = "c3049a137f79e4eabc98785aefcd217ebcde9e96" +SRC_URI = "git://github.com/nxp-imx/imx-gst1.0-plugin.git;protocol=https;branch=${SRCBRANCH}" +SRCBRANCH = "MM_04.09.01_2408_L6.6.y" +SRCREV = "87135d5f084b6c61efa6671cddc3a5509ab11640" S = "${WORKDIR}/git" From 05e3306fc4e555f08e826ef7d9fdb1f6ca53cabc Mon Sep 17 00:00:00 2001 From: Hiago De Franco Date: Sun, 27 Oct 2024 11:40:03 -0300 Subject: [PATCH 2/6] recipes-multimedia: imx-opencel-converter: Upgrade to BSP LF6.6.36_2.1.0 Signed-off-by: Hiago De Franco --- ...onverter_0.4.0.bb => imx-opencl-converter_0.5.0.bb} | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) rename recipes-multimedia/imx-opencl-converter/{imx-opencl-converter_0.4.0.bb => imx-opencl-converter_0.5.0.bb} (63%) diff --git a/recipes-multimedia/imx-opencl-converter/imx-opencl-converter_0.4.0.bb b/recipes-multimedia/imx-opencl-converter/imx-opencl-converter_0.5.0.bb similarity index 63% rename from recipes-multimedia/imx-opencl-converter/imx-opencl-converter_0.4.0.bb rename to recipes-multimedia/imx-opencl-converter/imx-opencl-converter_0.5.0.bb index 86bab3fce..890a25b4a 100644 --- a/recipes-multimedia/imx-opencl-converter/imx-opencl-converter_0.4.0.bb +++ b/recipes-multimedia/imx-opencl-converter/imx-opencl-converter_0.5.0.bb @@ -1,15 +1,15 @@ -# Copyright 2023 NXP +# Copyright 2023-2024 NXP DESCRIPTION = "NXP Multimedia opencl converter lib" LICENSE = "Proprietary" SECTION = "multimedia" -LIC_FILES_CHKSUM = "file://COPYING;md5=10c0fda810c63b052409b15a5445671a" +LIC_FILES_CHKSUM = "file://COPYING;md5=ca53281cc0caa7e320d4945a896fb837" DEPENDS = "virtual/opencl-icd" SRC_URI = "${FSL_MIRROR}/${BP}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true" -IMX_SRCREV_ABBREV = "efe25d6" +IMX_SRCREV_ABBREV = "f2c3930" -SRC_URI[md5sum] = "daa99b8615ca08280833bb80bc52c9be" -SRC_URI[sha256sum] = "1717f7fe64b260156b8d5b353add5edb7bc0217dd3847ac641601d4a59494f08" +SRC_URI[md5sum] = "c57b978d29bf136be3523676ad088b07" +SRC_URI[sha256sum] = "eb3df72a7e1d16ec1660978cf36b7818b8ac7c7defe3222ae4bb7dabd4a5f4cc" S = "${WORKDIR}/${BP}-${IMX_SRCREV_ABBREV}" inherit fsl-eula-unpack autotools pkgconfig meson From e7529dca6f08400b8879fbe3b3f7f89ab8a43f57 Mon Sep 17 00:00:00 2001 From: Hiago De Franco Date: Sun, 27 Oct 2024 11:41:12 -0300 Subject: [PATCH 3/6] recipes-multimedia: imx-parser: Upgrade to BSP LF6.6.36_2.1.0 Signed-off-by: Hiago De Franco --- .../{imx-parser_4.9.0.bb => imx-parser_4.9.1.bb} | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) rename recipes-multimedia/imx-parser/{imx-parser_4.9.0.bb => imx-parser_4.9.1.bb} (80%) diff --git a/recipes-multimedia/imx-parser/imx-parser_4.9.0.bb b/recipes-multimedia/imx-parser/imx-parser_4.9.1.bb similarity index 80% rename from recipes-multimedia/imx-parser/imx-parser_4.9.0.bb rename to recipes-multimedia/imx-parser/imx-parser_4.9.1.bb index 4bbf6dfb6..4094809f4 100644 --- a/recipes-multimedia/imx-parser/imx-parser_4.9.0.bb +++ b/recipes-multimedia/imx-parser/imx-parser_4.9.1.bb @@ -5,7 +5,7 @@ DESCRIPTION = "Freescale Multimedia parser libs" LICENSE = "Proprietary" SECTION = "multimedia" -LIC_FILES_CHKSUM = "file://COPYING;md5=10c0fda810c63b052409b15a5445671a" +LIC_FILES_CHKSUM = "file://COPYING;md5=ca53281cc0caa7e320d4945a896fb837" # For backwards compatibility PROVIDES += "libfslparser" @@ -13,9 +13,12 @@ RREPLACES:${PN} = "libfslparser" RPROVIDES:${PN} = "libfslparser" RCONFLICTS:${PN} = "libfslparser" -SRC_URI = "${FSL_MIRROR}/${BP}.bin;fsl-eula=true" -SRC_URI[md5sum] = "700b4cf3ba547dc740a064787f528af0" -SRC_URI[sha256sum] = "2f0fc3955f824936c359b3cb738549213823b0c366b2362bba593058da745677" +SRC_URI = "${FSL_MIRROR}/${BP}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true" +IMX_SRCREV_ABBREV = "5d91190" +S = "${WORKDIR}/${BP}-${IMX_SRCREV_ABBREV}" + +SRC_URI[md5sum] = "086773073ed8fba17eab80b35a740a46" +SRC_URI[sha256sum] = "087badea414540d1b9403be1a0c7fc91ac42a61f0374857972cd06d8c392ddec" inherit fsl-eula-unpack autotools pkgconfig From 28e852360b839199dc993ae51c2dcc22325f3010 Mon Sep 17 00:00:00 2001 From: Hiago De Franco Date: Sun, 27 Oct 2024 11:41:46 -0300 Subject: [PATCH 4/6] recipes-multimedia: imx-alsa-plugins: Upgrade to BSP LF6.6.36_2.1.0 Signed-off-by: Hiago De Franco --- recipes-multimedia/alsa/imx-alsa-plugins_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-multimedia/alsa/imx-alsa-plugins_git.bb b/recipes-multimedia/alsa/imx-alsa-plugins_git.bb index b05c3a48c..d1eec405e 100644 --- a/recipes-multimedia/alsa/imx-alsa-plugins_git.bb +++ b/recipes-multimedia/alsa/imx-alsa-plugins_git.bb @@ -20,7 +20,7 @@ inherit autotools pkgconfig use-imx-headers PV = "1.0.26+${SRCPV}" SRC_URI = "git://github.com/nxp-imx/imx-alsa-plugins.git;protocol=https;branch=${SRCBRANCH}" -SRCBRANCH = "MM_04.09.00_2405_L6.6.y" +SRCBRANCH = "MM_04.09.01_2408_L6.6.y" SRCREV = "b2ba082e70333f187972ee4e85f63f9d2f608331" S = "${WORKDIR}/git" From acc54fb524cbaf5c416b93f4a721a037a096ba91 Mon Sep 17 00:00:00 2001 From: Hiago De Franco Date: Sun, 27 Oct 2024 11:42:13 -0300 Subject: [PATCH 5/6] recipes-multimedia: imx-vpuwrap: Upgrade to BSP LF6.6.36_2.1.0 Signed-off-by: Hiago De Franco --- recipes-multimedia/imx-vpuwrap/imx-vpuwrap_git.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/recipes-multimedia/imx-vpuwrap/imx-vpuwrap_git.bb b/recipes-multimedia/imx-vpuwrap/imx-vpuwrap_git.bb index f7a8e3521..2b737999e 100644 --- a/recipes-multimedia/imx-vpuwrap/imx-vpuwrap_git.bb +++ b/recipes-multimedia/imx-vpuwrap/imx-vpuwrap_git.bb @@ -5,7 +5,7 @@ DESCRIPTION = "Freescale Multimedia VPU wrapper" LICENSE = "Proprietary" SECTION = "multimedia" -LIC_FILES_CHKSUM = "file://COPYING;md5=10c0fda810c63b052409b15a5445671a" +LIC_FILES_CHKSUM = "file://COPYING;md5=ca53281cc0caa7e320d4945a896fb837" DEPENDS = "virtual/imxvpu" DEPENDS:append:mx8mp-nxp-bsp = " imx-vpu-hantro-vc" @@ -15,8 +15,8 @@ SRC_URI = " \ file://0001-vpu_wrapper_hantro_encoder-add-sys-time.h-for-gettim.patch \ file://0001-vpu_wrapper_hantro_VCencoder-add-sys-time.h-for-gett.patch \ " -SRCBRANCH = "MM_04.09.00_2405_L6.6.y" -SRCREV = "73093da30dc4053c9f69813a6447091bfca5429b" +SRCBRANCH = "MM_04.09.01_2408_L6.6.y" +SRCREV = "c13069d239cae314adc3651df25b96afa46cb434" S = "${WORKDIR}/git" From e73688054056e654dce8616412ec2427b4bf70f7 Mon Sep 17 00:00:00 2001 From: Hiago De Franco Date: Sun, 27 Oct 2024 11:44:09 -0300 Subject: [PATCH 6/6] recipes-bsp: imx-lib: Upgrade to BSP LF6.6.36_2.1.0 Signed-off-by: Hiago De Franco --- recipes-bsp/imx-lib/imx-lib_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-bsp/imx-lib/imx-lib_git.bb b/recipes-bsp/imx-lib/imx-lib_git.bb index 9c9db88bc..348d717a7 100644 --- a/recipes-bsp/imx-lib/imx-lib_git.bb +++ b/recipes-bsp/imx-lib/imx-lib_git.bb @@ -13,7 +13,7 @@ PE = "1" PV = "5.9+${SRCPV}" SRC_URI = "git://github.com/nxp-imx/imx-lib.git;protocol=https;branch=${SRCBRANCH}" -SRCBRANCH = "lf-6.6.23_2.0.0" +SRCBRANCH = "lf-6.6.36_2.1.0" SRCREV = "8f124c3914d82019849fb697baeb730e4cb1b547" S = "${WORKDIR}/git"