diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2024-06-18 20:09:05 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-18 20:09:05 -0300 |
commit | 59815c56db5022c6e22f0b1f138030592d25764c (patch) | |
tree | 9068773e07f1c2f8f20ad2d764489c17fa1d8f2c | |
parent | dd05ecfea5289ae2e533bafde06c9ae6d6afccab (diff) | |
parent | e70adddc0d9aa28491728d9d9bf6db12ab8a00ab (diff) | |
download | meta-freescale-59815c56db5022c6e22f0b1f138030592d25764c.tar.gz |
Merge pull request #1851 from Freescale/backport-scarthgap
Backport fixes from master to scarthgap
31 files changed, 462 insertions, 52 deletions
diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc index d1f8aca32..b94be957b 100644 --- a/conf/machine/include/imx-base.inc +++ b/conf/machine/include/imx-base.inc | |||
@@ -519,6 +519,20 @@ PREFERRED_VERSION_gstreamer1.0-plugins-bad:mx9-nxp-bsp ??= "1.22.5.imx" | |||
519 | PREFERRED_VERSION_gstreamer1.0-plugins-base:mx9-nxp-bsp ??= "1.22.5.imx" | 519 | PREFERRED_VERSION_gstreamer1.0-plugins-base:mx9-nxp-bsp ??= "1.22.5.imx" |
520 | PREFERRED_VERSION_gstreamer1.0-plugins-good:mx9-nxp-bsp ??= "1.22.5.imx" | 520 | PREFERRED_VERSION_gstreamer1.0-plugins-good:mx9-nxp-bsp ??= "1.22.5.imx" |
521 | 521 | ||
522 | # GStreamer copied recipes | ||
523 | PREFERRED_VERSION_gst-devtools:mx8-nxp-bsp ??= "1.22.5.imx" | ||
524 | PREFERRED_VERSION_gstreamer1.0-libav:mx8-nxp-bsp ??= "1.22.5.imx" | ||
525 | PREFERRED_VERSION_gstreamer1.0-plugins-ugly:mx8-nxp-bsp ??= "1.22.5.imx" | ||
526 | PREFERRED_VERSION_gstreamer1.0-python:mx8-nxp-bsp ??= "1.22.5.imx" | ||
527 | PREFERRED_VERSION_gstreamer1.0-rtsp-server:mx8-nxp-bsp ??= "1.22.5.imx" | ||
528 | PREFERRED_VERSION_gstreamer1.0-vaapi:mx8-nxp-bsp ??= "1.22.5.imx" | ||
529 | PREFERRED_VERSION_gst-devtools:mx9-nxp-bsp ??= "1.22.5.imx" | ||
530 | PREFERRED_VERSION_gstreamer1.0-libav:mx9-nxp-bsp ??= "1.22.5.imx" | ||
531 | PREFERRED_VERSION_gstreamer1.0-plugins-ugly:mx9-nxp-bsp ??= "1.22.5.imx" | ||
532 | PREFERRED_VERSION_gstreamer1.0-python:mx9-nxp-bsp ??= "1.22.5.imx" | ||
533 | PREFERRED_VERSION_gstreamer1.0-rtsp-server:mx9-nxp-bsp ??= "1.22.5.imx" | ||
534 | PREFERRED_VERSION_gstreamer1.0-vaapi:mx9-nxp-bsp ??= "1.22.5.imx" | ||
535 | |||
522 | # GStreamer downgrade ffmpeg | 536 | # GStreamer downgrade ffmpeg |
523 | PREFERRED_VERSION_ffmpeg:mx8-nxp-bsp ??= "4.4.1" | 537 | PREFERRED_VERSION_ffmpeg:mx8-nxp-bsp ??= "4.4.1" |
524 | PREFERRED_VERSION_ffmpeg:mx9-nxp-bsp ??= "4.4.1" | 538 | PREFERRED_VERSION_ffmpeg:mx9-nxp-bsp ??= "4.4.1" |
diff --git a/dynamic-layers/chromium-browser-layer/recipes-browser/chromium/chromium/chromium.patch b/dynamic-layers/chromium-browser-layer/recipes-browser/chromium/chromium/chromium.patch index 0329d42e4..23a8fff9c 100644 --- a/dynamic-layers/chromium-browser-layer/recipes-browser/chromium/chromium/chromium.patch +++ b/dynamic-layers/chromium-browser-layer/recipes-browser/chromium/chromium/chromium.patch | |||
@@ -1,3 +1,4 @@ | |||
1 | Upstream-Status: Pending | ||
1 | diff -Naur chromium-48.0.2548.0_org/third_party/libva/va/va_dec_jpeg.h chromium-48.0.2548.0/third_party/libva/va/va_dec_jpeg.h | 2 | diff -Naur chromium-48.0.2548.0_org/third_party/libva/va/va_dec_jpeg.h chromium-48.0.2548.0/third_party/libva/va/va_dec_jpeg.h |
2 | --- chromium-48.0.2548.0_org/third_party/libva/va/va_dec_jpeg.h 2016-05-27 11:45:31.248306710 -0500 | 3 | --- chromium-48.0.2548.0_org/third_party/libva/va/va_dec_jpeg.h 2016-05-27 11:45:31.248306710 -0500 |
3 | +++ chromium-48.0.2548.0/third_party/libva/va/va_dec_jpeg.h 2016-05-27 11:49:53.000000000 -0500 | 4 | +++ chromium-48.0.2548.0/third_party/libva/va/va_dec_jpeg.h 2016-05-27 11:49:53.000000000 -0500 |
diff --git a/dynamic-layers/openembedded-layer/recipes-devtools/luajit/luajit/ppc-fixplt.patch b/dynamic-layers/openembedded-layer/recipes-devtools/luajit/luajit/ppc-fixplt.patch index b9f17f4e3..a576f917a 100644 --- a/dynamic-layers/openembedded-layer/recipes-devtools/luajit/luajit/ppc-fixplt.patch +++ b/dynamic-layers/openembedded-layer/recipes-devtools/luajit/luajit/ppc-fixplt.patch | |||
@@ -1,5 +1,4 @@ | |||
1 | Upstream-Status: Unknown | 1 | Upstream-Status: Pending |
2 | |||
3 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 2 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
4 | 3 | ||
5 | libluajit is having symbols that can't be | 4 | libluajit is having symbols that can't be |
diff --git a/dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc/0001-FMCCFGReader-improve-parameter-definition-of-functio.patch b/dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc/0001-FMCCFGReader-improve-parameter-definition-of-functio.patch new file mode 100644 index 000000000..06cafa72d --- /dev/null +++ b/dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc/0001-FMCCFGReader-improve-parameter-definition-of-functio.patch | |||
@@ -0,0 +1,56 @@ | |||
1 | From 329c8ab2770ab34d887296a35585fac53c8bedb7 Mon Sep 17 00:00:00 2001 | ||
2 | From: Meng Li <Meng.Li@windriver.com> | ||
3 | Date: Wed, 5 Jun 2024 18:54:22 +0800 | ||
4 | Subject: [PATCH] FMCCFGReader: improve parameter definition of function | ||
5 | errorFuncHandler | ||
6 | |||
7 | When building fmc package, there is below error: | ||
8 | FMCCFGReader.cpp: In member function 'void CCFGReader::parseCfgData(std::string)': | ||
9 | FMCCFGReader.cpp:98:40: error: invalid conversion from | ||
10 | 'void (*)(void*, xmlErrorPtr)' {aka 'void (*)(void*, _xmlError*)'} to | ||
11 | 'xmlStructuredErrorFunc' {aka 'void (*)(void*, const _xmlError*)'} [-fpermissive] | ||
12 | 98 | xmlSetStructuredErrorFunc( &error, errorFuncHandler ); | ||
13 | | ^~~~~~~~~~~~~~~~ | ||
14 | | | | ||
15 | | void (*)(void*, xmlErrorPtr) {aka void (*)(void*, _xmlError*)} | ||
16 | Because in libxml2 package, the parameter definition of function | ||
17 | pointer xmlStructuredErrorFunc has changed, adjust the parameter | ||
18 | of errorFuncHandler to align with upstream. | ||
19 | |||
20 | Upstream-Status: Pending | ||
21 | |||
22 | Signed-off-by: Meng Li <Meng.Li@windriver.com> | ||
23 | --- | ||
24 | source/FMCGenericError.cpp | 2 +- | ||
25 | source/FMCGenericError.h | 2 +- | ||
26 | 2 files changed, 2 insertions(+), 2 deletions(-) | ||
27 | |||
28 | diff --git a/source/FMCGenericError.cpp b/source/FMCGenericError.cpp | ||
29 | index a1a87a4..c11742c 100644 | ||
30 | --- a/source/FMCGenericError.cpp | ||
31 | +++ b/source/FMCGenericError.cpp | ||
32 | @@ -33,7 +33,7 @@ | ||
33 | #include "FMCUtils.h" | ||
34 | #include "logger.hpp" | ||
35 | |||
36 | -void errorFuncHandler( void * ctx, xmlErrorPtr error ) | ||
37 | +void errorFuncHandler( void * ctx, const xmlError *error ) | ||
38 | { | ||
39 | char *filestr = (char*)""; | ||
40 | char *msgstr = (char*)""; | ||
41 | diff --git a/source/FMCGenericError.h b/source/FMCGenericError.h | ||
42 | index 504a81b..61ab6c1 100644 | ||
43 | --- a/source/FMCGenericError.h | ||
44 | +++ b/source/FMCGenericError.h | ||
45 | @@ -35,7 +35,7 @@ | ||
46 | |||
47 | const int NO_LINE = -1; | ||
48 | |||
49 | -void errorFuncHandler( void * ctx, xmlErrorPtr error ); | ||
50 | +void errorFuncHandler( void * ctx, const xmlError *error ); | ||
51 | |||
52 | |||
53 | class CGenericError { | ||
54 | -- | ||
55 | 2.34.1 | ||
56 | |||
diff --git a/dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc_git.bb b/dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc_git.bb index 62a717721..457a202c9 100644 --- a/dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc_git.bb +++ b/dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc_git.bb | |||
@@ -7,6 +7,9 @@ PR = "r2" | |||
7 | DEPENDS = "libxml2 fmlib tclap" | 7 | DEPENDS = "libxml2 fmlib tclap" |
8 | 8 | ||
9 | SRC_URI = "git://github.com/nxp-qoriq/fmc;protocol=https;nobranch=1" | 9 | SRC_URI = "git://github.com/nxp-qoriq/fmc;protocol=https;nobranch=1" |
10 | SRC_URI:append = " \ | ||
11 | file://0001-FMCCFGReader-improve-parameter-definition-of-functio.patch \ | ||
12 | " | ||
10 | SRCREV = "63c8ac99899a9bcd723801579b4d786594670455" | 13 | SRCREV = "63c8ac99899a9bcd723801579b4d786594670455" |
11 | 14 | ||
12 | S = "${WORKDIR}/git" | 15 | S = "${WORKDIR}/git" |
diff --git a/dynamic-layers/qt4-layer/recipes-qt4/qt4/qt4/0001-Add-support-for-i.MX-codecs-to-phonon.patch b/dynamic-layers/qt4-layer/recipes-qt4/qt4/qt4/0001-Add-support-for-i.MX-codecs-to-phonon.patch index 1213650c2..9508aee3b 100644 --- a/dynamic-layers/qt4-layer/recipes-qt4/qt4/qt4/0001-Add-support-for-i.MX-codecs-to-phonon.patch +++ b/dynamic-layers/qt4-layer/recipes-qt4/qt4/qt4/0001-Add-support-for-i.MX-codecs-to-phonon.patch | |||
@@ -5,6 +5,7 @@ Subject: [PATCH] Add support for i.MX codecs to phonon | |||
5 | 5 | ||
6 | Add support for i.MX codecs to phonon | 6 | Add support for i.MX codecs to phonon |
7 | 7 | ||
8 | Upstream-Status: Pending | ||
8 | Signed-off-by: Daniele Dall'Acqua <daniele.d@freescale.com> | 9 | Signed-off-by: Daniele Dall'Acqua <daniele.d@freescale.com> |
9 | Signed-off-by: Rogerio Pimentel <rogerio.pimentel@freescale.com> | 10 | Signed-off-by: Rogerio Pimentel <rogerio.pimentel@freescale.com> |
10 | --- | 11 | --- |
diff --git a/dynamic-layers/qt4-layer/recipes-qt4/qt4/qt4/0001-config.tests-add-DEFINES-to-compile-egl-test-with-im.patch b/dynamic-layers/qt4-layer/recipes-qt4/qt4/qt4/0001-config.tests-add-DEFINES-to-compile-egl-test-with-im.patch index 7eee7cf2a..c954abfb8 100644 --- a/dynamic-layers/qt4-layer/recipes-qt4/qt4/qt4/0001-config.tests-add-DEFINES-to-compile-egl-test-with-im.patch +++ b/dynamic-layers/qt4-layer/recipes-qt4/qt4/qt4/0001-config.tests-add-DEFINES-to-compile-egl-test-with-im.patch | |||
@@ -4,6 +4,7 @@ Date: Thu, 29 Sep 2022 16:06:04 +0200 | |||
4 | Subject: [PATCH 1/2] config.tests: add DEFINES to compile egl test with | 4 | Subject: [PATCH 1/2] config.tests: add DEFINES to compile egl test with |
5 | imxgpu2d (Vivante) | 5 | imxgpu2d (Vivante) |
6 | 6 | ||
7 | Upstream-Status: Pending | ||
7 | Signed-off-by: Mauro Salvini <m.salvini@koansoftware.com> | 8 | Signed-off-by: Mauro Salvini <m.salvini@koansoftware.com> |
8 | --- | 9 | --- |
9 | config.tests/unix/egl/egl.pro | 1 + | 10 | config.tests/unix/egl/egl.pro | 1 + |
diff --git a/dynamic-layers/qt4-layer/recipes-qt4/qt4/qt4/0002-config.tests-add-DEFINES-to-compile-egl4gles1-test-w.patch b/dynamic-layers/qt4-layer/recipes-qt4/qt4/qt4/0002-config.tests-add-DEFINES-to-compile-egl4gles1-test-w.patch index 993df85e9..b29be7d3c 100644 --- a/dynamic-layers/qt4-layer/recipes-qt4/qt4/qt4/0002-config.tests-add-DEFINES-to-compile-egl4gles1-test-w.patch +++ b/dynamic-layers/qt4-layer/recipes-qt4/qt4/qt4/0002-config.tests-add-DEFINES-to-compile-egl4gles1-test-w.patch | |||
@@ -4,6 +4,7 @@ Date: Thu, 29 Sep 2022 16:12:11 +0200 | |||
4 | Subject: [PATCH 2/2] config.tests: add DEFINES to compile egl4gles1 test with | 4 | Subject: [PATCH 2/2] config.tests: add DEFINES to compile egl4gles1 test with |
5 | imxgpu2d (Vivante) | 5 | imxgpu2d (Vivante) |
6 | 6 | ||
7 | Upstream-Status: Pending | ||
7 | Signed-off-by: Mauro Salvini <m.salvini@koansoftware.com> | 8 | Signed-off-by: Mauro Salvini <m.salvini@koansoftware.com> |
8 | --- | 9 | --- |
9 | config.tests/unix/egl4gles1/egl4gles1.pro | 1 + | 10 | config.tests/unix/egl4gles1/egl4gles1.pro | 1 + |
diff --git a/dynamic-layers/qt4-layer/recipes-qt4/qt4/qt4/0002-i.MX-video-renderer-Allow-v4l-device-from-environmen.patch b/dynamic-layers/qt4-layer/recipes-qt4/qt4/qt4/0002-i.MX-video-renderer-Allow-v4l-device-from-environmen.patch index 0226db598..fe4c4393b 100644 --- a/dynamic-layers/qt4-layer/recipes-qt4/qt4/qt4/0002-i.MX-video-renderer-Allow-v4l-device-from-environmen.patch +++ b/dynamic-layers/qt4-layer/recipes-qt4/qt4/qt4/0002-i.MX-video-renderer-Allow-v4l-device-from-environmen.patch | |||
@@ -18,6 +18,7 @@ a particular session for use in multi-headed applications. | |||
18 | The default is /dev/video17: | 18 | The default is /dev/video17: |
19 | export v4lsinkdev=/dev/video17 | 19 | export v4lsinkdev=/dev/video17 |
20 | 20 | ||
21 | Upstream-Status: Pending | ||
21 | Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com> | 22 | Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com> |
22 | --- | 23 | --- |
23 | src/3rdparty/phonon/gstreamer/widgetrenderer.cpp | 5 ++++- | 24 | src/3rdparty/phonon/gstreamer/widgetrenderer.cpp | 5 ++++- |
diff --git a/dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase/0014-Add-IMX-GPU-support.patch b/dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase/0014-Add-IMX-GPU-support.patch index e86d9ed54..57e38be50 100644 --- a/dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase/0014-Add-IMX-GPU-support.patch +++ b/dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase/0014-Add-IMX-GPU-support.patch | |||
@@ -1,3 +1,4 @@ | |||
1 | Upstream-Status: Pending | ||
1 | Index: git/mkspecs/linux-oe-g++/qmake.conf | 2 | Index: git/mkspecs/linux-oe-g++/qmake.conf |
2 | =================================================================== | 3 | =================================================================== |
3 | --- git.orig/mkspecs/linux-oe-g++/qmake.conf 2017-06-26 10:20:57.139653321 -0500 | 4 | --- git.orig/mkspecs/linux-oe-g++/qmake.conf 2017-06-26 10:20:57.139653321 -0500 |
diff --git a/recipes-bsp/imx-vpu-hantro-vc/imx-vpu-hantro-vc_1.9.0.bb b/recipes-bsp/imx-vpu-hantro-vc/imx-vpu-hantro-vc_1.9.1.bb index 26ebf1816..76dd55b8c 100644 --- a/recipes-bsp/imx-vpu-hantro-vc/imx-vpu-hantro-vc_1.9.0.bb +++ b/recipes-bsp/imx-vpu-hantro-vc/imx-vpu-hantro-vc_1.9.1.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=5a0bf11f745e68024f37b4724a5364fe" | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=db4762b09b6bda63da103963e6e081de" |
6 | 6 | ||
7 | inherit fsl-eula-unpack | 7 | inherit fsl-eula-unpack |
8 | 8 | ||
@@ -10,8 +10,7 @@ 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] = "192b354d1c21836dc7338606e60b45ae" | 13 | SRC_URI[sha256sum] = "84fcefa0619def2f009ca6651c5cffcda57fed29cd7060ef68be48c5d0d7814b" |
14 | SRC_URI[sha256sum] = "62b5ba3c4aab21d0d4be3eee9b204a9bb50b83b6140ee1a3b27c648809bdfbaa" | ||
15 | 14 | ||
16 | # SCR is the location and name of the Software Content Register file | 15 | # SCR is the location and name of the Software Content Register file |
17 | # relative to ${D}${D_SUBDIR}. | 16 | # relative to ${D}${D_SUBDIR}. |
diff --git a/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro-daemon_1.1.6.bb b/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro-daemon_1.1.9.bb index f603190be..ee10518cf 100644 --- a/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro-daemon_1.1.6.bb +++ b/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro-daemon_1.1.9.bb | |||
@@ -7,8 +7,7 @@ DEPENDS = "imx-vpu-hantro" | |||
7 | DEPENDS:append:mx8mp-nxp-bsp = " imx-vpu-hantro-vc" | 7 | DEPENDS:append:mx8mp-nxp-bsp = " imx-vpu-hantro-vc" |
8 | 8 | ||
9 | SRC_URI = "${FSL_MIRROR}/${BP}.tar.gz" | 9 | SRC_URI = "${FSL_MIRROR}/${BP}.tar.gz" |
10 | SRC_URI[md5sum] = "23997361dab3054e5a3757a15d33db16" | 10 | SRC_URI[sha256sum] = "80d6620063fd5e5506b05c907677b579d471a9b6daa8b26ffb963110cc680bf9" |
11 | SRC_URI[sha256sum] = "ac2b60fb754792eedcfdfc8cf59663cfeaedc402857eff13ac97a911d2c65801" | ||
12 | 11 | ||
13 | PLATFORM:mx8mm-nxp-bsp = "IMX8MM" | 12 | PLATFORM:mx8mm-nxp-bsp = "IMX8MM" |
14 | PLATFORM:mx8mq-nxp-bsp = "IMX8MQ" | 13 | PLATFORM:mx8mq-nxp-bsp = "IMX8MQ" |
diff --git a/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.28.0.bb b/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.28.0.bb deleted file mode 100644 index 0757a7fb5..000000000 --- a/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.28.0.bb +++ /dev/null | |||
@@ -1,36 +0,0 @@ | |||
1 | # Copyright (C) 2017-2020 NXP | ||
2 | |||
3 | DESCRIPTION = "i.MX Hantro VPU library" | ||
4 | LICENSE = "Proprietary" | ||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=ea25d099982d035af85d193c88a1b479" | ||
6 | |||
7 | PROVIDES = "virtual/imxvpu" | ||
8 | |||
9 | SRC_URI = "${FSL_MIRROR}/${BP}.bin;fsl-eula=true" | ||
10 | SRC_URI[md5sum] = "81b4eb801349a0c198b7cc43eb8b6097" | ||
11 | SRC_URI[sha256sum] = "e868e12945b4f217e2e0511fdc2587875d6c9124e8673b67f1e7de367ff5012f" | ||
12 | |||
13 | inherit fsl-eula-unpack use-imx-headers | ||
14 | |||
15 | PARALLEL_MAKE="-j 1" | ||
16 | |||
17 | PLATFORM:mx8mm-nxp-bsp = "IMX8MM" | ||
18 | PLATFORM:mx8mq-nxp-bsp = "IMX8MQ" | ||
19 | PLATFORM:mx8mp-nxp-bsp = "IMX8MP" | ||
20 | |||
21 | EXTRA_OEMAKE = " \ | ||
22 | CROSS_COMPILE="${HOST_PREFIX}" \ | ||
23 | SDKTARGETSYSROOT="${STAGING_DIR_TARGET}" \ | ||
24 | PLATFORM="${PLATFORM}" \ | ||
25 | " | ||
26 | |||
27 | do_install () { | ||
28 | oe_runmake install DEST_DIR="${D}" | ||
29 | } | ||
30 | |||
31 | FILES:${PN} += "/unit_tests" | ||
32 | |||
33 | RDEPENDS:${PN} += "imx-vpu-hantro-daemon" | ||
34 | |||
35 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" | ||
36 | COMPATIBLE_MACHINE = "(mx8mq-nxp-bsp|mx8mm-nxp-bsp|mx8mp-nxp-bsp)" | ||
diff --git a/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.32.0.bb b/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.32.0.bb new file mode 100644 index 000000000..2a35f9acd --- /dev/null +++ b/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.32.0.bb | |||
@@ -0,0 +1,41 @@ | |||
1 | # Copyright (C) 2017-2020 NXP | ||
2 | |||
3 | DESCRIPTION = "i.MX Hantro VPU library" | ||
4 | LICENSE = "Proprietary" | ||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=44a8052c384584ba09077e85a3d1654f" | ||
6 | |||
7 | PROVIDES = "virtual/imxvpu" | ||
8 | |||
9 | SRC_URI = "${FSL_MIRROR}/${BP}.bin;fsl-eula=true" | ||
10 | SRC_URI[sha256sum] = "f751ab7369d48e610ea3b6b0dc5a885c70a510861d6b46296ffc063fed370003" | ||
11 | |||
12 | inherit fsl-eula-unpack use-imx-headers | ||
13 | |||
14 | PARALLEL_MAKE="-j 1" | ||
15 | |||
16 | PLATFORM:mx8mm-nxp-bsp = "IMX8MM" | ||
17 | PLATFORM:mx8mq-nxp-bsp = "IMX8MQ" | ||
18 | PLATFORM:mx8mp-nxp-bsp = "IMX8MP" | ||
19 | |||
20 | #| ../../source/h264high/h264decapi.c:1803:22: error: assignment to 'const u8 *' {aka 'const unsigned char *'} from incompatible pointer type 'u32 *' {aka 'unsigned int *'} [-Wincompatible-pointer-types] | ||
21 | #| 1803 | ref_data = ref.virtual_address; | ||
22 | #| ../../source/h264high/h264decapi.c:2086:22: error: assignment to 'const u8 *' {aka 'const unsigned char *'} from incompatible pointer type 'u32 *' {aka 'unsigned int *'} [-Wincompatible-pointer-types] | ||
23 | #| 2086 | ref_data = ref.virtual_address; | ||
24 | |||
25 | CFLAGS += " -Wno-error=incompatible-pointer-types" | ||
26 | EXTRA_OEMAKE = " \ | ||
27 | CROSS_COMPILE="${HOST_PREFIX}" \ | ||
28 | SDKTARGETSYSROOT="${STAGING_DIR_TARGET}" \ | ||
29 | PLATFORM="${PLATFORM}" \ | ||
30 | " | ||
31 | |||
32 | do_install () { | ||
33 | oe_runmake install DEST_DIR="${D}" | ||
34 | } | ||
35 | |||
36 | FILES:${PN} += "/unit_tests" | ||
37 | |||
38 | RDEPENDS:${PN} += "imx-vpu-hantro-daemon" | ||
39 | |||
40 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" | ||
41 | COMPATIBLE_MACHINE = "(mx8mq-nxp-bsp|mx8mm-nxp-bsp|mx8mp-nxp-bsp)" | ||
diff --git a/recipes-core/udev/udev-rules-imx.bb b/recipes-core/udev/udev-rules-imx.bb index 163f28350..c42065f3a 100644 --- a/recipes-core/udev/udev-rules-imx.bb +++ b/recipes-core/udev/udev-rules-imx.bb | |||
@@ -4,8 +4,6 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda | |||
4 | 4 | ||
5 | SRC_URI = " file://10-imx.rules" | 5 | SRC_URI = " file://10-imx.rules" |
6 | 6 | ||
7 | S = "${WORKDIR}" | ||
8 | |||
9 | do_install () { | 7 | do_install () { |
10 | install -d ${D}${sysconfdir}/udev/rules.d | 8 | install -d ${D}${sysconfdir}/udev/rules.d |
11 | install -m 0644 ${WORKDIR}/10-imx.rules ${D}${sysconfdir}/udev/rules.d/ | 9 | install -m 0644 ${WORKDIR}/10-imx.rules ${D}${sysconfdir}/udev/rules.d/ |
diff --git a/recipes-kernel/linux/linux-fslc_6.6.bb b/recipes-kernel/linux/linux-fslc_6.6.bb index 9132435e4..f9a54080e 100644 --- a/recipes-kernel/linux/linux-fslc_6.6.bb +++ b/recipes-kernel/linux/linux-fslc_6.6.bb | |||
@@ -19,14 +19,12 @@ SRC_URI = "git://github.com/Freescale/linux-fslc.git;branch=${KBRANCH};protocol= | |||
19 | # | 19 | # |
20 | # LINUX_VERSION define should match to the kernel version referenced by SRC_URI and | 20 | # LINUX_VERSION define should match to the kernel version referenced by SRC_URI and |
21 | # should be updated once patchlevel is merged. | 21 | # should be updated once patchlevel is merged. |
22 | LINUX_VERSION = "6.6.28" | 22 | LINUX_VERSION = "6.6.32" |
23 | 23 | ||
24 | KBRANCH = "6.6.x+fslc" | 24 | KBRANCH = "6.6.x+fslc" |
25 | SRCREV = "3beb6fac2c3bda9015892dae8556c5559f2ee234" | 25 | SRCREV = "8c0a83d1bb158cd9d90ab7378fd963e72b4a5a7f" |
26 | 26 | ||
27 | KBUILD_DEFCONFIG:mx5-generic-bsp = "imx_v6_v7_defconfig" | 27 | KBUILD_DEFCONFIG:mx5-generic-bsp = "imx_v6_v7_defconfig" |
28 | KBUILD_DEFCONFIG:mx5-generic-bsp = "imx_v6_v7_defconfig" | ||
29 | KBUILD_DEFCONFIG:mx5-generic-bsp = "imx_v6_v7_defconfig" | ||
30 | KBUILD_DEFCONFIG:mx6-generic-bsp = "imx_v6_v7_defconfig" | 28 | KBUILD_DEFCONFIG:mx6-generic-bsp = "imx_v6_v7_defconfig" |
31 | KBUILD_DEFCONFIG:mx7-generic-bsp = "imx_v6_v7_defconfig" | 29 | KBUILD_DEFCONFIG:mx7-generic-bsp = "imx_v6_v7_defconfig" |
32 | KBUILD_DEFCONFIG:mx8-generic-bsp = "defconfig" | 30 | KBUILD_DEFCONFIG:mx8-generic-bsp = "defconfig" |
diff --git a/recipes-multimedia/gstreamer/gst-devtools_1.22.5.imx.bb b/recipes-multimedia/gstreamer/gst-devtools_1.22.5.imx.bb new file mode 100644 index 000000000..9f7f890d5 --- /dev/null +++ b/recipes-multimedia/gstreamer/gst-devtools_1.22.5.imx.bb | |||
@@ -0,0 +1,52 @@ | |||
1 | SUMMARY = "Gstreamer validation tool" | ||
2 | DESCRIPTION = "A Tool to test GStreamer components" | ||
3 | HOMEPAGE = "https://gstreamer.freedesktop.org/documentation/gst-devtools/index.html" | ||
4 | SECTION = "multimedia" | ||
5 | |||
6 | LICENSE = "LGPL-2.1-or-later" | ||
7 | LIC_FILES_CHKSUM = "file://validate/COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343" | ||
8 | |||
9 | S = "${WORKDIR}/gst-devtools-1.22.5" | ||
10 | |||
11 | SRC_URI = "https://gstreamer.freedesktop.org/src/gst-devtools/gst-devtools-1.22.5.tar.xz \ | ||
12 | file://0001-connect-has-a-different-signature-on-musl.patch \ | ||
13 | " | ||
14 | |||
15 | SRC_URI[sha256sum] = "2add1519aa6eeb01d544cb94293688ee3bc2079f6bca6075bf5c23d00a0921be" | ||
16 | |||
17 | DEPENDS = "json-glib glib-2.0 glib-2.0-native gstreamer1.0 gstreamer1.0-plugins-base" | ||
18 | RRECOMMENDS:${PN} = "git" | ||
19 | |||
20 | FILES:${PN} += "${datadir}/gstreamer-1.0/* ${libdir}/gst-validate-launcher/* ${libdir}/gstreamer-1.0/*" | ||
21 | |||
22 | inherit meson pkgconfig gettext upstream-version-is-even gobject-introspection | ||
23 | |||
24 | # TODO: put this in a gettext.bbclass patch | ||
25 | def gettext_oemeson(d): | ||
26 | if d.getVar('USE_NLS') == 'no': | ||
27 | return '-Dnls=disabled' | ||
28 | # Remove the NLS bits if USE_NLS is no or INHIBIT_DEFAULT_DEPS is set | ||
29 | if d.getVar('INHIBIT_DEFAULT_DEPS') and not oe.utils.inherits(d, 'cross-canadian'): | ||
30 | return '-Dnls=disabled' | ||
31 | return '-Dnls=enabled' | ||
32 | |||
33 | # Build GstValidateVideo | ||
34 | PACKAGECONFIG[cairo] = "-Dcairo=enabled,-Dcairo=disabled,cairo" | ||
35 | |||
36 | EXTRA_OEMESON += " \ | ||
37 | -Ddoc=disabled \ | ||
38 | -Ddebug_viewer=disabled \ | ||
39 | -Dtests=disabled \ | ||
40 | -Dvalidate=enabled \ | ||
41 | ${@gettext_oemeson(d)} \ | ||
42 | " | ||
43 | |||
44 | do_install:append () { | ||
45 | for fn in ${bindir}/gst-validate-launcher \ | ||
46 | ${libdir}/gst-validate-launcher/python/launcher/config.py; do | ||
47 | sed -i -e 's,${B},/usr/src/debug/${PN},g' -e 's,${S},/usr/src/debug/${PN},g' ${D}$fn | ||
48 | done | ||
49 | } | ||
50 | |||
51 | GIR_MESON_ENABLE_FLAG = "enabled" | ||
52 | GIR_MESON_DISABLE_FLAG = "disabled" | ||
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.22.5.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.22.5.imx.bb new file mode 100644 index 000000000..cca80cc27 --- /dev/null +++ b/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.22.5.imx.bb | |||
@@ -0,0 +1,28 @@ | |||
1 | SUMMARY = "Libav-based GStreamer 1.x plugin" | ||
2 | DESCRIPTION = "Contains a GStreamer plugin for using the encoders, decoders, \ | ||
3 | muxers, and demuxers provided by FFmpeg." | ||
4 | HOMEPAGE = "http://gstreamer.freedesktop.org/" | ||
5 | SECTION = "multimedia" | ||
6 | |||
7 | # ffmpeg has comercial license flags so add it as we need ffmpeg as a dependency | ||
8 | LICENSE_FLAGS = "commercial" | ||
9 | LICENSE = "LGPL-2.1-or-later" | ||
10 | LIC_FILES_CHKSUM = "file://COPYING;md5=69333daa044cb77e486cc36129f7a770 \ | ||
11 | file://ext/libav/gstav.h;beginline=1;endline=18;md5=a752c35267d8276fd9ca3db6994fca9c \ | ||
12 | " | ||
13 | |||
14 | SRC_URI = "https://gstreamer.freedesktop.org/src/gst-libav/gst-libav-1.22.5.tar.xz" | ||
15 | SRC_URI[sha256sum] = "8583f0c1f4fcb01eed11fa1e3c21126543a8bd739ed4fc1db31f756a5ab01d9a" | ||
16 | |||
17 | S = "${WORKDIR}/gst-libav-1.22.5" | ||
18 | |||
19 | DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base ffmpeg" | ||
20 | |||
21 | inherit meson pkgconfig upstream-version-is-even | ||
22 | |||
23 | EXTRA_OEMESON += " \ | ||
24 | -Dtests=disabled \ | ||
25 | " | ||
26 | |||
27 | FILES:${PN} += "${libdir}/gstreamer-1.0/*.so" | ||
28 | FILES:${PN}-staticdev += "${libdir}/gstreamer-1.0/*.a" | ||
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-omx_%.bbappend b/recipes-multimedia/gstreamer/gstreamer1.0-omx_%.bbappend deleted file mode 100644 index 188476035..000000000 --- a/recipes-multimedia/gstreamer/gstreamer1.0-omx_%.bbappend +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | EXTRA_OEMESON:append:imx-nxp-bsp = " -Dtests=disabled -Dexamples=disabled" | ||
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.22.5.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.22.5.imx.bb index 3366a6274..39c1bfe19 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.22.5.imx.bb +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.22.5.imx.bb | |||
@@ -211,6 +211,13 @@ PACKAGECONFIG_G2D:imxgpu2d ??= "g2d" | |||
211 | PACKAGECONFIG[g2d] = ",,virtual/libg2d" | 211 | PACKAGECONFIG[g2d] = ",,virtual/libg2d" |
212 | PACKAGECONFIG[tinycompress] = "-Dtinycompress=enabled,-Dtinycompress=disabled,tinycompress" | 212 | PACKAGECONFIG[tinycompress] = "-Dtinycompress=enabled,-Dtinycompress=disabled,tinycompress" |
213 | 213 | ||
214 | # GCC-14 otherwise errors out | ||
215 | CFLAGS += " \ | ||
216 | -Wno-error=implicit-function-declaration \ | ||
217 | -Wno-error=incompatible-pointer-types \ | ||
218 | -Wno-error=return-mismatch \ | ||
219 | -Wno-error=int-conversion \ | ||
220 | " | ||
214 | EXTRA_OEMESON += " \ | 221 | EXTRA_OEMESON += " \ |
215 | -Dc_args="${CFLAGS} -I${STAGING_INCDIR_IMX}" \ | 222 | -Dc_args="${CFLAGS} -I${STAGING_INCDIR_IMX}" \ |
216 | " | 223 | " |
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.22.5.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.22.5.imx.bb index dd7869a9b..944cf8f5e 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.22.5.imx.bb +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.22.5.imx.bb | |||
@@ -135,6 +135,8 @@ PACKAGECONFIG_G2D:imxgpu2d ??= "g2d" | |||
135 | PACKAGECONFIG[g2d] = ",,virtual/libg2d" | 135 | PACKAGECONFIG[g2d] = ",,virtual/libg2d" |
136 | PACKAGECONFIG[viv-fb] = ",,virtual/libgles2" | 136 | PACKAGECONFIG[viv-fb] = ",,virtual/libgles2" |
137 | 137 | ||
138 | # GCC-14 otherwise errors out | ||
139 | CFLAGS += "-Wno-error=incompatible-pointer-types" | ||
138 | EXTRA_OEMESON += "-Dc_args="${CFLAGS} -I${STAGING_INCDIR_IMX}"" | 140 | EXTRA_OEMESON += "-Dc_args="${CFLAGS} -I${STAGING_INCDIR_IMX}"" |
139 | 141 | ||
140 | # links with imx-gpu libs which are pre-built for glibc | 142 | # links with imx-gpu libs which are pre-built for glibc |
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.22.5.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.22.5.imx.bb index 9e09ef930..1234f3ad4 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.22.5.imx.bb +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.22.5.imx.bb | |||
@@ -120,6 +120,11 @@ GLIBC_64BIT_TIME_FLAGS:mx7-nxp-bsp = "" | |||
120 | INSANE_SKIP:mx6-nxp-bsp:append = " 32bit-time" | 120 | INSANE_SKIP:mx6-nxp-bsp:append = " 32bit-time" |
121 | INSANE_SKIP:mx7-nxp-bsp:append = " 32bit-time" | 121 | INSANE_SKIP:mx7-nxp-bsp:append = " 32bit-time" |
122 | 122 | ||
123 | # GCC-14 otherwise errors out | ||
124 | CFLAGS += " \ | ||
125 | -Wno-error=implicit-function-declaration \ | ||
126 | -Wno-error=incompatible-pointer-types \ | ||
127 | " | ||
123 | S = "${WORKDIR}/git" | 128 | S = "${WORKDIR}/git" |
124 | 129 | ||
125 | COMPATIBLE_MACHINE = "(imx-nxp-bsp)" | 130 | COMPATIBLE_MACHINE = "(imx-nxp-bsp)" |
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.22.5.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.22.5.imx.bb new file mode 100644 index 000000000..bdc802c2c --- /dev/null +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.22.5.imx.bb | |||
@@ -0,0 +1,45 @@ | |||
1 | require gstreamer1.0-plugins-common.inc | ||
2 | require gstreamer1.0-plugins-license.inc | ||
3 | |||
4 | SUMMARY = "'Ugly GStreamer plugins" | ||
5 | HOMEPAGE = "https://gstreamer.freedesktop.org/" | ||
6 | BUGTRACKER = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/issues" | ||
7 | |||
8 | LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \ | ||
9 | " | ||
10 | |||
11 | LICENSE = "LGPL-2.1-or-later & GPL-2.0-or-later" | ||
12 | LICENSE_FLAGS = "commercial" | ||
13 | |||
14 | SRC_URI = " \ | ||
15 | https://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-1.22.5.tar.xz \ | ||
16 | " | ||
17 | SRC_URI[sha256sum] = "2680473b218158f18467cac3e1c50291b7ff4e0710dd350a59eaacbc29c09a54" | ||
18 | |||
19 | S = "${WORKDIR}/gst-plugins-ugly-1.22.5" | ||
20 | |||
21 | DEPENDS += "gstreamer1.0-plugins-base" | ||
22 | |||
23 | GST_PLUGIN_SET_HAS_EXAMPLES = "0" | ||
24 | |||
25 | PACKAGECONFIG ??= " \ | ||
26 | ${GSTREAMER_ORC} \ | ||
27 | " | ||
28 | |||
29 | PACKAGECONFIG[amrnb] = "-Damrnb=enabled,-Damrnb=disabled,opencore-amr" | ||
30 | PACKAGECONFIG[amrwb] = "-Damrwbdec=enabled,-Damrwbdec=disabled,opencore-amr" | ||
31 | PACKAGECONFIG[a52dec] = "-Da52dec=enabled,-Da52dec=disabled,liba52" | ||
32 | PACKAGECONFIG[cdio] = "-Dcdio=enabled,-Dcdio=disabled,libcdio" | ||
33 | PACKAGECONFIG[dvdread] = "-Ddvdread=enabled,-Ddvdread=disabled,libdvdread" | ||
34 | PACKAGECONFIG[mpeg2dec] = "-Dmpeg2dec=enabled,-Dmpeg2dec=disabled,mpeg2dec" | ||
35 | PACKAGECONFIG[x264] = "-Dx264=enabled,-Dx264=disabled,x264" | ||
36 | |||
37 | GSTREAMER_GPL = "${@bb.utils.filter('PACKAGECONFIG', 'a52dec cdio dvdread mpeg2dec x264', d)}" | ||
38 | |||
39 | EXTRA_OEMESON += " \ | ||
40 | -Ddoc=disabled \ | ||
41 | -Dsidplay=disabled \ | ||
42 | " | ||
43 | |||
44 | FILES:${PN}-amrnb += "${datadir}/gstreamer-1.0/presets/GstAmrnbEnc.prs" | ||
45 | FILES:${PN}-x264 += "${datadir}/gstreamer-1.0/presets/GstX264Enc.prs" | ||
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-python_1.22.5.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-python_1.22.5.imx.bb new file mode 100644 index 000000000..ebad6b640 --- /dev/null +++ b/recipes-multimedia/gstreamer/gstreamer1.0-python_1.22.5.imx.bb | |||
@@ -0,0 +1,30 @@ | |||
1 | SUMMARY = "Python bindings for GStreamer 1.0" | ||
2 | DESCRIPTION = "GStreamer Python binding overrides (complementing the bindings \ | ||
3 | provided by python-gi) " | ||
4 | HOMEPAGE = "http://cgit.freedesktop.org/gstreamer/gst-python/" | ||
5 | SECTION = "multimedia" | ||
6 | |||
7 | LICENSE = "LGPL-2.1-or-later" | ||
8 | LIC_FILES_CHKSUM = "file://COPYING;md5=c34deae4e395ca07e725ab0076a5f740" | ||
9 | |||
10 | SRC_URI = "https://gstreamer.freedesktop.org/src/${PNREAL}/${PNREAL}-1.22.5.tar.xz" | ||
11 | SRC_URI[sha256sum] = "bf05232415cf6018142ae51dd3b897bb73432687b5ce1786bf46edc6298ce5b0" | ||
12 | |||
13 | DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base python3-pygobject" | ||
14 | RDEPENDS:${PN} += "gstreamer1.0 gstreamer1.0-plugins-base python3-pygobject" | ||
15 | |||
16 | PNREAL = "gst-python" | ||
17 | |||
18 | S = "${WORKDIR}/${PNREAL}-1.22.5" | ||
19 | |||
20 | EXTRA_OEMESON += "\ | ||
21 | -Dtests=disabled \ | ||
22 | -Dplugin=enabled \ | ||
23 | -Dlibpython-dir=${libdir} \ | ||
24 | " | ||
25 | |||
26 | inherit meson pkgconfig setuptools3-base upstream-version-is-even features_check | ||
27 | |||
28 | FILES:${PN} += "${libdir}/gstreamer-1.0" | ||
29 | |||
30 | REQUIRED_DISTRO_FEATURES = "gobject-introspection-data" | ||
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.22.5.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.22.5.imx.bb new file mode 100644 index 000000000..5dae5ebb1 --- /dev/null +++ b/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.22.5.imx.bb | |||
@@ -0,0 +1,31 @@ | |||
1 | SUMMARY = "A library on top of GStreamer for building an RTSP server" | ||
2 | HOMEPAGE = "http://cgit.freedesktop.org/gstreamer/gst-rtsp-server/" | ||
3 | SECTION = "multimedia" | ||
4 | LICENSE = "LGPL-2.1-or-later" | ||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=69333daa044cb77e486cc36129f7a770" | ||
6 | |||
7 | DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base" | ||
8 | |||
9 | PNREAL = "gst-rtsp-server" | ||
10 | |||
11 | SRC_URI = "https://gstreamer.freedesktop.org/src/${PNREAL}/${PNREAL}-1.22.5.tar.xz" | ||
12 | |||
13 | SRC_URI[sha256sum] = "f343eb54964ebd4d8c071be5eecad586f28feb0156e036e06b148d0e7febb1c0" | ||
14 | |||
15 | S = "${WORKDIR}/${PNREAL}-1.22.5" | ||
16 | |||
17 | inherit meson pkgconfig upstream-version-is-even gobject-introspection | ||
18 | |||
19 | EXTRA_OEMESON += " \ | ||
20 | -Ddoc=disabled \ | ||
21 | -Dexamples=disabled \ | ||
22 | -Dtests=disabled \ | ||
23 | " | ||
24 | |||
25 | GIR_MESON_ENABLE_FLAG = "enabled" | ||
26 | GIR_MESON_DISABLE_FLAG = "disabled" | ||
27 | |||
28 | # Starting with 1.8.0 gst-rtsp-server includes dependency-less plugins as well | ||
29 | require gstreamer1.0-plugins-packaging.inc | ||
30 | |||
31 | CVE_PRODUCT += "gst-rtsp-server" | ||
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.22.5.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.22.5.imx.bb new file mode 100644 index 000000000..d44b70a8d --- /dev/null +++ b/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.22.5.imx.bb | |||
@@ -0,0 +1,53 @@ | |||
1 | SUMMARY = "VA-API support to GStreamer" | ||
2 | HOMEPAGE = "https://gstreamer.freedesktop.org/" | ||
3 | DESCRIPTION = "gstreamer-vaapi consists of a collection of VA-API \ | ||
4 | based plugins for GStreamer and helper libraries: `vaapidecode', \ | ||
5 | `vaapiconvert', and `vaapisink'." | ||
6 | |||
7 | REALPN = "gstreamer-vaapi" | ||
8 | |||
9 | LICENSE = "LGPL-2.1-or-later" | ||
10 | LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c" | ||
11 | |||
12 | SRC_URI = "https://gstreamer.freedesktop.org/src/${REALPN}/${REALPN}-1.22.5.tar.xz" | ||
13 | |||
14 | SRC_URI[sha256sum] = "a9a550267c9584df0e8c70434d30476e8fd0018b733c1c1ee33deaf422bdb24b" | ||
15 | |||
16 | S = "${WORKDIR}/${REALPN}-1.22.5" | ||
17 | DEPENDS = "libva gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad" | ||
18 | |||
19 | inherit meson pkgconfig features_check upstream-version-is-even | ||
20 | |||
21 | REQUIRED_DISTRO_FEATURES ?= "opengl" | ||
22 | |||
23 | EXTRA_OEMESON += " \ | ||
24 | -Ddoc=disabled \ | ||
25 | -Dexamples=disabled \ | ||
26 | -Dtests=enabled \ | ||
27 | " | ||
28 | |||
29 | PACKAGES =+ "${PN}-tests" | ||
30 | |||
31 | # OpenGL packageconfig factored out to make it easy for distros | ||
32 | # and BSP layers to pick either glx, egl, or no GL. By default, | ||
33 | # try detecting X11 first, and if found (with OpenGL), use GLX, | ||
34 | # otherwise try to check if EGL can be used. | ||
35 | PACKAGECONFIG_GL ?= "${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'glx', \ | ||
36 | bb.utils.contains('DISTRO_FEATURES', 'opengl', 'egl', \ | ||
37 | '', d), d)}" | ||
38 | |||
39 | PACKAGECONFIG ??= "drm encoders \ | ||
40 | ${PACKAGECONFIG_GL} \ | ||
41 | ${@bb.utils.filter('DISTRO_FEATURES', 'wayland x11', d)}" | ||
42 | |||
43 | PACKAGECONFIG[drm] = "-Ddrm=enabled,-Ddrm=disabled,udev libdrm" | ||
44 | PACKAGECONFIG[egl] = "-Degl=enabled,-Degl=disabled,virtual/egl" | ||
45 | PACKAGECONFIG[encoders] = "-Dencoders=enabled,-Dencoders=disabled" | ||
46 | PACKAGECONFIG[glx] = "-Dglx=enabled,-Dglx=disabled,virtual/libgl" | ||
47 | PACKAGECONFIG[wayland] = "-Dwayland=enabled,-Dwayland=disabled,wayland-native wayland wayland-protocols" | ||
48 | PACKAGECONFIG[x11] = "-Dx11=enabled,-Dx11=disabled,virtual/libx11 libxrandr libxrender" | ||
49 | |||
50 | FILES:${PN} += "${libdir}/gstreamer-*/*.so" | ||
51 | FILES:${PN}-dbg += "${libdir}/gstreamer-*/.debug" | ||
52 | FILES:${PN}-dev += "${libdir}/gstreamer-*/*.a" | ||
53 | FILES:${PN}-tests = "${bindir}/*" | ||
diff --git a/recipes-multimedia/gstreamer/imx-gst1.0-plugin_git.bb b/recipes-multimedia/gstreamer/imx-gst1.0-plugin_git.bb index a13cf30ab..7a94b42fc 100644 --- a/recipes-multimedia/gstreamer/imx-gst1.0-plugin_git.bb +++ b/recipes-multimedia/gstreamer/imx-gst1.0-plugin_git.bb | |||
@@ -67,6 +67,13 @@ PLATFORM:mx8-nxp-bsp = "MX8" | |||
67 | PLATFORM:mx9-nxp-bsp = "MX9" | 67 | PLATFORM:mx9-nxp-bsp = "MX9" |
68 | 68 | ||
69 | CFLAGS:append:toolchain-clang = " -Wno-implicit-int -Wno-int-conversion -Wno-incompatible-function-pointer-types" | 69 | CFLAGS:append:toolchain-clang = " -Wno-implicit-int -Wno-int-conversion -Wno-incompatible-function-pointer-types" |
70 | # GCC-14 otherwise errors out | ||
71 | CFLAGS += " \ | ||
72 | -Wno-error=int-conversion \ | ||
73 | -Wno-error=incompatible-pointer-types \ | ||
74 | -Wno-error=return-mismatch \ | ||
75 | -Wno-error=implicit-function-declaration \ | ||
76 | " | ||
70 | 77 | ||
71 | # Todo add a mechanism to map possible build targets | 78 | # Todo add a mechanism to map possible build targets |
72 | EXTRA_OEMESON = "-Dplatform=${PLATFORM} \ | 79 | EXTRA_OEMESON = "-Dplatform=${PLATFORM} \ |
diff --git a/recipes-multimedia/imx-opencl-converter/imx-opencl-converter/0001-src-ocl.c-fix-wrong-integer-type.patch b/recipes-multimedia/imx-opencl-converter/imx-opencl-converter/0001-src-ocl.c-fix-wrong-integer-type.patch new file mode 100644 index 000000000..d84a6a639 --- /dev/null +++ b/recipes-multimedia/imx-opencl-converter/imx-opencl-converter/0001-src-ocl.c-fix-wrong-integer-type.patch | |||
@@ -0,0 +1,39 @@ | |||
1 | From e78af6d0c9cd1a655f6bc17173f6c411b8b34d2f Mon Sep 17 00:00:00 2001 | ||
2 | From: Max Krummenacher <max.krummenacher@toradex.com> | ||
3 | Date: Sat, 1 Jun 2024 11:07:13 +0000 | ||
4 | Subject: [PATCH] src/ocl.c: fix wrong integer type | ||
5 | |||
6 | Fixes: | ||
7 | | .../ocl.c:258:22: error: passing argument 6 of 'clGetProgramBuildInfo' from incompatible pointer type [-Wincompatible-pointer-types] | ||
8 | 258 | 0, NULL, &log_size); | ||
9 | | ^~~~~~~~~ | ||
10 | | | | ||
11 | | int * | ||
12 | In file included from .../recipe-sysroot/usr/include/CL/cl_ext.h:27, | ||
13 | from .../ocl.c:21: | ||
14 | /recipe-sysroot/usr/include/CL/cl.h:1348:45: note: expected 'size_t *' {aka 'long unsigned int *'} but argument is of type 'int *' | ||
15 | 1348 | size_t * param_value_size_ret) CL_API_SUFFIX__VERSION_1_0; | ||
16 | | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ | ||
17 | |||
18 | Upstream-Status: Pending | ||
19 | Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> | ||
20 | --- | ||
21 | src/ocl.c | 2 +- | ||
22 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
23 | |||
24 | diff --git a/src/ocl.c b/src/ocl.c | ||
25 | index f56d9cb..b2b0c52 100644 | ||
26 | --- a/src/ocl.c | ||
27 | +++ b/src/ocl.c | ||
28 | @@ -253,7 +253,7 @@ static OCL_RESULT CreateProgram(ImxOcl* ocl, const char* binName, const char* sr | ||
29 | cl_ret = clBuildProgram (program, 1, &ocl->device, "", NULL, NULL); | ||
30 | if (cl_ret < 0) | ||
31 | { | ||
32 | - int log_size; | ||
33 | + size_t log_size; | ||
34 | cl_ret = clGetProgramBuildInfo(program, ocl->device, CL_PROGRAM_BUILD_LOG, | ||
35 | 0, NULL, &log_size); | ||
36 | |||
37 | -- | ||
38 | 2.42.0 | ||
39 | |||
diff --git a/recipes-multimedia/imx-opencl-converter/imx-opencl-converter_0.2.0.bb b/recipes-multimedia/imx-opencl-converter/imx-opencl-converter_0.2.0.bb index 3dc0a7ea5..f3e33e0d2 100644 --- a/recipes-multimedia/imx-opencl-converter/imx-opencl-converter_0.2.0.bb +++ b/recipes-multimedia/imx-opencl-converter/imx-opencl-converter_0.2.0.bb | |||
@@ -5,7 +5,10 @@ SECTION = "multimedia" | |||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=44a8052c384584ba09077e85a3d1654f" | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=44a8052c384584ba09077e85a3d1654f" |
6 | DEPENDS = "opencl-headers" | 6 | DEPENDS = "opencl-headers" |
7 | 7 | ||
8 | SRC_URI = "${FSL_MIRROR}/${BP}.bin;fsl-eula=true" | 8 | SRC_URI = " \ |
9 | ${FSL_MIRROR}/${BP}.bin;fsl-eula=true \ | ||
10 | file://0001-src-ocl.c-fix-wrong-integer-type.patch \ | ||
11 | " | ||
9 | SRC_URI[md5sum] = "dc668682189ce740fb46073e62f58066" | 12 | SRC_URI[md5sum] = "dc668682189ce740fb46073e62f58066" |
10 | SRC_URI[sha256sum] = "9f283df500c57421b87d96d9af7022ab490bc241aa28d00755beaadabbcd754b" | 13 | SRC_URI[sha256sum] = "9f283df500c57421b87d96d9af7022ab490bc241aa28d00755beaadabbcd754b" |
11 | 14 | ||
diff --git a/recipes-multimedia/imx-vpuwrap/imx-vpuwrap/0001-vpu_wrapper_hantro_encoder-add-sys-time.h-for-gettim.patch b/recipes-multimedia/imx-vpuwrap/imx-vpuwrap/0001-vpu_wrapper_hantro_encoder-add-sys-time.h-for-gettim.patch new file mode 100644 index 000000000..cbf37417e --- /dev/null +++ b/recipes-multimedia/imx-vpuwrap/imx-vpuwrap/0001-vpu_wrapper_hantro_encoder-add-sys-time.h-for-gettim.patch | |||
@@ -0,0 +1,29 @@ | |||
1 | From 482c639a0da4b093cfc029009604e9653ced33c4 Mon Sep 17 00:00:00 2001 | ||
2 | From: Max Krummenacher <max.krummenacher@toradex.com> | ||
3 | Date: Thu, 13 Jun 2024 07:15:12 +0000 | ||
4 | Subject: [PATCH] vpu_wrapper_hantro_encoder: add sys/time.h for gettimeofday | ||
5 | |||
6 | Fixes: | ||
7 | | ../git/vpu_wrapper_hantro_encoder.c:953:3: error: implicit declaration of function 'gettimeofday' [-Wimplicit-function-declaration] | ||
8 | |||
9 | Upstream-Status: Pending | ||
10 | Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> | ||
11 | --- | ||
12 | vpu_wrapper_hantro_encoder.c | 1 + | ||
13 | 1 file changed, 1 insertion(+) | ||
14 | |||
15 | diff --git a/vpu_wrapper_hantro_encoder.c b/vpu_wrapper_hantro_encoder.c | ||
16 | index 3819c389320c..635c98bf1f19 100755 | ||
17 | --- a/vpu_wrapper_hantro_encoder.c | ||
18 | +++ b/vpu_wrapper_hantro_encoder.c | ||
19 | @@ -24,6 +24,7 @@ | ||
20 | #include <stdlib.h> | ||
21 | #include <string.h> | ||
22 | #include <time.h> | ||
23 | +#include <sys/time.h> | ||
24 | #include <semaphore.h> | ||
25 | |||
26 | #include "headers/OMX_Video.h" | ||
27 | -- | ||
28 | 2.42.0 | ||
29 | |||
diff --git a/recipes-multimedia/imx-vpuwrap/imx-vpuwrap_git.bb b/recipes-multimedia/imx-vpuwrap/imx-vpuwrap_git.bb index af15e7b1b..bae9c928b 100644 --- a/recipes-multimedia/imx-vpuwrap/imx-vpuwrap_git.bb +++ b/recipes-multimedia/imx-vpuwrap/imx-vpuwrap_git.bb | |||
@@ -10,7 +10,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=2827219e81f28aba7c6a569f7c437fa7" | |||
10 | DEPENDS = "virtual/imxvpu" | 10 | DEPENDS = "virtual/imxvpu" |
11 | DEPENDS:append:mx8mp-nxp-bsp = " imx-vpu-hantro-vc" | 11 | DEPENDS:append:mx8mp-nxp-bsp = " imx-vpu-hantro-vc" |
12 | 12 | ||
13 | SRC_URI = "git://github.com/NXP/imx-vpuwrap.git;protocol=https;branch=${SRCBRANCH}" | 13 | SRC_URI = " \ |
14 | git://github.com/NXP/imx-vpuwrap.git;protocol=https;branch=${SRCBRANCH} \ | ||
15 | file://0001-vpu_wrapper_hantro_encoder-add-sys-time.h-for-gettim.patch \ | ||
16 | " | ||
14 | SRCBRANCH = "MM_04.08.03_2312_L6.6.y" | 17 | SRCBRANCH = "MM_04.08.03_2312_L6.6.y" |
15 | SRCREV = "f974cecdb00b4a214e4b5229f2279e772ee43306" | 18 | SRCREV = "f974cecdb00b4a214e4b5229f2279e772ee43306" |
16 | 19 | ||