summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--classes/fsl-kernel-localversion.bbclass2
-rw-r--r--classes/mfgtool-initramfs-image.bbclass1
-rw-r--r--conf/machine/include/imx-base.inc13
-rw-r--r--dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc_git.bb4
-rw-r--r--dynamic-layers/openembedded-layer/recipes-multimedia/mpv/mpv_%.bbappend2
-rw-r--r--recipes-bsp/alsa-state/alsa-state.bbappend2
-rw-r--r--recipes-bsp/atf/qoriq-atf/tf-a-tests-no-warn-rwx-segments.patch1
-rw-r--r--recipes-bsp/boot-format/boot-format/flags.patch7
-rw-r--r--recipes-bsp/imx-atf/imx-atf_2.6.bb2
-rw-r--r--recipes-bsp/imx-kobs/imx-kobs/0001-Add-missing-includes-as-pointed-out-by-musl.patch1
-rw-r--r--recipes-bsp/imx-sc-firmware/imx-sc-firmware_1.15.0.bb2
-rw-r--r--recipes-bsp/isp-imx/basler-camera_4.2.2.21.0.bb4
-rw-r--r--recipes-bsp/mxsldr/mxsldr/0001-Do-not-ignore-OE-cflags-and-ldflags.patch1
-rw-r--r--recipes-downgrade/vulkan/vulkan-headers_1.2.182.0.imx.bb (renamed from recipes-downgrade/vulkan/vulkan-headers_1.2.182.0.bb)0
-rw-r--r--recipes-downgrade/vulkan/vulkan-loader_1.2.182.0.imx.bb (renamed from recipes-downgrade/vulkan/vulkan-loader_1.2.182.0.bb)0
-rw-r--r--recipes-downgrade/vulkan/vulkan-tools_1.2.182.0.imx.bb (renamed from recipes-downgrade/vulkan/vulkan-tools_1.2.182.0.bb)0
-rw-r--r--recipes-downgrade/vulkan/vulkan-validation-layers_1.2.182.0.imx.bb52
-rw-r--r--recipes-dpaa/eth-config/eth-config_git.bb4
-rw-r--r--recipes-dpaa/fm-ucode/fm-ucode_git.bb4
-rw-r--r--recipes-dpaa/fmlib/fmlib_git.bb7
-rw-r--r--recipes-dpaa2/gpp-aioptool/gpp-aioptool/0001-remove-libio.h.patch1
-rw-r--r--recipes-dpaa2/restool/files/disable-manpage-generation.patch1
-rw-r--r--recipes-extended/dpdk/dpdk-20.11/0001-drivers-net-enetfec-enet_uio.c-fix-multiple-definiti.patch1
-rw-r--r--recipes-extended/dpdk/dpdk/0001-Add-RTE_KERNELDIR_OUT.patch1
-rw-r--r--recipes-extended/dpdk/dpdk/0001-add-Wno-cast-function-type.patch1
-rw-r--r--recipes-extended/dpdk/dpdk/0005-use-python3-instead-of-python.patch5
-rw-r--r--recipes-extended/ipc-ust/ipc-ust/Makefile-use-LDFLAGS-if-set.patch1
-rw-r--r--recipes-extended/odp/odp/0001-Fix-this-build-error.patch1
-rw-r--r--recipes-extended/pktgen-dpdk/files/fix-gcc11-mismatched-dealloc-error.patch1
-rw-r--r--recipes-extended/skmm-ep/skmm-ep/add-two-missing-header-files.patch3
-rw-r--r--recipes-extended/testfloat/files/SoftFloat-powerpc-1.patch1
-rw-r--r--recipes-extended/testfloat/files/TestFloat-powerpc-E500v2-SPE-1.patch1
-rw-r--r--recipes-extended/testfloat/files/Yocto-replace-COMPILE_PREFIX-gcc.patch1
-rw-r--r--recipes-extended/tsntool/tsntool/0001-tsntool-remove-redundant-parameters-from-BIN_LDFLAGS.patch29
-rw-r--r--recipes-extended/tsntool/tsntool_git.bb6
-rw-r--r--recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc13
-rw-r--r--recipes-graphics/imx-gpu-viv/imx-gpu-viv/imx_icd.json2
-rw-r--r--recipes-graphics/mesa/mesa-demos/Replace-glWindowPos2iARB-calls-with-glWindowPos2i.patch2
-rw-r--r--recipes-graphics/mesa/mesa-demos/fix-clear-build-break.patch1
-rw-r--r--recipes-graphics/vulkan/vulkan-loader_1.2.182.0.imx.bbappend (renamed from recipes-graphics/vulkan/vulkan-loader_1.2.182.0.bbappend)0
-rw-r--r--recipes-graphics/wayland/wayland/0001-build-Fix-strndup-detection-on-MinGW.patch41
-rw-r--r--recipes-graphics/wayland/wayland/run-ptest17
-rw-r--r--recipes-graphics/wayland/wayland_1.22.0.imx.bb67
-rw-r--r--recipes-graphics/wayland/weston-10.0.3.imx/0001-Revert-protocol-no-found-wayland-scanner-with-Yocto-.patch1
-rw-r--r--recipes-graphics/wayland/weston-init.bbappend9
-rw-r--r--recipes-graphics/wayland/weston/0001-Revert-protocol-no-found-wayland-scanner-with-Yocto-.patch1
-rw-r--r--recipes-graphics/xorg-xserver/xserver-xorg/0001-Allow-to-enable-atomic-in-modesetting-DDX.patch1
-rw-r--r--recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv/Add-makefile.patch4
-rw-r--r--recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-v4l2-Include-gst-allocators-gstdmabuf.h-for-gst_is_d.patch32
-rw-r--r--recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.20.3.imx.bb1
-rw-r--r--recipes-multimedia/gstreamer/gstreamer1.0-python_1.20.3.imx.bb2
-rw-r--r--recipes-multimedia/libimxvpuapi/libimxvpuapi2_2.2.2.bb2
-rw-r--r--recipes-multimedia/pulseaudio/pulseaudio/imx-nxp-bsp/0001-Fix-pulseaudio-mutex-issue-when-do-pause-in-gstreame.patch2
-rwxr-xr-xrecipes-multimedia/tinycompress/tinycompress/0001-tinycompress-Add-id3-decoding.patch1
-rw-r--r--recipes-support/opencv/opencv/0001-3rdparty-ippicv-Use-pre-downloaded-ipp.patch1
-rw-r--r--recipes-support/opencv/opencv/0001-Add-smaller-version-of-download_models.py.patch1
-rw-r--r--recipes-support/opencv/opencv/0001-Temporarliy-work-around-deprecated-ffmpeg-RAW-functi.patch1
-rw-r--r--recipes-support/opencv/opencv/0003-To-fix-errors-as-following.patch1
58 files changed, 340 insertions, 26 deletions
diff --git a/classes/fsl-kernel-localversion.bbclass b/classes/fsl-kernel-localversion.bbclass
index d4322e25..98fcfa05 100644
--- a/classes/fsl-kernel-localversion.bbclass
+++ b/classes/fsl-kernel-localversion.bbclass
@@ -20,7 +20,7 @@ do_kernel_localversion() {
20 20
21 # Fallback for recipes not able to use LINUX_VERSION_EXTENSION 21 # Fallback for recipes not able to use LINUX_VERSION_EXTENSION
22 if [ "${@bb.data.inherits_class('kernel-yocto', d)}" = "False" ]; then 22 if [ "${@bb.data.inherits_class('kernel-yocto', d)}" = "False" ]; then
23 echo "CONFIG_LOCALVERSION=${LOCALVERSION}" >> ${B}/.config 23 echo 'CONFIG_LOCALVERSION="${LOCALVERSION}"' >> ${B}/.config
24 fi 24 fi
25 25
26 if [ "${SCMVERSION}" = "y" ]; then 26 if [ "${SCMVERSION}" = "y" ]; then
diff --git a/classes/mfgtool-initramfs-image.bbclass b/classes/mfgtool-initramfs-image.bbclass
index 185863ce..f338bf82 100644
--- a/classes/mfgtool-initramfs-image.bbclass
+++ b/classes/mfgtool-initramfs-image.bbclass
@@ -16,6 +16,7 @@ ZSTD_COMPRESSION_LEVEL ?= "-10"
16SOC_DEFAULT_IMAGE_FSTYPES = "cpio.zst.u-boot" 16SOC_DEFAULT_IMAGE_FSTYPES = "cpio.zst.u-boot"
17SOC_DEFAULT_IMAGE_FSTYPES:mxs-generic-bsp = "cpio.gz.u-boot" 17SOC_DEFAULT_IMAGE_FSTYPES:mxs-generic-bsp = "cpio.gz.u-boot"
18IMAGE_ROOTFS_SIZE ?= "8192" 18IMAGE_ROOTFS_SIZE ?= "8192"
19IMAGE_NAME_SUFFIX = ""
19 20
20# Filesystems enabled by default 21# Filesystems enabled by default
21DEFAULT_FS_SUPPORT = " \ 22DEFAULT_FS_SUPPORT = " \
diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc
index 18fe65f6..990b965d 100644
--- a/conf/machine/include/imx-base.inc
+++ b/conf/machine/include/imx-base.inc
@@ -249,7 +249,7 @@ MACHINEOVERRIDES_EXTENDER:mx8dxl:use-mainline-bsp = "imx-generic-bsp:imx-mainlin
249 249
250MACHINEOVERRIDES_EXTENDER:mx8ulp:use-mainline-bsp = "imx-generic-bsp:imx-mainline-bsp:mx8-generic-bsp:mx8-mainline-bsp:mx8ulp-generic-bsp:mx8ulp-mainline-bsp" 250MACHINEOVERRIDES_EXTENDER:mx8ulp:use-mainline-bsp = "imx-generic-bsp:imx-mainline-bsp:mx8-generic-bsp:mx8-mainline-bsp:mx8ulp-generic-bsp:mx8ulp-mainline-bsp"
251 251
252MACHINEOVERRIDES_EXTENDER:mx93:use-mainline-bsp = "imx-generic-bsp:imx-mainline-bsp:imxdrm:imxpxp:mx9-generic-bsp:mx9-mainline-bsp:mx93-generic-bsp:mx93-mainline-bsp" 252MACHINEOVERRIDES_EXTENDER:mx93:use-mainline-bsp = "imx-generic-bsp:imx-mainline-bsp:mx9-generic-bsp:mx9-mainline-bsp:mx93-generic-bsp:mx93-mainline-bsp"
253 253
254MACHINEOVERRIDES_EXTENDER_FILTER_OUT = " \ 254MACHINEOVERRIDES_EXTENDER_FILTER_OUT = " \
255 mx6 \ 255 mx6 \
@@ -329,6 +329,7 @@ MACHINE_SOCARCH_FILTER:append:imxvulkan = " \
329 vulkan-headers \ 329 vulkan-headers \
330 vulkan-loader \ 330 vulkan-loader \
331 vulkan-tools \ 331 vulkan-tools \
332 vulkan-validation-layers \
332" 333"
333MACHINE_SOCARCH_FILTER:append:imxgpu = " \ 334MACHINE_SOCARCH_FILTER:append:imxgpu = " \
334 virtual/egl \ 335 virtual/egl \
@@ -526,6 +527,9 @@ PREFERRED_VERSION_wayland-protocols:mx7-nxp-bsp ??= "1.31.imx"
526PREFERRED_VERSION_wayland-protocols:mx8-nxp-bsp ??= "1.31.imx" 527PREFERRED_VERSION_wayland-protocols:mx8-nxp-bsp ??= "1.31.imx"
527PREFERRED_VERSION_wayland-protocols:mx9-nxp-bsp ??= "1.31.imx" 528PREFERRED_VERSION_wayland-protocols:mx9-nxp-bsp ??= "1.31.imx"
528 529
530PREFERRED_VERSION_wayland-native ??= "1.22.0.imx"
531PREFERRED_VERSION_nativesdk-wayland ??= "1.22.0.imx"
532PREFERRED_VERSION_wayland:imx-nxp-bsp ??= "1.22.0.imx"
529PREFERRED_VERSION_xwayland:imx-nxp-bsp ??= "23.1.1.imx" 533PREFERRED_VERSION_xwayland:imx-nxp-bsp ??= "23.1.1.imx"
530 534
531# Use i.MX libdrm Version 535# Use i.MX libdrm Version
@@ -534,9 +538,10 @@ PREFERRED_VERSION_libdrm:mx7-nxp-bsp ??= "2.4.114.imx"
534PREFERRED_VERSION_libdrm:mx8-nxp-bsp ??= "2.4.114.imx" 538PREFERRED_VERSION_libdrm:mx8-nxp-bsp ??= "2.4.114.imx"
535PREFERRED_VERSION_libdrm:mx9-nxp-bsp ??= "2.4.114.imx" 539PREFERRED_VERSION_libdrm:mx9-nxp-bsp ??= "2.4.114.imx"
536 540
537PREFERRED_VERSION_vulkan-headers:imxvulkan ??= "1.2.182.0" 541PREFERRED_VERSION_vulkan-headers:imxvulkan ??= "1.2.182.0.imx"
538PREFERRED_VERSION_vulkan-loader:imxvulkan ??= "1.2.182.0" 542PREFERRED_VERSION_vulkan-loader:imxvulkan ??= "1.2.182.0.imx"
539PREFERRED_VERSION_vulkan-tools:imxvulkan ??= "1.2.182.0" 543PREFERRED_VERSION_vulkan-tools:imxvulkan ??= "1.2.182.0.imx"
544PREFERRED_VERSION_vulkan-validation-layers:imxvulkan ??= "1.2.182.0.imx"
540 545
541# Use i.MX optee Version 546# Use i.MX optee Version
542PREFERRED_VERSION_optee-os:mx8-nxp-bsp ??= "3.19.0.imx" 547PREFERRED_VERSION_optee-os:mx8-nxp-bsp ??= "3.19.0.imx"
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 0b5031d5..62a71772 100644
--- a/dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc_git.bb
+++ b/dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc_git.bb
@@ -1,13 +1,13 @@
1SUMMARY = "Frame Manager Configuration tool" 1SUMMARY = "Frame Manager Configuration tool"
2LICENSE = "MIT" 2LICENSE = "MIT"
3LIC_FILES_CHKSUM = "file://COPYING;md5=a504ab5a8ff235e67c7301214749346c" 3LIC_FILES_CHKSUM = "file://LICENSE;md5=a504ab5a8ff235e67c7301214749346c"
4 4
5PR = "r2" 5PR = "r2"
6 6
7DEPENDS = "libxml2 fmlib tclap" 7DEPENDS = "libxml2 fmlib tclap"
8 8
9SRC_URI = "git://github.com/nxp-qoriq/fmc;protocol=https;nobranch=1" 9SRC_URI = "git://github.com/nxp-qoriq/fmc;protocol=https;nobranch=1"
10SRCREV = "c2ed7c269e86ac6a0aac361f5876c96e700443f4" 10SRCREV = "63c8ac99899a9bcd723801579b4d786594670455"
11 11
12S = "${WORKDIR}/git" 12S = "${WORKDIR}/git"
13 13
diff --git a/dynamic-layers/openembedded-layer/recipes-multimedia/mpv/mpv_%.bbappend b/dynamic-layers/openembedded-layer/recipes-multimedia/mpv/mpv_%.bbappend
new file mode 100644
index 00000000..5cf6d411
--- /dev/null
+++ b/dynamic-layers/openembedded-layer/recipes-multimedia/mpv/mpv_%.bbappend
@@ -0,0 +1,2 @@
1# testbuild/../test.c:10: undefined reference to `glXCreateContext'
2PACKAGECONFIG:remove:imxgpu = "x11"
diff --git a/recipes-bsp/alsa-state/alsa-state.bbappend b/recipes-bsp/alsa-state/alsa-state.bbappend
index 1b05b7bd..b6194d76 100644
--- a/recipes-bsp/alsa-state/alsa-state.bbappend
+++ b/recipes-bsp/alsa-state/alsa-state.bbappend
@@ -1,4 +1,4 @@
1# Prepend path to override files from upstream recipe 1# Prepend path to override files from upstream recipe
2FILESEXTRAPATHS:prepend:imx-generic-bsp := "${THISDIR}/${PN}/imx-generic-bsp:" 2FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
3 3
4PACKAGE_ARCH:imx-generic-bsp = "${MACHINE_ARCH}" 4PACKAGE_ARCH:imx-generic-bsp = "${MACHINE_ARCH}"
diff --git a/recipes-bsp/atf/qoriq-atf/tf-a-tests-no-warn-rwx-segments.patch b/recipes-bsp/atf/qoriq-atf/tf-a-tests-no-warn-rwx-segments.patch
index 8412499e..a8801082 100644
--- a/recipes-bsp/atf/qoriq-atf/tf-a-tests-no-warn-rwx-segments.patch
+++ b/recipes-bsp/atf/qoriq-atf/tf-a-tests-no-warn-rwx-segments.patch
@@ -11,6 +11,7 @@ There is a ticket filed upstream[2], so until that is resolved just disable the
11[1] https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=ba951afb99912da01a6e8434126b8fac7aa75107 11[1] https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=ba951afb99912da01a6e8434126b8fac7aa75107
12[2] https://developer.trustedfirmware.org/T996 12[2] https://developer.trustedfirmware.org/T996
13 13
14Upstream-Status: Backport [https://review.trustedfirmware.org/c/TF-A/trusted-firmware-a/+/19401]
14Signed-off-by: Jun Zhu <junzhu@nxp.com> 15Signed-off-by: Jun Zhu <junzhu@nxp.com>
15--- 16---
16 Makefile | 2 +- 17 Makefile | 2 +-
diff --git a/recipes-bsp/boot-format/boot-format/flags.patch b/recipes-bsp/boot-format/boot-format/flags.patch
index cddb34cd..0a64b86b 100644
--- a/recipes-bsp/boot-format/boot-format/flags.patch
+++ b/recipes-bsp/boot-format/boot-format/flags.patch
@@ -1,3 +1,10 @@
1Respect LDFLAGS from environment
2
3This fixes cross build using OE
4
5Upstream-Status: Pending
6Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
7
1Index: git/Makefile 8Index: git/Makefile
2=================================================================== 9===================================================================
3--- git.orig/Makefile 10--- git.orig/Makefile
diff --git a/recipes-bsp/imx-atf/imx-atf_2.6.bb b/recipes-bsp/imx-atf/imx-atf_2.6.bb
index ea83b9e8..40b13fff 100644
--- a/recipes-bsp/imx-atf/imx-atf_2.6.bb
+++ b/recipes-bsp/imx-atf/imx-atf_2.6.bb
@@ -48,7 +48,7 @@ def remove_options_tail (in_string):
48 from itertools import takewhile 48 from itertools import takewhile
49 return ' '.join(takewhile(lambda x: not x.startswith('-'), in_string.split(' '))) 49 return ' '.join(takewhile(lambda x: not x.startswith('-'), in_string.split(' ')))
50 50
51EXTRA_OEMAKE += 'LD="${@remove_options_tail(d.getVar('LD'))}"' 51EXTRA_OEMAKE += 'LD="${@remove_options_tail(d.getVar('LD'))}.bfd"'
52 52
53EXTRA_OEMAKE += 'CC="${@remove_options_tail(d.getVar('CC'))}"' 53EXTRA_OEMAKE += 'CC="${@remove_options_tail(d.getVar('CC'))}"'
54 54
diff --git a/recipes-bsp/imx-kobs/imx-kobs/0001-Add-missing-includes-as-pointed-out-by-musl.patch b/recipes-bsp/imx-kobs/imx-kobs/0001-Add-missing-includes-as-pointed-out-by-musl.patch
index 9c86f074..297e64e2 100644
--- a/recipes-bsp/imx-kobs/imx-kobs/0001-Add-missing-includes-as-pointed-out-by-musl.patch
+++ b/recipes-bsp/imx-kobs/imx-kobs/0001-Add-missing-includes-as-pointed-out-by-musl.patch
@@ -6,6 +6,7 @@ Subject: [PATCH] Add missing includes as pointed out by musl
6These headers are indrectly included when building with 6These headers are indrectly included when building with
7glibc, this is exposed when compiling with musl systems 7glibc, this is exposed when compiling with musl systems
8 8
9Upstream-Status: Pending
9Signed-off-by: Khem Raj <raj.khem@gmail.com> 10Signed-off-by: Khem Raj <raj.khem@gmail.com>
10--- 11---
11 src/mtd.h | 3 +++ 12 src/mtd.h | 3 +++
diff --git a/recipes-bsp/imx-sc-firmware/imx-sc-firmware_1.15.0.bb b/recipes-bsp/imx-sc-firmware/imx-sc-firmware_1.15.0.bb
index 7da55ddb..24236a16 100644
--- a/recipes-bsp/imx-sc-firmware/imx-sc-firmware_1.15.0.bb
+++ b/recipes-bsp/imx-sc-firmware/imx-sc-firmware_1.15.0.bb
@@ -38,4 +38,6 @@ INHIBIT_PACKAGE_STRIP = "1"
38INHIBIT_PACKAGE_DEBUG_SPLIT = "1" 38INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
39PACKAGE_ARCH = "${MACHINE_ARCH}" 39PACKAGE_ARCH = "${MACHINE_ARCH}"
40 40
41LDFLAGS:remove = "-fuse-ld=lld"
42
41COMPATIBLE_MACHINE = "(mx8qm-generic-bsp|mx8qxp-generic-bsp|mx8dxl-generic-bsp|mx8dx-generic-bsp)" 43COMPATIBLE_MACHINE = "(mx8qm-generic-bsp|mx8qxp-generic-bsp|mx8dxl-generic-bsp|mx8dx-generic-bsp)"
diff --git a/recipes-bsp/isp-imx/basler-camera_4.2.2.21.0.bb b/recipes-bsp/isp-imx/basler-camera_4.2.2.21.0.bb
index 78a666c6..9eaa11b8 100644
--- a/recipes-bsp/isp-imx/basler-camera_4.2.2.21.0.bb
+++ b/recipes-bsp/isp-imx/basler-camera_4.2.2.21.0.bb
@@ -12,6 +12,10 @@ SRC_URI[md5sum] = "4e33adeb8a43f5bd06703368721085f5"
12SRC_URI[sha256sum] = "c44fc890902d9d8ef22186d56af035c9cac182817525e64575e3b79015383790" 12SRC_URI[sha256sum] = "c44fc890902d9d8ef22186d56af035c9cac182817525e64575e3b79015383790"
13 13
14do_install() { 14do_install() {
15 # provided by the isp-imx package, do not install them here additionally
16 rm -f ${S}/opt/imx8-isp/bin/dewarp_config/sensor_dwe_os08a20_1080P_config.json
17 rm -f ${S}/opt/imx8-isp/bin/dewarp_config/sensor_dwe_os08a20_4K_config.json
18
15 dest_dir=${D}/opt/imx8-isp/bin 19 dest_dir=${D}/opt/imx8-isp/bin
16 install -d ${D}/${libdir} 20 install -d ${D}/${libdir}
17 install -d $dest_dir 21 install -d $dest_dir
diff --git a/recipes-bsp/mxsldr/mxsldr/0001-Do-not-ignore-OE-cflags-and-ldflags.patch b/recipes-bsp/mxsldr/mxsldr/0001-Do-not-ignore-OE-cflags-and-ldflags.patch
index c8c8413a..e1be2318 100644
--- a/recipes-bsp/mxsldr/mxsldr/0001-Do-not-ignore-OE-cflags-and-ldflags.patch
+++ b/recipes-bsp/mxsldr/mxsldr/0001-Do-not-ignore-OE-cflags-and-ldflags.patch
@@ -3,6 +3,7 @@ From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 25 Sep 2018 01:23:02 -0700 3Date: Tue, 25 Sep 2018 01:23:02 -0700
4Subject: [PATCH] Do not ignore OE cflags and ldflags 4Subject: [PATCH] Do not ignore OE cflags and ldflags
5 5
6Upstream-Status: Pending
6Signed-off-by: Khem Raj <raj.khem@gmail.com> 7Signed-off-by: Khem Raj <raj.khem@gmail.com>
7--- 8---
8 Makefile | 4 ++-- 9 Makefile | 4 ++--
diff --git a/recipes-downgrade/vulkan/vulkan-headers_1.2.182.0.bb b/recipes-downgrade/vulkan/vulkan-headers_1.2.182.0.imx.bb
index 7c7d3e39..7c7d3e39 100644
--- a/recipes-downgrade/vulkan/vulkan-headers_1.2.182.0.bb
+++ b/recipes-downgrade/vulkan/vulkan-headers_1.2.182.0.imx.bb
diff --git a/recipes-downgrade/vulkan/vulkan-loader_1.2.182.0.bb b/recipes-downgrade/vulkan/vulkan-loader_1.2.182.0.imx.bb
index e7b38222..e7b38222 100644
--- a/recipes-downgrade/vulkan/vulkan-loader_1.2.182.0.bb
+++ b/recipes-downgrade/vulkan/vulkan-loader_1.2.182.0.imx.bb
diff --git a/recipes-downgrade/vulkan/vulkan-tools_1.2.182.0.bb b/recipes-downgrade/vulkan/vulkan-tools_1.2.182.0.imx.bb
index 242b8973..242b8973 100644
--- a/recipes-downgrade/vulkan/vulkan-tools_1.2.182.0.bb
+++ b/recipes-downgrade/vulkan/vulkan-tools_1.2.182.0.imx.bb
diff --git a/recipes-downgrade/vulkan/vulkan-validation-layers_1.2.182.0.imx.bb b/recipes-downgrade/vulkan/vulkan-validation-layers_1.2.182.0.imx.bb
new file mode 100644
index 00000000..d72a22f5
--- /dev/null
+++ b/recipes-downgrade/vulkan/vulkan-validation-layers_1.2.182.0.imx.bb
@@ -0,0 +1,52 @@
1SUMMARY = "Vulkan Validation layers"
2DESCRIPTION = "Khronos official Vulkan validation layers to assist developers \
3in verifying that their applications correctly use the Vulkan API"
4HOMEPAGE = "https://www.khronos.org/vulkan/"
5BUGTRACKER = "https://github.com/KhronosGroup/Vulkan-ValidationLayers"
6SECTION = "libs"
7
8LICENSE = "Apache-2.0"
9LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=8df9e8826734226d08cb412babfa599c"
10
11SRC_URI = "git://git@github.com/KhronosGroup/Vulkan-ValidationLayers.git;branch=sdk-1.2.182;protocol=https"
12SRCREV = "91fcffa8eca1a9573c8d736a54a028035ed4e06c"
13
14S = "${WORKDIR}/git"
15
16REQUIRED_DISTRO_FEATURES = "vulkan"
17
18DEPENDS = "vulkan-headers vulkan-loader spirv-headers spirv-tools glslang"
19
20# BUILD_TESTS - Not required for OE builds
21# BUILD_WERROR - There are too many compiler warnings/errors due to upgrades in version
22# of clang. Requiring a number of patches from upstream. Disable compiler
23# -Werror to bypass build issues.
24# USE_ROBIN_HOOD_HASHING - Provides substantial performance improvements on all platforms.
25# Yocto project doesn't contain a recipe for package so disabled it.
26EXTRA_OECMAKE = "\
27 -DBUILD_TESTS=OFF \
28 -DBUILD_WERROR=OFF \
29 -DUSE_ROBIN_HOOD_HASHING=OFF \
30 -DGLSLANG_INSTALL_DIR=${STAGING_DATADIR} \
31 -DVULKAN_HEADERS_INSTALL_DIR=${STAGING_EXECPREFIXDIR} \
32 -DSPIRV_HEADERS_INSTALL_DIR=${STAGING_EXECPREFIXDIR} \
33 "
34
35PACKAGECONFIG[x11] = "-DBUILD_WSI_XLIB_SUPPORT=ON -DBUILD_WSI_XCB_SUPPORT=ON, -DBUILD_WSI_XLIB_SUPPORT=OFF -DBUILD_WSI_XCB_SUPPORT=OFF, libxcb libx11 libxrandr"
36PACKAGECONFIG[wayland] = "-DBUILD_WSI_WAYLAND_SUPPORT=ON, -DBUILD_WSI_WAYLAND_SUPPORT=OFF, wayland"
37
38PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'x11 wayland', d)}"
39
40inherit cmake features_check pkgconfig
41
42FILES:${PN} += "${datadir}/vulkan"
43
44SOLIBS = ".so"
45FILES_SOLIBSDEV = ""
46
47# These recipes need to be updated in lockstep with each other:
48# glslang, vulkan-headers, vulkan-loader, vulkan-tools,
49# vulkan-validation-layers, spirv-headers, spirv-tools
50# The tags versions should always be sdk-x.y.z, as this is what
51# upstream considers a release.
52UPSTREAM_CHECK_GITTAGREGEX = "sdk-(?P<pver>\d+(\.\d+)+)"
diff --git a/recipes-dpaa/eth-config/eth-config_git.bb b/recipes-dpaa/eth-config/eth-config_git.bb
index 06e4382f..aee2e234 100644
--- a/recipes-dpaa/eth-config/eth-config_git.bb
+++ b/recipes-dpaa/eth-config/eth-config_git.bb
@@ -1,12 +1,12 @@
1DESCRIPTION = "Ethernet Configuration Files" 1DESCRIPTION = "Ethernet Configuration Files"
2SECTION = "eth-config" 2SECTION = "eth-config"
3LICENSE = "BSD-3-Clause & GPL-2.0-or-later" 3LICENSE = "BSD-3-Clause & GPL-2.0-or-later"
4LIC_FILES_CHKSUM = "file://COPYING;md5=47716bd5b656aa5e298a132a64d2d1e4" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=47716bd5b656aa5e298a132a64d2d1e4"
5 5
6PR = "r2" 6PR = "r2"
7 7
8SRC_URI = "git://github.com/nxp-qoriq/eth-config;protocol=https;nobranch=1" 8SRC_URI = "git://github.com/nxp-qoriq/eth-config;protocol=https;nobranch=1"
9SRCREV = "6164664070e45810c793f112781ebcedc979e132" 9SRCREV = "00fa9c6db5813735676b30b1516e30a460d61b28"
10 10
11S = "${WORKDIR}/git" 11S = "${WORKDIR}/git"
12 12
diff --git a/recipes-dpaa/fm-ucode/fm-ucode_git.bb b/recipes-dpaa/fm-ucode/fm-ucode_git.bb
index c7eb7319..22f04d01 100644
--- a/recipes-dpaa/fm-ucode/fm-ucode_git.bb
+++ b/recipes-dpaa/fm-ucode/fm-ucode_git.bb
@@ -1,14 +1,14 @@
1DESCRIPTION = "Fman microcode binary" 1DESCRIPTION = "Fman microcode binary"
2SECTION = "fm-ucode" 2SECTION = "fm-ucode"
3LICENSE = "NXP-Binary-EULA" 3LICENSE = "NXP-Binary-EULA"
4LIC_FILES_CHKSUM = "file://NXP-Binary-EULA.txt;md5=12e248d404ce1ea8bed0148fcf127e69" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=12e248d404ce1ea8bed0148fcf127e69"
5 5
6PR = "r1" 6PR = "r1"
7 7
8inherit deploy 8inherit deploy
9 9
10SRC_URI = "git://github.com/NXP/qoriq-fm-ucode.git;nobranch=1;protocol=https" 10SRC_URI = "git://github.com/NXP/qoriq-fm-ucode.git;nobranch=1;protocol=https"
11SRCREV = "83e8467a356316265c7695bdc7741f23066795aa" 11SRCREV = "41d603a1ad78e0bb61365500828d9f484bf9bf10"
12 12
13S = "${WORKDIR}/git" 13S = "${WORKDIR}/git"
14 14
diff --git a/recipes-dpaa/fmlib/fmlib_git.bb b/recipes-dpaa/fmlib/fmlib_git.bb
index 98f5c0d7..71ad3df1 100644
--- a/recipes-dpaa/fmlib/fmlib_git.bb
+++ b/recipes-dpaa/fmlib/fmlib_git.bb
@@ -1,15 +1,18 @@
1DESCRIPTION = "Frame Manager User Space Library" 1DESCRIPTION = "Frame Manager User Space Library"
2SECTION = "fman" 2SECTION = "fman"
3LICENSE = "BSD-3-Clause & GPL-2.0-only" 3LICENSE = "BSD-3-Clause & GPL-2.0-only"
4LIC_FILES_CHKSUM = "file://COPYING;md5=9c7bd5e45d066db084bdb3543d55b1ac" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=9c7bd5e45d066db084bdb3543d55b1ac"
5 5
6PR = "r1" 6PR = "r1"
7 7
8SRC_URI = "git://github.com/nxp-qoriq/fmlib;protocol=https;nobranch=1" 8SRC_URI = "git://github.com/nxp-qoriq/fmlib;protocol=https;nobranch=1"
9SRCREV = "69a70474cd8411d5a099c34f40760b6567d781d6" 9SRCREV = "9fb916f255214013aa6003496c47bab0b5add2d9"
10 10
11S = "${WORKDIR}/git" 11S = "${WORKDIR}/git"
12 12
13CFLAGS += "-fmacro-prefix-map=${STAGING_KERNEL_DIR}=/usr/src/debug/fmlib/git-r1 \
14 -fdebug-prefix-map=${STAGING_KERNEL_DIR}=/usr/src/debug/fmlib/git-r1"
15
13EXTRA_OEMAKE = "DESTDIR=${D} PREFIX=${prefix} LIB_DEST_DIR=${libdir} \ 16EXTRA_OEMAKE = "DESTDIR=${D} PREFIX=${prefix} LIB_DEST_DIR=${libdir} \
14 CROSS_COMPILE=${TARGET_PREFIX} KERNEL_SRC=${STAGING_KERNEL_DIR}" 17 CROSS_COMPILE=${TARGET_PREFIX} KERNEL_SRC=${STAGING_KERNEL_DIR}"
15 18
diff --git a/recipes-dpaa2/gpp-aioptool/gpp-aioptool/0001-remove-libio.h.patch b/recipes-dpaa2/gpp-aioptool/gpp-aioptool/0001-remove-libio.h.patch
index 92b75f76..d8bc30b4 100644
--- a/recipes-dpaa2/gpp-aioptool/gpp-aioptool/0001-remove-libio.h.patch
+++ b/recipes-dpaa2/gpp-aioptool/gpp-aioptool/0001-remove-libio.h.patch
@@ -5,6 +5,7 @@ Subject: [PATCH] remove libio.h
5 5
6update for glibc libio.h removal in 2.28+ 6update for glibc libio.h removal in 2.28+
7 7
8Upstream-Status: Pending
8Signed-off-by: BJ DevOps Team <bjdevops@NXP1.onmicrosoft.com> 9Signed-off-by: BJ DevOps Team <bjdevops@NXP1.onmicrosoft.com>
9--- 10---
10 flib/mc/fsl_mc_sys.h | 1 - 11 flib/mc/fsl_mc_sys.h | 1 -
diff --git a/recipes-dpaa2/restool/files/disable-manpage-generation.patch b/recipes-dpaa2/restool/files/disable-manpage-generation.patch
index ec512830..34f2ae2d 100644
--- a/recipes-dpaa2/restool/files/disable-manpage-generation.patch
+++ b/recipes-dpaa2/restool/files/disable-manpage-generation.patch
@@ -3,6 +3,7 @@ From: Ting Liu <ting.liu@nxp.com>
3Date: Fri, 15 Oct 2021 09:36:04 +0530 3Date: Fri, 15 Oct 2021 09:36:04 +0530
4Subject: [PATCH] disable manpage generation 4Subject: [PATCH] disable manpage generation
5 5
6Upstream-Status: Inappropriate [Cross-compile specific]
6Signed-off-by: Ting Liu <ting.liu@nxp.com> 7Signed-off-by: Ting Liu <ting.liu@nxp.com>
7--- 8---
8 Makefile | 1 - 9 Makefile | 1 -
diff --git a/recipes-extended/dpdk/dpdk-20.11/0001-drivers-net-enetfec-enet_uio.c-fix-multiple-definiti.patch b/recipes-extended/dpdk/dpdk-20.11/0001-drivers-net-enetfec-enet_uio.c-fix-multiple-definiti.patch
index f19b2b32..f88b6484 100644
--- a/recipes-extended/dpdk/dpdk-20.11/0001-drivers-net-enetfec-enet_uio.c-fix-multiple-definiti.patch
+++ b/recipes-extended/dpdk/dpdk-20.11/0001-drivers-net-enetfec-enet_uio.c-fix-multiple-definiti.patch
@@ -7,6 +7,7 @@ Subject: [PATCH] drivers/net/enetfec/enet_uio.c: fix multiple definition
7.../examples/flow_classify/flow_classify.c:170: first defined here 7.../examples/flow_classify/flow_classify.c:170: first defined here
8collect2: error: ld returned 1 exit status 8collect2: error: ld returned 1 exit status
9 9
10Upstream-Status: Pending
10Signed-off-by: Ting Liu <ting.liu@nxp.com> 11Signed-off-by: Ting Liu <ting.liu@nxp.com>
11--- 12---
12 drivers/net/enetfec/enet_uio.c | 2 +- 13 drivers/net/enetfec/enet_uio.c | 2 +-
diff --git a/recipes-extended/dpdk/dpdk/0001-Add-RTE_KERNELDIR_OUT.patch b/recipes-extended/dpdk/dpdk/0001-Add-RTE_KERNELDIR_OUT.patch
index 5ee48a59..383b9085 100644
--- a/recipes-extended/dpdk/dpdk/0001-Add-RTE_KERNELDIR_OUT.patch
+++ b/recipes-extended/dpdk/dpdk/0001-Add-RTE_KERNELDIR_OUT.patch
@@ -3,6 +3,7 @@ From: Chunrong Guo <chunrong.guo@nxp.com>
3Date: Wed, 3 Jul 2019 08:50:45 +0200 3Date: Wed, 3 Jul 2019 08:50:45 +0200
4Subject: [PATCH] Add RTE_KERNELDIR_OUT 4Subject: [PATCH] Add RTE_KERNELDIR_OUT
5 5
6Upstream-Status: Pending
6Signed-off-by: C.r. Guo <nxa13725@lsv07004.swis.us-cdc01.nxp.com> 7Signed-off-by: C.r. Guo <nxa13725@lsv07004.swis.us-cdc01.nxp.com>
7--- 8---
8 kernel/linux/kni/Makefile | 2 +- 9 kernel/linux/kni/Makefile | 2 +-
diff --git a/recipes-extended/dpdk/dpdk/0001-add-Wno-cast-function-type.patch b/recipes-extended/dpdk/dpdk/0001-add-Wno-cast-function-type.patch
index fa0eda87..b4b8a548 100644
--- a/recipes-extended/dpdk/dpdk/0001-add-Wno-cast-function-type.patch
+++ b/recipes-extended/dpdk/dpdk/0001-add-Wno-cast-function-type.patch
@@ -4,6 +4,7 @@ Date: Wed, 27 Mar 2019 09:35:43 +0100
4Subject: [PATCH] add -Wno-cast-function-type 4Subject: [PATCH] add -Wno-cast-function-type
5 5
6Upstream-Status: Inappropriate [configuration] 6Upstream-Status: Inappropriate [configuration]
7Signed-off-by: "C.r. Guo" <nxa13725@lsv07005.swis.us-cdc01.nxp.com>
7--- 8---
8 examples/cmdif/lib/Makefile | 2 +- 9 examples/cmdif/lib/Makefile | 2 +-
9 1 file changed, 1 insertion(+), 1 deletion(-) 10 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/recipes-extended/dpdk/dpdk/0005-use-python3-instead-of-python.patch b/recipes-extended/dpdk/dpdk/0005-use-python3-instead-of-python.patch
index 81ca1244..b1bdf09b 100644
--- a/recipes-extended/dpdk/dpdk/0005-use-python3-instead-of-python.patch
+++ b/recipes-extended/dpdk/dpdk/0005-use-python3-instead-of-python.patch
@@ -1,3 +1,8 @@
1Explicitly use python3
2
3Upstream-Status: Pending
4Signed-off-by: Ting Liu <ting.liu@nxp.com>
5
1diff --git a/app/test-bbdev/test-bbdev.py b/app/test-bbdev/test-bbdev.py 6diff --git a/app/test-bbdev/test-bbdev.py b/app/test-bbdev/test-bbdev.py
2index 0194be046..86fe3a89d 100755 7index 0194be046..86fe3a89d 100755
3--- a/app/test-bbdev/test-bbdev.py 8--- a/app/test-bbdev/test-bbdev.py
diff --git a/recipes-extended/ipc-ust/ipc-ust/Makefile-use-LDFLAGS-if-set.patch b/recipes-extended/ipc-ust/ipc-ust/Makefile-use-LDFLAGS-if-set.patch
index e991f70a..6a0d82a6 100644
--- a/recipes-extended/ipc-ust/ipc-ust/Makefile-use-LDFLAGS-if-set.patch
+++ b/recipes-extended/ipc-ust/ipc-ust/Makefile-use-LDFLAGS-if-set.patch
@@ -3,6 +3,7 @@ From: Ting Liu <ting.liu@nxp.com>
3Date: Fri, 12 Aug 2016 10:41:51 +0800 3Date: Fri, 12 Aug 2016 10:41:51 +0800
4Subject: [PATCH] Makefile: use LDFLAGS if set 4Subject: [PATCH] Makefile: use LDFLAGS if set
5 5
6Upstream-Status: Pending
6Signed-off-by: Ting Liu <ting.liu@nxp.com> 7Signed-off-by: Ting Liu <ting.liu@nxp.com>
7--- 8---
8 dsp_boot/Makefile | 6 +++--- 9 dsp_boot/Makefile | 6 +++---
diff --git a/recipes-extended/odp/odp/0001-Fix-this-build-error.patch b/recipes-extended/odp/odp/0001-Fix-this-build-error.patch
index fd276437..cebd7da1 100644
--- a/recipes-extended/odp/odp/0001-Fix-this-build-error.patch
+++ b/recipes-extended/odp/odp/0001-Fix-this-build-error.patch
@@ -6,6 +6,7 @@ Subject: [PATCH] Fix this build error
6fix the below error: 6fix the below error:
7|error: 'SIGEV_THREAD' undeclared (first use in this function); did you mean 'CLONE_THREAD'? 7|error: 'SIGEV_THREAD' undeclared (first use in this function); did you mean 'CLONE_THREAD'?
8 8
9Upstream-Status: Pending
9Signed-off-by: Chunrong Guo <B40290@freescale.com> 10Signed-off-by: Chunrong Guo <B40290@freescale.com>
10--- 11---
11 example/lpm-ipfwd/app/odp_lpmfwd.c | 1 + 12 example/lpm-ipfwd/app/odp_lpmfwd.c | 1 +
diff --git a/recipes-extended/pktgen-dpdk/files/fix-gcc11-mismatched-dealloc-error.patch b/recipes-extended/pktgen-dpdk/files/fix-gcc11-mismatched-dealloc-error.patch
index a2befbd6..e535487f 100644
--- a/recipes-extended/pktgen-dpdk/files/fix-gcc11-mismatched-dealloc-error.patch
+++ b/recipes-extended/pktgen-dpdk/files/fix-gcc11-mismatched-dealloc-error.patch
@@ -26,6 +26,7 @@ Fix build error with gcc 11:
26| | ^~~~~~~~~~~~~~~~~~~~~ 26| | ^~~~~~~~~~~~~~~~~~~~~
27| cc1: all warnings being treated as errors 27| cc1: all warnings being treated as errors
28 28
29Upstream-Status: Pending
29Signed-off-by: Ting Liu <ting.liu@nxp.com> 30Signed-off-by: Ting Liu <ting.liu@nxp.com>
30--- 31---
31 app/pktgen.h | 2 +- 32 app/pktgen.h | 2 +-
diff --git a/recipes-extended/skmm-ep/skmm-ep/add-two-missing-header-files.patch b/recipes-extended/skmm-ep/skmm-ep/add-two-missing-header-files.patch
index 2a7bb9f2..dca8b72e 100644
--- a/recipes-extended/skmm-ep/skmm-ep/add-two-missing-header-files.patch
+++ b/recipes-extended/skmm-ep/skmm-ep/add-two-missing-header-files.patch
@@ -1,7 +1,8 @@
1add two missing header files 1add two missing header files
2 2
3Upstream-status: Pending 3Upstream-Status: Pending
4 4
5Signed-off-by: Khem Raj <raj.khem@gmail.com>
5--- 6---
6 include/linux/fsl_pci_ep_vfio.h | 79 ++++++ 7 include/linux/fsl_pci_ep_vfio.h | 79 ++++++
7 include/linux/vfio.h | 555 ++++++++++++++++++++++++++++++++++++++++ 8 include/linux/vfio.h | 555 ++++++++++++++++++++++++++++++++++++++++
diff --git a/recipes-extended/testfloat/files/SoftFloat-powerpc-1.patch b/recipes-extended/testfloat/files/SoftFloat-powerpc-1.patch
index b6db2de2..51a0da19 100644
--- a/recipes-extended/testfloat/files/SoftFloat-powerpc-1.patch
+++ b/recipes-extended/testfloat/files/SoftFloat-powerpc-1.patch
@@ -1,5 +1,6 @@
1This patch adds PowerPC support in SoftFloat. 1This patch adds PowerPC support in SoftFloat.
2 2
3Upstream-Status: Pending
3Signed-off-by: Ebony Zhu <ebony.zhu@freescale.com> 4Signed-off-by: Ebony Zhu <ebony.zhu@freescale.com>
4Signed-off-by: Liu Yu <Yu.Liu@freescale.com> 5Signed-off-by: Liu Yu <Yu.Liu@freescale.com>
5--- 6---
diff --git a/recipes-extended/testfloat/files/TestFloat-powerpc-E500v2-SPE-1.patch b/recipes-extended/testfloat/files/TestFloat-powerpc-E500v2-SPE-1.patch
index c34421cf..2e904174 100644
--- a/recipes-extended/testfloat/files/TestFloat-powerpc-E500v2-SPE-1.patch
+++ b/recipes-extended/testfloat/files/TestFloat-powerpc-E500v2-SPE-1.patch
@@ -1,6 +1,7 @@
1This patch adds PowerPC E500v2 SPE support in TestFloat. 1This patch adds PowerPC E500v2 SPE support in TestFloat.
2And it disables the testing for hardware that can not trigger SPE interrupt. 2And it disables the testing for hardware that can not trigger SPE interrupt.
3 3
4Upstream-Status: Pending
4Signed-off-by: Ebony Zhu <ebony.zhu@freescale.com> 5Signed-off-by: Ebony Zhu <ebony.zhu@freescale.com>
5Signed-off-by: Liu Yu <Yu.Liu@freescale.com> 6Signed-off-by: Liu Yu <Yu.Liu@freescale.com>
6--- 7---
diff --git a/recipes-extended/testfloat/files/Yocto-replace-COMPILE_PREFIX-gcc.patch b/recipes-extended/testfloat/files/Yocto-replace-COMPILE_PREFIX-gcc.patch
index f2ff1c00..c6cfaf41 100644
--- a/recipes-extended/testfloat/files/Yocto-replace-COMPILE_PREFIX-gcc.patch
+++ b/recipes-extended/testfloat/files/Yocto-replace-COMPILE_PREFIX-gcc.patch
@@ -3,6 +3,7 @@ From: Ting Liu <b28495@freescale.com>
3Date: Wed, 9 May 2012 02:42:57 -0500 3Date: Wed, 9 May 2012 02:42:57 -0500
4Subject: [PATCH] Yocto: replace $(COMPILE_PREFIX)gcc with $(CC) and remove -te500v2 flags 4Subject: [PATCH] Yocto: replace $(COMPILE_PREFIX)gcc with $(CC) and remove -te500v2 flags
5 5
6Upstream-Status: Pending
6Signed-off-by: Ting Liu <b28495@freescale.com> 7Signed-off-by: Ting Liu <b28495@freescale.com>
7--- 8---
8 SoftFloat-2b/softfloat/bits32/powerpc-GCC/Makefile | 4 ++-- 9 SoftFloat-2b/softfloat/bits32/powerpc-GCC/Makefile | 4 ++--
diff --git a/recipes-extended/tsntool/tsntool/0001-tsntool-remove-redundant-parameters-from-BIN_LDFLAGS.patch b/recipes-extended/tsntool/tsntool/0001-tsntool-remove-redundant-parameters-from-BIN_LDFLAGS.patch
new file mode 100644
index 00000000..3a9bc31f
--- /dev/null
+++ b/recipes-extended/tsntool/tsntool/0001-tsntool-remove-redundant-parameters-from-BIN_LDFLAGS.patch
@@ -0,0 +1,29 @@
1From 2cf9a3f919317784e7cecdff6b632cdb2665c580 Mon Sep 17 00:00:00 2001
2From: Meng Li <Meng.Li@windriver.com>
3Date: Mon, 12 Jun 2023 15:17:21 +0800
4Subject: [PATCH] tsntool: remove redundant parameters from BIN_LDFLAGS
5
6The recipe file has pass the same parameter(-Wl,-rpath-link,<lib path>)
7to Makefile, so remove redundant parameters from BIN_LDFLAGS.
8
9Upstream-Status: Pending
10Signed-off-by: Meng Li <Meng.Li@windriver.com>
11---
12 Makefile | 1 -
13 1 file changed, 1 deletion(-)
14
15diff --git a/Makefile b/Makefile
16index 0ba88b4..39a98c0 100644
17--- a/Makefile
18+++ b/Makefile
19@@ -16,7 +16,6 @@ BIN_CFLAGS += -Wall -Wextra -Wno-error=unused-parameter -Wno-error=sign-compare
20 BIN_CFLAGS += $(shell $(PKG_CONFIG) --cflags libnl-3.0 libnl-genl-3.0 libcjson) -Iinclude
21 BIN_LDFLAGS += -ltsn $(shell $(PKG_CONFIG) --libs libnl-3.0 libnl-genl-3.0 libcjson) -lpthread -lm -lrt
22 BIN_LDFLAGS += -lreadline -ltermcap -L.
23-BIN_LDFLAGS += -Wl,-rpath,$(shell pwd) # Compiled lib at local folder
24
25 BIN_SRC =
26 LIB_SRC =
27--
282.40.1
29
diff --git a/recipes-extended/tsntool/tsntool_git.bb b/recipes-extended/tsntool/tsntool_git.bb
index 6d1eb69c..2ad4a0c4 100644
--- a/recipes-extended/tsntool/tsntool_git.bb
+++ b/recipes-extended/tsntool/tsntool_git.bb
@@ -7,9 +7,15 @@ DEPENDS = "cjson libnl readline"
7 7
8inherit pkgconfig 8inherit pkgconfig
9 9
10FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
11
10SRC_URI = "git://github.com/nxp-qoriq/tsntool;protocol=https;nobranch=1" 12SRC_URI = "git://github.com/nxp-qoriq/tsntool;protocol=https;nobranch=1"
11SRCREV = "a0769e23304957a22f0cbeee6d1f547b20c3c21e" 13SRCREV = "a0769e23304957a22f0cbeee6d1f547b20c3c21e"
12 14
15SRC_URI:append = " \
16 file://0001-tsntool-remove-redundant-parameters-from-BIN_LDFLAGS.patch \
17"
18
13S = "${WORKDIR}/git" 19S = "${WORKDIR}/git"
14 20
15do_configure[depends] += "virtual/kernel:do_shared_workdir" 21do_configure[depends] += "virtual/kernel:do_shared_workdir"
diff --git a/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc b/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc
index 94d70564..affdf1c6 100644
--- a/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc
+++ b/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc
@@ -76,6 +76,7 @@ inherit fsl-eula-unpack
76 76
77SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}.bin;fsl-eula=true \ 77SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}.bin;fsl-eula=true \
78 file://imx_icd.json" 78 file://imx_icd.json"
79FILESEXTRAPATHS:append := "${THISDIR}/imx-gpu-viv:"
79 80
80PACKAGECONFIG ?= "" 81PACKAGECONFIG ?= ""
81 82
@@ -188,10 +189,6 @@ IMX_SOC:mx8ulp-nxp-bsp = "mx8ulp"
188 189
189LIBVULKAN_API_VERSION = "1.2.182" 190LIBVULKAN_API_VERSION = "1.2.182"
190 191
191SUPPORTS_OPENCL_VX_INTRINSIC_EXTENSION = "false"
192SUPPORTS_OPENCL_VX_INTRINSIC_EXTENSION:mx8qm-nxp-bsp = "true"
193SUPPORTS_OPENCL_VX_INTRINSIC_EXTENSION:mx8mp-nxp-bsp = "true"
194
195do_install () { 192do_install () {
196 install -d ${D}${libdir} 193 install -d ${D}${libdir}
197 install -d ${D}${includedir} 194 install -d ${D}${includedir}
@@ -262,7 +259,7 @@ do_install () {
262 install -d ${D}${sysconfdir}/OpenCL/vendors/ 259 install -d ${D}${sysconfdir}/OpenCL/vendors/
263 install -m 0644 ${S}/gpu-core/etc/Vivante.icd ${D}${sysconfdir}/OpenCL/vendors/Vivante.icd 260 install -m 0644 ${S}/gpu-core/etc/Vivante.icd ${D}${sysconfdir}/OpenCL/vendors/Vivante.icd
264 261
265 if ! ${SUPPORTS_OPENCL_VX_INTRINSIC_EXTENSION}; then 262 if [ "${OPENCL_VX_INTRINSIC_EXTENSION_PACKAGES}" = "" ]; then
266 rm -f ${D}${includedir}/CL/cl_viv_vx_ext.h 263 rm -f ${D}${includedir}/CL/cl_viv_vx_ext.h
267 fi 264 fi
268 fi 265 fi
@@ -373,7 +370,11 @@ FILES:libopenvx-imx = " \
373 ${libdir}/libArchModelSw${SOLIBS} \ 370 ${libdir}/libArchModelSw${SOLIBS} \
374" 371"
375FILES:libopenvx-imx-dev = "${includedir}/VX ${libdir}/libOpenVX${SOLIBSDEV}" 372FILES:libopenvx-imx-dev = "${includedir}/VX ${libdir}/libOpenVX${SOLIBSDEV}"
376RDEPENDS:libopenvx-imx = "libnn-imx" 373RDEPENDS:libopenvx-imx = "libnn-imx ${OPENCL_VX_INTRINSIC_EXTENSION_PACKAGES}"
374OPENCL_VX_INTRINSIC_EXTENSION_PACKAGES = ""
375OPENCL_VX_INTRINSIC_EXTENSION_PACKAGES:mx8qm-nxp-bsp = "libclc-imx libopencl-imx-dev"
376OPENCL_VX_INTRINSIC_EXTENSION_PACKAGES:mx8mp-nxp-bsp = "libclc-imx libopencl-imx-dev"
377INSANE_SKIP:libopenvx-imx += "dev-deps"
377 378
378# libGL is only targeting X11 backend, and in case if Wayland-only is used - 379# libGL is only targeting X11 backend, and in case if Wayland-only is used -
379# package QA complains on missing RDEPENDS, which are only available for X11. 380# package QA complains on missing RDEPENDS, which are only available for X11.
diff --git a/recipes-graphics/imx-gpu-viv/imx-gpu-viv/imx_icd.json b/recipes-graphics/imx-gpu-viv/imx-gpu-viv/imx_icd.json
index 1194a0fb..21d83f94 100644
--- a/recipes-graphics/imx-gpu-viv/imx-gpu-viv/imx_icd.json
+++ b/recipes-graphics/imx-gpu-viv/imx-gpu-viv/imx_icd.json
@@ -1,7 +1,7 @@
1{ 1{
2 "file_format_version": "1.0.0", 2 "file_format_version": "1.0.0",
3 "ICD": { 3 "ICD": {
4 "library_path": "%libdir%/libvulkan_VSI.so", 4 "library_path": "%libdir%/libvulkan_VSI.so.1",
5 "api_version": "%api_version%" 5 "api_version": "%api_version%"
6 } 6 }
7} 7}
diff --git a/recipes-graphics/mesa/mesa-demos/Replace-glWindowPos2iARB-calls-with-glWindowPos2i.patch b/recipes-graphics/mesa/mesa-demos/Replace-glWindowPos2iARB-calls-with-glWindowPos2i.patch
index d899540f..8401793c 100644
--- a/recipes-graphics/mesa/mesa-demos/Replace-glWindowPos2iARB-calls-with-glWindowPos2i.patch
+++ b/recipes-graphics/mesa/mesa-demos/Replace-glWindowPos2iARB-calls-with-glWindowPos2i.patch
@@ -6,7 +6,7 @@ Subject: [PATCH] Replace glWindowPos2iARB calls with glWindowPos2i
6Vivante libGL does not provide the glWindowPos2iARB symbol, but 6Vivante libGL does not provide the glWindowPos2iARB symbol, but
7glWindowPos2i. Use this instead. 7glWindowPos2i. Use this instead.
8 8
9Upstream-Status: Inapropriate [embedded specific] 9Upstream-Status: Inappropriate [embedded specific]
10 10
11Reported-by: Jeremy Stashluk <jstashluk@dekaresearch.com> 11Reported-by: Jeremy Stashluk <jstashluk@dekaresearch.com>
12Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> 12Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
diff --git a/recipes-graphics/mesa/mesa-demos/fix-clear-build-break.patch b/recipes-graphics/mesa/mesa-demos/fix-clear-build-break.patch
index 30fa16d0..459a6ebd 100644
--- a/recipes-graphics/mesa/mesa-demos/fix-clear-build-break.patch
+++ b/recipes-graphics/mesa/mesa-demos/fix-clear-build-break.patch
@@ -2,6 +2,7 @@ mesa-demos: Add extension header to fix build break now that gl1 is removed
2 2
3Upstream-Status: Pending 3Upstream-Status: Pending
4 4
5Signed-off-by: Khem Raj <raj.khem@gmail.com>
5diff --git a/src/egl/opengles1/clear.c b/src/egl/opengles1/clear.c 6diff --git a/src/egl/opengles1/clear.c b/src/egl/opengles1/clear.c
6index 9fe1b5291e1905fd6fe572063ed707d59ce45a81..ca9954a21b5f475709dbdef07f90b900962fcbc7 100644 7index 9fe1b5291e1905fd6fe572063ed707d59ce45a81..ca9954a21b5f475709dbdef07f90b900962fcbc7 100644
7--- a/src/egl/opengles1/clear.c 8--- a/src/egl/opengles1/clear.c
diff --git a/recipes-graphics/vulkan/vulkan-loader_1.2.182.0.bbappend b/recipes-graphics/vulkan/vulkan-loader_1.2.182.0.imx.bbappend
index 05f566a8..05f566a8 100644
--- a/recipes-graphics/vulkan/vulkan-loader_1.2.182.0.bbappend
+++ b/recipes-graphics/vulkan/vulkan-loader_1.2.182.0.imx.bbappend
diff --git a/recipes-graphics/wayland/wayland/0001-build-Fix-strndup-detection-on-MinGW.patch b/recipes-graphics/wayland/wayland/0001-build-Fix-strndup-detection-on-MinGW.patch
new file mode 100644
index 00000000..bc753de1
--- /dev/null
+++ b/recipes-graphics/wayland/wayland/0001-build-Fix-strndup-detection-on-MinGW.patch
@@ -0,0 +1,41 @@
1From b4c64b6f07743e3fb63ce52359bc664ab7d60df0 Mon Sep 17 00:00:00 2001
2From: Joshua Watt <JPEWhacker@gmail.com>
3Date: Thu, 20 Feb 2020 15:20:45 -0600
4Subject: [PATCH] build: Fix strndup detection on MinGW
5
6GCC and meson conspire together to incorrectly detect that strndup()
7exists on MinGW as __builtin_strndup, when no such function exists. As a
8work around, meson will skip looking for __builtin functions if an
9'#include' is in the prefix, so add '#include <string.h>' when looking
10for strndup().
11
12See: https://github.com/mesonbuild/meson/issues/3672
13
14Upstream-Status: Submitted [https://gitlab.freedesktop.org/wayland/wayland/merge_requests/63]
15
16Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
17Signed-off-by: Denys Dmytriyenko <denis@denix.org>
18---
19 meson.build | 2 +-
20 1 file changed, 1 insertion(+), 1 deletion(-)
21
22diff --git a/meson.build b/meson.build
23index 3bc25c9..adde7b9 100644
24--- a/meson.build
25+++ b/meson.build
26@@ -38,11 +38,11 @@ have_funcs = [
27 'prctl',
28 'memfd_create',
29 'mremap',
30- 'strndup',
31 ]
32 foreach f: have_funcs
33 config_h.set('HAVE_' + f.underscorify().to_upper(), cc.has_function(f))
34 endforeach
35+config_h.set('HAVE_STRNDUP', cc.has_function('strndup') and cc.has_header_symbol('string.h', 'strndup'))
36 config_h.set10('HAVE_XUCRED_CR_PID', cc.has_member('struct xucred', 'cr_pid', prefix : '#include <sys/ucred.h>'))
37 have_broken_msg_cmsg_cloexec = false
38 if host_machine.system() == 'freebsd'
39--
402.7.4
41
diff --git a/recipes-graphics/wayland/wayland/run-ptest b/recipes-graphics/wayland/wayland/run-ptest
new file mode 100644
index 00000000..7e8d9de0
--- /dev/null
+++ b/recipes-graphics/wayland/wayland/run-ptest
@@ -0,0 +1,17 @@
1#!/bin/sh
2
3export WAYLAND_SCANNER=wayland-scanner
4export TEST_DATA_DIR=tests/data
5export TEST_OUTPUT_DIR=tests/output
6export SED=sed
7export WAYLAND_EGL_LIB=/usr/lib/libwayland-egl.so.1
8export NM=nm
9
10for i in `ls tests/*-test tests/wayland-egl-symbols-check tests/scanner-test.sh`; do
11 $i
12 if [ $? -eq 0 ]; then
13 echo "PASS: $i"
14 else
15 echo "FAIL: $i"
16 fi
17done
diff --git a/recipes-graphics/wayland/wayland_1.22.0.imx.bb b/recipes-graphics/wayland/wayland_1.22.0.imx.bb
new file mode 100644
index 00000000..eb1066c8
--- /dev/null
+++ b/recipes-graphics/wayland/wayland_1.22.0.imx.bb
@@ -0,0 +1,67 @@
1SUMMARY = "Wayland, a protocol between a compositor and clients"
2DESCRIPTION = "Wayland is a protocol for a compositor to talk to its clients \
3as well as a C library implementation of that protocol. The compositor can be \
4a standalone display server running on Linux kernel modesetting and evdev \
5input devices, an X application, or a wayland client itself. The clients can \
6be traditional applications, X servers (rootless or fullscreen) or other \
7display servers."
8HOMEPAGE = "http://wayland.freedesktop.org"
9LICENSE = "MIT"
10LIC_FILES_CHKSUM = "file://COPYING;md5=b31d8f53b6aaf2b4985d7dd7810a70d1 \
11 file://src/wayland-server.c;endline=24;md5=b8e046164a766bb1ede8ba38e9dcd7ce"
12
13DEPENDS = "expat libffi wayland-native"
14
15SRC_URI = "https://gitlab.freedesktop.org/wayland/wayland/-/releases/1.22.0/downloads/${BP_ORIGINAL}.tar.xz \
16 file://run-ptest \
17 file://0001-build-Fix-strndup-detection-on-MinGW.patch \
18 "
19SRC_URI[sha256sum] = "1540af1ea698a471c2d8e9d288332c7e0fd360c8f1d12936ebb7e7cbc2425842"
20BP_ORIGINAL = "${BPN}-1.22.0"
21S = "${WORKDIR}/${BP_ORIGINAL}"
22
23UPSTREAM_CHECK_URI = "https://wayland.freedesktop.org/releases.html"
24UPSTREAM_CHECK_REGEX = "wayland-(?P<pver>\d+\.\d+\.(?!9\d+)\d+)"
25
26inherit meson pkgconfig ptest
27
28PACKAGECONFIG ??= "dtd-validation"
29PACKAGECONFIG[dtd-validation] = "-Ddtd_validation=true,-Ddtd_validation=false,libxml2,,"
30
31EXTRA_OEMESON = "-Ddocumentation=false"
32EXTRA_OEMESON:class-native = "-Ddocumentation=false"
33
34# Wayland installs a M4 macro for other projects to use, which uses the target
35# pkg-config to find files. Replace pkg-config with pkg-config-native.
36do_install:append:class-native() {
37 sed -e 's,PKG_CHECK_MODULES(.*),,g' \
38 -e 's,$PKG_CONFIG,pkg-config-native,g' \
39 -i ${D}/${datadir}/aclocal/wayland-scanner.m4
40}
41
42do_install_ptest() {
43 mkdir -p ${D}${PTEST_PATH}/tests/data
44 cp -rf ${B}/tests/*-test ${B}/tests/*-checker ${D}${PTEST_PATH}/tests
45 cp -rf ${B}/tests/*-checker ${D}${PTEST_PATH}
46 cp -rf ${S}/tests/scanner-test.sh ${D}${PTEST_PATH}/tests
47 cp -rf ${S}/tests/data/* ${D}${PTEST_PATH}/tests/data/
48 cp -rf ${S}/egl/wayland-egl-symbols-check ${D}${PTEST_PATH}/tests/
49}
50
51sysroot_stage_all:append:class-target () {
52 rm ${SYSROOT_DESTDIR}/${datadir}/aclocal/wayland-scanner.m4
53 cp ${STAGING_DATADIR_NATIVE}/aclocal/wayland-scanner.m4 ${SYSROOT_DESTDIR}/${datadir}/aclocal/
54}
55
56PACKAGES =+ "${PN}-tools"
57
58FILES:${PN}-tools = "${bindir}/wayland-scanner"
59FILES:${PN}-dev += "${datadir}/${BPN}/wayland-scanner.mk"
60
61BBCLASSEXTEND = "native nativesdk"
62
63RDEPENDS:${PN}-ptest += "binutils sed ${PN}-tools"
64
65PACKAGE_ARCH = "${MACHINE_SOCARCH}"
66
67DEFAULT_PREFERENCE = "-1"
diff --git a/recipes-graphics/wayland/weston-10.0.3.imx/0001-Revert-protocol-no-found-wayland-scanner-with-Yocto-.patch b/recipes-graphics/wayland/weston-10.0.3.imx/0001-Revert-protocol-no-found-wayland-scanner-with-Yocto-.patch
index 676d0338..59f2a4b6 100644
--- a/recipes-graphics/wayland/weston-10.0.3.imx/0001-Revert-protocol-no-found-wayland-scanner-with-Yocto-.patch
+++ b/recipes-graphics/wayland/weston-10.0.3.imx/0001-Revert-protocol-no-found-wayland-scanner-with-Yocto-.patch
@@ -20,6 +20,7 @@ Thus the build fails with:
20Dropping weston 9.0.0-imx commit 7859a762 (protocol: no found 20Dropping weston 9.0.0-imx commit 7859a762 (protocol: no found
21wayland-scanner with Yocto toolchain") fixes the issue. 21wayland-scanner with Yocto toolchain") fixes the issue.
22 22
23Upstream-Status: Inappropriate [Cross-compile Specific]
23Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> 24Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
24--- 25---
25 protocol/meson.build | 2 +- 26 protocol/meson.build | 2 +-
diff --git a/recipes-graphics/wayland/weston-init.bbappend b/recipes-graphics/wayland/weston-init.bbappend
index 69a807a3..595633b0 100644
--- a/recipes-graphics/wayland/weston-init.bbappend
+++ b/recipes-graphics/wayland/weston-init.bbappend
@@ -10,12 +10,16 @@ SRC_URI:append:mx6sl-nxp-bsp = " file://weston.config"
10 10
11PACKAGECONFIG ??= " \ 11PACKAGECONFIG ??= " \
12 no-idle-timeout \ 12 no-idle-timeout \
13 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xwayland', '', d)} \
13 ${PACKAGECONFIG_GBM_FORMAT} \ 14 ${PACKAGECONFIG_GBM_FORMAT} \
14 ${PACKAGECONFIG_REPAINT_WINDOW} \ 15 ${PACKAGECONFIG_REPAINT_WINDOW} \
15 ${PACKAGECONFIG_SIZE} \ 16 ${PACKAGECONFIG_SIZE} \
16 ${PACKAGECONFIG_USE_G2D} \ 17 ${PACKAGECONFIG_USE_G2D} \
17" 18"
18 19
20# Mainline BSPs dont support xwayland
21PACKAGECONFIG:remove:use-mainline-bsp = "xwayland"
22
19PACKAGECONFIG_GBM_FORMAT ?= "" 23PACKAGECONFIG_GBM_FORMAT ?= ""
20PACKAGECONFIG_GBM_FORMAT:mx8mq-nxp-bsp ?= "gbm-format" 24PACKAGECONFIG_GBM_FORMAT:mx8mq-nxp-bsp ?= "gbm-format"
21 25
@@ -46,6 +50,7 @@ PACKAGECONFIG[rdp] = ",,"
46PACKAGECONFIG[repaint-window] = ",," 50PACKAGECONFIG[repaint-window] = ",,"
47PACKAGECONFIG[size] = ",," 51PACKAGECONFIG[size] = ",,"
48PACKAGECONFIG[use-g2d] = ",," 52PACKAGECONFIG[use-g2d] = ",,"
53PACKAGECONFIG[xwayland] = ",,"
49 54
50do_install:append() { 55do_install:append() {
51 if [ -f "${WORKDIR}/weston.config" ]; then 56 if [ -f "${WORKDIR}/weston.config" ]; then
@@ -75,5 +80,9 @@ do_install:append() {
75 sed -i -e "/^\[core\]/a #use-g2d=${USE_G2D_VALUE}" ${D}${sysconfdir}/xdg/weston/weston.ini 80 sed -i -e "/^\[core\]/a #use-g2d=${USE_G2D_VALUE}" ${D}${sysconfdir}/xdg/weston/weston.ini
76 fi 81 fi
77 82
83 if [ "${@bb.utils.contains('PACKAGECONFIG', 'xwayland', 'yes', 'no', d)}" = "no" ]; then
84 sed -i -e "s/^xwayland=true/#xwayland=true/g" ${D}${sysconfdir}/xdg/weston/weston.ini
85 fi
86
78 sed -i -e 's,@bindir@,${bindir},g' ${D}${sysconfdir}/xdg/weston/weston.ini 87 sed -i -e 's,@bindir@,${bindir},g' ${D}${sysconfdir}/xdg/weston/weston.ini
79} 88}
diff --git a/recipes-graphics/wayland/weston/0001-Revert-protocol-no-found-wayland-scanner-with-Yocto-.patch b/recipes-graphics/wayland/weston/0001-Revert-protocol-no-found-wayland-scanner-with-Yocto-.patch
index 39439ce1..25a4770f 100644
--- a/recipes-graphics/wayland/weston/0001-Revert-protocol-no-found-wayland-scanner-with-Yocto-.patch
+++ b/recipes-graphics/wayland/weston/0001-Revert-protocol-no-found-wayland-scanner-with-Yocto-.patch
@@ -20,6 +20,7 @@ Thus the build fails with:
20Dropping weston 9.0.0-imx commit 7859a762 (protocol: no found 20Dropping weston 9.0.0-imx commit 7859a762 (protocol: no found
21wayland-scanner with Yocto toolchain") fixes the issue. 21wayland-scanner with Yocto toolchain") fixes the issue.
22 22
23Upstream-Status: Inappropriate [Cross-compile specific]
23Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> 24Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
24--- 25---
25 protocol/meson.build | 2 +- 26 protocol/meson.build | 2 +-
diff --git a/recipes-graphics/xorg-xserver/xserver-xorg/0001-Allow-to-enable-atomic-in-modesetting-DDX.patch b/recipes-graphics/xorg-xserver/xserver-xorg/0001-Allow-to-enable-atomic-in-modesetting-DDX.patch
index 24f08f98..71e045b2 100644
--- a/recipes-graphics/xorg-xserver/xserver-xorg/0001-Allow-to-enable-atomic-in-modesetting-DDX.patch
+++ b/recipes-graphics/xorg-xserver/xserver-xorg/0001-Allow-to-enable-atomic-in-modesetting-DDX.patch
@@ -11,6 +11,7 @@ anymore.
11This change doesn't enable atomic by default, but it allows a user to 11This change doesn't enable atomic by default, but it allows a user to
12enabled it again. 12enabled it again.
13 13
14Upstream-Status: Pending
14Signed-off-by: Daniel Abrecht <public@danielabrecht.ch> 15Signed-off-by: Daniel Abrecht <public@danielabrecht.ch>
15 16
16--- 17---
diff --git a/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv/Add-makefile.patch b/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv/Add-makefile.patch
index 63f408c5..efe6cec6 100644
--- a/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv/Add-makefile.patch
+++ b/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv/Add-makefile.patch
@@ -1,3 +1,7 @@
1Add makefile to kernel-module-imx-gpu-viv
2
3Upstream-Status: Pending
4Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
1Index: git/Makefile 5Index: git/Makefile
2=================================================================== 6===================================================================
3--- /dev/null 1970-01-01 00:00:00.000000000 +0000 7--- /dev/null 1970-01-01 00:00:00.000000000 +0000
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-v4l2-Include-gst-allocators-gstdmabuf.h-for-gst_is_d.patch b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-v4l2-Include-gst-allocators-gstdmabuf.h-for-gst_is_d.patch
new file mode 100644
index 00000000..1345dd4f
--- /dev/null
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-v4l2-Include-gst-allocators-gstdmabuf.h-for-gst_is_d.patch
@@ -0,0 +1,32 @@
1From dc5d752ec3fbec10402aa60fa8245e384e0c7206 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 7 Jun 2023 22:53:47 -0700
4Subject: [PATCH] v4l2: Include gst/allocators/gstdmabuf.h for
5 gst_is_dmabuf_memory()
6
7This is flagged by clang-16
8../git/sys/v4l2/gstv4l2videoenc.c:756:9: error: call to undeclared function 'gst_is_dmabuf_memory'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
9 if (gst_is_dmabuf_memory (gst_buffer_peek_memory (frame->input_buffer, 0))
10 ^
11
12Upstream-Status: Submitted [https://github.com/nxp-imx/gst-plugins-good/pull/2]
13Signed-off-by: Khem Raj <raj.khem@gmail.com>
14---
15 sys/v4l2/gstv4l2videoenc.c | 1 +
16 1 file changed, 1 insertion(+)
17
18diff --git a/sys/v4l2/gstv4l2videoenc.c b/sys/v4l2/gstv4l2videoenc.c
19index a505a228f..f24d5a795 100644
20--- a/sys/v4l2/gstv4l2videoenc.c
21+++ b/sys/v4l2/gstv4l2videoenc.c
22@@ -36,6 +36,7 @@
23
24 #include <string.h>
25 #include <gst/gst-i18n-plugin.h>
26+#include <gst/allocators/gstdmabuf.h>
27
28 GST_DEBUG_CATEGORY_STATIC (gst_v4l2_video_enc_debug);
29 #define GST_CAT_DEFAULT gst_v4l2_video_enc_debug
30--
312.41.0
32
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.20.3.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.20.3.imx.bb
index 95c8657e..95e33d5b 100644
--- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.20.3.imx.bb
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.20.3.imx.bb
@@ -13,6 +13,7 @@ BUGTRACKER = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/issues
13 13
14SRC_URI = "https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-${PV}.tar.xz \ 14SRC_URI = "https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-${PV}.tar.xz \
15 file://0001-qt-include-ext-qt-gstqtgl.h-instead-of-gst-gl-gstglf.patch \ 15 file://0001-qt-include-ext-qt-gstqtgl.h-instead-of-gst-gl-gstglf.patch \
16 file://0001-v4l2-Include-gst-allocators-gstdmabuf.h-for-gst_is_d.patch \
16 " 17 "
17 18
18SRC_URI[sha256sum] = "f8f3c206bf5cdabc00953920b47b3575af0ef15e9f871c0b6966f6d0aa5868b7" 19SRC_URI[sha256sum] = "f8f3c206bf5cdabc00953920b47b3575af0ef15e9f871c0b6966f6d0aa5868b7"
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-python_1.20.3.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-python_1.20.3.imx.bb
index d3c29ff7..4da992ee 100644
--- a/recipes-multimedia/gstreamer/gstreamer1.0-python_1.20.3.imx.bb
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-python_1.20.3.imx.bb
@@ -28,3 +28,5 @@ def get_gst_ver(v):
28 return oe.utils.trim_version(v, 3) 28 return oe.utils.trim_version(v, 3)
29 29
30inherit meson pkgconfig setuptools3-base upstream-version-is-even 30inherit meson pkgconfig setuptools3-base upstream-version-is-even
31
32FILES:${PN} += "${libdir}/gstreamer-1.0"
diff --git a/recipes-multimedia/libimxvpuapi/libimxvpuapi2_2.2.2.bb b/recipes-multimedia/libimxvpuapi/libimxvpuapi2_2.2.2.bb
index 5ebf9150..b7f43a61 100644
--- a/recipes-multimedia/libimxvpuapi/libimxvpuapi2_2.2.2.bb
+++ b/recipes-multimedia/libimxvpuapi/libimxvpuapi2_2.2.2.bb
@@ -18,7 +18,7 @@ inherit waf pkgconfig use-imx-headers
18IMX_PLATFORM:mx6-nxp-bsp = "imx6" 18IMX_PLATFORM:mx6-nxp-bsp = "imx6"
19IMX_PLATFORM:mx8mq-nxp-bsp = "imx8m" 19IMX_PLATFORM:mx8mq-nxp-bsp = "imx8m"
20IMX_PLATFORM:mx8mm-nxp-bsp = "imx8mm" 20IMX_PLATFORM:mx8mm-nxp-bsp = "imx8mm"
21IMX_PLATFORM:mx8mp-nxp-bsp = "imx8mm" 21IMX_PLATFORM:mx8mp-nxp-bsp = "imx8m"
22 22
23EXTRA_OECONF = "--imx-platform=${IMX_PLATFORM} --libdir=${libdir} --imx-headers=${STAGING_INCDIR_IMX} --sysroot-path=${RECIPE_SYSROOT}" 23EXTRA_OECONF = "--imx-platform=${IMX_PLATFORM} --libdir=${libdir} --imx-headers=${STAGING_INCDIR_IMX} --sysroot-path=${RECIPE_SYSROOT}"
24 24
diff --git a/recipes-multimedia/pulseaudio/pulseaudio/imx-nxp-bsp/0001-Fix-pulseaudio-mutex-issue-when-do-pause-in-gstreame.patch b/recipes-multimedia/pulseaudio/pulseaudio/imx-nxp-bsp/0001-Fix-pulseaudio-mutex-issue-when-do-pause-in-gstreame.patch
index 12a04cb7..10d5a010 100644
--- a/recipes-multimedia/pulseaudio/pulseaudio/imx-nxp-bsp/0001-Fix-pulseaudio-mutex-issue-when-do-pause-in-gstreame.patch
+++ b/recipes-multimedia/pulseaudio/pulseaudio/imx-nxp-bsp/0001-Fix-pulseaudio-mutex-issue-when-do-pause-in-gstreame.patch
@@ -9,7 +9,7 @@ failed at pulsecore/mutex-posix.c:106, function pa_mutex_unlock(). Aborting"
9This fix is a workaround base on the solution from this link " 9This fix is a workaround base on the solution from this link "
10https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/932096" 10https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/932096"
11 11
12Upstream status: Inappropriate [i.MX specific] 12Upstream-Status: Inappropriate [i.MX specific]
13Signed-off-by: shengjiu.wang <b02247@freescale.com> 13Signed-off-by: shengjiu.wang <b02247@freescale.com>
14--- 14---
15 src/pulsecore/mutex-posix.c | 1 + 15 src/pulsecore/mutex-posix.c | 1 +
diff --git a/recipes-multimedia/tinycompress/tinycompress/0001-tinycompress-Add-id3-decoding.patch b/recipes-multimedia/tinycompress/tinycompress/0001-tinycompress-Add-id3-decoding.patch
index f578148a..78ff6989 100755
--- a/recipes-multimedia/tinycompress/tinycompress/0001-tinycompress-Add-id3-decoding.patch
+++ b/recipes-multimedia/tinycompress/tinycompress/0001-tinycompress-Add-id3-decoding.patch
@@ -3,6 +3,7 @@ From: Shengjiu Wang <shengjiu.wang@nxp.com>
3Date: Fri, 13 Jul 2018 18:13:24 +0800 3Date: Fri, 13 Jul 2018 18:13:24 +0800
4Subject: [PATCH] tinycompress: Add id3 decoding 4Subject: [PATCH] tinycompress: Add id3 decoding
5 5
6Upstream-Status: Pending
6Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com> 7Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
7--- 8---
8 include/tinycompress/id3_tag_decode.h | 198 +++++++++++ 9 include/tinycompress/id3_tag_decode.h | 198 +++++++++++
diff --git a/recipes-support/opencv/opencv/0001-3rdparty-ippicv-Use-pre-downloaded-ipp.patch b/recipes-support/opencv/opencv/0001-3rdparty-ippicv-Use-pre-downloaded-ipp.patch
index 9e6a6137..b1b00623 100644
--- a/recipes-support/opencv/opencv/0001-3rdparty-ippicv-Use-pre-downloaded-ipp.patch
+++ b/recipes-support/opencv/opencv/0001-3rdparty-ippicv-Use-pre-downloaded-ipp.patch
@@ -3,6 +3,7 @@ From: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
3Date: Thu, 31 Mar 2016 00:20:15 +0200 3Date: Thu, 31 Mar 2016 00:20:15 +0200
4Subject: [PATCH] 3rdparty/ippicv: Use pre-downloaded ipp 4Subject: [PATCH] 3rdparty/ippicv: Use pre-downloaded ipp
5 5
6Upstream-Status: Pending
6Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> 7Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
7Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com> 8Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com>
8 9
diff --git a/recipes-support/opencv/opencv/0001-Add-smaller-version-of-download_models.py.patch b/recipes-support/opencv/opencv/0001-Add-smaller-version-of-download_models.py.patch
index 0aabee29..46232ec5 100644
--- a/recipes-support/opencv/opencv/0001-Add-smaller-version-of-download_models.py.patch
+++ b/recipes-support/opencv/opencv/0001-Add-smaller-version-of-download_models.py.patch
@@ -3,6 +3,7 @@ From: Tom Hochstein <tom.hochstein@nxp.com>
3Date: Tue, 1 Sep 2020 14:57:07 -0500 3Date: Tue, 1 Sep 2020 14:57:07 -0500
4Subject: [PATCH] Add smaller version of download_models.py 4Subject: [PATCH] Add smaller version of download_models.py
5 5
6Upstream-Status: Pending
6Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> 7Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
7--- 8---
8 testdata/dnn/download_models_basic.py | 159 ++++++++++++++++++++++++++ 9 testdata/dnn/download_models_basic.py | 159 ++++++++++++++++++++++++++
diff --git a/recipes-support/opencv/opencv/0001-Temporarliy-work-around-deprecated-ffmpeg-RAW-functi.patch b/recipes-support/opencv/opencv/0001-Temporarliy-work-around-deprecated-ffmpeg-RAW-functi.patch
index 1e47f8b1..aa7d335e 100644
--- a/recipes-support/opencv/opencv/0001-Temporarliy-work-around-deprecated-ffmpeg-RAW-functi.patch
+++ b/recipes-support/opencv/opencv/0001-Temporarliy-work-around-deprecated-ffmpeg-RAW-functi.patch
@@ -4,6 +4,7 @@ Date: Wed, 9 May 2018 13:33:59 -0700
4Subject: [PATCH] Temporarliy work around deprecated ffmpeg RAW function 4Subject: [PATCH] Temporarliy work around deprecated ffmpeg RAW function
5 compile failure until next uprev 5 compile failure until next uprev
6 6
7Upstream-Status: Inappropriate [platform specific]
7Signed-off-by: Jason Wessel <jason.wessel@windriver.com> 8Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
8 9
9--- 10---
diff --git a/recipes-support/opencv/opencv/0003-To-fix-errors-as-following.patch b/recipes-support/opencv/opencv/0003-To-fix-errors-as-following.patch
index bb47ef2b..d39c0582 100644
--- a/recipes-support/opencv/opencv/0003-To-fix-errors-as-following.patch
+++ b/recipes-support/opencv/opencv/0003-To-fix-errors-as-following.patch
@@ -7,6 +7,7 @@ Subject: [PATCH] To fix errors as following:
7"perf_abs.cpp:13: undefined reference to `cvtest::param_seed'" 7"perf_abs.cpp:13: undefined reference to `cvtest::param_seed'"
8"test_superres.cpp:270: undefined reference to `checkIppStatus()'" 8"test_superres.cpp:270: undefined reference to `checkIppStatus()'"
9 9
10Upstream-Status: Pending
10Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com> 11Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
11 12
12Also add the visibility changes for certain OpenCL-related functions in 13Also add the visibility changes for certain OpenCL-related functions in