summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.editorconfig32
-rw-r--r--.oelint.cfg24
-rw-r--r--LICENSE4
-rw-r--r--classes/fsl-eula-unpack.bbclass43
-rw-r--r--classes/fsl-kernel-localversion.bbclass47
-rw-r--r--classes/fsl-u-boot-localversion.bbclass40
-rw-r--r--classes/image_populate_mfgtool.bbclass4
-rw-r--r--classes/image_types_fsl.bbclass6
-rw-r--r--classes/imx-boot-container.bbclass10
-rw-r--r--classes/kernel-imximage.bbclass56
-rw-r--r--classes/mfgtool-initramfs-image.bbclass6
-rw-r--r--classes/use-imx-security-controller-firmware.bbclass12
-rw-r--r--classes/uuu_bootloader_tag.bbclass2
-rw-r--r--conf/layer.conf5
-rw-r--r--conf/machine/include/imx-base.inc4
-rwxr-xr-xcontrib/oelint/run-oelint.sh38
-rw-r--r--dynamic-layers/arm-toolchain/recipes-bsp/imx-oei/imx-oei.inc12
-rw-r--r--dynamic-layers/arm-toolchain/recipes-bsp/imx-oei/imx-oei_1.0.0.bb13
-rw-r--r--dynamic-layers/arm-toolchain/recipes-bsp/imx-system-manager/imx-system-manager.inc2
-rw-r--r--dynamic-layers/arm-toolchain/recipes-bsp/imx-system-manager/imx-system-manager_2026q1.bb17
-rw-r--r--dynamic-layers/filesystem-layer/recipes-fsl/packagegroups/packagegroup-fsl-mfgtool.bbappend4
-rw-r--r--dynamic-layers/gnome-layer/recipes-graphics/clutter/clutter-1.0_%.bbappend2
-rw-r--r--dynamic-layers/gnome-layer/recipes-graphics/cogl/cogl-1.0_%.bbappend2
-rw-r--r--dynamic-layers/multimedia-layer/recipes-multimedia/pipewire/pipewire_%.bbappend6
-rw-r--r--dynamic-layers/multimedia-layer/recipes-multimedia/wireplumber/wireplumber_%.bbappend6
-rw-r--r--dynamic-layers/openembedded-layer/recipes-benchmark/glmark2/glmark2_%.bbappend2
-rw-r--r--dynamic-layers/openembedded-layer/recipes-devtools/utp-com/utp-com_git.bb12
-rw-r--r--dynamic-layers/openembedded-layer/recipes-devtools/uuu/uuu_git.bb2
-rw-r--r--dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc_git.bb12
-rw-r--r--dynamic-layers/openembedded-layer/recipes-fsl/packagegroups/packagegroup-fsl-opencv-imx.bb4
-rw-r--r--dynamic-layers/openembedded-layer/recipes-fsl/packagegroups/packagegroup-fsl-tools-benchmark.bb2
-rw-r--r--dynamic-layers/openembedded-layer/recipes-fsl/packagegroups/packagegroup-fsl-tools-testapps.bb6
-rw-r--r--dynamic-layers/openembedded-layer/recipes-multimedia/mpv/mpv_%.bbappend2
-rw-r--r--dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0001-3rdparty-ippicv-Use-pre-downloaded-ipp.patch37
-rw-r--r--dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0001-Add-missing-header-for-LIBAVCODEC_VERSION_INT.patch26
-rw-r--r--dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0001-Add-smaller-version-of-download_models.py.patch1
-rw-r--r--dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0001-Make-ts-module-external.patch2
-rw-r--r--dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0001-Renamed-templated-BlocksCompensator-feed-method-to-e.patch55
-rw-r--r--dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0001-Temporarliy-work-around-deprecated-ffmpeg-RAW-functi.patch3
-rw-r--r--dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0001-Use-the-one-argument-version-of-SetTotalBytesLimit.patch41
-rw-r--r--dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0001-sfm-link-with-Glog_LIBS.patch44
-rw-r--r--dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0003-To-fix-errors-as-following.patch3
-rw-r--r--dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0008-Do-not-embed-build-directory-in-binaries.patch138
-rw-r--r--dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0101-MGS-6470-ccc-Modify-host-ptr-alignment-size-in-UMAT.patch29
-rw-r--r--dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0102-MGS-6470-ccc-Add-configuration-parameter-to-force-en.patch32
-rw-r--r--dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0103-MGS-6470-ccc-Change-configuration-to-enable-hostptr-.patch28
-rw-r--r--dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0104-MGS-8011-ccc-Fix-the-problem-of-syntax-error-at-doub.patch43
-rw-r--r--dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0105-MGS-8318-ccc-Fix-error-implicit-declaration-of-funct.patch34
-rw-r--r--dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0106-core-opencl-fix-inplace-transpose-race-by-enforcing-.patch152
-rw-r--r--dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0107-imgproc-perf-HoughLines-Fix-test-tolerance-and-compa.patch47
-rw-r--r--dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0108-imgproc-perf-HoughLines-Fix-lower-bound-for-line-cou.patch31
-rw-r--r--dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0109-core-ocl-fix-incorrect-results-for-in-place-flip-on-.patch352
-rw-r--r--dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/27691.patch44
-rw-r--r--dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/OpenCV_DNN_examples.patch14
-rw-r--r--dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/fix-build-with-protobuf-v22.patch387
-rw-r--r--dynamic-layers/openembedded-layer/recipes-support/opencv/opencv_4.13.0.imx.bb (renamed from dynamic-layers/openembedded-layer/recipes-support/opencv/opencv_4.6.0.imx.bb)219
-rw-r--r--dynamic-layers/qt4-layer/recipes-qt4/qt4/qt4-imx-support.inc16
-rw-r--r--dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend18
-rw-r--r--dynamic-layers/qt5-layer/recipes-qt/qt5/qtmultimedia_%.bbappend6
-rw-r--r--dynamic-layers/qt6-layer/recipes-qt/qt6/qtbase_%.bbappend36
-rw-r--r--dynamic-layers/virtualization-layer/recipes-extended/libvirt/libvirt_%.bbappend2
-rw-r--r--oelint.constants.json295
-rw-r--r--recipes-bsp/atf/qoriq-atf-2.12.inc5
-rw-r--r--recipes-bsp/atf/qoriq-atf_2.12.bb20
-rw-r--r--recipes-bsp/boot-format/boot-format_git.bb3
-rw-r--r--recipes-bsp/ddr-phy/ddr-phy_git.bb10
-rw-r--r--recipes-bsp/dp-firmware-cadence/dp-firmware-cadence_22.04.bb6
-rw-r--r--recipes-bsp/firmware-imx/firmware-ele-imx_2.0.5.bb1
-rw-r--r--recipes-bsp/firmware-imx/firmware-imx_8.31.bb2
-rw-r--r--recipes-bsp/firmware-imx/firmware-nxp-wifi_1.1.bb35
-rw-r--r--recipes-bsp/firmware-imx/firmware-sof-imx_2.3.0.bb3
-rw-r--r--recipes-bsp/firmware-imx/imx-boot-firmware-files_8.31.bb10
-rw-r--r--recipes-bsp/firmware-upower/firmware-upower_1.3.1.bb6
-rw-r--r--recipes-bsp/fsl-tlu/fsl-tlu_1.0.0.bb6
-rw-r--r--recipes-bsp/imx-atf/imx-atf_2.12.bb14
-rw-r--r--recipes-bsp/imx-kobs/imx-kobs_git.bb1
-rw-r--r--recipes-bsp/imx-lib/imx-lib_git.bb19
-rw-r--r--recipes-bsp/imx-mkimage/imx-boot_1.0.bb48
-rw-r--r--recipes-bsp/imx-mkimage/imx-mkimage_git.bb6
-rw-r--r--recipes-bsp/imx-mkimage/imx-mkimage_git.inc4
-rw-r--r--recipes-bsp/imx-sc-firmware/imx-sc-firmware_1.18.0.bb6
-rw-r--r--recipes-bsp/imx-seco/imx-seco-libs_git.bb1
-rw-r--r--recipes-bsp/imx-secure-enclave/imx-secure-enclave.inc5
-rw-r--r--recipes-bsp/imx-secure-enclave/imx-secure-enclave_git.bb2
-rw-r--r--recipes-bsp/imx-test/imx-test_00.00.00.bb1
-rw-r--r--recipes-bsp/imx-test/imx-test_git.bb15
-rw-r--r--recipes-bsp/imx-uuc/imx-uuc_git.bb3
-rw-r--r--recipes-bsp/imx-vpu-hantro-vc/imx-vpu-hantro-vc_1.11.0.bb11
-rw-r--r--recipes-bsp/imx-vpu-hantro/imx-vpu-hantro-daemon_1.9.0.bb15
-rw-r--r--recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.40.0.bb20
-rw-r--r--recipes-bsp/imx-vpu/imx-vpu_5.4.39.3.bb3
-rw-r--r--recipes-bsp/inphi/inphi_git.bb9
-rw-r--r--recipes-bsp/isp-imx/basler-camera_4.2.2.26.1.bb6
-rw-r--r--recipes-bsp/isp-imx/isp-imx_4.2.2.26.1.bb11
-rw-r--r--recipes-bsp/libimxdmabuffer/libimxdmabuffer_1.2.0.bb32
-rw-r--r--recipes-bsp/ls2-phy/ls2-phy_git.bb8
-rw-r--r--recipes-bsp/mc-utils/mc-utils_git.bb17
-rw-r--r--recipes-bsp/mxsldr/mxsldr_git.bb14
-rw-r--r--recipes-bsp/ppfe-firmware/ppfe-firmware_git.bb6
-rw-r--r--recipes-bsp/qe-ucode/qe-ucode_git.bb1
-rw-r--r--recipes-bsp/rcw/rcw_git.bb1
-rw-r--r--recipes-bsp/u-boot/u-boot-fslc-common_2025.01.inc1
-rw-r--r--recipes-bsp/u-boot/u-boot-fslc-mxsboot_2025.01.bb2
-rw-r--r--recipes-bsp/u-boot/u-boot-fslc_2025.01.bb10
-rw-r--r--recipes-bsp/u-boot/u-boot-imx-common_2025.04.inc2
-rw-r--r--recipes-bsp/u-boot/u-boot-imx_2025.04.bb1
-rw-r--r--recipes-bsp/u-boot/u-boot-qoriq_2025.04.bb5
-rw-r--r--recipes-bsp/uefi/uefi_git.bb1
-rw-r--r--recipes-connectivity/mbedtls/mbedtls_3.6.5.bb42
-rw-r--r--recipes-core/packagegroup/nativesdk-packagegroup-sdk-host.bbappend2
-rw-r--r--recipes-core/udev/udev-rules-imx.bb4
-rw-r--r--recipes-core/udev/udev-rules-qoriq.bb7
-rw-r--r--recipes-devtools/devregs/devregs_git.bb9
-rw-r--r--recipes-devtools/half/half_2.1.0.bb7
-rw-r--r--recipes-devtools/imx-usb-loader/imx-usb-loader_git.bb11
-rw-r--r--recipes-devtools/qemu/qemu-qoriq.inc58
-rw-r--r--recipes-devtools/qemu/qemu-qoriq_4.2.bb4
-rw-r--r--recipes-devtools/qoriq-cst/qoriq-cst_git.bb3
-rw-r--r--recipes-devtools/stb/stb_git.bb5
-rw-r--r--recipes-devtools/uuu/uuu-bin_1.5.233.bb2
-rw-r--r--recipes-downgrade/glslang/glslang_1.3.275.0.imx.bb8
-rw-r--r--recipes-downgrade/spir/spirv-tools_1.3.275.0.imx.bb8
-rw-r--r--recipes-downgrade/vulkan/vulkan-headers_1.3.275.0.imx.bb6
-rw-r--r--recipes-downgrade/vulkan/vulkan-loader_1.3.275.0.imx.bb18
-rw-r--r--recipes-downgrade/vulkan/vulkan-tools_1.3.275.0.imx.bb8
-rw-r--r--recipes-downgrade/vulkan/vulkan-utility-libraries_1.3.275.0.imx.bb6
-rw-r--r--recipes-downgrade/vulkan/vulkan-validation-layers_1.3.275.0.imx.bb6
-rw-r--r--recipes-dpaa/eth-config/eth-config_git.bb2
-rw-r--r--recipes-dpaa/flib/flib_git.bb4
-rw-r--r--recipes-dpaa/fm-ucode/fm-ucode_git.bb2
-rw-r--r--recipes-dpaa/fmlib/fmlib_git.bb8
-rw-r--r--recipes-dpaa2/aiopsl/aiopsl_git.bb2
-rw-r--r--recipes-dpaa2/dce/dce_git.bb6
-rw-r--r--recipes-dpaa2/gpp-aioptool/gpp-aioptool_git.bb12
-rw-r--r--recipes-dpaa2/management-complex/management-complex_10.39.0.bb3
-rw-r--r--recipes-dpaa2/restool/restool_git.bb3
-rw-r--r--recipes-dpaa2/spc/spc_git.bb13
-rw-r--r--recipes-extended/crconf/crconf_git.bb2
-rw-r--r--recipes-extended/dpdk/dpdk_22.11.bb18
-rw-r--r--recipes-extended/jailhouse/jailhouse-imx_git.bb22
-rw-r--r--recipes-extended/libpkcs11/libpkcs11_git.bb5
-rw-r--r--recipes-extended/merge-files/merge-files_1.0.bb3
-rw-r--r--recipes-extended/odp/odp.inc10
-rw-r--r--recipes-extended/odp/odp_git.bb6
-rw-r--r--recipes-extended/ofp/ofp_git.bb4
-rw-r--r--recipes-extended/ovs-dpdk/ovs-dpdk_3.1.bb9
-rw-r--r--recipes-extended/pktgen-dpdk/pktgen-dpdk_21.05.0.bb11
-rw-r--r--recipes-extended/secure-obj/secure-obj-module_git.bb2
-rw-r--r--recipes-extended/secure-obj/secure-obj.inc3
-rw-r--r--recipes-extended/secure-obj/secure-obj_git.bb30
-rw-r--r--recipes-extended/skmm-ep/skmm-ep_git.bb8
-rw-r--r--recipes-extended/testfloat/testfloat_2a.bb13
-rw-r--r--recipes-extended/tsntool/tsntool_git.bb5
-rw-r--r--recipes-fsl/fsl-rc-local/fsl-rc-local.bb5
-rw-r--r--recipes-fsl/images/fsl-image-machine-test.bb8
-rw-r--r--recipes-fsl/images/fsl-image-mfgtool-initramfs.bb2
-rw-r--r--recipes-fsl/images/fsl-image-multimedia-full.bb2
-rw-r--r--recipes-fsl/images/fsl-image-multimedia.bb6
-rw-r--r--recipes-fsl/images/fsl-image-network-full-cmdline.bb4
-rw-r--r--recipes-fsl/mcore-demos/imx-mcore-demos.inc50
-rw-r--r--recipes-fsl/packagegroups/packagegroup-fsl-gstreamer1.0-commercial.bb8
-rw-r--r--recipes-fsl/packagegroups/packagegroup-fsl-gstreamer1.0-full.bb6
-rw-r--r--recipes-fsl/packagegroups/packagegroup-fsl-gstreamer1.0.bb32
-rw-r--r--recipes-fsl/packagegroups/packagegroup-fsl-isp.bb6
-rw-r--r--recipes-fsl/packagegroups/packagegroup-fsl-mfgtool.bb10
-rw-r--r--recipes-fsl/packagegroups/packagegroup-fsl-network.bb42
-rw-r--r--recipes-fsl/packagegroups/packagegroup-fsl-tools-gpu-external.bb8
-rw-r--r--recipes-fsl/packagegroups/packagegroup-fsl-tools-gpu.bb4
-rw-r--r--recipes-fsl/packagegroups/packagegroup-imx-tools-audio.bb6
-rw-r--r--recipes-graphics/devil/devil_1.8.0.bb4
-rw-r--r--recipes-graphics/drm/libdrm_2.4.127.imx.bb12
-rw-r--r--recipes-graphics/gli/gli_0.8.4.0.bb2
-rw-r--r--recipes-graphics/imx-g2d/imx-dpu-g2d_2.5.0.2.bb10
-rw-r--r--recipes-graphics/imx-g2d/imx-g2d-samples_git.bb20
-rw-r--r--recipes-graphics/imx-g2d/imx-gpu-g2d_6.4.11.p4.4.bb5
-rw-r--r--recipes-graphics/imx-g2d/imx-pxp-g2d_git.bb5
-rw-r--r--recipes-graphics/imx-gpu-apitrace/imx-gpu-apitrace_10.0.0.bb16
-rw-r--r--recipes-graphics/imx-gpu-sdk/imx-gpu-sdk_6.1.1.bb51
-rw-r--r--recipes-graphics/imx-gpu-sdk/libxdg-shell.bb7
-rw-r--r--recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc95
-rw-r--r--recipes-graphics/mali/mali-imx.inc32
-rw-r--r--recipes-graphics/mesa/mesa-demos_%.bbappend10
-rw-r--r--recipes-graphics/mesa/mesa-etnaviv-env_0.1.bb6
-rw-r--r--recipes-graphics/piglit/piglit_%.bbappend14
-rw-r--r--recipes-graphics/rapidopencl/rapidopencl_1.1.0.1.bb3
-rw-r--r--recipes-graphics/rapidopenvx/rapidopenvx_1.1.0.bb3
-rw-r--r--recipes-graphics/rapidvulkan/rapidvulkan_1.2.162.0.bb4
-rw-r--r--recipes-graphics/vulkan/assimp_5.4.3.bb1
-rw-r--r--recipes-graphics/vulkan/vulkan-loader_%.bbappend2
-rw-r--r--recipes-graphics/vulkan/vulkan-wsi-layer_git.bb5
-rw-r--r--recipes-graphics/waffle/waffle_%.bbappend10
-rw-r--r--recipes-graphics/wayland/wayland-protocols_%.bbappend2
-rw-r--r--recipes-graphics/wayland/weston-init.bbappend32
-rw-r--r--recipes-graphics/wayland/weston_10.0.5.imx.bb52
-rw-r--r--recipes-graphics/wayland/weston_14.0.2.imx.bb50
-rw-r--r--recipes-graphics/xorg-xserver/xserver-xf86-config_%.bbappend2
-rw-r--r--recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend8
-rw-r--r--recipes-graphics/xwayland/xwayland_%.bbappend2
-rw-r--r--recipes-kernel/ceetm/ceetm_git.bb7
-rw-r--r--recipes-kernel/kernel-modules/kernel-module-ar_git.bb13
-rw-r--r--recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.4.11.p2.2+fslc.bb4
-rw-r--r--recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.4.11.p4.4.bb4
-rw-r--r--recipes-kernel/kernel-modules/kernel-module-isp-vvcam_4.2.2.26.1.bb5
-rw-r--r--recipes-kernel/kernel-modules/kernel-module-ls-debug_git.bb3
-rw-r--r--recipes-kernel/kernel-modules/kernel-module-nxp-wlan_git.bb5
-rw-r--r--recipes-kernel/kernel-modules/kernel-module-uio-seville_0.1.bb3
-rw-r--r--recipes-kernel/linux/linux-fslc-imx_6.18.bb7
-rw-r--r--recipes-kernel/linux/linux-fslc-lts_6.1.bb7
-rw-r--r--recipes-kernel/linux/linux-fslc-lts_6.6.bb7
-rw-r--r--recipes-kernel/linux/linux-fslc-qoriq_5.4.bb7
-rw-r--r--recipes-kernel/linux/linux-fslc_6.12.bb9
-rw-r--r--recipes-kernel/linux/linux-imx-headers_6.18.bb10
-rw-r--r--recipes-kernel/linux/linux-imx_6.18.bb3
-rw-r--r--recipes-kernel/linux/linux-qoriq.inc4
-rw-r--r--recipes-kernel/linux/linux-qoriq_6.12.bb1
-rw-r--r--recipes-kernel/skmm-host/skmm-host_git.bb2
-rw-r--r--recipes-libraries/ethos-u-driver-stack/ethos-u-driver-stack_24.05.bb9
-rw-r--r--recipes-libraries/ethos-u-driver-stack/ethos-u-firmware_24.05.bb3
-rw-r--r--recipes-multimedia/alsa/alsa-lib_%.bbappend4
-rw-r--r--recipes-multimedia/alsa/imx-alsa-plugins_git.bb3
-rw-r--r--recipes-multimedia/gstreamer/gst-devtools_1.26.6.bb4
-rw-r--r--recipes-multimedia/gstreamer/gst-examples_1.26.6.bb8
-rw-r--r--recipes-multimedia/gstreamer/gst-variable-rtsp-server_1.0.bb5
-rw-r--r--recipes-multimedia/gstreamer/gstreamer1.0-libav_1.26.6.bb4
-rw-r--r--recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.26.6.imx.bb138
-rw-r--r--recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.26.6.imx.bb56
-rw-r--r--recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.26.6.imx.bb58
-rw-r--r--recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_2.2.0.bb13
-rw-r--r--recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.26.6.bb20
-rw-r--r--recipes-multimedia/gstreamer/gstreamer1.0-python_1.26.6.bb2
-rw-r--r--recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.26.6.bb4
-rw-r--r--recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.26.6.bb8
-rw-r--r--recipes-multimedia/gstreamer/gstreamer1.0_1.26.6.imx.bb16
-rw-r--r--recipes-multimedia/gstreamer/imx-gst1.0-plugin_git.bb22
-rw-r--r--recipes-multimedia/imx-codec/imx-codec_4.10.0.bb8
-rw-r--r--recipes-multimedia/imx-dsp/imx-dsp-codec-ext_2.1.8.bb3
-rw-r--r--recipes-multimedia/imx-dsp/imx-dsp_2.1.10.bb15
-rw-r--r--recipes-multimedia/imx-dspc-asrc/imx-dspc-asrc_1.0.2.bb6
-rw-r--r--recipes-multimedia/imx-opencl-converter/imx-opencl-converter_0.11.0.bb8
-rw-r--r--recipes-multimedia/imx-parser/imx-parser_4.10.3.bb16
-rw-r--r--recipes-multimedia/imx-sw-pdm/imx-sw-pdm_1.0.3.bb4
-rw-r--r--recipes-multimedia/imx-vpuwrap/imx-vpuwrap_git.bb6
-rw-r--r--recipes-multimedia/libcamera/libcamera_0.6.0.imx.bb13
-rw-r--r--recipes-multimedia/libcamera/neo-ipa-uguzzi_0.2.6.bb8
-rw-r--r--recipes-multimedia/libimxvpuapi/libimxvpuapi2_2.3.1.bb7
-rw-r--r--recipes-multimedia/libimxvpuapi/libimxvpuapi_git.bb5
-rw-r--r--recipes-multimedia/nxp-afe/nxp-afe-voiceseeker_git.bb4
-rw-r--r--recipes-multimedia/nxp-afe/nxp-afe_git.bb9
-rw-r--r--recipes-multimedia/pulseaudio/pulseaudio_%.bbappend10
-rw-r--r--recipes-multimedia/tinycompress/tinycompress_1.2.5.bb1
-rw-r--r--recipes-security/optee-imx/optee-client-fslc.inc10
-rw-r--r--recipes-security/optee-imx/optee-fslc.inc2
-rw-r--r--recipes-security/optee-imx/optee-os-common-fslc-imx.inc42
-rw-r--r--recipes-security/optee-imx/optee-os-fslc.inc9
-rw-r--r--recipes-security/optee-imx/optee-os-tadevkit-fslc-imx.inc2
-rw-r--r--recipes-security/optee-imx/optee-test-fslc-imx.inc2
-rw-r--r--recipes-security/optee-imx/optee-test-fslc.inc12
-rw-r--r--recipes-security/optee-imx/optee-test_4.8.0.imx.bb1
-rw-r--r--recipes-security/optee-qoriq/optee-os-qoriq-tadevkit_4.8.0.bb2
-rw-r--r--recipes-security/optee-qoriq/optee-os-qoriq_4.8.0.bb16
-rw-r--r--recipes-security/optee-qoriq/optee-os.nxp.inc6
-rw-r--r--recipes-security/optee-qoriq/optee-test.nxp.inc2
-rw-r--r--recipes-security/smw/crypto-af-alg_git.bb3
-rw-r--r--recipes-security/smw/itest_git.bb21
-rw-r--r--recipes-security/smw/keyctl-caam_git.bb7
-rw-r--r--recipes-security/smw/smw_5.3.bb23
266 files changed, 3045 insertions, 1782 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 000000000..51367ad58
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,32 @@
1# EditorConfig: deterministic whitespace enforcement for a Yocto/OE layer.
2# https://editorconfig.org — every modern editor applies these on save, and CI
3# can gate them with `editorconfig-checker`. Mirrors meta-openembedded's config
4# and the Yocto Recipe Style Guide: spaces, 4 wide, no tabs, trimmed, LF, final
5# newline. This complements oelint-adv (which handles semantic rules) and removes
6# the need for oelint's non-deterministic whitespace auto-fixes.
7root = true
8
9[*]
10end_of_line = lf
11insert_final_newline = true
12trim_trailing_whitespace = true
13charset = utf-8
14indent_style = space
15indent_size = 4
16
17# Makefiles require literal tabs.
18[Makefile]
19indent_style = tab
20
21# Markdown uses trailing whitespace for hard line breaks.
22[*.md]
23trim_trailing_whitespace = false
24
25# Never normalise patches — their bytes must match upstream exactly.
26[*.{patch,diff}]
27end_of_line = unset
28insert_final_newline = unset
29trim_trailing_whitespace = unset
30charset = unset
31indent_style = unset
32indent_size = unset
diff --git a/.oelint.cfg b/.oelint.cfg
new file mode 100644
index 000000000..37c94ca3c
--- /dev/null
+++ b/.oelint.cfg
@@ -0,0 +1,24 @@
1# oelint-adv defaults for this layer. Auto-loaded when oelint-adv runs with this
2# directory as the working directory (see contrib/oelint/run-oelint.sh).
3#
4# Layer-specific parser hints live in oelint.constants.json and are passed by
5# contrib/oelint/run-oelint.sh. Per-recipe exceptions should stay inline as
6# '# nooelint: <rule.id>' comments next to the finding, so new recipes are fully
7# linted and each exception is documented in place. Only rules that provably
8# never apply to the whole layer are suppressed here:
9#
10# * oelint.var.bbclassextend - meta-freescale is a BSP layer; the bulk of its
11# recipes package machine-specific firmware and prebuilt binaries that are
12# not cross-compilable libraries, so BBCLASSEXTEND (native/nativesdk) does
13# not apply.
14# * oelint.var.suggestedvar.CVE_PRODUCT / .BUGTRACKER - advisory 'suggested'
15# variables. Most recipes here package NXP firmware/BSP components with no
16# upstream bug tracker and no meaningful NVD CPE product; guessing a
17# CVE_PRODUCT would create false or missed CVE matches, which is worse than
18# leaving it unset. Set them inline on the rare recipe that has a real value.
19[oelint]
20release = wrynose
21suppress =
22 oelint.var.bbclassextend
23 oelint.var.suggestedvar.CVE_PRODUCT
24 oelint.var.suggestedvar.BUGTRACKER
diff --git a/LICENSE b/LICENSE
index 69b1cd2fd..97324c84c 100644
--- a/LICENSE
+++ b/LICENSE
@@ -7,7 +7,7 @@ This file lists all licenses used by recipes in the meta-freescale layer.
7./dynamic-layers/openembedded-layer/recipes-devtools/utp-com/utp-com_git.bb: LICENSE = "GPL-2.0-only" 7./dynamic-layers/openembedded-layer/recipes-devtools/utp-com/utp-com_git.bb: LICENSE = "GPL-2.0-only"
8./dynamic-layers/openembedded-layer/recipes-devtools/uuu/uuu_git.bb: LICENSE = "BSD-3-Clause" 8./dynamic-layers/openembedded-layer/recipes-devtools/uuu/uuu_git.bb: LICENSE = "BSD-3-Clause"
9./dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc_git.bb: LICENSE = "MIT" 9./dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc_git.bb: LICENSE = "MIT"
10./dynamic-layers/openembedded-layer/recipes-support/opencv/opencv_4.6.0.imx.bb: LICENSE = "Apache-2.0" 10./dynamic-layers/openembedded-layer/recipes-support/opencv/opencv_4.13.0.imx.bb: LICENSE = "Apache-2.0"
11./recipes-bsp/atf/qoriq-atf-2.12.inc: LICENSE = "BSD-3-Clause" 11./recipes-bsp/atf/qoriq-atf-2.12.inc: LICENSE = "BSD-3-Clause"
12./recipes-bsp/boot-format/boot-format_git.bb: LICENSE = "GPL-2.0-only" 12./recipes-bsp/boot-format/boot-format_git.bb: LICENSE = "GPL-2.0-only"
13./recipes-bsp/ddr-phy/ddr-phy_git.bb: LICENSE = "NXP-Binary-EULA" 13./recipes-bsp/ddr-phy/ddr-phy_git.bb: LICENSE = "NXP-Binary-EULA"
@@ -60,7 +60,7 @@ This file lists all licenses used by recipes in the meta-freescale layer.
60./recipes-devtools/uuu/uuu-bin_1.5.233.bb: LICENSE = "BSD-3-Clause & LGPL-2.1-or-later" 60./recipes-devtools/uuu/uuu-bin_1.5.233.bb: LICENSE = "BSD-3-Clause & LGPL-2.1-or-later"
61./recipes-downgrade/glslang/glslang_1.3.275.0.imx.bb: LICENSE = "BSD-3-Clause & BSD-2-Clause & MIT & Apache-2.0 & GPL-3-with-bison-exception" 61./recipes-downgrade/glslang/glslang_1.3.275.0.imx.bb: LICENSE = "BSD-3-Clause & BSD-2-Clause & MIT & Apache-2.0 & GPL-3-with-bison-exception"
62./recipes-downgrade/spir/spirv-headers_1.3.275.0.imx.bb: LICENSE = "MIT" 62./recipes-downgrade/spir/spirv-headers_1.3.275.0.imx.bb: LICENSE = "MIT"
63./recipes-downgrade/spir/spirv-tools_1.3.275.0.imx.bb: LICENSE = "Apache-2.0" 63./recipes-downgrade/spir/spirv-tools_1.3.275.0.imx.bb: LICENSE = "Apache-2.0"
64./recipes-downgrade/vulkan/vulkan-headers_1.3.275.0.imx.bb: LICENSE = "Apache-2.0 & MIT" 64./recipes-downgrade/vulkan/vulkan-headers_1.3.275.0.imx.bb: LICENSE = "Apache-2.0 & MIT"
65./recipes-downgrade/vulkan/vulkan-loader_1.3.275.0.imx.bb: LICENSE = "Apache-2.0" 65./recipes-downgrade/vulkan/vulkan-loader_1.3.275.0.imx.bb: LICENSE = "Apache-2.0"
66./recipes-downgrade/vulkan/vulkan-tools_1.3.275.0.imx.bb: LICENSE = "Apache-2.0" 66./recipes-downgrade/vulkan/vulkan-tools_1.3.275.0.imx.bb: LICENSE = "Apache-2.0"
diff --git a/classes/fsl-eula-unpack.bbclass b/classes/fsl-eula-unpack.bbclass
index db9d9a412..ee938a74d 100644
--- a/classes/fsl-eula-unpack.bbclass
+++ b/classes/fsl-eula-unpack.bbclass
@@ -6,25 +6,25 @@
6# 6#
7# SRC_URI = "${FSL_MIRROR}/firmware-imx-${PV};fsl-eula=true" 7# SRC_URI = "${FSL_MIRROR}/firmware-imx-${PV};fsl-eula=true"
8 8
9FSL_EULA_FILE_MD5SUM_LA_OPT_BASE_LICENSE_V8 = "01ba08a2b77c3a0a9d0ab5d4d83fed64" 9FSL_EULA_FILE_MD5SUM_LA_OPT_BASE_LICENSE_V8 = "01ba08a2b77c3a0a9d0ab5d4d83fed64"
10FSL_EULA_FILE_MD5SUM_LA_OPT_BASE_LICENSE_V10 = "3880bb9c943b135a30fad5e8aabd3ee9" 10FSL_EULA_FILE_MD5SUM_LA_OPT_BASE_LICENSE_V10 = "3880bb9c943b135a30fad5e8aabd3ee9"
11FSL_EULA_FILE_MD5SUM_LA_OPT_BASE_LICENSE_V11 = "a31dce3023402a821cfcdc1bb8dbdbc0" 11FSL_EULA_FILE_MD5SUM_LA_OPT_BASE_LICENSE_V11 = "a31dce3023402a821cfcdc1bb8dbdbc0"
12FSL_EULA_FILE_MD5SUM_LA_OPT_BASE_LICENSE_V12 = "8cf95184c220e247b9917e7244124c5a" 12FSL_EULA_FILE_MD5SUM_LA_OPT_BASE_LICENSE_V12 = "8cf95184c220e247b9917e7244124c5a"
13FSL_EULA_FILE_MD5SUM_LA_OPT_BASE_LICENSE_V13 = "102094e9e695888c6a9f9fda9004165d" 13FSL_EULA_FILE_MD5SUM_LA_OPT_BASE_LICENSE_V13 = "102094e9e695888c6a9f9fda9004165d"
14FSL_EULA_FILE_MD5SUM_LA_OPT_BASE_LICENSE_V14 = "d4f548f93b5fe0ee2bc86758c344412d" 14FSL_EULA_FILE_MD5SUM_LA_OPT_BASE_LICENSE_V14 = "d4f548f93b5fe0ee2bc86758c344412d"
15FSL_EULA_FILE_MD5SUM_LA_OPT_BASE_LICENSE_V16 = "be67a88e9e6c841043b005ad7bcf8309" 15FSL_EULA_FILE_MD5SUM_LA_OPT_BASE_LICENSE_V16 = "be67a88e9e6c841043b005ad7bcf8309"
16FSL_EULA_FILE_MD5SUM_LA_OPT_BASE_LICENSE_V17 = "88595f92466edd79be7f4f9547ffa0ef" 16FSL_EULA_FILE_MD5SUM_LA_OPT_BASE_LICENSE_V17 = "88595f92466edd79be7f4f9547ffa0ef"
17FSL_EULA_FILE_MD5SUM_LA_OPT_BASE_LICENSE_V18 = "6b552f505eedab4a11ab538cf3db743a" 17FSL_EULA_FILE_MD5SUM_LA_OPT_BASE_LICENSE_V18 = "6b552f505eedab4a11ab538cf3db743a"
18FSL_EULA_FILE_MD5SUM_LA_OPT_BASE_LICENSE_V20 = "08fd295cce89b0a9c74b9b83ed74f671" 18FSL_EULA_FILE_MD5SUM_LA_OPT_BASE_LICENSE_V20 = "08fd295cce89b0a9c74b9b83ed74f671"
19FSL_EULA_FILE_MD5SUM_LA_OPT_BASE_LICENSE_V21 = "6bd2df2910a2234bf6f419b7d2f531a3" 19FSL_EULA_FILE_MD5SUM_LA_OPT_BASE_LICENSE_V21 = "6bd2df2910a2234bf6f419b7d2f531a3"
20FSL_EULA_FILE_MD5SUM_LA_OPT_BASE_LICENSE_V22 = "75abe2fa1d16ca79f87cde926f05f72d" 20FSL_EULA_FILE_MD5SUM_LA_OPT_BASE_LICENSE_V22 = "75abe2fa1d16ca79f87cde926f05f72d"
21FSL_EULA_FILE_MD5SUM_LA_OPT_BASE_LICENSE_V24 = "ab61cab9599935bfe9f700405ef00f28" 21FSL_EULA_FILE_MD5SUM_LA_OPT_BASE_LICENSE_V24 = "ab61cab9599935bfe9f700405ef00f28"
22FSL_EULA_FILE_MD5SUM_LA_OPT_BASE_LICENSE_V26 = "5ab1a30d0cd181e3408077727ea5a2db" 22FSL_EULA_FILE_MD5SUM_LA_OPT_BASE_LICENSE_V26 = "5ab1a30d0cd181e3408077727ea5a2db"
23FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V3 = "6dfb32a488e5fd6bae52fbf6c7ebb086" 23FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V3 = "6dfb32a488e5fd6bae52fbf6c7ebb086"
24FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V5 = "80c0478f4339af024519b3723023fe28" 24FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V5 = "80c0478f4339af024519b3723023fe28"
25FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V7 = "fb0303e4ee8b0e71c094171e2272bd44" 25FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V7 = "fb0303e4ee8b0e71c094171e2272bd44"
26FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V8 = "72c0f70181bb6e83eee6aab8de12a9f3" 26FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V8 = "72c0f70181bb6e83eee6aab8de12a9f3"
27FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V9 = "6c12031a11b81db21cdfe0be88cac4b3" 27FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V9 = "6c12031a11b81db21cdfe0be88cac4b3"
28FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V10 = "fd4b227530cd88a82af6a5982cfb724d" 28FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V10 = "fd4b227530cd88a82af6a5982cfb724d"
29FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V11 = "228c72f2a91452b8a03c4cab30f30ef9" 29FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V11 = "228c72f2a91452b8a03c4cab30f30ef9"
30FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V13 = "1b4db4b25c3a1e422c0c0ed64feb65d2" 30FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V13 = "1b4db4b25c3a1e422c0c0ed64feb65d2"
@@ -66,7 +66,7 @@ FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V60 = "cf2070b16b9d4acf60a98e8c
66FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V62 = "a93b654673e1bc8398ed1f30e0813359" 66FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V62 = "a93b654673e1bc8398ed1f30e0813359"
67FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V63 = "bc649096ad3928ec06a8713b8d787eac" 67FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V63 = "bc649096ad3928ec06a8713b8d787eac"
68 68
69FSL_EULA_FILE_MD5SUMS = " \ 69FSL_EULA_FILE_MD5SUMS = "\
70 ${FSL_EULA_FILE_MD5SUM_LA_OPT_BASE_LICENSE_V8} \ 70 ${FSL_EULA_FILE_MD5SUM_LA_OPT_BASE_LICENSE_V8} \
71 ${FSL_EULA_FILE_MD5SUM_LA_OPT_BASE_LICENSE_V10} \ 71 ${FSL_EULA_FILE_MD5SUM_LA_OPT_BASE_LICENSE_V10} \
72 ${FSL_EULA_FILE_MD5SUM_LA_OPT_BASE_LICENSE_V11} \ 72 ${FSL_EULA_FILE_MD5SUM_LA_OPT_BASE_LICENSE_V11} \
@@ -129,8 +129,7 @@ FSL_EULA_FILE_MD5SUMS = " \
129" 129"
130 130
131# The checksum for the EULA in the layer 131# The checksum for the EULA in the layer
132FSL_EULA_FILE_MD5SUM ?= \ 132FSL_EULA_FILE_MD5SUM ?= "${FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V63}"
133 "${FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V63}"
134 133
135LIC_FILES_CHKSUM_LAYER ?= "file://${FSL_EULA_FILE};md5=${FSL_EULA_FILE_MD5SUM}" 134LIC_FILES_CHKSUM_LAYER ?= "file://${FSL_EULA_FILE};md5=${FSL_EULA_FILE_MD5SUM}"
136LIC_FILES_CHKSUM_LAYER[vardepsexclude] += "FSL_EULA_FILE" 135LIC_FILES_CHKSUM_LAYER[vardepsexclude] += "FSL_EULA_FILE"
diff --git a/classes/fsl-kernel-localversion.bbclass b/classes/fsl-kernel-localversion.bbclass
index fae3fe1d9..9b44fe194 100644
--- a/classes/fsl-kernel-localversion.bbclass
+++ b/classes/fsl-kernel-localversion.bbclass
@@ -13,36 +13,35 @@ SCMVERSION ??= "y"
13LOCALVERSION ??= "+fslc" 13LOCALVERSION ??= "+fslc"
14 14
15# LINUX_VERSION_EXTENSION is used as CONFIG_LOCALVERSION by kernel-yocto class 15# LINUX_VERSION_EXTENSION is used as CONFIG_LOCALVERSION by kernel-yocto class
16LINUX_VERSION_EXTENSION ?= \ 16LINUX_VERSION_EXTENSION ?= "${@bb.utils.contains('SCMVERSION', 'y', '', '${LOCALVERSION}', d)}"
17 "${@bb.utils.contains('SCMVERSION', 'y', '', '${LOCALVERSION}', d)}"
18 17
19do_kernel_localversion[dirs] += "${S} ${B}" 18do_kernel_localversion[dirs] += "${S} ${B}"
20do_kernel_localversion() { 19do_kernel_localversion() {
21 20
22 # Fallback for recipes not able to use LINUX_VERSION_EXTENSION 21 # Fallback for recipes not able to use LINUX_VERSION_EXTENSION
23 if [ "${@bb.data.inherits_class('kernel-yocto', d)}" = "False" ]; then 22 if [ "${@bb.data.inherits_class('kernel-yocto', d)}" = "False" ]; then
24 echo 'CONFIG_LOCALVERSION="${LOCALVERSION}"' >> ${B}/.config 23 echo 'CONFIG_LOCALVERSION="${LOCALVERSION}"' >> ${B}/.config
25 fi 24 fi
26 25
27 if [ "${SCMVERSION}" = "y" ]; then 26 if [ "${SCMVERSION}" = "y" ]; then
28 # Add GIT revision to the local version 27 # Add GIT revision to the local version
29 if [ "${SRCREV}" = "INVALID" ]; then 28 if [ "${SRCREV}" = "INVALID" ]; then
30 hash=${SRCREV_machine} 29 hash=${SRCREV_machine}
31 else 30 else
32 hash=${SRCREV} 31 hash=${SRCREV}
33 fi 32 fi
34 if [ "$hash" = "AUTOINC" ]; then 33 if [ "$hash" = "AUTOINC" ]; then
35 branch=`git --git-dir=${S}/.git symbolic-ref --short -q HEAD` 34 branch=`git --git-dir=${S}/.git symbolic-ref --short -q HEAD`
36 head=`git --git-dir=${S}/.git rev-parse --verify --short origin/${branch} 2> /dev/null` 35 head=`git --git-dir=${S}/.git rev-parse --verify --short origin/${branch} 2> /dev/null`
37 else 36 else
38 head=`git --git-dir=${S}/.git rev-parse --verify --short $hash 2> /dev/null` 37 head=`git --git-dir=${S}/.git rev-parse --verify --short $hash 2> /dev/null`
39 fi 38 fi
40 patches=`git --git-dir=${S}/.git rev-list --count $head..HEAD 2> /dev/null` 39 patches=`git --git-dir=${S}/.git rev-list --count $head..HEAD 2> /dev/null`
41 printf "%s%s%s%s" +g $head +p $patches > ${S}/.scmversion 40 printf "%s%s%s%s" +g $head +p $patches > ${S}/.scmversion
42 41
43 sed -i -e "/CONFIG_LOCALVERSION_AUTO[ =]/d" ${B}/.config 42 sed -i -e "/CONFIG_LOCALVERSION_AUTO[ =]/d" ${B}/.config
44 echo "CONFIG_LOCALVERSION_AUTO=y" >> ${B}/.config 43 echo "CONFIG_LOCALVERSION_AUTO=y" >> ${B}/.config
45 fi 44 fi
46} 45}
47 46
48addtask kernel_localversion before do_configure after do_patch do_kernel_configme 47addtask kernel_localversion before do_configure after do_patch do_kernel_configme
diff --git a/classes/fsl-u-boot-localversion.bbclass b/classes/fsl-u-boot-localversion.bbclass
index df4ac5fbf..c867c9f85 100644
--- a/classes/fsl-u-boot-localversion.bbclass
+++ b/classes/fsl-u-boot-localversion.bbclass
@@ -15,24 +15,24 @@ LOCALVERSION ??= "+fslc"
15UBOOT_LOCALVERSION = "${LOCALVERSION}" 15UBOOT_LOCALVERSION = "${LOCALVERSION}"
16 16
17do_compile:prepend() { 17do_compile:prepend() {
18 if [ "${SCMVERSION}" = "y" ]; then 18 if [ "${SCMVERSION}" = "y" ]; then
19 # Add GIT revision to the local version 19 # Add GIT revision to the local version
20 if [ "${SRCREV}" = "INVALID" ]; then 20 if [ "${SRCREV}" = "INVALID" ]; then
21 hash=${SRCREV_machine} 21 hash=${SRCREV_machine}
22 else 22 else
23 hash=${SRCREV} 23 hash=${SRCREV}
24 fi 24 fi
25 if [ "$hash" = "AUTOINC" ]; then 25 if [ "$hash" = "AUTOINC" ]; then
26 branch=`git --git-dir=${S}/.git symbolic-ref --short -q HEAD` 26 branch=`git --git-dir=${S}/.git symbolic-ref --short -q HEAD`
27 head=`git --git-dir=${S}/.git rev-parse --verify --short origin/${branch} 2> /dev/null` 27 head=`git --git-dir=${S}/.git rev-parse --verify --short origin/${branch} 2> /dev/null`
28 else 28 else
29 head=`git --git-dir=${S}/.git rev-parse --verify --short $hash 2> /dev/null` 29 head=`git --git-dir=${S}/.git rev-parse --verify --short $hash 2> /dev/null`
30 fi 30 fi
31 patches=`git --git-dir=${S}/.git rev-list --count $head..HEAD 2> /dev/null` 31 patches=`git --git-dir=${S}/.git rev-list --count $head..HEAD 2> /dev/null`
32 printf "%s%s%s%s%s" "${UBOOT_LOCALVERSION}" +g $head +p $patches > ${S}/.scmversion 32 printf "%s%s%s%s%s" "${UBOOT_LOCALVERSION}" +g $head +p $patches > ${S}/.scmversion
33 printf "%s%s%s%s%s" "${UBOOT_LOCALVERSION}" +g $head +p $patches > ${B}/.scmversion 33 printf "%s%s%s%s%s" "${UBOOT_LOCALVERSION}" +g $head +p $patches > ${B}/.scmversion
34 else 34 else
35 printf "%s" "${UBOOT_LOCALVERSION}" > ${S}/.scmversion 35 printf "%s" "${UBOOT_LOCALVERSION}" > ${S}/.scmversion
36 printf "%s" "${UBOOT_LOCALVERSION}" > ${B}/.scmversion 36 printf "%s" "${UBOOT_LOCALVERSION}" > ${B}/.scmversion
37 fi 37 fi
38} 38}
diff --git a/classes/image_populate_mfgtool.bbclass b/classes/image_populate_mfgtool.bbclass
index d30b47a3b..2c9b44f44 100644
--- a/classes/image_populate_mfgtool.bbclass
+++ b/classes/image_populate_mfgtool.bbclass
@@ -41,8 +41,8 @@
41# 41#
42# SPDX-License-Identifier: MIT 42# SPDX-License-Identifier: MIT
43 43
44MFGTOOL_FILESPATH ??= " \ 44MFGTOOL_FILESPATH ??= "\
45 ${@base_set_filespath(["%s/mfgtool" % p for p in "${BBPATH}".split(":")] \ 45 ${@base_set_filespath(["%s/mfgtool"% p for p in "${BBPATH}".split(":")] \
46 + ["${FILE_DIRNAME}/${BP}/mfgtool", \ 46 + ["${FILE_DIRNAME}/${BP}/mfgtool", \
47 "${FILE_DIRNAME}/${BPN}/mfgtool", \ 47 "${FILE_DIRNAME}/${BPN}/mfgtool", \
48 "${FILE_DIRNAME}/files/mfgtool"] \ 48 "${FILE_DIRNAME}/files/mfgtool"] \
diff --git a/classes/image_types_fsl.bbclass b/classes/image_types_fsl.bbclass
index 63a10f303..65b6a5dbd 100644
--- a/classes/image_types_fsl.bbclass
+++ b/classes/image_types_fsl.bbclass
@@ -38,7 +38,7 @@ do_image_wic[depends] += " \
38 38
39# We need to apply a fixup inside of the partition table 39# We need to apply a fixup inside of the partition table
40IMAGE_CMD:wic:append:mxs-generic-bsp() { 40IMAGE_CMD:wic:append:mxs-generic-bsp() {
41 # Change partition type for mxs processor family 41 # Change partition type for mxs processor family
42 bbnote "Setting partition type to 0x53 as required for mxs' SoC family." 42 bbnote "Setting partition type to 0x53 as required for mxs' SoC family."
43 echo -n S | dd of=$out.wic bs=1 count=1 seek=450 conv=notrunc 43 echo -n S | dd of=$out.wic bs=1 count=1 seek=450 conv=notrunc
44} 44}
diff --git a/classes/imx-boot-container.bbclass b/classes/imx-boot-container.bbclass
index 5365e5fd7..345f71035 100644
--- a/classes/imx-boot-container.bbclass
+++ b/classes/imx-boot-container.bbclass
@@ -32,21 +32,21 @@ ATF_MACHINE_NAME:append = "${@bb.utils.contains('MACHINE_FEATURES', 'optee', '-o
32OEI_NAME ?= "oei-${OEI_CORE}-*.bin" 32OEI_NAME ?= "oei-${OEI_CORE}-*.bin"
33 33
34IMX_BOOT_CONTAINER_FIRMWARE_SOC ?= "" 34IMX_BOOT_CONTAINER_FIRMWARE_SOC ?= ""
35IMX_BOOT_CONTAINER_FIRMWARE_SOC:mx8mq-generic-bsp = " \ 35IMX_BOOT_CONTAINER_FIRMWARE_SOC:mx8mq-generic-bsp = "\
36 signed_dp_imx8m.bin \ 36 signed_dp_imx8m.bin \
37 signed_hdmi_imx8m.bin \ 37 signed_hdmi_imx8m.bin \
38" 38"
39IMX_BOOT_CONTAINER_FIRMWARE_SOC:mx91-generic-bsp = " \ 39IMX_BOOT_CONTAINER_FIRMWARE_SOC:mx91-generic-bsp = "\
40 ${SECO_FIRMWARE_NAME} \ 40 ${SECO_FIRMWARE_NAME} \
41" 41"
42IMX_BOOT_CONTAINER_FIRMWARE_SOC:mx93-generic-bsp = " \ 42IMX_BOOT_CONTAINER_FIRMWARE_SOC:mx93-generic-bsp = "\
43 ${SECO_FIRMWARE_NAME} \ 43 ${SECO_FIRMWARE_NAME} \
44" 44"
45IMX_BOOT_CONTAINER_FIRMWARE_SOC:mx95-generic-bsp = " \ 45IMX_BOOT_CONTAINER_FIRMWARE_SOC:mx95-generic-bsp = "\
46 ${SECO_FIRMWARE_NAME} \ 46 ${SECO_FIRMWARE_NAME} \
47 ${OEI_NAME} \ 47 ${OEI_NAME} \
48" 48"
49IMX_BOOT_CONTAINER_FIRMWARE ?= " \ 49IMX_BOOT_CONTAINER_FIRMWARE ?= "\
50 ${IMX_BOOT_CONTAINER_FIRMWARE_SOC} \ 50 ${IMX_BOOT_CONTAINER_FIRMWARE_SOC} \
51 ${DDR_FIRMWARE_NAME} \ 51 ${DDR_FIRMWARE_NAME} \
52" 52"
diff --git a/classes/kernel-imximage.bbclass b/classes/kernel-imximage.bbclass
index ccf7ec53b..999840f69 100644
--- a/classes/kernel-imximage.bbclass
+++ b/classes/kernel-imximage.bbclass
@@ -17,44 +17,44 @@
17# 17#
18# Copyright 2017 (C) O.S. Systems Software LTDA. 18# Copyright 2017 (C) O.S. Systems Software LTDA.
19 19
20DEPENDS:append = ' u-boot-mkimage-native' 20DEPENDS:append = " u-boot-mkimage-native"
21 21
22IMXIMAGE_ENTRYPOINT ?= "${UBOOT_ENTRYPOINT}" 22IMXIMAGE_ENTRYPOINT ?= "${UBOOT_ENTRYPOINT}"
23 23
24imx_mkimage() { 24imx_mkimage() {
25 uboot-mkimage -n $1 -T imximage -e ${IMXIMAGE_ENTRYPOINT} -d $2 $2.imx 25 uboot-mkimage -n $1 -T imximage -e ${IMXIMAGE_ENTRYPOINT} -d $2 $2.imx
26} 26}
27 27
28gen_imximage() { 28gen_imximage() {
29 if [ -z "${IMXIMAGE_ENTRYPOINT}" ]; then 29 if [ -z "${IMXIMAGE_ENTRYPOINT}" ]; then
30 bbfatal "IMXIMAGE_ENTRYPOINT must have a valid value" 30 bbfatal "IMXIMAGE_ENTRYPOINT must have a valid value"
31 fi 31 fi
32 32
33 for DTB in ${KERNEL_DEVICETREE}; do 33 for DTB in ${KERNEL_DEVICETREE}; do
34 DTB=`normalize_dtb "${DTB}"` 34 DTB=`normalize_dtb "${DTB}"`
35 DTB_EXT=${DTB##*.} 35 DTB_EXT=${DTB##*.}
36 DTB_BASE_NAME=`basename ${DTB} ."${DTB_EXT}"` 36 DTB_BASE_NAME=`basename ${DTB} ."${DTB_EXT}"`
37 base_name="zImage-"${KERNEL_IMAGE_BASE_NAME} 37 base_name="zImage-"${KERNEL_IMAGE_BASE_NAME}
38 symlink_name="zImage-"${KERNEL_IMAGE_SYMLINK_NAME} 38 symlink_name="zImage-"${KERNEL_IMAGE_SYMLINK_NAME}
39 DTB_NAME=`echo ${base_name} | sed "s/${MACHINE}/${DTB_BASE_NAME}/g"` 39 DTB_NAME=`echo ${base_name} | sed "s/${MACHINE}/${DTB_BASE_NAME}/g"`
40 DTB_SYMLINK_NAME=`echo ${symlink_name} | sed "s/${MACHINE}/${DTB_BASE_NAME}/g"` 40 DTB_SYMLINK_NAME=`echo ${symlink_name} | sed "s/${MACHINE}/${DTB_BASE_NAME}/g"`
41 for DCD in dcd-${DTB}.cfg dcd.cfg; do 41 for DCD in dcd-${DTB}.cfg dcd.cfg; do
42 if [ -e "${WORKDIR}/${DCD}" ]; then 42 if [ -e "${WORKDIR}/${DCD}" ]; then
43 if [ -e ${DEPLOYDIR}/${DTB_NAME}.${DTB_EXT}.bin ]; then 43 if [ -e ${DEPLOYDIR}/${DTB_NAME}.${DTB_EXT}.bin ]; then
44 imx_mkimage ${WORKDIR}/${DCD} ${DEPLOYDIR}/${DTB_NAME}.${DTB_EXT}.bin 44 imx_mkimage ${WORKDIR}/${DCD} ${DEPLOYDIR}/${DTB_NAME}.${DTB_EXT}.bin
45 ln -sf ${DTB_NAME}.${DTB_EXT}.bin.imx ${DEPLOYDIR}/$type-${DTB_BASE_NAME}.${DTB_EXT}.bin.imx 45 ln -sf ${DTB_NAME}.${DTB_EXT}.bin.imx ${DEPLOYDIR}/$type-${DTB_BASE_NAME}.${DTB_EXT}.bin.imx
46 fi 46 fi
47 47
48 if [ -e ${DEPLOYDIR}/zImage-${INITRAMFS_BASE_NAME}-${DTB_BASE_NAME}.${DTB_EXT}.bin ]; then 48 if [ -e ${DEPLOYDIR}/zImage-${INITRAMFS_BASE_NAME}-${DTB_BASE_NAME}.${DTB_EXT}.bin ]; then
49 imx_mkimage ${WORKDIR}/${DCD} ${DEPLOYDIR}/zImage-${INITRAMFS_BASE_NAME}-${DTB_BASE_NAME}.${DTB_EXT}.bin 49 imx_mkimage ${WORKDIR}/${DCD} ${DEPLOYDIR}/zImage-${INITRAMFS_BASE_NAME}-${DTB_BASE_NAME}.${DTB_EXT}.bin
50 ln -sf zImage-${INITRAMFS_BASE_NAME}-${DTB_BASE_NAME}.${DTB_EXT}.bin.imx \ 50 ln -sf zImage-${INITRAMFS_BASE_NAME}-${DTB_BASE_NAME}.${DTB_EXT}.bin.imx \
51 ${DEPLOYDIR}/zImage-initramfs-${DTB_BASE_NAME}.${DTB_EXT}-${MACHINE}.bin.imx 51 ${DEPLOYDIR}/zImage-initramfs-${DTB_BASE_NAME}.${DTB_EXT}-${MACHINE}.bin.imx
52 fi 52 fi
53 fi 53 fi
54 done 54 done
55 done 55 done
56} 56}
57 57
58do_deploy:append() { 58do_deploy:append() {
59 gen_imximage 59 gen_imximage
60} 60}
diff --git a/classes/mfgtool-initramfs-image.bbclass b/classes/mfgtool-initramfs-image.bbclass
index f338bf829..38a607778 100644
--- a/classes/mfgtool-initramfs-image.bbclass
+++ b/classes/mfgtool-initramfs-image.bbclass
@@ -19,12 +19,12 @@ IMAGE_ROOTFS_SIZE ?= "8192"
19IMAGE_NAME_SUFFIX = "" 19IMAGE_NAME_SUFFIX = ""
20 20
21# Filesystems enabled by default 21# Filesystems enabled by default
22DEFAULT_FS_SUPPORT = " \ 22DEFAULT_FS_SUPPORT = "\
23 mtd \ 23 mtd \
24 extfs \ 24 extfs \
25" 25"
26 26
27IMAGE_FEATURES = " \ 27IMAGE_FEATURES = "\
28 ${DEFAULT_FS_SUPPORT} \ 28 ${DEFAULT_FS_SUPPORT} \
29 \ 29 \
30 read-only-rootfs \ 30 read-only-rootfs \
@@ -38,6 +38,6 @@ USE_DEVFS = "1"
38 38
39inherit core-image 39inherit core-image
40 40
41CORE_IMAGE_BASE_INSTALL = " \ 41CORE_IMAGE_BASE_INSTALL = "\
42 ${CORE_IMAGE_EXTRA_INSTALL} \ 42 ${CORE_IMAGE_EXTRA_INSTALL} \
43" 43"
diff --git a/classes/use-imx-security-controller-firmware.bbclass b/classes/use-imx-security-controller-firmware.bbclass
index 975dd77c1..6a39bb684 100644
--- a/classes/use-imx-security-controller-firmware.bbclass
+++ b/classes/use-imx-security-controller-firmware.bbclass
@@ -16,15 +16,15 @@
16# This behavior ensures that derivatives which requires SECO Firmware to be 16# This behavior ensures that derivatives which requires SECO Firmware to be
17# present in the image file have it properly defined. 17# present in the image file have it properly defined.
18 18
19SECO_FIRMWARE_NAME ?= "" 19SECO_FIRMWARE_NAME ?= ""
20SECO_FIRMWARE_NAME:mx8qm-generic-bsp ?= "mx8qm${IMX_SOC_REV_LOWER}-ahab-container.img" 20SECO_FIRMWARE_NAME:mx8qm-generic-bsp ?= "mx8qm${IMX_SOC_REV_LOWER}-ahab-container.img"
21SECO_FIRMWARE_NAME:mx8qxp-generic-bsp ?= "mx8qx${IMX_SOC_REV_LOWER}-ahab-container.img" 21SECO_FIRMWARE_NAME:mx8qxp-generic-bsp ?= "mx8qx${IMX_SOC_REV_LOWER}-ahab-container.img"
22SECO_FIRMWARE_NAME:mx8dx-generic-bsp ?= "mx8qx${IMX_SOC_REV_LOWER}-ahab-container.img" 22SECO_FIRMWARE_NAME:mx8dx-generic-bsp ?= "mx8qx${IMX_SOC_REV_LOWER}-ahab-container.img"
23SECO_FIRMWARE_NAME:mx8dxl-generic-bsp ?= "mx8dxl${IMX_SOC_REV_LOWER}-ahab-container.img" 23SECO_FIRMWARE_NAME:mx8dxl-generic-bsp ?= "mx8dxl${IMX_SOC_REV_LOWER}-ahab-container.img"
24SECO_FIRMWARE_NAME:mx8ulp-generic-bsp ?= "mx8ulp${IMX_SOC_REV_LOWER}-ahab-container.img" 24SECO_FIRMWARE_NAME:mx8ulp-generic-bsp ?= "mx8ulp${IMX_SOC_REV_LOWER}-ahab-container.img"
25SECO_FIRMWARE_NAME:mx91-generic-bsp ?= "mx91${IMX_SOC_REV_LOWER}-ahab-container.img" 25SECO_FIRMWARE_NAME:mx91-generic-bsp ?= "mx91${IMX_SOC_REV_LOWER}-ahab-container.img"
26SECO_FIRMWARE_NAME:mx93-generic-bsp ?= "mx93${IMX_SOC_REV_LOWER}-ahab-container.img" 26SECO_FIRMWARE_NAME:mx93-generic-bsp ?= "mx93${IMX_SOC_REV_LOWER}-ahab-container.img"
27SECO_FIRMWARE_NAME:mx95-generic-bsp ?= "mx95${IMX_SOC_REV_LOWER}-ahab-container.img" 27SECO_FIRMWARE_NAME:mx95-generic-bsp ?= "mx95${IMX_SOC_REV_LOWER}-ahab-container.img"
28 28
29python () { 29python () {
30 if "mx8m-generic-bsp" in d.getVar('MACHINEOVERRIDES').split(":"): 30 if "mx8m-generic-bsp" in d.getVar('MACHINEOVERRIDES').split(":"):
diff --git a/classes/uuu_bootloader_tag.bbclass b/classes/uuu_bootloader_tag.bbclass
index b41d22a92..54d9c1902 100644
--- a/classes/uuu_bootloader_tag.bbclass
+++ b/classes/uuu_bootloader_tag.bbclass
@@ -5,7 +5,7 @@
5# IMPORTANT: The tagged boot partition file should never be used directly with 5# IMPORTANT: The tagged boot partition file should never be used directly with
6# UUU, as it can cause UUU to hang. 6# UUU, as it can cause UUU to hang.
7 7
8UUU_BOOTLOADER = "${UBOOT_BINARY}" 8UUU_BOOTLOADER = "${UBOOT_BINARY}"
9UUU_BOOTLOADER:mx8-generic-bsp = "${@d.getVar('UBOOT_PROVIDES_BOOT_CONTAINER') == '0' and 'imx-boot' or 'flash.bin'}" 9UUU_BOOTLOADER:mx8-generic-bsp = "${@d.getVar('UBOOT_PROVIDES_BOOT_CONTAINER') == '0' and 'imx-boot' or 'flash.bin'}"
10UUU_BOOTLOADER:mx9-generic-bsp = "${@d.getVar('UBOOT_PROVIDES_BOOT_CONTAINER') == '0' and 'imx-boot' or 'flash.bin'}" 10UUU_BOOTLOADER:mx9-generic-bsp = "${@d.getVar('UBOOT_PROVIDES_BOOT_CONTAINER') == '0' and 'imx-boot' or 'flash.bin'}"
11 11
diff --git a/conf/layer.conf b/conf/layer.conf
index c91f4c4f8..9fcb322fe 100644
--- a/conf/layer.conf
+++ b/conf/layer.conf
@@ -24,6 +24,11 @@ FSL_MIRROR ?= "${IMX_MIRROR}"
24MIRRORS += " \ 24MIRRORS += " \
25${IMX_MIRROR} http://download.ossystems.com.br/bsp/freescale/source/ \n \ 25${IMX_MIRROR} http://download.ossystems.com.br/bsp/freescale/source/ \n \
26" 26"
27
28SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS:append = " \
29 linux-firmware->firmware-nxp-wifi \
30"
31
27# Needs gbm_bo_create_with_modifiers2() API which is not 32# Needs gbm_bo_create_with_modifiers2() API which is not
28# implemented in imx GL driver implementation 33# implemented in imx GL driver implementation
29COMPATIBLE_HOST:pn-xdg-desktop-portal-wlr:imxgpu = "(null)" 34COMPATIBLE_HOST:pn-xdg-desktop-portal-wlr:imxgpu = "(null)"
diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc
index 6a0fe3f11..916db91cf 100644
--- a/conf/machine/include/imx-base.inc
+++ b/conf/machine/include/imx-base.inc
@@ -618,8 +618,8 @@ PREFERRED_VERSION_optee-test:imx-nxp-bsp ??= "4.8.0.imx"
618PREFERRED_VERSION_optee-os-tadevkit:imx-nxp-bsp ??= "4.8.0.imx" 618PREFERRED_VERSION_optee-os-tadevkit:imx-nxp-bsp ??= "4.8.0.imx"
619 619
620# Use i.MX opencv Version 620# Use i.MX opencv Version
621PREFERRED_VERSION_opencv:mx8-nxp-bsp ??= "4.6.0.imx" 621PREFERRED_VERSION_opencv:mx8-nxp-bsp ??= "4.13.0.imx"
622PREFERRED_VERSION_opencv:mx9-nxp-bsp ??= "4.6.0.imx" 622PREFERRED_VERSION_opencv:mx9-nxp-bsp ??= "4.13.0.imx"
623 623
624# Handle default kernel 624# Handle default kernel
625IMX_DEFAULT_KERNEL:imx-mainline-bsp ??= "linux-fslc" 625IMX_DEFAULT_KERNEL:imx-mainline-bsp ??= "linux-fslc"
diff --git a/contrib/oelint/run-oelint.sh b/contrib/oelint/run-oelint.sh
new file mode 100755
index 000000000..d09f2a45d
--- /dev/null
+++ b/contrib/oelint/run-oelint.sh
@@ -0,0 +1,38 @@
1#!/bin/sh
2# Run oelint-adv over meta-freescale. Requires oelint-adv on PATH.
3#
4# All linter configuration is declarative and lives at the layer root, so this
5# script only has to enumerate the files (oelint-adv does not recurse into
6# directories):
7# * .oelint.cfg - sets '--release'; auto-loaded from the working
8# directory
9# * oelint.constants.json - the layer constant-DB additions, passed via
10# --constantmods for compatibility with oelint-adv
11# versions that do not auto-load layer constants
12#
13# Exceptions should stay inline as '# nooelint: <rule.id>' comments next to the
14# finding, so new recipes are fully linted and each exception is documented in
15# place (and flagged by oelint.file.inlinesuppress_na once stale).
16set -eu
17
18# Neutralise CDPATH so 'cd' below can't print or jump to an unexpected dir.
19unset CDPATH
20
21here=$(cd -- "$(dirname -- "$0")" && pwd)
22layer=$(cd -- "$here/../.." && pwd)
23
24# Run from the layer root so '.oelint.cfg' is probed in the working directory
25# and the relative constants path below is stable.
26cd -- "$layer"
27
28files=$(find . \
29 \( -name '*.bb' -o -name '*.bbappend' -o -name '*.bbclass' -o -name '*.inc' \) \
30 | sort)
31
32# Run serially: oelint-adv's parallel workers race while loading the layer
33# constants, intermittently emitting false "unknown variable/override" findings.
34# Serial execution is deterministic. Pass '--jobs N' to override.
35# Keep files before --constantmods: that option accepts one or more arguments
36# and otherwise consumes the entire generated file list.
37# shellcheck disable=SC2086
38exec oelint-adv --jobs 1 $files --constantmods +oelint.constants.json "$@"
diff --git a/dynamic-layers/arm-toolchain/recipes-bsp/imx-oei/imx-oei.inc b/dynamic-layers/arm-toolchain/recipes-bsp/imx-oei/imx-oei.inc
index 7c5303066..2bcbea653 100644
--- a/dynamic-layers/arm-toolchain/recipes-bsp/imx-oei/imx-oei.inc
+++ b/dynamic-layers/arm-toolchain/recipes-bsp/imx-oei/imx-oei.inc
@@ -3,7 +3,7 @@ DEPENDS = "gcc-arm-none-eabi-native"
3 3
4inherit deploy 4inherit deploy
5 5
6PACKAGECONFIG ??= " \ 6PACKAGECONFIG ??= "\
7 ${@bb.utils.contains('UBOOT_CONFIG', 'sd-ecc', 'ecc', '', d)}" 7 ${@bb.utils.contains('UBOOT_CONFIG', 'sd-ecc', 'ecc', '', d)}"
8 8
9PACKAGECONFIG[ecc] = "" 9PACKAGECONFIG[ecc] = ""
@@ -12,11 +12,11 @@ PACKAGECONFIG[tcm] = ""
12PACKAGE_ARCH = "${MACHINE_ARCH}" 12PACKAGE_ARCH = "${MACHINE_ARCH}"
13 13
14OEI_CONFIGS ?= "ddr ${@bb.utils.filter('PACKAGECONFIG', 'tcm', d)}" 14OEI_CONFIGS ?= "ddr ${@bb.utils.filter('PACKAGECONFIG', 'tcm', d)}"
15OEI_CORE ?= "UNDEFINED" 15OEI_CORE ?= "UNDEFINED"
16OEI_SOC ?= "UNDEFINED" 16OEI_SOC ?= "UNDEFINED"
17OEI_BOARD ?= "UNDEFINED" 17OEI_BOARD ?= "UNDEFINED"
18OEI_DDR_CONFIG ?= "" 18OEI_DDR_CONFIG ?= ""
19OEI_DEBUG ?= "0" 19OEI_DEBUG ?= "0"
20 20
21LDFLAGS[unexport] = "1" 21LDFLAGS[unexport] = "1"
22 22
diff --git a/dynamic-layers/arm-toolchain/recipes-bsp/imx-oei/imx-oei_1.0.0.bb b/dynamic-layers/arm-toolchain/recipes-bsp/imx-oei/imx-oei_1.0.0.bb
index 2962a1acc..c7edeebed 100644
--- a/dynamic-layers/arm-toolchain/recipes-bsp/imx-oei/imx-oei_1.0.0.bb
+++ b/dynamic-layers/arm-toolchain/recipes-bsp/imx-oei/imx-oei_1.0.0.bb
@@ -1,11 +1,12 @@
1SUMMARY = "i.MX Optional Execution Image" 1SUMMARY = "i.MX Optional Execution Image"
2DESCRIPTION = "\ 2DESCRIPTION = "\
3The Optional Executable Image (OEI) is an optional plugin loaded and executed \ 3 The Optional Executable Image (OEI) is an optional plugin loaded and executed \
4by Cortex-M processor ROM on many NXP i.MX processors. The Cortex-M is the \ 4 by Cortex-M processor ROM on many NXP i.MX processors. The Cortex-M is the \
5boot core, runs the boot ROM which loads the OEI, and then branches to the \ 5 boot core, runs the boot ROM which loads the OEI, and then branches to the \
6OEI. The OEI then configures some aspects of the hardware such as DDR config, \ 6 OEI. The OEI then configures some aspects of the hardware such as DDR config, \
7init TCM ECC, etc. There could be multiple OEI images in the boot container. \ 7 init TCM ECC, etc. There could be multiple OEI images in the boot container. \
8After execution of OEI, the processor returns to ROM execution." 8 After execution of OEI, the processor returns to ROM execution."
9HOMEPAGE = "https://github.com/nxp-imx/imx-oei"
9LICENSE = "BSD-3-Clause" 10LICENSE = "BSD-3-Clause"
10LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b66f32a90f9577a5a3255c21d79bc619" 11LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b66f32a90f9577a5a3255c21d79bc619"
11 12
diff --git a/dynamic-layers/arm-toolchain/recipes-bsp/imx-system-manager/imx-system-manager.inc b/dynamic-layers/arm-toolchain/recipes-bsp/imx-system-manager/imx-system-manager.inc
index 65f0a0e0c..e33cd1829 100644
--- a/dynamic-layers/arm-toolchain/recipes-bsp/imx-system-manager/imx-system-manager.inc
+++ b/dynamic-layers/arm-toolchain/recipes-bsp/imx-system-manager/imx-system-manager.inc
@@ -18,7 +18,7 @@ SYSTEM_MANAGER_CONFIG ?= "INVALID"
18 18
19LDFLAGS[unexport] = "1" 19LDFLAGS[unexport] = "1"
20 20
21EXTRA_OEMAKE = " \ 21EXTRA_OEMAKE = "\
22 CONFIG=${SYSTEM_MANAGER_CONFIG} \ 22 CONFIG=${SYSTEM_MANAGER_CONFIG} \
23 SM_CROSS_COMPILE=arm-none-eabi- \ 23 SM_CROSS_COMPILE=arm-none-eabi- \
24 V=1 \ 24 V=1 \
diff --git a/dynamic-layers/arm-toolchain/recipes-bsp/imx-system-manager/imx-system-manager_2026q1.bb b/dynamic-layers/arm-toolchain/recipes-bsp/imx-system-manager/imx-system-manager_2026q1.bb
index 888b883bc..874727666 100644
--- a/dynamic-layers/arm-toolchain/recipes-bsp/imx-system-manager/imx-system-manager_2026q1.bb
+++ b/dynamic-layers/arm-toolchain/recipes-bsp/imx-system-manager/imx-system-manager_2026q1.bb
@@ -1,13 +1,14 @@
1SUMMARY = "i.MX System Manager Firmware" 1SUMMARY = "i.MX System Manager Firmware"
2DESCRIPTION = "\ 2DESCRIPTION = "\
3The System Manager (SM) is a firmware that runs on a Cortex-M processor on \ 3 The System Manager (SM) is a firmware that runs on a Cortex-M processor on \
4many NXP i.MX processors. The Cortex-M is the boot core, runs the boot ROM \ 4 many NXP i.MX processors. The Cortex-M is the boot core, runs the boot ROM \
5which loads the SM (and other boot code), and then branches to the SM. The \ 5 which loads the SM (and other boot code), and then branches to the SM. The \
6SM then configures some aspects of the hardware such as isolation mechanisms \ 6 SM then configures some aspects of the hardware such as isolation mechanisms \
7and then starts other cores in the system. After starting these cores, it \ 7 and then starts other cores in the system. After starting these cores, it \
8enters a service mode where it provides access to clocking, power, sensor, \ 8 enters a service mode where it provides access to clocking, power, sensor, \
9and pin control via a client RPC API based on ARM's System Control and \ 9 and pin control via a client RPC API based on ARM's System Control and \
10Management Interface (SCMI)." 10 Management Interface (SCMI)."
11HOMEPAGE = "https://github.com/nxp-imx/imx-sm"
11LICENSE = "BSD-3-Clause" 12LICENSE = "BSD-3-Clause"
12LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=f2a70813bc08547f509361c08b718861" 13LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=f2a70813bc08547f509361c08b718861"
13 14
diff --git a/dynamic-layers/filesystem-layer/recipes-fsl/packagegroups/packagegroup-fsl-mfgtool.bbappend b/dynamic-layers/filesystem-layer/recipes-fsl/packagegroups/packagegroup-fsl-mfgtool.bbappend
index 563c9e763..5490f6881 100644
--- a/dynamic-layers/filesystem-layer/recipes-fsl/packagegroups/packagegroup-fsl-mfgtool.bbappend
+++ b/dynamic-layers/filesystem-layer/recipes-fsl/packagegroups/packagegroup-fsl-mfgtool.bbappend
@@ -1,10 +1,10 @@
1# Copyright (C) 2015 O.S. Systems Software LTDA. 1# Copyright (C) 2015 O.S. Systems Software LTDA.
2 2
3PACKAGES += " \ 3PACKAGES += "\
4 ${PN}-f2fs \ 4 ${PN}-f2fs \
5" 5"
6 6
7RDEPENDS:${PN}-f2fs = " \ 7RDEPENDS:${PN}-f2fs = "\
8 ${PN}-base \ 8 ${PN}-base \
9 f2fs-tools \ 9 f2fs-tools \
10" 10"
diff --git a/dynamic-layers/gnome-layer/recipes-graphics/clutter/clutter-1.0_%.bbappend b/dynamic-layers/gnome-layer/recipes-graphics/clutter/clutter-1.0_%.bbappend
index fb90c73e1..20b03e12a 100644
--- a/dynamic-layers/gnome-layer/recipes-graphics/clutter/clutter-1.0_%.bbappend
+++ b/dynamic-layers/gnome-layer/recipes-graphics/clutter/clutter-1.0_%.bbappend
@@ -1,4 +1,4 @@
1PACKAGECONFIG:imxgpu3d ??= " \ 1PACKAGECONFIG:imxgpu3d ??= "\
2 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland egl', \ 2 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland egl', \
3 bb.utils.contains('DISTRO_FEATURES', 'x11', 'glx x11', \ 3 bb.utils.contains('DISTRO_FEATURES', 'x11', 'glx x11', \
4 '', d), d)} \ 4 '', d), d)} \
diff --git a/dynamic-layers/gnome-layer/recipes-graphics/cogl/cogl-1.0_%.bbappend b/dynamic-layers/gnome-layer/recipes-graphics/cogl/cogl-1.0_%.bbappend
index e07d0d542..e4401bf9a 100644
--- a/dynamic-layers/gnome-layer/recipes-graphics/cogl/cogl-1.0_%.bbappend
+++ b/dynamic-layers/gnome-layer/recipes-graphics/cogl/cogl-1.0_%.bbappend
@@ -1,4 +1,4 @@
1PACKAGECONFIG:imxgpu3d ??= " \ 1PACKAGECONFIG:imxgpu3d ??= "\
2 cogl-pango gles2 \ 2 cogl-pango gles2 \
3 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'egl-wayland', \ 3 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'egl-wayland', \
4 bb.utils.contains('DISTRO_FEATURES', 'x11', 'egl-x11', \ 4 bb.utils.contains('DISTRO_FEATURES', 'x11', 'egl-x11', \
diff --git a/dynamic-layers/multimedia-layer/recipes-multimedia/pipewire/pipewire_%.bbappend b/dynamic-layers/multimedia-layer/recipes-multimedia/pipewire/pipewire_%.bbappend
index 2c28aca5f..44fed544b 100644
--- a/dynamic-layers/multimedia-layer/recipes-multimedia/pipewire/pipewire_%.bbappend
+++ b/dynamic-layers/multimedia-layer/recipes-multimedia/pipewire/pipewire_%.bbappend
@@ -11,9 +11,9 @@ SRC_URI:append:mx95-nxp-bsp = " \
11DEPENDS:append:mx95-nxp-bsp = " libdrm" 11DEPENDS:append:mx95-nxp-bsp = " libdrm"
12 12
13PACKAGECONFIG:remove = "${PACKAGECONFIG_REMOVE}" 13PACKAGECONFIG:remove = "${PACKAGECONFIG_REMOVE}"
14PACKAGECONFIG_REMOVE ?= "" 14PACKAGECONFIG_REMOVE ?= ""
15PACKAGECONFIG_REMOVE:mx6-nxp-bsp ?= "gstreamer" 15PACKAGECONFIG_REMOVE:mx6-nxp-bsp ?= "gstreamer"
16PACKAGECONFIG_REMOVE:mx7-nxp-bsp ?= "gstreamer" 16PACKAGECONFIG_REMOVE:mx7-nxp-bsp ?= "gstreamer"
17 17
18PACKAGECONFIG:class-target:append:imx-nxp-bsp = " ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez-lc3', '', d)}" 18PACKAGECONFIG:class-target:append:imx-nxp-bsp = " ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez-lc3', '', d)}"
19 19
diff --git a/dynamic-layers/multimedia-layer/recipes-multimedia/wireplumber/wireplumber_%.bbappend b/dynamic-layers/multimedia-layer/recipes-multimedia/wireplumber/wireplumber_%.bbappend
index e79e98cfe..891620f07 100644
--- a/dynamic-layers/multimedia-layer/recipes-multimedia/wireplumber/wireplumber_%.bbappend
+++ b/dynamic-layers/multimedia-layer/recipes-multimedia/wireplumber/wireplumber_%.bbappend
@@ -1,9 +1,9 @@
1FILESEXTRAPATHS:prepend := "${THISDIR}/files:" 1FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
2 2
3SRC_URI:append:imx-nxp-bsp = " file://51-bluez-imx.conf \ 3SRC_URI:append:imx-nxp-bsp = " file://51-bluez-imx.conf \
4 file://80-disable-logind.conf \ 4 file://80-disable-logind.conf \
5 file://0001-wpctl-fix-set-default-Segmentation-fault-on-32bit-pl.patch \ 5 file://0001-wpctl-fix-set-default-Segmentation-fault-on-32bit-pl.patch \
6 " 6 "
7 7
8do_install:append:imx-nxp-bsp () { 8do_install:append:imx-nxp-bsp () {
9 9
diff --git a/dynamic-layers/openembedded-layer/recipes-benchmark/glmark2/glmark2_%.bbappend b/dynamic-layers/openembedded-layer/recipes-benchmark/glmark2/glmark2_%.bbappend
index dfedc062e..9f6c55be0 100644
--- a/dynamic-layers/openembedded-layer/recipes-benchmark/glmark2/glmark2_%.bbappend
+++ b/dynamic-layers/openembedded-layer/recipes-benchmark/glmark2/glmark2_%.bbappend
@@ -1,5 +1,5 @@
1# 6 and 7 Vivante do not provide virtual/libgbm required for any drm* flavour 1# 6 and 7 Vivante do not provide virtual/libgbm required for any drm* flavour
2DRM-REMOVE = "" 2DRM-REMOVE = ""
3DRM-REMOVE:imxgpu:mx6-nxp-bsp = "drm-gl drm-gles2" 3DRM-REMOVE:imxgpu:mx6-nxp-bsp = "drm-gl drm-gles2"
4DRM-REMOVE:imxgpu:mx7-nxp-bsp = "drm-gl drm-gles2" 4DRM-REMOVE:imxgpu:mx7-nxp-bsp = "drm-gl drm-gles2"
5PACKAGECONFIG:remove = "${DRM-REMOVE}" 5PACKAGECONFIG:remove = "${DRM-REMOVE}"
diff --git a/dynamic-layers/openembedded-layer/recipes-devtools/utp-com/utp-com_git.bb b/dynamic-layers/openembedded-layer/recipes-devtools/utp-com/utp-com_git.bb
index 364c91bcc..4c9620f91 100644
--- a/dynamic-layers/openembedded-layer/recipes-devtools/utp-com/utp-com_git.bb
+++ b/dynamic-layers/openembedded-layer/recipes-devtools/utp-com/utp-com_git.bb
@@ -1,20 +1,22 @@
1SUMMARY = "NXP UTP protocol command-line tool"
1DESCRIPTION = "Tool used to send commands to hardware via NXP's UTP protocol" 2DESCRIPTION = "Tool used to send commands to hardware via NXP's UTP protocol"
3HOMEPAGE = "https://github.com/Freescale/utp_com"
4SECTION = "devel"
2LICENSE = "GPL-2.0-only" 5LICENSE = "GPL-2.0-only"
3LIC_FILES_CHKSUM = "file://LICENSE;md5=8264535c0c4e9c6c335635c4026a8022" 6LIC_FILES_CHKSUM = "file://LICENSE;md5=8264535c0c4e9c6c335635c4026a8022"
4 7
5DEPENDS = "sg3-utils" 8DEPENDS = "sg3-utils"
6 9
7SRCREV = "dee512ced1e9367d223d22f10797fbf9aeacfab6" 10PV = "1.0+git${SRCPV}"
8SRC_URI = " \ 11SRC_URI = "\
9 git://github.com/Freescale/utp_com;protocol=https;branch=master \ 12 git://github.com/Freescale/utp_com;protocol=https;branch=master \
10" 13"
11 14SRCREV = "dee512ced1e9367d223d22f10797fbf9aeacfab6"
12PV = "1.0+git${SRCPV}"
13 15
14do_configure[noexec] = "1" 16do_configure[noexec] = "1"
15 17
16do_compile () { 18do_compile () {
17 oe_runmake 19 oe_runmake
18} 20}
19 21
20do_install () { 22do_install () {
diff --git a/dynamic-layers/openembedded-layer/recipes-devtools/uuu/uuu_git.bb b/dynamic-layers/openembedded-layer/recipes-devtools/uuu/uuu_git.bb
index 3af8bc569..036d0284f 100644
--- a/dynamic-layers/openembedded-layer/recipes-devtools/uuu/uuu_git.bb
+++ b/dynamic-layers/openembedded-layer/recipes-devtools/uuu/uuu_git.bb
@@ -11,6 +11,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=38ec0c18112e9a92cffc4951661e85a5"
11 11
12inherit cmake pkgconfig 12inherit cmake pkgconfig
13 13
14DEPENDS = "libusb zlib bzip2 openssl zstd libtinyxml2" 14DEPENDS = "bzip2 libtinyxml2 libusb openssl zlib zstd"
15 15
16BBCLASSEXTEND = "native nativesdk" 16BBCLASSEXTEND = "native nativesdk"
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 227b6291b..6a52f67a6 100644
--- a/dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc_git.bb
+++ b/dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc_git.bb
@@ -1,20 +1,21 @@
1SUMMARY = "Frame Manager Configuration tool" 1SUMMARY = "Frame Manager Configuration tool"
2HOMEPAGE = "https://github.com/nxp-qoriq/fmc"
2LICENSE = "MIT" 3LICENSE = "MIT"
3LIC_FILES_CHKSUM = "file://LICENSE;md5=a504ab5a8ff235e67c7301214749346c" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=a504ab5a8ff235e67c7301214749346c"
4 5
5PR = "r2" 6PR = "r2"
6 7
7DEPENDS = "libxml2 fmlib tclap" 8DEPENDS = "fmlib libxml2 tclap"
8 9
9SRC_URI = "git://github.com/nxp-qoriq/fmc;protocol=https;nobranch=1" 10SRC_URI = "git://github.com/nxp-qoriq/fmc;protocol=https;nobranch=1"
10SRCREV = "5b9f4b16a864e9dfa58cdcc860be278a7f66ac18" 11SRCREV = "5b9f4b16a864e9dfa58cdcc860be278a7f66ac18"
11 12
12EXTRA_OEMAKE = 'FMD_USPACE_HEADER_PATH="${STAGING_INCDIR}/fmd" \ 13EXTRA_OEMAKE = 'FMD_USPACE_HEADER_PATH="${STAGING_INCDIR}/fmd" \
13 FMD_USPACE_LIB_PATH="${STAGING_LIBDIR}" LIBXML2_HEADER_PATH="${STAGING_INCDIR}/libxml2" \ 14 FMD_USPACE_LIB_PATH="${STAGING_LIBDIR}" LIBXML2_HEADER_PATH="${STAGING_INCDIR}/libxml2" \
14 TCLAP_HEADER_PATH="${STAGING_INCDIR}" ' 15 TCLAP_HEADER_PATH="${STAGING_INCDIR}" '
15EXTRA_OEMAKE:class-native = 'FMCHOSTMODE=1 FMD_USPACE_HEADER_PATH="${STAGING_INCDIR}/fmd" \ 16EXTRA_OEMAKE:class-native = 'FMCHOSTMODE=1 FMD_USPACE_HEADER_PATH="${STAGING_INCDIR}/fmd" \
16 FMD_USPACE_LIB_PATH="${STAGING_LIBDIR}" LIBXML2_HEADER_PATH="${STAGING_INCDIR}/libxml2" \ 17 FMD_USPACE_LIB_PATH="${STAGING_LIBDIR}" LIBXML2_HEADER_PATH="${STAGING_INCDIR}/libxml2" \
17 TCLAP_HEADER_PATH="${STAGING_INCDIR}" ' 18 TCLAP_HEADER_PATH="${STAGING_INCDIR}" '
18 19
19EXTRA_OEMAKE_PLATFORM ?= "" 20EXTRA_OEMAKE_PLATFORM ?= ""
20EXTRA_OEMAKE_PLATFORM:ls1043a = "ls1043" 21EXTRA_OEMAKE_PLATFORM:ls1043a = "ls1043"
@@ -27,7 +28,6 @@ EXTRA_OEMAKE_PLATFORM:p3041 = "p4080ds"
27EXTRA_OEMAKE_PLATFORM:p4080 = "p4080ds" 28EXTRA_OEMAKE_PLATFORM:p4080 = "p4080ds"
28EXTRA_OEMAKE_PLATFORM:p5040 = "p4080ds" 29EXTRA_OEMAKE_PLATFORM:p5040 = "p4080ds"
29 30
30
31do_compile () { 31do_compile () {
32 oe_runmake MACHINE=${EXTRA_OEMAKE_PLATFORM} -C source 32 oe_runmake MACHINE=${EXTRA_OEMAKE_PLATFORM} -C source
33} 33}
diff --git a/dynamic-layers/openembedded-layer/recipes-fsl/packagegroups/packagegroup-fsl-opencv-imx.bb b/dynamic-layers/openembedded-layer/recipes-fsl/packagegroups/packagegroup-fsl-opencv-imx.bb
index 724d0ff53..2b766b199 100644
--- a/dynamic-layers/openembedded-layer/recipes-fsl/packagegroups/packagegroup-fsl-opencv-imx.bb
+++ b/dynamic-layers/openembedded-layer/recipes-fsl/packagegroups/packagegroup-fsl-opencv-imx.bb
@@ -2,11 +2,11 @@ DESCRIPTION = "Add packages for opencv i.MX build"
2 2
3inherit packagegroup 3inherit packagegroup
4 4
5OPENCV_PKGS = " \ 5OPENCV_PKGS = "\
6 opencv-apps \ 6 opencv-apps \
7 opencv-samples \ 7 opencv-samples \
8 python3-opencv \ 8 python3-opencv \
9" 9"
10RDEPENDS:${PN} = " \ 10RDEPENDS:${PN} = "\
11 ${OPENCV_PKGS} \ 11 ${OPENCV_PKGS} \
12" 12"
diff --git a/dynamic-layers/openembedded-layer/recipes-fsl/packagegroups/packagegroup-fsl-tools-benchmark.bb b/dynamic-layers/openembedded-layer/recipes-fsl/packagegroups/packagegroup-fsl-tools-benchmark.bb
index 534d37627..111bd931a 100644
--- a/dynamic-layers/openembedded-layer/recipes-fsl/packagegroups/packagegroup-fsl-tools-benchmark.bb
+++ b/dynamic-layers/openembedded-layer/recipes-fsl/packagegroups/packagegroup-fsl-tools-benchmark.bb
@@ -8,7 +8,7 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
8 8
9inherit packagegroup 9inherit packagegroup
10 10
11RDEPENDS:${PN} = " \ 11RDEPENDS:${PN} = "\
12 lmbench \ 12 lmbench \
13 bonnie++ \ 13 bonnie++ \
14 dbench \ 14 dbench \
diff --git a/dynamic-layers/openembedded-layer/recipes-fsl/packagegroups/packagegroup-fsl-tools-testapps.bb b/dynamic-layers/openembedded-layer/recipes-fsl/packagegroups/packagegroup-fsl-tools-testapps.bb
index 2706dca97..4f151ac47 100644
--- a/dynamic-layers/openembedded-layer/recipes-fsl/packagegroups/packagegroup-fsl-tools-testapps.bb
+++ b/dynamic-layers/openembedded-layer/recipes-fsl/packagegroups/packagegroup-fsl-tools-testapps.bb
@@ -3,7 +3,7 @@
3# Released under the MIT license (see COPYING.MIT for the terms) 3# Released under the MIT license (see COPYING.MIT for the terms)
4 4
5DESCRIPTION = "Packagegroup used by FSL Community to provide a set of packages and utilities \ 5DESCRIPTION = "Packagegroup used by FSL Community to provide a set of packages and utilities \
6for hardware test." 6 for hardware test."
7SUMMARY = "FSL Community packagegroup - tools/testapps" 7SUMMARY = "FSL Community packagegroup - tools/testapps"
8 8
9PACKAGE_ARCH = "${MACHINE_ARCH}" 9PACKAGE_ARCH = "${MACHINE_ARCH}"
@@ -12,10 +12,10 @@ inherit packagegroup
12 12
13SOC_TOOLS_TEST = "" 13SOC_TOOLS_TEST = ""
14SOC_TOOLS_TEST:imx-nxp-bsp = "imx-test" 14SOC_TOOLS_TEST:imx-nxp-bsp = "imx-test"
15SOC_TOOLS_TEST:imxgpu = "imx-test imx-gpu-viv-demos" 15SOC_TOOLS_TEST:imxgpu = "imx-test imx-gpu-viv-demos"
16SOC_TOOLS_TEST:qoriq = "ceetm optee-test-qoriq" 16SOC_TOOLS_TEST:qoriq = "ceetm optee-test-qoriq"
17 17
18RDEPENDS:${PN} = " \ 18RDEPENDS:${PN} = "\
19 alsa-utils \ 19 alsa-utils \
20 alsa-tools \ 20 alsa-tools \
21 dosfstools \ 21 dosfstools \
diff --git a/dynamic-layers/openembedded-layer/recipes-multimedia/mpv/mpv_%.bbappend b/dynamic-layers/openembedded-layer/recipes-multimedia/mpv/mpv_%.bbappend
index 5cf6d411c..9bc613e1f 100644
--- a/dynamic-layers/openembedded-layer/recipes-multimedia/mpv/mpv_%.bbappend
+++ b/dynamic-layers/openembedded-layer/recipes-multimedia/mpv/mpv_%.bbappend
@@ -1,2 +1,2 @@
1# testbuild/../test.c:10: undefined reference to `glXCreateContext' 1# testbuild/../test.c:10: undefined reference to `glXCreateContext'
2PACKAGECONFIG:remove:imxgpu = "x11" 2PACKAGECONFIG:remove:imxgpu = "x11"
diff --git a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0001-3rdparty-ippicv-Use-pre-downloaded-ipp.patch b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0001-3rdparty-ippicv-Use-pre-downloaded-ipp.patch
deleted file mode 100644
index b1b00623d..000000000
--- a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0001-3rdparty-ippicv-Use-pre-downloaded-ipp.patch
+++ /dev/null
@@ -1,37 +0,0 @@
1From 9b4959b97d2e95d4b49cf6ca2a3fce3cdb484f2d Mon Sep 17 00:00:00 2001
2From: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
3Date: Thu, 31 Mar 2016 00:20:15 +0200
4Subject: [PATCH] 3rdparty/ippicv: Use pre-downloaded ipp
5
6Upstream-Status: Pending
7Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
8Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com>
9
10---
11 3rdparty/ippicv/ippicv.cmake | 15 +--------------
12 1 file changed, 1 insertion(+), 14 deletions(-)
13
14diff --git a/3rdparty/ippicv/ippicv.cmake b/3rdparty/ippicv/ippicv.cmake
15index 257af6fcc6..f88460450f 100644
16--- a/3rdparty/ippicv/ippicv.cmake
17+++ b/3rdparty/ippicv/ippicv.cmake
18@@ -34,18 +34,5 @@ function(download_ippicv root_var)
19 endif()
20
21 set(THE_ROOT "${OpenCV_BINARY_DIR}/3rdparty/ippicv")
22- ocv_download(FILENAME ${OPENCV_ICV_NAME}
23- HASH ${OPENCV_ICV_HASH}
24- URL
25- "${OPENCV_IPPICV_URL}"
26- "$ENV{OPENCV_IPPICV_URL}"
27- "https://raw.githubusercontent.com/opencv/opencv_3rdparty/${IPPICV_COMMIT}/ippicv/"
28- DESTINATION_DIR "${THE_ROOT}"
29- ID IPPICV
30- STATUS res
31- UNPACK RELATIVE_URL)
32-
33- if(res)
34- set(${root_var} "${THE_ROOT}/${OPENCV_ICV_PACKAGE_SUBDIR}" PARENT_SCOPE)
35- endif()
36+ set(${root_var} "${THE_ROOT}/${OPENCV_ICV_PACKAGE_SUBDIR}" PARENT_SCOPE)
37 endfunction()
diff --git a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0001-Add-missing-header-for-LIBAVCODEC_VERSION_INT.patch b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0001-Add-missing-header-for-LIBAVCODEC_VERSION_INT.patch
deleted file mode 100644
index 59da6ab32..000000000
--- a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0001-Add-missing-header-for-LIBAVCODEC_VERSION_INT.patch
+++ /dev/null
@@ -1,26 +0,0 @@
1From d6bdd0a91eb0ed57688c0af5ba5088cf0afdc0a0 Mon Sep 17 00:00:00 2001
2From: Jochen Sprickerhof <jspricke@debian.org>
3Date: Mon, 8 Aug 2022 21:10:13 +0200
4Subject: [PATCH] Add missing header for LIBAVCODEC_VERSION_INT
5
6Upstream-Status: Backport [https://github.com/opencv/opencv/pull/22357]
7Signed-off-by: Khem Raj <raj.khem@gmail.com>
8---
9 modules/videoio/src/ffmpeg_codecs.hpp | 1 +
10 1 file changed, 1 insertion(+)
11
12diff --git a/modules/videoio/src/ffmpeg_codecs.hpp b/modules/videoio/src/ffmpeg_codecs.hpp
13index 61788e0345..faad2596ed 100644
14--- a/modules/videoio/src/ffmpeg_codecs.hpp
15+++ b/modules/videoio/src/ffmpeg_codecs.hpp
16@@ -60,6 +60,7 @@ extern "C" {
17 #include <errno.h>
18 #endif
19
20+#include <libavcodec/version.h>
21 #include <libavformat/avformat.h>
22
23 #ifdef __cplusplus
24--
252.38.1
26
diff --git a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0001-Add-smaller-version-of-download_models.py.patch b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0001-Add-smaller-version-of-download_models.py.patch
index 46232ec5c..29e0d5f95 100644
--- a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0001-Add-smaller-version-of-download_models.py.patch
+++ b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0001-Add-smaller-version-of-download_models.py.patch
@@ -4,6 +4,7 @@ Date: 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 6Upstream-Status: Pending
7
7Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> 8Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
8--- 9---
9 testdata/dnn/download_models_basic.py | 159 ++++++++++++++++++++++++++ 10 testdata/dnn/download_models_basic.py | 159 ++++++++++++++++++++++++++
diff --git a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0001-Make-ts-module-external.patch b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0001-Make-ts-module-external.patch
index d56b8ae67..9e72fe2f5 100644
--- a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0001-Make-ts-module-external.patch
+++ b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0001-Make-ts-module-external.patch
@@ -7,7 +7,7 @@ Make ts module external
7 7
8Reference: https://github.com/qbonnard/opencv/commit/6b229c5834cb9a0930425e762a6c7b03244d7abb 8Reference: https://github.com/qbonnard/opencv/commit/6b229c5834cb9a0930425e762a6c7b03244d7abb
9 9
10Upstream-Status: Submitted [https://github.com/opencv/opencv/issues/8408] 10Upstream-Status: Denied [https://github.com/opencv/opencv/issues/8408]
11 11
12Signed-off-by: Mingli Yu <mingli.yu@windriver.com> 12Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
13--- 13---
diff --git a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0001-Renamed-templated-BlocksCompensator-feed-method-to-e.patch b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0001-Renamed-templated-BlocksCompensator-feed-method-to-e.patch
new file mode 100644
index 000000000..ec2bb2d10
--- /dev/null
+++ b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0001-Renamed-templated-BlocksCompensator-feed-method-to-e.patch
@@ -0,0 +1,55 @@
1From b28d9bef1d96d10e9a47d55a63d9f1443e6e3d2b Mon Sep 17 00:00:00 2001
2From: Alexander Smorkalov <alexander.smorkalov@xperience.ai>
3Date: Mon, 8 Sep 2025 14:52:58 +0300
4Subject: [PATCH] Renamed templated BlocksCompensator::feed method to exclude
5 claches with base class pure virtual method.
6
7Upstream-Status: Backport [https://github.com/opencv/opencv/commit/b28d9bef1d96d10e9a47d55a63d9f1443e6e3d2b]
8Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
9---
10 .../opencv2/stitching/detail/exposure_compensate.hpp | 2 +-
11 modules/stitching/src/exposure_compensate.cpp | 6 +++---
12 2 files changed, 4 insertions(+), 4 deletions(-)
13
14diff --git a/modules/stitching/include/opencv2/stitching/detail/exposure_compensate.hpp b/modules/stitching/include/opencv2/stitching/detail/exposure_compensate.hpp
15index dea76c957b..2954f32ca3 100644
16--- a/modules/stitching/include/opencv2/stitching/detail/exposure_compensate.hpp
17+++ b/modules/stitching/include/opencv2/stitching/detail/exposure_compensate.hpp
18@@ -187,7 +187,7 @@ public:
19
20 protected:
21 template<class Compensator>
22- void feed(const std::vector<Point> &corners, const std::vector<UMat> &images,
23+ void feedWithStrategy(const std::vector<Point> &corners, const std::vector<UMat> &images,
24 const std::vector<std::pair<UMat,uchar> > &masks);
25
26 private:
27diff --git a/modules/stitching/src/exposure_compensate.cpp b/modules/stitching/src/exposure_compensate.cpp
28index 59542d95ba..f7c33fa4ef 100644
29--- a/modules/stitching/src/exposure_compensate.cpp
30+++ b/modules/stitching/src/exposure_compensate.cpp
31@@ -460,7 +460,7 @@ void ChannelsCompensator::setMatGains(std::vector<Mat>& umv)
32
33
34 template<class Compensator>
35-void BlocksCompensator::feed(const std::vector<Point> &corners, const std::vector<UMat> &images,
36+void BlocksCompensator::feedWithStrategy(const std::vector<Point> &corners, const std::vector<UMat> &images,
37 const std::vector<std::pair<UMat,uchar> > &masks)
38 {
39 CV_Assert(corners.size() == images.size() && images.size() == masks.size());
40@@ -605,13 +605,13 @@ void BlocksCompensator::setMatGains(std::vector<Mat>& umv)
41 void BlocksGainCompensator::feed(const std::vector<Point> &corners, const std::vector<UMat> &images,
42 const std::vector<std::pair<UMat,uchar> > &masks)
43 {
44- BlocksCompensator::feed<GainCompensator>(corners, images, masks);
45+ BlocksCompensator::feedWithStrategy<GainCompensator>(corners, images, masks);
46 }
47
48 void BlocksChannelsCompensator::feed(const std::vector<Point> &corners, const std::vector<UMat> &images,
49 const std::vector<std::pair<UMat,uchar> > &masks)
50 {
51- BlocksCompensator::feed<ChannelsCompensator>(corners, images, masks);
52+ BlocksCompensator::feedWithStrategy<ChannelsCompensator>(corners, images, masks);
53 }
54
55
diff --git a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0001-Temporarliy-work-around-deprecated-ffmpeg-RAW-functi.patch b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0001-Temporarliy-work-around-deprecated-ffmpeg-RAW-functi.patch
index aa7d335ea..a3bbefaab 100644
--- a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0001-Temporarliy-work-around-deprecated-ffmpeg-RAW-functi.patch
+++ b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0001-Temporarliy-work-around-deprecated-ffmpeg-RAW-functi.patch
@@ -4,10 +4,11 @@ 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]
8Signed-off-by: Jason Wessel <jason.wessel@windriver.com> 7Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
9 8
10--- 9---
10Upstream-Status: Pending
11
11 modules/videoio/src/cap_ffmpeg_impl.hpp | 8 ++++++++ 12 modules/videoio/src/cap_ffmpeg_impl.hpp | 8 ++++++++
12 1 file changed, 8 insertions(+) 13 1 file changed, 8 insertions(+)
13 14
diff --git a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0001-Use-the-one-argument-version-of-SetTotalBytesLimit.patch b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0001-Use-the-one-argument-version-of-SetTotalBytesLimit.patch
deleted file mode 100644
index 5d88d1a6a..000000000
--- a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0001-Use-the-one-argument-version-of-SetTotalBytesLimit.patch
+++ /dev/null
@@ -1,41 +0,0 @@
1From 9cfa84313c5833d7295fcf57be93d5d2aaadfd88 Mon Sep 17 00:00:00 2001
2From: Vincent Rabaud <vrabaud@google.com>
3Date: Sat, 10 Jul 2021 00:21:52 +0200
4Subject: [PATCH] Use the one argument version of SetTotalBytesLimit.
5
6The two argument versions has been deprecated, cf
7https://developers.google.com/protocol-buffers/docs/reference/cpp/google.protobuf.io.coded_stream
8
9Upstream-Status: Backport [9cfa84313c5833d7295fcf57be93d5d2aaadfd88 - from master after 4.5.3 tag]
10Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
11---
12 modules/dnn/src/caffe/caffe_io.cpp | 5 +++++
13 1 file changed, 5 insertions(+)
14
15diff --git a/modules/dnn/src/caffe/caffe_io.cpp b/modules/dnn/src/caffe/caffe_io.cpp
16index 2fc4d84f46..ebecf95eea 100644
17--- a/modules/dnn/src/caffe/caffe_io.cpp
18+++ b/modules/dnn/src/caffe/caffe_io.cpp
19@@ -92,6 +92,7 @@
20 #ifdef HAVE_PROTOBUF
21 #include <google/protobuf/io/coded_stream.h>
22 #include <google/protobuf/io/zero_copy_stream_impl.h>
23+#include <google/protobuf/stubs/common.h>
24 #include <google/protobuf/text_format.h>
25
26 #include <opencv2/core.hpp>
27@@ -1111,7 +1112,11 @@ static const int kProtoReadBytesLimit = INT_MAX; // Max size of 2 GB minus 1 by
28
29 bool ReadProtoFromBinary(ZeroCopyInputStream* input, Message *proto) {
30 CodedInputStream coded_input(input);
31+#if GOOGLE_PROTOBUF_VERSION >= 3006000
32+ coded_input.SetTotalBytesLimit(kProtoReadBytesLimit);
33+#else
34 coded_input.SetTotalBytesLimit(kProtoReadBytesLimit, 536870912);
35+#endif
36
37 return proto->ParseFromCodedStream(&coded_input);
38 }
39--
402.32.0
41
diff --git a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0001-sfm-link-with-Glog_LIBS.patch b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0001-sfm-link-with-Glog_LIBS.patch
deleted file mode 100644
index 7b2c4100a..000000000
--- a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0001-sfm-link-with-Glog_LIBS.patch
+++ /dev/null
@@ -1,44 +0,0 @@
1From ffe20fc4ec46c6b491eff29a38f90686d4d035f6 Mon Sep 17 00:00:00 2001
2From: Martin Jansa <Martin.Jansa@gmail.com>
3Date: Mon, 12 Apr 2021 20:37:40 +0000
4Subject: [PATCH] sfm: link with Glog_LIBS
5
6* in 4.5.0 there was explicit linkage with GLOG_LIBRARY, but since 4.5.1 with:
7 https://github.com/opencv/opencv_contrib/commit/23ee62a19b7a3e50d6dbf295359d8b1aff2e03fd
8
9 it's gone, probably because Glog_FOUND is already set from Ceres,
10 but then GLOG_LIBRARIES is empty in LIBMV_LIGHT_LIBS and build with gold fails:
11
12FAILED: bin/example_tutorial_perspective_correction
13: && TOPDIR/tmp-glibc/work/core2-64-oe-linux/opencv/4.5.2-r0/recipe-sysroot-native/usr/bin/x86_64-oe-linux/x86_64-oe-linux-g++ -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -ITOPDIR/tmp-glibc/work/core2-64-oe-linux/opencv/4.5.2-r0/git/include -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp-glibc/work/core2-64-oe-linux/opencv/4.5.2-r0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/opencv/4.5.2-r0=/usr/src/debug/opencv/4.5.2-r0 -fdebug-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/opencv/4.5.2-r0=/usr/src/debug/opencv/4.5.2-r0 -fdebug-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/opencv/4.5.2-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/opencv/4.5.2-r0/recipe-sysroot-native= -fvisibility-inlines-hidden -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -ITOPDIR/tmp-glibc/work/core2-64-oe-linux/opencv/4.5.2-r0/git/include -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp-glibc/work/core2-64-oe-linux/opencv/4.5.2-r0/recipe-sysroot -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Wsuggest-override -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -mssse3 -DNDEBUG -DNDEBUG -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -ITOPDIR/tmp-glibc/work/core2-64-oe-linux/opencv/4.5.2-r0/git/include -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp-glibc/work/core2-64-oe-linux/opencv/4.5.2-r0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/opencv/4.5.2-r0=/usr/src/debug/opencv/4.5.2-r0 -fdebug-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/opencv/4.5.2-r0=/usr/src/debug/opencv/4.5.2-r0 -fdebug-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/opencv/4.5.2-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/opencv/4.5.2-r0/recipe-sysroot-native= -fvisibility-inlines-hidden -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -ITOPDIR/tmp-glibc/work/core2-64-oe-linux/opencv/4.5.2-r0/git/include -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp-glibc/work/core2-64-oe-linux/opencv/4.5.2-r0/recipe-sysroot -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-z,relro,-z,now -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-z,relro,-z,now -Wl,--gc-sections -Wl,--as-needed samples/cpp/CMakeFiles/example_tutorial_perspective_correction.dir/tutorial_code/features2D/Homography/perspective_correction.cpp.o -o bin/example_tutorial_perspective_correction -ldl -lm -lpthread -lrt lib/libopencv_gapi.so.4.5.2 lib/libopencv_stitching.so.4.5.2 lib/libopencv_ts.so.4.5.2 lib/libopencv_alphamat.so.4.5.2 lib/libopencv_aruco.so.4.5.2 lib/libopencv_bgsegm.so.4.5.2 lib/libopencv_bioinspired.so.4.5.2 lib/libopencv_ccalib.so.4.5.2 lib/libopencv_dnn_objdetect.so.4.5.2 lib/libopencv_dnn_superres.so.4.5.2 lib/libopencv_dpm.so.4.5.2 lib/libopencv_face.so.4.5.2 lib/libopencv_fuzzy.so.4.5.2 lib/libopencv_hfs.so.4.5.2 lib/libopencv_img_hash.so.4.5.2 lib/libopencv_intensity_transform.so.4.5.2 lib/libopencv_line_descriptor.so.4.5.2 lib/libopencv_mcc.so.4.5.2 lib/libopencv_quality.so.4.5.2 lib/libopencv_rapid.so.4.5.2 lib/libopencv_reg.so.4.5.2 lib/libopencv_rgbd.so.4.5.2 lib/libopencv_saliency.so.4.5.2 lib/libopencv_sfm.so.4.5.2 lib/libopencv_stereo.so.4.5.2 lib/libopencv_structured_light.so.4.5.2 lib/libopencv_superres.so.4.5.2 lib/libopencv_surface_matching.so.4.5.2 lib/libopencv_tracking.so.4.5.2 lib/libopencv_videostab.so.4.5.2 lib/libopencv_wechat_qrcode.so.4.5.2 lib/libopencv_xfeatures2d.so.4.5.2 lib/libopencv_xobjdetect.so.4.5.2 lib/libopencv_xphoto.so.4.5.2 lib/libopencv_shape.so.4.5.2 lib/libopencv_highgui.so.4.5.2 lib/libopencv_datasets.so.4.5.2 lib/libopencv_ml.so.4.5.2 lib/libopencv_plot.so.4.5.2 lib/libopencv_phase_unwrapping.so.4.5.2 lib/libopencv_optflow.so.4.5.2 lib/libopencv_ximgproc.so.4.5.2 lib/libopencv_videoio.so.4.5.2 lib/libopencv_video.so.4.5.2 lib/libopencv_dnn.so.4.5.2 lib/libopencv_imgcodecs.so.4.5.2 lib/libopencv_objdetect.so.4.5.2 lib/libopencv_calib3d.so.4.5.2 lib/libopencv_features2d.so.4.5.2 lib/libopencv_flann.so.4.5.2 lib/libopencv_photo.so.4.5.2 lib/libopencv_imgproc.so.4.5.2 lib/libopencv_core.so.4.5.2 -Wl,-rpath-link,TOPDIR/tmp-glibc/work/core2-64-oe-linux/opencv/4.5.2-r0/build/lib && :
14lib/libopencv_sfm.so.4.5.2: error: undefined reference to 'google::LogMessage::LogMessage(char const*, int)'
15lib/libopencv_sfm.so.4.5.2: error: undefined reference to 'google::LogMessage::stream()'
16lib/libopencv_sfm.so.4.5.2: error: undefined reference to 'google::LogMessage::~LogMessage()'
17lib/libopencv_sfm.so.4.5.2: error: undefined reference to 'google::kLogSiteUninitialized'
18lib/libopencv_sfm.so.4.5.2: error: undefined reference to 'fLI::FLAGS_v'
19lib/libopencv_sfm.so.4.5.2: error: undefined reference to 'google::InitVLOG3__(int**, int*, char const*, int)'
20lib/libopencv_sfm.so.4.5.2: error: undefined reference to 'google::LogMessageFatal::LogMessageFatal(char const*, int)'
21lib/libopencv_sfm.so.4.5.2: error: undefined reference to 'google::LogMessageFatal::~LogMessageFatal()'
22collect2: error: ld returned 1 exit status
23
24 Add Glog_LIBS which is set to the same value as GLOG_LIBRARIES used to be.
25
26Upstream-Status: Submitted [https://github.com/opencv/opencv_contrib/pull/2923]
27
28Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
29---
30 modules/sfm/CMakeLists.txt | 1 +
31 1 file changed, 1 insertion(+)
32
33diff --git a/modules/sfm/CMakeLists.txt b/modules/sfm/CMakeLists.txt
34index 045a1fe6e..ee7cecdac 100644
35--- a/modules/sfm/CMakeLists.txt
36+++ b/modules/sfm/CMakeLists.txt
37@@ -84,6 +84,7 @@ set(LIBMV_LIGHT_LIBS
38 multiview
39 numeric
40 ${GLOG_LIBRARIES}
41+ ${Glog_LIBS}
42 ${GFLAGS_LIBRARIES}
43 )
44
diff --git a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0003-To-fix-errors-as-following.patch b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0003-To-fix-errors-as-following.patch
index d39c05822..9df419d0b 100644
--- a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0003-To-fix-errors-as-following.patch
+++ b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0003-To-fix-errors-as-following.patch
@@ -7,7 +7,6 @@ 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
11Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com> 10Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
12 11
13Also add the visibility changes for certain OpenCL-related functions in 12Also add the visibility changes for certain OpenCL-related functions in
@@ -16,6 +15,8 @@ ts module.
16Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com> 15Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com>
17 16
18--- 17---
18Upstream-Status: Pending
19
19 modules/ts/include/opencv2/ts.hpp | 4 ++-- 20 modules/ts/include/opencv2/ts.hpp | 4 ++--
20 modules/ts/include/opencv2/ts/ocl_test.hpp | 2 +- 21 modules/ts/include/opencv2/ts/ocl_test.hpp | 2 +-
21 modules/ts/include/opencv2/ts/ts_ext.hpp | 2 +- 22 modules/ts/include/opencv2/ts/ts_ext.hpp | 2 +-
diff --git a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0008-Do-not-embed-build-directory-in-binaries.patch b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0008-Do-not-embed-build-directory-in-binaries.patch
new file mode 100644
index 000000000..8fda85708
--- /dev/null
+++ b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0008-Do-not-embed-build-directory-in-binaries.patch
@@ -0,0 +1,138 @@
1From: Victor Westerhuis <victor@westerhu.is>
2Date: Sat, 19 Nov 2022 21:45:39 +0100
3Subject: Do not embed build directory in binaries
4
5This makes the opencv core module build reproducibly.
6
7https://salsa.debian.org/science-team/opencv/-/raw/master/debian/patches/0008-Do-not-embed-build-directory-in-binaries.patch
8Upstream-Status: Backport
9Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
10---
11 modules/core/CMakeLists.txt | 10 ------
12 modules/core/include/opencv2/core/private.hpp | 4 +--
13 modules/core/include/opencv2/core/utility.hpp | 4 +--
14 modules/core/src/utils/datafile.cpp | 48 +--------------------------
15 4 files changed, 5 insertions(+), 61 deletions(-)
16
17diff --git a/modules/core/CMakeLists.txt b/modules/core/CMakeLists.txt
18index b78bb98..d96b669 100644
19--- a/modules/core/CMakeLists.txt
20+++ b/modules/core/CMakeLists.txt
21@@ -188,16 +188,6 @@ if(OPENCV_OTHER_INSTALL_PATH)
22 ")
23 endif()
24
25-set(OPENCV_DATA_CONFIG_STR "${OPENCV_DATA_CONFIG_STR}
26-#define OPENCV_BUILD_DIR \"${CMAKE_BINARY_DIR}\"
27-")
28-
29-file(RELATIVE_PATH SOURCE_DIR_RELATIVE ${CMAKE_BINARY_DIR} ${CMAKE_SOURCE_DIR})
30-set(OPENCV_DATA_CONFIG_STR "${OPENCV_DATA_CONFIG_STR}
31-#define OPENCV_DATA_BUILD_DIR_SEARCH_PATHS \\
32- \"${SOURCE_DIR_RELATIVE}/\"
33-")
34-
35 if(WIN32)
36 file(RELATIVE_PATH INSTALL_DATA_DIR_RELATIVE "${CMAKE_INSTALL_PREFIX}/${OPENCV_BIN_INSTALL_PATH}" "${CMAKE_INSTALL_PREFIX}/${OPENCV_OTHER_INSTALL_PATH}")
37 else()
38diff --git a/modules/core/include/opencv2/core/private.hpp b/modules/core/include/opencv2/core/private.hpp
39index 146d37f..dd675bc 100644
40--- a/modules/core/include/opencv2/core/private.hpp
41+++ b/modules/core/include/opencv2/core/private.hpp
42@@ -818,10 +818,10 @@ Search directories:
43 2. Check path specified by configuration parameter with "_HINT" suffix (name of environment variable).
44 3. Check path specified by configuration parameter (name of environment variable).
45 If parameter value is not empty and nothing is found then stop searching.
46-4. Detects build/install path based on:
47+4. Detects install path based on:
48 a. current working directory (CWD)
49 b. and/or binary module location (opencv_core/opencv_world, doesn't work with static linkage)
50-5. Scan `<source>/{,data}` directories if build directory is detected or the current directory is in source tree.
51+5. Scan `<source>/{,data}` directories if the current directory is in source tree.
52 6. Scan `<install>/share/OpenCV` directory if install directory is detected.
53
54 @param relative_path Relative path to data file
55diff --git a/modules/core/include/opencv2/core/utility.hpp b/modules/core/include/opencv2/core/utility.hpp
56index 108c0d9..f15d9ea 100644
57--- a/modules/core/include/opencv2/core/utility.hpp
58+++ b/modules/core/include/opencv2/core/utility.hpp
59@@ -1163,10 +1163,10 @@ Search directories:
60 2. OPENCV_SAMPLES_DATA_PATH_HINT environment variable
61 3. OPENCV_SAMPLES_DATA_PATH environment variable
62 If parameter value is not empty and nothing is found then stop searching.
63-4. Detects build/install path based on:
64+4. Detects install path based on:
65 a. current working directory (CWD)
66 b. and/or binary module location (opencv_core/opencv_world, doesn't work with static linkage)
67-5. Scan `<source>/{,data,samples/data}` directories if build directory is detected or the current directory is in source tree.
68+5. Scan `<source>/{,data,samples/data}` directories if the current directory is in source tree.
69 6. Scan `<install>/share/OpenCV` directory if install directory is detected.
70
71 @see cv::utils::findDataFile
72diff --git a/modules/core/src/utils/datafile.cpp b/modules/core/src/utils/datafile.cpp
73index 3af83a5..6bda857 100644
74--- a/modules/core/src/utils/datafile.cpp
75+++ b/modules/core/src/utils/datafile.cpp
76@@ -280,32 +280,8 @@ cv::String findDataFile(const cv::String& relative_path,
77
78
79 // Steps: 4, 5, 6
80- cv::String cwd = utils::fs::getcwd();
81- cv::String build_dir(OPENCV_BUILD_DIR);
82- bool has_tested_build_directory = false;
83- if (isSubDirectory(build_dir, cwd) || isSubDirectory(utils::fs::canonical(build_dir), utils::fs::canonical(cwd)))
84- {
85- CV_LOG_DEBUG(NULL, "utils::findDataFile(): the current directory is build sub-directory: " << cwd);
86- const char* build_subdirs[] = { OPENCV_DATA_BUILD_DIR_SEARCH_PATHS };
87- for (size_t k = 0; k < sizeof(build_subdirs)/sizeof(build_subdirs[0]); k++)
88- {
89- CV_LOG_DEBUG(NULL, "utils::findDataFile(): <build>/" << build_subdirs[k]);
90- cv::String datapath = utils::fs::join(build_dir, build_subdirs[k]);
91- if (utils::fs::isDirectory(datapath))
92- {
93- for(size_t i = search_subdir.size(); i > 0; i--)
94- {
95- const cv::String& subdir = search_subdir[i - 1];
96- cv::String prefix = utils::fs::join(datapath, subdir);
97- TRY_FILE_WITH_PREFIX(prefix);
98- }
99- }
100- }
101- has_tested_build_directory = true;
102- }
103-
104 cv::String source_dir;
105- cv::String try_source_dir = cwd;
106+ cv::String try_source_dir = utils::fs::getcwd();
107 for (int levels = 0; levels < 3; ++levels)
108 {
109 if (utils::fs::exists(utils::fs::join(try_source_dir, "modules/core/include/opencv2/core/version.hpp")))
110@@ -341,28 +317,6 @@ cv::String findDataFile(const cv::String& relative_path,
111 CV_LOG_INFO(NULL, "Can't detect module binaries location");
112 }
113
114- if (!has_tested_build_directory &&
115- (isSubDirectory(build_dir, module_path) || isSubDirectory(utils::fs::canonical(build_dir), utils::fs::canonical(module_path)))
116- )
117- {
118- CV_LOG_DEBUG(NULL, "utils::findDataFile(): the binary module directory is build sub-directory: " << module_path);
119- const char* build_subdirs[] = { OPENCV_DATA_BUILD_DIR_SEARCH_PATHS };
120- for (size_t k = 0; k < sizeof(build_subdirs)/sizeof(build_subdirs[0]); k++)
121- {
122- CV_LOG_DEBUG(NULL, "utils::findDataFile(): <build>/" << build_subdirs[k]);
123- cv::String datapath = utils::fs::join(build_dir, build_subdirs[k]);
124- if (utils::fs::isDirectory(datapath))
125- {
126- for(size_t i = search_subdir.size(); i > 0; i--)
127- {
128- const cv::String& subdir = search_subdir[i - 1];
129- cv::String prefix = utils::fs::join(datapath, subdir);
130- TRY_FILE_WITH_PREFIX(prefix);
131- }
132- }
133- }
134- }
135-
136 #if defined OPENCV_INSTALL_DATA_DIR_RELATIVE
137 if (!module_path.empty()) // require module path
138 {
diff --git a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0101-MGS-6470-ccc-Modify-host-ptr-alignment-size-in-UMAT.patch b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0101-MGS-6470-ccc-Modify-host-ptr-alignment-size-in-UMAT.patch
new file mode 100644
index 000000000..82afd5c72
--- /dev/null
+++ b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0101-MGS-6470-ccc-Modify-host-ptr-alignment-size-in-UMAT.patch
@@ -0,0 +1,29 @@
1From 0a1c77e4c810999632d648f63775b7ea265bc25c Mon Sep 17 00:00:00 2001
2From: Eric Guo <eric.guo@nxp.com>
3Date: Tue, 9 Nov 2021 14:38:00 +0800
4Subject: [PATCH 1/4] MGS-6470 [#ccc] Modify host ptr alignment size in UMAT
5
6change CV_OPENCL_ALIGNMENT_MEM_USE_HOST_PTR from 4 to 64
7
8Upstream-Status: Inappropriate [i.MX specific]
9Signed-off-by: Eric Guo <eric.guo@nxp.com>
10---
11 modules/core/src/ocl.cpp | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14diff --git a/modules/core/src/ocl.cpp b/modules/core/src/ocl.cpp
15index 8479667fd7..6eb7b5e425 100644
16--- a/modules/core/src/ocl.cpp
17+++ b/modules/core/src/ocl.cpp
18@@ -245,7 +245,7 @@ static String getBuildExtraOptions()
19 }
20
21 static const bool CV_OPENCL_ENABLE_MEM_USE_HOST_PTR = utils::getConfigurationParameterBool("OPENCV_OPENCL_ENABLE_MEM_USE_HOST_PTR", true);
22-static const size_t CV_OPENCL_ALIGNMENT_MEM_USE_HOST_PTR = utils::getConfigurationParameterSizeT("OPENCV_OPENCL_ALIGNMENT_MEM_USE_HOST_PTR", 4);
23+static const size_t CV_OPENCL_ALIGNMENT_MEM_USE_HOST_PTR = utils::getConfigurationParameterSizeT("OPENCV_OPENCL_ALIGNMENT_MEM_USE_HOST_PTR", 64);
24
25
26 struct UMat2D
27--
282.34.1
29
diff --git a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0102-MGS-6470-ccc-Add-configuration-parameter-to-force-en.patch b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0102-MGS-6470-ccc-Add-configuration-parameter-to-force-en.patch
new file mode 100644
index 000000000..50240093c
--- /dev/null
+++ b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0102-MGS-6470-ccc-Add-configuration-parameter-to-force-en.patch
@@ -0,0 +1,32 @@
1From 965365fff0815b8afc9833102d8e4e6c4ee1dda3 Mon Sep 17 00:00:00 2001
2From: Eric Guo <eric.guo@nxp.com>
3Date: Wed, 17 Nov 2021 15:04:23 +0800
4Subject: [PATCH 2/4] MGS-6470 [#ccc] Add configuration parameter to force
5 enable hostptr in OpenCL
6
7USAGE: `set OPENCV_OPENCL_ALIGNMENT_MEM_ALLOC_HOST_PTR=true`
8
9Upstream-Status: Inappropriate [i.MX specific]
10Signed-off-by: Eric Guo <eric.guo@nxp.com>
11---
12 modules/core/src/ocl.cpp | 4 +++-
13 1 file changed, 3 insertions(+), 1 deletion(-)
14
15diff --git a/modules/core/src/ocl.cpp b/modules/core/src/ocl.cpp
16index 6eb7b5e425..5c50b06865 100644
17--- a/modules/core/src/ocl.cpp
18+++ b/modules/core/src/ocl.cpp
19@@ -5416,7 +5416,9 @@ public:
20 {
21 const Device& dev = ctx.device(0);
22 createFlags = 0;
23- if ((usageFlags & USAGE_ALLOCATE_HOST_MEMORY) != 0)
24+ bool allocHostPtr = utils::getConfigurationParameterBool("OPENCV_OPENCL_ALIGNMENT_MEM_ALLOC_HOST_PTR", false);
25+
26+ if ((usageFlags & USAGE_ALLOCATE_HOST_MEMORY) != 0 || allocHostPtr)
27 createFlags |= CL_MEM_ALLOC_HOST_PTR;
28
29 if (!isOpenCLCopyingForced() &&
30--
312.34.1
32
diff --git a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0103-MGS-6470-ccc-Change-configuration-to-enable-hostptr-.patch b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0103-MGS-6470-ccc-Change-configuration-to-enable-hostptr-.patch
new file mode 100644
index 000000000..3b429b383
--- /dev/null
+++ b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0103-MGS-6470-ccc-Change-configuration-to-enable-hostptr-.patch
@@ -0,0 +1,28 @@
1From 352b992c7daeeede261cf52e06b5beac485df897 Mon Sep 17 00:00:00 2001
2From: Eric Guo <eric.guo@nxp.com>
3Date: Thu, 9 Dec 2021 15:25:42 +0800
4Subject: [PATCH 3/4] MGS-6470 [#ccc] Change configuration to enable hostptr in
5 OpenCL by default.
6
7Upstream-Status: Inappropriate [i.MX specific]
8Signed-off-by: Eric Guo <eric.guo@nxp.com>
9---
10 modules/core/src/ocl.cpp | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13diff --git a/modules/core/src/ocl.cpp b/modules/core/src/ocl.cpp
14index 5c50b06865..db75190f13 100644
15--- a/modules/core/src/ocl.cpp
16+++ b/modules/core/src/ocl.cpp
17@@ -5416,7 +5416,7 @@ public:
18 {
19 const Device& dev = ctx.device(0);
20 createFlags = 0;
21- bool allocHostPtr = utils::getConfigurationParameterBool("OPENCV_OPENCL_ALIGNMENT_MEM_ALLOC_HOST_PTR", false);
22+ bool allocHostPtr = utils::getConfigurationParameterBool("OPENCV_OPENCL_ALIGNMENT_MEM_ALLOC_HOST_PTR", true);
23
24 if ((usageFlags & USAGE_ALLOCATE_HOST_MEMORY) != 0 || allocHostPtr)
25 createFlags |= CL_MEM_ALLOC_HOST_PTR;
26--
272.34.1
28
diff --git a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0104-MGS-8011-ccc-Fix-the-problem-of-syntax-error-at-doub.patch b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0104-MGS-8011-ccc-Fix-the-problem-of-syntax-error-at-doub.patch
new file mode 100644
index 000000000..ebca4ce35
--- /dev/null
+++ b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0104-MGS-8011-ccc-Fix-the-problem-of-syntax-error-at-doub.patch
@@ -0,0 +1,43 @@
1From 2766330540d5106e1cc5c44ab14f021e306859cb Mon Sep 17 00:00:00 2001
2From: jiajia Qian <jiajia.qian@nxp.com>
3Date: Tue, 7 Jan 2025 16:42:34 +0800
4Subject: [PATCH 4/4] MGS-8011 [#ccc] Fix the problem of syntax error at
5 'double4' in opencv_test_imgproc.
6
7Since our driver does not support cl_khr_fp64 format data,
8
9disabled the related ocl function in opencv_test_imgproc to avoid the following error log:
10
11error: syntax error at 'double4'
12
13Upstream-Status: Inappropriate [i.MX specific]
14Signed-off-by: jiajia Qian <jiajia.qian@nxp.com>
15---
16 modules/imgproc/src/imgwarp.cpp | 4 ++++
17 1 file changed, 4 insertions(+)
18
19diff --git a/modules/imgproc/src/imgwarp.cpp b/modules/imgproc/src/imgwarp.cpp
20index dfc718bf87..0e8b9ce142 100644
21--- a/modules/imgproc/src/imgwarp.cpp
22+++ b/modules/imgproc/src/imgwarp.cpp
23@@ -1349,6 +1349,7 @@ static bool ocl_remap(InputArray _src, OutputArray _dst, InputArray _map1, Input
24 interpolation &= ~WARP_RELATIVE_MAP;
25
26 const ocl::Device & dev = ocl::Device::getDefault();
27+ bool doubleSupport = dev.doubleFPConfig() > 0;
28 int cn = _src.channels(), type = _src.type(), depth = _src.depth(),
29 rowsPerWI = dev.isIntel() ? 4 : 1;
30
31@@ -1356,6 +1357,9 @@ static bool ocl_remap(InputArray _src, OutputArray _dst, InputArray _map1, Input
32 || _map1.type() == CV_16SC1 || _map2.type() == CV_16SC1)
33 return false;
34
35+ if (!doubleSupport && depth == CV_64F )
36+ return false;
37+
38 UMat src = _src.getUMat(), map1 = _map1.getUMat(), map2 = _map2.getUMat();
39
40 if( (map1.type() == CV_16SC2 && (map2.type() == CV_16UC1 || map2.empty())) ||
41--
422.34.1
43
diff --git a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0105-MGS-8318-ccc-Fix-error-implicit-declaration-of-funct.patch b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0105-MGS-8318-ccc-Fix-error-implicit-declaration-of-funct.patch
new file mode 100644
index 000000000..d742b9123
--- /dev/null
+++ b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0105-MGS-8318-ccc-Fix-error-implicit-declaration-of-funct.patch
@@ -0,0 +1,34 @@
1From e5d7ecd9acd3805e90f5d491044813c034d3b014 Mon Sep 17 00:00:00 2001
2From: jiajia Qian <jiajia.qian@nxp.com>
3Date: Fri, 8 Aug 2025 14:19:57 +0800
4Subject: [PATCH] MGS-8318 [#ccc] Fix error:implicit declaration of function
5 'sub_group_reduce_add' is invalid in OpenCL.
6
7The OpenCL extension cl_khr_subgroups is not supported in OpenCL 1.2.
8
9This feature requires at least OpenCL 2.0 or higher. By default, the C++ C language standard used
10
11is C++ C 1.2. Therefore, specify OpenCL version to 3.0 in the build-options.
12
13Upstream-Status: Inappropriate [i.MX specific]
14Signed-off-by: jiajia Qian <jiajia.qian@nxp.com>
15---
16 modules/video/src/dis_flow.cpp | 2 +-
17 1 file changed, 1 insertion(+), 1 deletion(-)
18
19diff --git a/modules/video/src/dis_flow.cpp b/modules/video/src/dis_flow.cpp
20index 75090d093d..9954645ca7 100644
21--- a/modules/video/src/dis_flow.cpp
22+++ b/modules/video/src/dis_flow.cpp
23@@ -1101,7 +1101,7 @@ bool DISOpticalFlowImpl::ocl_PatchInverseSearch(UMat &src_U,
24 subgroups_build_options = " -DCV_USE_SUBGROUPS=1";
25
26 String build_options = cv::format(
27- "-DDIS_BORDER_SIZE=%d -DDIS_PATCH_SIZE=%d -DDIS_PATCH_STRIDE=%d",
28+ "-cl-std=CL3.0 -DDIS_BORDER_SIZE=%d -DDIS_PATCH_SIZE=%d -DDIS_PATCH_STRIDE=%d",
29 border_size, patch_size, patch_stride
30 ) + subgroups_build_options;
31
32--
332.34.1
34
diff --git a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0106-core-opencl-fix-inplace-transpose-race-by-enforcing-.patch b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0106-core-opencl-fix-inplace-transpose-race-by-enforcing-.patch
new file mode 100644
index 000000000..c061342ef
--- /dev/null
+++ b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0106-core-opencl-fix-inplace-transpose-race-by-enforcing-.patch
@@ -0,0 +1,152 @@
1From 504144ee0a126e7a11a5b1751b7dc0a80ed1cd0f Mon Sep 17 00:00:00 2001
2From: jiajia Qian <jiajia.qian@nxp.com>
3Date: Tue, 17 Mar 2026 14:19:35 +0800
4Subject: [PATCH] core(opencl): fix inplace transpose race by enforcing LLSS
5 ordering via local barrier
6MIME-Version: 1.0
7Content-Type: text/plain; charset=UTF-8
8Content-Transfer-Encoding: 8bit
9
10The former inplace transpose implementation allowed a reordering of
11global-memory operations across work-items. Specifically, the intended
12LLSS (Load–Load–Store–Store) access pattern could be reordered by the
13GPU into LSLS (Load–Store–Load–Store), causing partially written tiles
14to be observed by other work-items and producing incorrect output.
15
16This patch introduces a tiled LDS-based algorithm and adds an explicit:
17
18 barrier(CLK_LOCAL_MEM_FENCE);
19
20between the load and store phases.
21
22Upstream-Status: Backport
23[commit a3e129aad85abcd2b61f071796ff80f9ca215619]
24
25Signed-off-by: jiajia Qian <jiajia.qian@nxp.com>
26---
27 modules/core/src/matrix_transform.cpp | 10 +++-
28 modules/core/src/opencl/transpose.cl | 69 ++++++++++++++++++++++++++-
29 2 files changed, 75 insertions(+), 4 deletions(-)
30
31diff --git a/modules/core/src/matrix_transform.cpp b/modules/core/src/matrix_transform.cpp
32index c52fcc1e4f..84aa5ca778 100644
33--- a/modules/core/src/matrix_transform.cpp
34+++ b/modules/core/src/matrix_transform.cpp
35@@ -146,10 +146,16 @@ static bool ocl_transpose( InputArray _src, OutputArray _dst )
36 return false;
37 }
38
39+ String deviceMacro;
40+ if (dev.isIntel())
41+ deviceMacro = " -D INTEL_GPU";
42+ else
43+ deviceMacro = "";
44+
45 ocl::Kernel k(kernelName.c_str(), ocl::core::transpose_oclsrc,
46- format("-D T=%s -D T1=%s -D cn=%d -D TILE_DIM=%d -D BLOCK_ROWS=%d -D rowsPerWI=%d%s",
47+ format("-D T=%s -D T1=%s -D cn=%d -D TILE_DIM=%d -D BLOCK_ROWS=%d -D rowsPerWI=%d%s%s",
48 ocl::memopTypeToStr(type), ocl::memopTypeToStr(depth),
49- cn, TILE_DIM, BLOCK_ROWS, rowsPerWI, inplace ? " -D INPLACE" : ""));
50+ cn, TILE_DIM, BLOCK_ROWS, rowsPerWI, inplace ? " -D INPLACE" : "", deviceMacro.c_str()));
51 if (k.empty())
52 return false;
53
54diff --git a/modules/core/src/opencl/transpose.cl b/modules/core/src/opencl/transpose.cl
55index 01ea7dd9d5..ae4d7f08d3 100644
56--- a/modules/core/src/opencl/transpose.cl
57+++ b/modules/core/src/opencl/transpose.cl
58@@ -53,10 +53,10 @@
59 #define TSIZE ((int)sizeof(T1)*3)
60 #endif
61
62-#ifndef INPLACE
63-
64 #define LDS_STEP (TILE_DIM + 1)
65
66+#ifndef INPLACE
67+
68 __kernel void transpose(__global const uchar * srcptr, int src_step, int src_offset, int src_rows, int src_cols,
69 __global uchar * dstptr, int dst_step, int dst_offset)
70 {
71@@ -120,6 +120,7 @@ __kernel void transpose(__global const uchar * srcptr, int src_step, int src_off
72
73 __kernel void transpose_inplace(__global uchar * srcptr, int src_step, int src_offset, int src_rows)
74 {
75+#ifdef INTEL_GPU
76 int x = get_global_id(0);
77 int y = get_global_id(1) * rowsPerWI;
78
79@@ -141,6 +142,70 @@ __kernel void transpose_inplace(__global uchar * srcptr, int src_step, int src_o
80 storepix(tmp, src);
81 }
82 }
83+#else
84+ int gp_x = get_group_id(0);
85+ int gp_y = get_group_id(1);
86+ int lx = get_local_id(0);
87+ int ly = get_local_id(1);
88+
89+ __local T tile_a[TILE_DIM * LDS_STEP];
90+ __local T tile_b[TILE_DIM * LDS_STEP];
91+
92+ if (gp_x > gp_y)
93+ {
94+ int x_a = gp_x * TILE_DIM + lx;
95+ int y_a = gp_y * TILE_DIM + ly;
96+ int x_b = gp_y * TILE_DIM + lx;
97+ int y_b = gp_x * TILE_DIM + ly;
98+
99+ // Load
100+ #pragma unroll
101+ for (int i = 0; i < TILE_DIM; i += BLOCK_ROWS)
102+ {
103+ if (y_a + i < src_rows && x_a < src_rows)
104+ tile_a[mad24(ly + i, LDS_STEP, lx)] =
105+ loadpix(srcptr + mad24(y_a + i, src_step, mad24(x_a, TSIZE, src_offset)));
106+
107+ if (y_b + i < src_rows && x_b < src_rows)
108+ tile_b[mad24(ly + i, LDS_STEP, lx)] =
109+ loadpix(srcptr + mad24(y_b + i, src_step, mad24(x_b, TSIZE, src_offset)));
110+ }
111+
112+ barrier(CLK_LOCAL_MEM_FENCE);
113+
114+ // Store (transposed)
115+ #pragma unroll
116+ for (int i = 0; i < TILE_DIM; i += BLOCK_ROWS)
117+ {
118+ if (y_b + i < src_rows && x_b < src_rows)
119+ storepix(tile_a[mad24(lx, LDS_STEP, ly + i)],
120+ srcptr + mad24(y_b + i, src_step, mad24(x_b, TSIZE, src_offset)));
121+
122+ if (y_a + i < src_rows && x_a < src_rows)
123+ storepix(tile_b[mad24(lx, LDS_STEP, ly + i)],
124+ srcptr + mad24(y_a + i, src_step, mad24(x_a, TSIZE, src_offset)));
125+ }
126+ }
127+ else if (gp_x == gp_y)
128+ {
129+ int x = gp_x * TILE_DIM + lx;
130+ int y = gp_y * TILE_DIM + ly;
131+
132+ #pragma unroll
133+ for (int i = 0; i < TILE_DIM; i += BLOCK_ROWS)
134+ if (y + i < src_rows && x < src_rows)
135+ tile_a[mad24(ly + i, LDS_STEP, lx)] =
136+ loadpix(srcptr + mad24(y + i, src_step, mad24(x, TSIZE, src_offset)));
137+
138+ barrier(CLK_LOCAL_MEM_FENCE);
139+
140+ #pragma unroll
141+ for (int i = 0; i < TILE_DIM; i += BLOCK_ROWS)
142+ if (y + i < src_rows && x < src_rows)
143+ storepix(tile_a[mad24(lx, LDS_STEP, ly + i)],
144+ srcptr + mad24(y + i, src_step, mad24(x, TSIZE, src_offset)));
145+ }
146+#endif
147 }
148
149 #endif // INPLACE
150--
1512.34.1
152
diff --git a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0107-imgproc-perf-HoughLines-Fix-test-tolerance-and-compa.patch b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0107-imgproc-perf-HoughLines-Fix-test-tolerance-and-compa.patch
new file mode 100644
index 000000000..de128954a
--- /dev/null
+++ b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0107-imgproc-perf-HoughLines-Fix-test-tolerance-and-compa.patch
@@ -0,0 +1,47 @@
1From fa4b11750cfb19ccbe21a2f8d1801ba014e8b401 Mon Sep 17 00:00:00 2001
2From: Samaresh Kumar Singh <ssam3003@gmail.com>
3Date: Wed, 4 Mar 2026 13:13:52 -0600
4Subject: [PATCH 1/2] [imgproc][perf][HoughLines] Fix test tolerance and
5 comparator for cross-backend stability
6
7Upstream-Status: Submitted [under review]
8
9---
10 modules/imgproc/perf/opencl/perf_houghlines.cpp | 9 ++++++---
11 1 file changed, 6 insertions(+), 3 deletions(-)
12
13diff --git a/modules/imgproc/perf/opencl/perf_houghlines.cpp b/modules/imgproc/perf/opencl/perf_houghlines.cpp
14index 0a5f3ae561..bffd895f2b 100644
15--- a/modules/imgproc/perf/opencl/perf_houghlines.cpp
16+++ b/modules/imgproc/perf/opencl/perf_houghlines.cpp
17@@ -19,7 +19,7 @@ struct Vec2fComparator
18 {
19 bool operator()(const Vec2f& a, const Vec2f b) const
20 {
21- if(a[0] != b[0]) return a[0] < b[0];
22+ if(std::abs(a[0] - b[0]) > 1e-3f) return a[0] < b[0];
23 else return a[1] < b[1];
24 }
25 };
26@@ -55,7 +55,10 @@ OCL_PERF_TEST_P(HoughLinesFixture, HoughLines, Combine(OCL_TEST_SIZES,
27 lines.copyTo(result);
28 std::sort(result.begin<Vec2f>(), result.end<Vec2f>(), Vec2fComparator());
29
30- SANITY_CHECK(result, 1e-6);
31+ EXPECT_GE((size_t)result.total(), 6u);
32+ EXPECT_LT((size_t)result.total(), 50u);
33+
34+ SANITY_CHECK_NOTHING();
35 }
36
37 ///////////// HoughLinesP /////////////////////
38@@ -88,4 +91,4 @@ OCL_PERF_TEST_P(HoughLinesPFixture, HoughLinesP, Combine(Values("cv/shared/pic5.
39
40 } } // namespace opencv_test::ocl
41
42-#endif // HAVE_OPENCL
43\ No newline at end of file
44+#endif // HAVE_OPENCL
45--
462.34.1
47
diff --git a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0108-imgproc-perf-HoughLines-Fix-lower-bound-for-line-cou.patch b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0108-imgproc-perf-HoughLines-Fix-lower-bound-for-line-cou.patch
new file mode 100644
index 000000000..bc7013481
--- /dev/null
+++ b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0108-imgproc-perf-HoughLines-Fix-lower-bound-for-line-cou.patch
@@ -0,0 +1,31 @@
1From 2751419022d65b7d9260c87c7806db0f32a1c359 Mon Sep 17 00:00:00 2001
2From: Samaresh Kumar Singh <ssam3003@gmail.com>
3Date: Thu, 5 Mar 2026 19:21:36 -0600
4Subject: [PATCH 2/2] [imgproc][perf][HoughLines] Fix lower bound for line
5 count check
6
7With thetaStep=0.1 rad, theta=PI/2 is not a sampled accumulator bin, so horizontal lines fall below the vote threshold and are not detected.
8Only the 3 vertical lines (at theta=0, always an exact bin) are reliably found in that case. Lower the EXPECT_GE bound from 6 to 3 to reflect the worst-case guarantee across all thetaStep values and backends.
9
10Fixes regression introduced in fa4b117.
11Upstream-Status: Submitted [under review]
12---
13 modules/imgproc/perf/opencl/perf_houghlines.cpp | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16diff --git a/modules/imgproc/perf/opencl/perf_houghlines.cpp b/modules/imgproc/perf/opencl/perf_houghlines.cpp
17index bffd895f2b..95c61667fc 100644
18--- a/modules/imgproc/perf/opencl/perf_houghlines.cpp
19+++ b/modules/imgproc/perf/opencl/perf_houghlines.cpp
20@@ -55,7 +55,7 @@ OCL_PERF_TEST_P(HoughLinesFixture, HoughLines, Combine(OCL_TEST_SIZES,
21 lines.copyTo(result);
22 std::sort(result.begin<Vec2f>(), result.end<Vec2f>(), Vec2fComparator());
23
24- EXPECT_GE((size_t)result.total(), 6u);
25+ EXPECT_GE((size_t)result.total(), 3u);
26 EXPECT_LT((size_t)result.total(), 50u);
27
28 SANITY_CHECK_NOTHING();
29--
302.34.1
31
diff --git a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0109-core-ocl-fix-incorrect-results-for-in-place-flip-on-.patch b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0109-core-ocl-fix-incorrect-results-for-in-place-flip-on-.patch
new file mode 100644
index 000000000..5a6d8891f
--- /dev/null
+++ b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0109-core-ocl-fix-incorrect-results-for-in-place-flip-on-.patch
@@ -0,0 +1,352 @@
1From ba879cd60f505c3239a6bc5c4b8eb6ca87d143c2 Mon Sep 17 00:00:00 2001
2From: jiajia Qian <jiajia.qian@nxp.com>
3Date: Thu, 16 Apr 2026 10:14:05 +0800
4Subject: [PATCH] core/ocl: fix incorrect results for in-place flip on strict
5 OpenCL implementations
6MIME-Version: 1.0
7Content-Type: text/plain; charset=UTF-8
8Content-Transfer-Encoding: 8bit
9
10Previously, OpenCL in-place flip kernels (rows/cols/both) could produce
11incorrect results compared to the CPU implementation on strict OpenCL
12drivers such as Mesa. The kernels relied on implicit load–load–store–store
13(LLSS) ordering when src and dst alias, which is not guaranteed by the
14OpenCL memory model and may be reordered.
15
16Some vendor drivers happened to preserve the expected ordering, masking
17the issue, but Mesa correctly exposes the undefined behavior.
18
19This change introduces dedicated in-place flip kernels that:
20- Explicitly detect in-place execution (src == dst)
21- Stage data through local memory tiles
22- Enforce correct ordering with work-group barriers
23- Avoid global memory read/write aliasing hazards
24
25The non in-place path is unchanged.
26
27With this fix, OpenCL in-place flip produces correct and consistent results
28across drivers, matches CPU behavior, and complies with the OpenCL memory
29model.
30
31Upstream-Status: Backport [ba879cd60f505c3239a6bc5c4b8eb6ca87d143c2]
32Signed-off-by: jiajia Qian <jiajia.qian@nxp.com>
33---
34 modules/core/src/matrix_transform.cpp | 71 +++++++---
35 modules/core/src/opencl/flip.cl | 196 ++++++++++++++++++++++++++
36 2 files changed, 250 insertions(+), 17 deletions(-)
37
38diff --git a/modules/core/src/matrix_transform.cpp b/modules/core/src/matrix_transform.cpp
39index ce859e8eb8..245cd89843 100644
40--- a/modules/core/src/matrix_transform.cpp
41+++ b/modules/core/src/matrix_transform.cpp
42@@ -973,7 +973,12 @@ static bool ocl_flip(InputArray _src, OutputArray _dst, int flipCode )
43 if (cn > 4)
44 return false;
45
46- const char * kernelName;
47+ Size size = _src.size();
48+ _dst.create(size, type);
49+ UMat src = _src.getUMat(), dst = _dst.getUMat();
50+ bool inplace = (dst.u == src.u);
51+
52+ String kernelName;
53 if (flipCode == 0)
54 kernelName = "arithm_flip_rows", flipType = FLIP_ROWS;
55 else if (flipCode > 0)
56@@ -981,33 +986,65 @@ static bool ocl_flip(InputArray _src, OutputArray _dst, int flipCode )
57 else
58 kernelName = "arithm_flip_rows_cols", flipType = FLIP_BOTH;
59
60+ if(inplace)
61+ kernelName += "_inplace";
62+
63 int pxPerWIy = (dev.isIntel() && (dev.type() & ocl::Device::TYPE_GPU)) ? 4 : 1;
64 kercn = (cn!=3 || flipType == FLIP_ROWS) ? std::max(kercn, cn) : cn;
65+ const int TILE_SIZE = 32, BLOCK_ROWS = 8;
66
67- ocl::Kernel k(kernelName, ocl::core::flip_oclsrc,
68- format( "-D T=%s -D T1=%s -D DEPTH=%d -D cn=%d -D PIX_PER_WI_Y=%d -D kercn=%d",
69+ ocl::Kernel k(kernelName.c_str(), ocl::core::flip_oclsrc,
70+ format( "-D T=%s -D T1=%s -D DEPTH=%d -D cn=%d -D PIX_PER_WI_Y=%d -D kercn=%d -D TILE_SIZE=%d -D BLOCK_ROWS=%d%s",
71 kercn != cn ? ocl::typeToStr(CV_MAKE_TYPE(depth, kercn)) : ocl::vecopTypeToStr(CV_MAKE_TYPE(depth, kercn)),
72- kercn != cn ? ocl::typeToStr(depth) : ocl::vecopTypeToStr(depth), depth, cn, pxPerWIy, kercn));
73+ kercn != cn ? ocl::typeToStr(depth) : ocl::vecopTypeToStr(depth), depth, cn, pxPerWIy, kercn, TILE_SIZE, BLOCK_ROWS,
74+ inplace ? " -D INPLACE" : ""));
75 if (k.empty())
76 return false;
77
78- Size size = _src.size();
79- _dst.create(size, type);
80- UMat src = _src.getUMat(), dst = _dst.getUMat();
81-
82 int cols = size.width * cn / kercn, rows = size.height;
83- cols = flipType == FLIP_COLS ? (cols + 1) >> 1 : cols;
84- rows = flipType & FLIP_ROWS ? (rows + 1) >> 1 : rows;
85+ int work_cols = flipType == FLIP_COLS ? (cols + 1) >> 1 : cols;
86+ int work_rows = flipType & FLIP_ROWS ? (rows + 1) >> 1 : rows;
87+
88+ if (inplace)
89+ {
90+ k.args(ocl::KernelArg::ReadWriteNoSize(dst), rows, cols);
91+
92+ int gs_cols, gs_rows;
93+ if (flipType == FLIP_COLS)
94+ {
95+ gs_cols = work_cols;
96+ gs_rows = rows;
97+ }
98+ else if (flipType == FLIP_ROWS)
99+ {
100+ gs_cols = cols;
101+ gs_rows = work_rows;
102+ }
103+ else // FLIP_BOTH
104+ {
105+ gs_cols = cols;
106+ gs_rows = rows;
107+ }
108
109- k.args(ocl::KernelArg::ReadOnlyNoSize(src),
110- ocl::KernelArg::WriteOnly(dst, cn, kercn), rows, cols);
111+ size_t globalsize[2] = {
112+ (size_t)divUp(gs_cols, TILE_SIZE) * TILE_SIZE,
113+ (size_t)divUp(gs_rows, TILE_SIZE) * BLOCK_ROWS
114+ };
115+ size_t localsize[2] = { TILE_SIZE, BLOCK_ROWS };
116+ return k.run(2, globalsize, localsize, false);
117+ }
118+ else
119+ {
120+ k.args(ocl::KernelArg::ReadOnlyNoSize(src),
121+ ocl::KernelArg::WriteOnly(dst, cn, kercn), work_rows, work_cols);
122
123- size_t maxWorkGroupSize = dev.maxWorkGroupSize();
124- CV_Assert(maxWorkGroupSize % 4 == 0);
125+ size_t maxWorkGroupSize = dev.maxWorkGroupSize();
126+ CV_Assert(maxWorkGroupSize % 4 == 0);
127
128- size_t globalsize[2] = { (size_t)cols, ((size_t)rows + pxPerWIy - 1) / pxPerWIy },
129- localsize[2] = { maxWorkGroupSize / 4, 4 };
130- return k.run(2, globalsize, (flipType == FLIP_COLS) && !dev.isIntel() ? localsize : NULL, false);
131+ size_t globalsize[2] = { (size_t)work_cols, ((size_t)work_rows + pxPerWIy - 1) / pxPerWIy };
132+ size_t localsize[2] = { maxWorkGroupSize / 4, 4 };
133+ return k.run(2, globalsize, (flipType == FLIP_COLS) && !dev.isIntel() ? localsize : NULL, false);
134+ }
135 }
136
137 #endif
138diff --git a/modules/core/src/opencl/flip.cl b/modules/core/src/opencl/flip.cl
139index afd14e4e1f..dbe23c73a4 100644
140--- a/modules/core/src/opencl/flip.cl
141+++ b/modules/core/src/opencl/flip.cl
142@@ -63,6 +63,9 @@
143 #endif
144 #define TSIZE ((int)sizeof(T1)*3)
145 #endif
146+#define LDS_STEP (TILE_SIZE + 1)
147+
148+#ifndef INPLACE
149
150 __kernel void arithm_flip_rows(__global const uchar * srcptr, int src_step, int src_offset,
151 __global uchar * dstptr, int dst_step, int dst_offset,
152@@ -183,3 +186,196 @@ __kernel void arithm_flip_cols(__global const uchar * srcptr, int src_step, int
153 }
154 }
155 }
156+
157+#else
158+
159+__kernel void arithm_flip_rows_inplace(__global uchar * srcptr, int src_step, int src_offset,
160+ int rows, int cols)
161+{
162+ int gp_x = get_group_id(0);
163+ int gp_y = get_group_id(1);
164+ int lx = get_local_id(0);
165+ int ly = get_local_id(1);
166+
167+ __local T tile_top[TILE_SIZE * LDS_STEP];
168+ __local T tile_bottom[TILE_SIZE * LDS_STEP];
169+
170+ int half_rows = (rows + 1) / 2;
171+
172+ int x = gp_x * TILE_SIZE + lx;
173+ int y_top = gp_y * TILE_SIZE + ly;
174+ int y_bottom = rows - 1 - y_top;
175+
176+ #pragma unroll
177+ for (int i = 0; i < TILE_SIZE; i += BLOCK_ROWS)
178+ {
179+ if (x < cols && y_top + i < half_rows)
180+ {
181+ int curr_y_top = y_top + i;
182+ int curr_y_bottom = rows - 1 - curr_y_top;
183+
184+ T val_top = loadpix(srcptr + mad24(curr_y_top, src_step, mad24(x, TSIZE, src_offset)));
185+ T val_bottom = loadpix(srcptr + mad24(curr_y_bottom, src_step, mad24(x, TSIZE, src_offset)));
186+
187+ tile_top[mad24(ly + i, LDS_STEP, lx)] = val_top;
188+ tile_bottom[mad24(ly + i, LDS_STEP, lx)] = val_bottom;
189+ }
190+ }
191+ barrier(CLK_LOCAL_MEM_FENCE);
192+
193+ #pragma unroll
194+ for (int i = 0; i < TILE_SIZE; i += BLOCK_ROWS)
195+ {
196+ if (x < cols && y_top + i < half_rows)
197+ {
198+ int curr_y_top = y_top + i;
199+ int curr_y_bottom = rows - 1 - curr_y_top;
200+
201+ storepix(tile_bottom[mad24(ly + i, LDS_STEP, lx)],
202+ srcptr + mad24(curr_y_top, src_step, mad24(x, TSIZE, src_offset)));
203+
204+ if (curr_y_top != curr_y_bottom)
205+ {
206+ storepix(tile_top[mad24(ly + i, LDS_STEP, lx)],
207+ srcptr + mad24(curr_y_bottom, src_step, mad24(x, TSIZE, src_offset)));
208+ }
209+ }
210+ }
211+}
212+
213+__kernel void arithm_flip_rows_cols_inplace(__global uchar * srcptr, int src_step, int src_offset,
214+ int rows, int cols)
215+{
216+ int gp_x = get_group_id(0);
217+ int gp_y = get_group_id(1);
218+ int lx = get_local_id(0);
219+ int ly = get_local_id(1);
220+
221+ __local T tile_first[TILE_SIZE * LDS_STEP];
222+ __local T tile_second[TILE_SIZE * LDS_STEP];
223+
224+ int total_pixels = rows * cols;
225+ int half_pixels = (total_pixels + 1) / 2;
226+
227+ int x_first = gp_x * TILE_SIZE + lx;
228+ int y_first = gp_y * TILE_SIZE + ly;
229+
230+ int x_second = cols - 1 - x_first;
231+ int y_second = rows - 1 - y_first;
232+
233+ #pragma unroll
234+ for (int i = 0; i < TILE_SIZE; i += BLOCK_ROWS)
235+ {
236+ int curr_y_first = y_first + i;
237+ int curr_y_second = rows - 1 - curr_y_first;
238+ int linear_idx = curr_y_first * cols + x_first;
239+
240+ if (x_first < cols && curr_y_first < rows && linear_idx < half_pixels)
241+ {
242+ T val_first = loadpix(srcptr + mad24(curr_y_first, src_step, mad24(x_first, TSIZE, src_offset)));
243+ T val_second = loadpix(srcptr + mad24(curr_y_second, src_step, mad24(x_second, TSIZE, src_offset)));
244+
245+#if kercn == 2
246+#if cn == 1
247+ val_first = val_first.s10;
248+ val_second = val_second.s10;
249+#endif
250+#elif kercn == 4
251+#if cn == 1
252+ val_first = val_first.s3210;
253+ val_second = val_second.s3210;
254+#elif cn == 2
255+ val_first = val_first.s2301;
256+ val_second = val_second.s2301;
257+#endif
258+#endif
259+ tile_first[mad24(ly + i, LDS_STEP, lx)] = val_first;
260+ tile_second[mad24(ly + i, LDS_STEP, lx)] = val_second;
261+ }
262+ }
263+ barrier(CLK_LOCAL_MEM_FENCE);
264+
265+ #pragma unroll
266+ for (int i = 0; i < TILE_SIZE; i += BLOCK_ROWS)
267+ {
268+ int curr_y_first = y_first + i;
269+ int curr_y_second = rows - 1 - curr_y_first;
270+ int linear_idx = curr_y_first * cols + x_first;
271+
272+ if (x_first < cols && curr_y_first < rows && linear_idx < half_pixels)
273+ {
274+ storepix(tile_second[mad24(ly + i, LDS_STEP, lx)],
275+ srcptr + mad24(curr_y_first, src_step, mad24(x_first, TSIZE, src_offset)));
276+
277+ if (linear_idx != total_pixels - 1 - linear_idx)
278+ {
279+ storepix(tile_first[mad24(ly + i, LDS_STEP, lx)],
280+ srcptr + mad24(curr_y_second, src_step, mad24(x_second, TSIZE, src_offset)));
281+ }
282+ }
283+ }
284+}
285+
286+__kernel void arithm_flip_cols_inplace(__global uchar * srcptr, int src_step, int src_offset,
287+ int rows, int cols)
288+{
289+ int gp_x = get_group_id(0);
290+ int gp_y = get_group_id(1);
291+ int lx = get_local_id(0);
292+ int ly = get_local_id(1);
293+
294+ __local T tile_left[TILE_SIZE * LDS_STEP];
295+ __local T tile_right[TILE_SIZE * LDS_STEP];
296+
297+ int half_cols = (cols + 1) / 2;
298+
299+ int x_left = gp_x * TILE_SIZE + lx;
300+ int y = gp_y * TILE_SIZE + ly;
301+ int x_right = cols - 1 - x_left;
302+
303+ #pragma unroll
304+ for (int i = 0; i < TILE_SIZE; i += BLOCK_ROWS)
305+ {
306+ if (y + i < rows && x_left < half_cols)
307+ {
308+ T val_left = loadpix(srcptr + mad24(y + i, src_step, mad24(x_left, TSIZE, src_offset)));
309+ T val_right = loadpix(srcptr + mad24(y + i, src_step, mad24(x_right, TSIZE, src_offset)));
310+
311+#if kercn == 2
312+#if cn == 1
313+ val_left = val_left.s10;
314+ val_right = val_right.s10;
315+#endif
316+#elif kercn == 4
317+#if cn == 1
318+ val_left = val_left.s3210;
319+ val_right = val_right.s3210;
320+#elif cn == 2
321+ val_left = val_left.s2301;
322+ val_right = val_right.s2301;
323+#endif
324+#endif
325+ tile_left[mad24(ly + i, LDS_STEP, lx)] = val_left;
326+ tile_right[mad24(ly + i, LDS_STEP, lx)] = val_right;
327+ }
328+ }
329+ barrier(CLK_LOCAL_MEM_FENCE);
330+
331+ #pragma unroll
332+ for (int i = 0; i < TILE_SIZE; i += BLOCK_ROWS)
333+ {
334+ if (y + i < rows && x_left < half_cols)
335+ {
336+ storepix(tile_right[mad24(ly + i, LDS_STEP, lx)],
337+ srcptr + mad24(y + i, src_step, mad24(x_left, TSIZE, src_offset)));
338+
339+ if (x_left != x_right)
340+ {
341+ storepix(tile_left[mad24(ly + i, LDS_STEP, lx)],
342+ srcptr + mad24(y + i, src_step, mad24(x_right, TSIZE, src_offset)));
343+ }
344+ }
345+ }
346+}
347+
348+#endif // INPLACE
349\ No newline at end of file
350--
3512.34.1
352
diff --git a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/27691.patch b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/27691.patch
new file mode 100644
index 000000000..c8c23c93a
--- /dev/null
+++ b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/27691.patch
@@ -0,0 +1,44 @@
1From 90c444abd387ffa70b2e72a34922903a2f0f4f5a Mon Sep 17 00:00:00 2001
2From: Alexander Smorkalov <alexander.smorkalov@opencv.ai>
3Date: Wed, 20 Aug 2025 10:53:51 +0300
4Subject: [PATCH] FFmpeg 8.0 support.
5
6Upstream-Status: Backport [https://github.com/opencv/opencv/commit/86df53155411b3ade57d0213bf8dd63006bf248f]
7---
8 modules/videoio/src/cap_ffmpeg_impl.hpp | 14 ++++++++++++++
9 1 file changed, 14 insertions(+)
10
11diff --git a/modules/videoio/src/cap_ffmpeg_impl.hpp b/modules/videoio/src/cap_ffmpeg_impl.hpp
12index 489dbe565d3d..5780b4c11361 100644
13--- a/modules/videoio/src/cap_ffmpeg_impl.hpp
14+++ b/modules/videoio/src/cap_ffmpeg_impl.hpp
15@@ -685,7 +685,10 @@ void CvCapture_FFMPEG::close()
16 if( video_st )
17 {
18 #ifdef CV_FFMPEG_CODECPAR
19+// avcodec_close removed in FFmpeg release 8.0
20+# if (LIBAVCODEC_BUILD < CALC_FFMPEG_VERSION(62, 11, 100))
21 avcodec_close( context );
22+# endif
23 #endif
24 video_st = NULL;
25 }
26@@ -2005,7 +2008,18 @@ void CvCapture_FFMPEG::get_rotation_angle()
27 rotation_angle = 0;
28 #if LIBAVFORMAT_BUILD >= CALC_FFMPEG_VERSION(57, 68, 100)
29 const uint8_t *data = 0;
30+ // av_stream_get_side_data removed in FFmpeg release 8.0
31+# if (LIBAVCODEC_BUILD < CALC_FFMPEG_VERSION(62, 11, 100))
32 data = av_stream_get_side_data(video_st, AV_PKT_DATA_DISPLAYMATRIX, NULL);
33+# else
34+ AVPacketSideData* sd = video_st->codecpar->coded_side_data;
35+ int nb_sd = video_st->codecpar->nb_coded_side_data;
36+ if (sd && nb_sd > 0)
37+ {
38+ const AVPacketSideData* mtx = av_packet_side_data_get(sd, nb_sd, AV_PKT_DATA_DISPLAYMATRIX);
39+ data = mtx->data;
40+ }
41+# endif
42 if (data)
43 {
44 rotation_angle = -cvRound(av_display_rotation_get((const int32_t*)data));
diff --git a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/OpenCV_DNN_examples.patch b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/OpenCV_DNN_examples.patch
index ef7831a5f..9aee21c4d 100644
--- a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/OpenCV_DNN_examples.patch
+++ b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/OpenCV_DNN_examples.patch
@@ -1,17 +1,19 @@
1From 3c4daafb54f961e376104a461ca7ec114ff0331a Mon Sep 17 00:00:00 2001 1From c0e12bef26b4e4f10eb541c26f7fd7400addb67e Mon Sep 17 00:00:00 2001
2From: Ludek Slosarcik <ludek.slosarcik@nxp.com> 2From: Ludek Slosarcik <ludek.slosarcik@nxp.com>
3Date: Fri, 14 Feb 2020 15:46:50 +0100 3Date: Fri, 14 Feb 2020 15:46:50 +0100
4Subject: [PATCH] opencv_dnn: added video device for 2 examples, and change text labels 4Subject: [PATCH] opencv_dnn: added video device for 2 examples, and change
5 text labels
5 6
6Signed-off-by: Ludek Slosarcik <ludek.slosarcik@nxp.com> 7Signed-off-by: Ludek Slosarcik <ludek.slosarcik@nxp.com>
7 8
8Upstream-Status: Pending 9Upstream-Status: Pending
10
9--- 11---
10 samples/cpp/logistic_regression.cpp | 2 +- 12 samples/cpp/logistic_regression.cpp | 2 +-
11 samples/dnn/classification.cpp | 7 ++++--- 13 samples/dnn/classification.cpp | 9 +++++----
12 samples/dnn/object_detection.cpp | 10 +++++----- 14 samples/dnn/object_detection.cpp | 10 +++++-----
13 samples/dnn/segmentation.cpp | 2 +- 15 samples/dnn/segmentation.cpp | 2 +-
14 samples/dnn/text_detection.cpp | 5 +++-- 16 samples/dnn/text_detection.cpp | 3 ++-
15 5 files changed, 14 insertions(+), 12 deletions(-) 17 5 files changed, 14 insertions(+), 12 deletions(-)
16 18
17Index: git/samples/cpp/logistic_regression.cpp 19Index: git/samples/cpp/logistic_regression.cpp
@@ -128,8 +130,8 @@ Index: git/samples/dnn/text_detection.cpp
128 "{ input i | | Path to input image or video file. Skip this argument to capture frames from a camera.}" 130 "{ input i | | Path to input image or video file. Skip this argument to capture frames from a camera.}"
129+ "{ device | 0 | camera device number. }" 131+ "{ device | 0 | camera device number. }"
130 "{ detModel dmp | | Path to a binary .pb file contains trained detector network.}" 132 "{ detModel dmp | | Path to a binary .pb file contains trained detector network.}"
131 "{ width | 320 | Preprocess input image by resizing to a specific width. It should be multiple by 32. }" 133 "{ width | 320 | Preprocess input image by resizing to a specific width. It should be a multiple of 32. }"
132 "{ height | 320 | Preprocess input image by resizing to a specific height. It should be multiple by 32. }" 134 "{ height | 320 | Preprocess input image by resizing to a specific height. It should be a multiple of 32. }"
133@@ -106,7 +107,7 @@ int main(int argc, char** argv) 135@@ -106,7 +107,7 @@ int main(int argc, char** argv)
134 136
135 // Open a video file or an image file or a camera stream. 137 // Open a video file or an image file or a camera stream.
diff --git a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/fix-build-with-protobuf-v22.patch b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/fix-build-with-protobuf-v22.patch
index 3538f24b3..265d723c6 100644
--- a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/fix-build-with-protobuf-v22.patch
+++ b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/fix-build-with-protobuf-v22.patch
@@ -1,19 +1,60 @@
1From 5e4150826fea6f37276f348c65d94ce4847d1211 Mon Sep 17 00:00:00 2001 1From 75f7475fcfb35cbe4d8f5ccf5c4ac8bc78f2dc30 Mon Sep 17 00:00:00 2001
2From: Kumataro <Kumataro@users.noreply.github.com> 2From: Kumataro <Kumataro@users.noreply.github.com>
3Date: Sat, 7 Oct 2023 10:11:25 +0900 3Date: Thu, 19 Oct 2023 14:45:08 +0900
4Subject: [PATCH] 3rdparty: supporting protobuf v22 and later 4Subject: [PATCH] Merge pull request #24372 from Kumataro:fix24369
5 5
6Upstream-Status: Submitted [https://github.com/opencv/opencv/pull/24372] 6Supporting protobuf v22 and later(with abseil-cpp/C++17) #24372
7
8fix https://github.com/opencv/opencv/issues/24369
9related https://github.com/opencv/opencv/issues/23791
10
111. This patch supports external protobuf v22 and later, it required abseil-cpp and c++17.
12 Even if the built-in protobuf is upgraded to v22 or later,
13 the dependency on abseil-cpp and the requirement for C++17 will continue.
142. Some test for caffe required patched protobuf, so this patch disable them.
15
16This patch is tested by following libraries.
17- Protobuf: /usr/local/lib/libprotobuf.so (4.24.4)
18- abseil-cpp: YES (20230125)
19
20See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request
21
22- [x] I agree to contribute to the project under Apache 2 License.
23- [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV
24- [x] The PR is proposed to the proper branch
25- [x] There is a reference to the original bug report and related work
26- [x] There is accuracy test, performance test and test data in opencv_extra repository, if applicable
27 Patch to opencv_extra has the same branch name.
28- [x] The feature is well documented and sample code can be built with the project CMake
29
30Upstream-Status: Backport [https://github.com/opencv/opencv/commit/6e4280ea81b59c6dca45bb9801b758377beead55]
7--- 31---
8 cmake/OpenCVFindProtobuf.cmake | 37 ++++++++++++++++++++++++++++++++++ 32 cmake/OpenCVFindProtobuf.cmake | 35 +++++++++++++++++++++++++++-----
9 modules/dnn/CMakeLists.txt | 9 +++++++++ 33 modules/dnn/CMakeLists.txt | 6 ++++++
10 2 files changed, 46 insertions(+) 34 modules/dnn/test/test_layers.cpp | 24 ++++++++++++++++++----
35 3 files changed, 56 insertions(+), 9 deletions(-)
11 36
12diff --git a/cmake/OpenCVFindProtobuf.cmake b/cmake/OpenCVFindProtobuf.cmake 37diff --git a/cmake/OpenCVFindProtobuf.cmake b/cmake/OpenCVFindProtobuf.cmake
13index 8835347d1d..9bd5c28db8 100644 38index 8835347d1d..5b1e17529f 100644
14--- a/cmake/OpenCVFindProtobuf.cmake 39--- a/cmake/OpenCVFindProtobuf.cmake
15+++ b/cmake/OpenCVFindProtobuf.cmake 40+++ b/cmake/OpenCVFindProtobuf.cmake
16@@ -67,6 +67,38 @@ else() 41@@ -30,8 +30,14 @@ if(BUILD_PROTOBUF)
42 set(Protobuf_LIBRARIES "libprotobuf")
43 set(HAVE_PROTOBUF TRUE)
44 else()
45+ # we still need this for command PROTOBUF_GENERATE_CPP.
46+ set(protobuf_MODULE_COMPATIBLE ON)
47+
48 unset(Protobuf_VERSION CACHE)
49- find_package(Protobuf QUIET)
50+ find_package(Protobuf QUIET CONFIG)
51+ if(NOT Protobuf_FOUND)
52+ find_package(Protobuf QUIET)
53+ endif()
54
55 # Backwards compatibility
56 # Define camel case versions of input variables
57@@ -67,6 +73,20 @@ else()
17 endif() 58 endif()
18 endif() 59 endif()
19 60
@@ -21,82 +62,49 @@ index 8835347d1d..9bd5c28db8 100644
21+# In Protocol Buffers v22.0 and later drops C++11 support and depends abseil-cpp. 62+# In Protocol Buffers v22.0 and later drops C++11 support and depends abseil-cpp.
22+# Details: https://protobuf.dev/news/2022-08-03/ 63+# Details: https://protobuf.dev/news/2022-08-03/
23+# And if std::text_view is in abseil-cpp requests C++17 and later. 64+# And if std::text_view is in abseil-cpp requests C++17 and later.
24+if(HAVE_PROTOBUF)
25+ if("${Protobuf_VERSION}" MATCHES [[[0-9]+.([0-9]+).[0-9]+]])
26+ string(COMPARE GREATER_EQUAL "${CMAKE_MATCH_1}" "22" REQUEST_ABSL)
27+
28+ if(REQUEST_ABSL)
29+ string(COMPARE GREATER_EQUAL "${CMAKE_CXX_STANDARD}" "17" USED_AFTER_CXX17)
30+ if(NOT USED_AFTER_CXX17)
31+ message("CMAKE_CXX_STANDARD : ${CMAKE_CXX_STANDARD}")
32+ message("protobuf : ${Protobuf_VERSION}")
33+ message(FATAL_ERROR "protobuf(v22 and later) and abseil-cpp request CMAKE_CXX_STANDARD=17 and later.")
34+ endif()
35+
36+ ocv_check_modules(ABSL_STRINGS absl_strings)
37+ if(NOT ABSL_STRINGS_FOUND)
38+ message(FATAL_ERROR "protobuf(v22 and later) requests abseil-cpp(strings), but missing.")
39+ endif()
40+ 65+
41+ ocv_check_modules(ABSL_LOG absl_log) 66+if(HAVE_PROTOBUF)
42+ if(NOT ABSL_LOG_FOUND) 67+ if(NOT (Protobuf_VERSION VERSION_LESS 22))
43+ message(FATAL_ERROR "protobuf(v22 and later) requests abseil-cpp(log), but missing.") 68+ if((CMAKE_CXX_STANDARD EQUAL 98) OR (CMAKE_CXX_STANDARD LESS 17))
44+ endif() 69+ message(STATUS "CMAKE_CXX_STANDARD=${CMAKE_CXX_STANDARD} is too old to support protobuf(${Protobuf_VERSION}) and/or abseil-cpp. Use C++17 or later. Turning HAVE_PROTOBUF off")
45+ 70+ set(HAVE_PROTOBUF FALSE)
46+ endif()
47+ else()
48+ message(FATAL_ERROR "Protobuf version(${Protobuf_VERSION}) is unexpected to split.")
49+ endif() 71+ endif()
72+ endif()
50+endif() 73+endif()
51+ 74+
52 if(HAVE_PROTOBUF AND PROTOBUF_UPDATE_FILES AND NOT COMMAND PROTOBUF_GENERATE_CPP) 75 if(HAVE_PROTOBUF AND PROTOBUF_UPDATE_FILES AND NOT COMMAND PROTOBUF_GENERATE_CPP)
53 message(FATAL_ERROR "Can't configure protobuf dependency (BUILD_PROTOBUF=${BUILD_PROTOBUF} PROTOBUF_UPDATE_FILES=${PROTOBUF_UPDATE_FILES})") 76 message(FATAL_ERROR "Can't configure protobuf dependency (BUILD_PROTOBUF=${BUILD_PROTOBUF} PROTOBUF_UPDATE_FILES=${PROTOBUF_UPDATE_FILES})")
54 endif() 77 endif()
55@@ -89,3 +121,8 @@ if(HAVE_PROTOBUF) 78@@ -74,15 +94,20 @@ endif()
56 BUILD_PROTOBUF THEN "build (${Protobuf_VERSION})" 79 if(HAVE_PROTOBUF)
57 ELSE "${__location} (${Protobuf_VERSION})") 80 list(APPEND CUSTOM_STATUS protobuf)
58 endif() 81 if(NOT BUILD_PROTOBUF)
59+ 82+ unset( __location)
60+if(HAVE_ABSL_STRINGS AND HAVE_ABSL_LOG) 83 if(TARGET "${Protobuf_LIBRARIES}")
61+ list(APPEND CUSTOM_STATUS absl) 84 get_target_property(__location "${Protobuf_LIBRARIES}" IMPORTED_LOCATION_RELEASE)
62+ list(APPEND CUSTOM_STATUS_absl " abseil-cpp:" "YES (${ABSL_STRINGS_VERSION})" ) 85 if(NOT __location)
63+endif() 86 get_target_property(__location "${Protobuf_LIBRARIES}" IMPORTED_LOCATION)
64diff --git a/modules/dnn/CMakeLists.txt b/modules/dnn/CMakeLists.txt 87 endif()
65index 804b78ead2..d32007b37e 100644 88- elseif(Protobuf_LIBRARY)
66--- a/modules/dnn/CMakeLists.txt 89- set(__location "${Protobuf_LIBRARY}")
67+++ b/modules/dnn/CMakeLists.txt 90- else()
68@@ -149,6 +149,15 @@ if(NOT BUILD_PROTOBUF) 91- set(__location "${Protobuf_LIBRARIES}")
69 list(APPEND include_dirs ${Protobuf_INCLUDE_DIRS}) 92+ endif()
70 endif()
71
72+if(HAVE_ABSL_STRINGS)
73+ list(APPEND libs ${ABSL_STRINGS_LIBRARIES})
74+ list(APPEND include_dirs ${ABSL_STRTRINGS_INCLUDE_DIRS})
75+endif()
76+if(HAVE_ABSL_LOG)
77+ list(APPEND libs ${ABSL_LOG_LIBRARIES})
78+ list(APPEND include_dirs ${ABSL_LOG_INCLUDE_DIRS})
79+endif()
80+ 93+
81 set(sources_options "") 94+ if(NOT __location)
82 95+ if(Protobuf_LIBRARY)
83 list(APPEND libs ${LAPACK_LIBRARIES}) 96+ set(__location "${Protobuf_LIBRARY}")
84From 06a7669521d205f647d3e718322ccd153cdbbb77 Mon Sep 17 00:00:00 2001 97+ else()
85From: Kumataro <Kumataro@users.noreply.github.com> 98+ set(__location "${Protobuf_LIBRARIES}")
86Date: Sun, 8 Oct 2023 09:39:35 +0900 99+ endif()
87Subject: [PATCH] dnn: disable some tests for external protobuf 100 endif()
88 101 endif()
89--- 102 list(APPEND CUSTOM_STATUS_protobuf " Protobuf:"
90 modules/dnn/CMakeLists.txt | 5 +++++
91 modules/dnn/src/caffe/caffe_io.cpp | 24 ++++++++++++++++++++++--
92 modules/dnn/test/test_layers.cpp | 16 ++++++++++++++++
93 3 files changed, 43 insertions(+), 2 deletions(-)
94
95diff --git a/modules/dnn/CMakeLists.txt b/modules/dnn/CMakeLists.txt 103diff --git a/modules/dnn/CMakeLists.txt b/modules/dnn/CMakeLists.txt
96index d32007b37e..face38465f 100644 104index 804b78ead2..9fcc460909 100644
97--- a/modules/dnn/CMakeLists.txt 105--- a/modules/dnn/CMakeLists.txt
98+++ b/modules/dnn/CMakeLists.txt 106+++ b/modules/dnn/CMakeLists.txt
99@@ -254,6 +254,12 @@ ocv_create_module(${libs} ${dnn_runtime_libs}) 107@@ -245,6 +245,12 @@ ocv_create_module(${libs} ${dnn_runtime_libs})
100 ocv_add_samples() 108 ocv_add_samples()
101 ocv_add_accuracy_tests(${dnn_runtime_libs}) 109 ocv_add_accuracy_tests(${dnn_runtime_libs})
102 110
@@ -109,211 +117,13 @@ index d32007b37e..face38465f 100644
109 set(perf_path "${CMAKE_CURRENT_LIST_DIR}/perf") 117 set(perf_path "${CMAKE_CURRENT_LIST_DIR}/perf")
110 file(GLOB_RECURSE perf_srcs "${perf_path}/*.cpp") 118 file(GLOB_RECURSE perf_srcs "${perf_path}/*.cpp")
111 file(GLOB_RECURSE perf_hdrs "${perf_path}/*.hpp" "${perf_path}/*.h") 119 file(GLOB_RECURSE perf_hdrs "${perf_path}/*.hpp" "${perf_path}/*.h")
112
113diff --git a/modules/dnn/src/caffe/caffe_io.cpp b/modules/dnn/src/caffe/caffe_io.cpp
114index ebecf95eea..ebceca84cf 100644
115--- a/modules/dnn/src/caffe/caffe_io.cpp
116+++ b/modules/dnn/src/caffe/caffe_io.cpp
117@@ -1130,7 +1130,17 @@ bool ReadProtoFromTextFile(const char* filename, Message* proto) {
118 parser.AllowUnknownField(true);
119 parser.SetRecursionLimit(1000);
120 #endif
121- return parser.Parse(&input, proto);
122+ const bool ret = parser.Parse(&input, proto);
123+
124+#ifdef OPENCV_DNN_EXTERNAL_PROTOBUF
125+ if(!ret)
126+ {
127+ LOG(ERROR) << "Some data requires patched protobuf (available in OpenCV source tree only).";
128+ CV_Error_(Error::StsError,("Some data requires patched protobuf (available in OpenCV source tree only)."));
129+ }
130+#endif
131+
132+ return ret;
133 }
134
135 bool ReadProtoFromBinaryFile(const char* filename, Message* proto) {
136@@ -1148,7 +1158,17 @@ bool ReadProtoFromTextBuffer(const char* data, size_t len, Message* proto) {
137 parser.AllowUnknownField(true);
138 parser.SetRecursionLimit(1000);
139 #endif
140- return parser.Parse(&input, proto);
141+ const bool ret = parser.Parse(&input, proto);
142+
143+#ifdef OPENCV_DNN_EXTERNAL_PROTOBUF
144+ if(!ret)
145+ {
146+ LOG(ERROR) << "Some data requires patched protobuf (available in OpenCV source tree only).";
147+ CV_Error_(Error::StsError,("Some data requires patched protobuf (available in OpenCV source tree only)."));
148+ }
149+#endif
150+
151+ return ret;
152 }
153
154
155diff --git a/modules/dnn/test/test_layers.cpp b/modules/dnn/test/test_layers.cpp 120diff --git a/modules/dnn/test/test_layers.cpp b/modules/dnn/test/test_layers.cpp
156index 763d94b99c..a07d442d76 100644 121index 763d94b99c..6cb6d54b3f 100644
157--- a/modules/dnn/test/test_layers.cpp 122--- a/modules/dnn/test/test_layers.cpp
158+++ b/modules/dnn/test/test_layers.cpp 123+++ b/modules/dnn/test/test_layers.cpp
159@@ -754,7 +754,11 @@ TEST_F(Layer_RNN_Test, get_set_test) 124@@ -756,11 +756,15 @@ TEST_F(Layer_RNN_Test, get_set_test)
160 EXPECT_EQ(shape(outputs[1]), shape(nT, nS, nH));
161 }
162 125
163+#ifndef OPENCV_DNN_EXTERNAL_PROTOBUF
164 TEST_P(Test_Caffe_layers, Accum) 126 TEST_P(Test_Caffe_layers, Accum)
165+#else
166+TEST_P(Test_Caffe_layers, DISABLED_Accum) // requires patched protobuf (available in OpenCV source tree only)
167+#endif
168 {
169 if (backend == DNN_BACKEND_OPENCV && target != DNN_TARGET_CPU)
170 applyTestTag(CV_TEST_TAG_DNN_SKIP_OPENCL, CV_TEST_TAG_DNN_SKIP_OPENCL_FP16);
171@@ -778,7 +782,11 @@ TEST_P(Test_Caffe_layers, ChannelNorm)
172 testLayerUsingCaffeModels("channel_norm", false, false);
173 }
174
175+#ifndef OPENCV_DNN_EXTERNAL_PROTOBUF
176 TEST_P(Test_Caffe_layers, DataAugmentation)
177+#else
178+TEST_P(Test_Caffe_layers, DISABLED_DataAugmentation) // requires patched protobuf (available in OpenCV source tree only)
179+#endif
180 {
181 if (backend == DNN_BACKEND_OPENCV && target == DNN_TARGET_OPENCL_FP16)
182 applyTestTag(CV_TEST_TAG_DNN_SKIP_OPENCL_FP16);
183@@ -787,7 +795,11 @@ TEST_P(Test_Caffe_layers, DataAugmentation)
184 testLayerUsingCaffeModels("data_augmentation_8x6", true, false);
185 }
186
187+#ifndef OPENCV_DNN_EXTERNAL_PROTOBUF
188 TEST_P(Test_Caffe_layers, Resample)
189+#else
190+TEST_P(Test_Caffe_layers, DISABLED_Resample) // requires patched protobuf (available in OpenCV source tree only)
191+#endif
192 {
193 if (backend != DNN_BACKEND_OPENCV)
194 applyTestTag(CV_TEST_TAG_DNN_SKIP_IE_NN_BUILDER, CV_TEST_TAG_DNN_SKIP_IE_NGRAPH);
195@@ -795,7 +807,11 @@ TEST_P(Test_Caffe_layers, Resample)
196 testLayerUsingCaffeModels("nearest", false, false);
197 }
198
199+#ifndef OPENCV_DNN_EXTERNAL_PROTOBUF
200 TEST_P(Test_Caffe_layers, Correlation)
201+#else
202+TEST_P(Test_Caffe_layers, DISABLED_Correlation) // requires patched protobuf (available in OpenCV source tree only)
203+#endif
204 {
205 if (backend == DNN_BACKEND_OPENCV && target == DNN_TARGET_OPENCL_FP16)
206 applyTestTag(CV_TEST_TAG_DNN_SKIP_IE_NGRAPH, CV_TEST_TAG_DNN_SKIP_IE_NN_BUILDER,
207From 2c33798f41942aefc203183d673ce4846f32dba4 Mon Sep 17 00:00:00 2001
208From: Kumataro <Kumataro@users.noreply.github.com>
209Date: Sun, 8 Oct 2023 13:28:40 +0900
210Subject: [PATCH] use GREATER instead of GREATER_EQUAL and remove new blank
211 line at EOF
212
213---
214 cmake/OpenCVFindProtobuf.cmake | 6 ++++--
215 1 file changed, 4 insertions(+), 2 deletions(-)
216
217diff --git a/cmake/OpenCVFindProtobuf.cmake b/cmake/OpenCVFindProtobuf.cmake
218index 9bd5c28db8..ba147526d6 100644
219--- a/cmake/OpenCVFindProtobuf.cmake
220+++ b/cmake/OpenCVFindProtobuf.cmake
221@@ -71,12 +71,14 @@ endif()
222 # In Protocol Buffers v22.0 and later drops C++11 support and depends abseil-cpp.
223 # Details: https://protobuf.dev/news/2022-08-03/
224 # And if std::text_view is in abseil-cpp requests C++17 and later.
225+
226 if(HAVE_PROTOBUF)
227 if("${Protobuf_VERSION}" MATCHES [[[0-9]+.([0-9]+).[0-9]+]])
228- string(COMPARE GREATER_EQUAL "${CMAKE_MATCH_1}" "22" REQUEST_ABSL)
229+ string(COMPARE GREATER "${CMAKE_MATCH_1}" "21" REQUEST_ABSL) # >=22
230
231 if(REQUEST_ABSL)
232- string(COMPARE GREATER_EQUAL "${CMAKE_CXX_STANDARD}" "17" USED_AFTER_CXX17)
233+ string(COMPARE GREATER "${CMAKE_CXX_STANDARD}" "16" USED_AFTER_CXX17) # >=17
234+
235 if(NOT USED_AFTER_CXX17)
236 message("CMAKE_CXX_STANDARD : ${CMAKE_CXX_STANDARD}")
237 message("protobuf : ${Protobuf_VERSION}")
238From cd709eefbeedd116bf3495b42280323b932791ff Mon Sep 17 00:00:00 2001
239From: Kumataro <Kumataro@users.noreply.github.com>
240Date: Mon, 9 Oct 2023 21:51:04 +0900
241Subject: [PATCH] fix for review
242
243---
244 cmake/OpenCVFindProtobuf.cmake | 5 ----
245 modules/dnn/src/caffe/caffe_io.cpp | 24 ++----------------
246 modules/dnn/test/test_layers.cpp | 40 +++++++++++++++---------------
247 3 files changed, 22 insertions(+), 47 deletions(-)
248
249diff --git a/cmake/OpenCVFindProtobuf.cmake b/cmake/OpenCVFindProtobuf.cmake
250index ba147526d6..2faf1010bf 100644
251--- a/cmake/OpenCVFindProtobuf.cmake
252+++ b/cmake/OpenCVFindProtobuf.cmake
253@@ -123,8 +123,3 @@ if(HAVE_PROTOBUF)
254 BUILD_PROTOBUF THEN "build (${Protobuf_VERSION})"
255 ELSE "${__location} (${Protobuf_VERSION})")
256 endif()
257-
258-if(HAVE_ABSL_STRINGS AND HAVE_ABSL_LOG)
259- list(APPEND CUSTOM_STATUS absl)
260- list(APPEND CUSTOM_STATUS_absl " abseil-cpp:" "YES (${ABSL_STRINGS_VERSION})" )
261-endif()
262diff --git a/modules/dnn/src/caffe/caffe_io.cpp b/modules/dnn/src/caffe/caffe_io.cpp
263index ebceca84cf..ebecf95eea 100644
264--- a/modules/dnn/src/caffe/caffe_io.cpp
265+++ b/modules/dnn/src/caffe/caffe_io.cpp
266@@ -1130,17 +1130,7 @@ bool ReadProtoFromTextFile(const char* filename, Message* proto) {
267 parser.AllowUnknownField(true);
268 parser.SetRecursionLimit(1000);
269 #endif
270- const bool ret = parser.Parse(&input, proto);
271-
272-#ifdef OPENCV_DNN_EXTERNAL_PROTOBUF
273- if(!ret)
274- {
275- LOG(ERROR) << "Some data requires patched protobuf (available in OpenCV source tree only).";
276- CV_Error_(Error::StsError,("Some data requires patched protobuf (available in OpenCV source tree only)."));
277- }
278-#endif
279-
280- return ret;
281+ return parser.Parse(&input, proto);
282 }
283
284 bool ReadProtoFromBinaryFile(const char* filename, Message* proto) {
285@@ -1158,17 +1148,7 @@ bool ReadProtoFromTextBuffer(const char* data, size_t len, Message* proto) {
286 parser.AllowUnknownField(true);
287 parser.SetRecursionLimit(1000);
288 #endif
289- const bool ret = parser.Parse(&input, proto);
290-
291-#ifdef OPENCV_DNN_EXTERNAL_PROTOBUF
292- if(!ret)
293- {
294- LOG(ERROR) << "Some data requires patched protobuf (available in OpenCV source tree only).";
295- CV_Error_(Error::StsError,("Some data requires patched protobuf (available in OpenCV source tree only)."));
296- }
297-#endif
298-
299- return ret;
300+ return parser.Parse(&input, proto);
301 }
302
303
304diff --git a/modules/dnn/test/test_layers.cpp b/modules/dnn/test/test_layers.cpp
305index a07d442d76..5c6fc541d7 100644
306--- a/modules/dnn/test/test_layers.cpp
307+++ b/modules/dnn/test/test_layers.cpp
308@@ -754,17 +754,17 @@ TEST_F(Layer_RNN_Test, get_set_test)
309 EXPECT_EQ(shape(outputs[1]), shape(nT, nS, nH));
310 }
311
312-#ifndef OPENCV_DNN_EXTERNAL_PROTOBUF
313 TEST_P(Test_Caffe_layers, Accum)
314-#else
315-TEST_P(Test_Caffe_layers, DISABLED_Accum) // requires patched protobuf (available in OpenCV source tree only)
316-#endif
317 { 127 {
318+#ifdef OPENCV_DNN_EXTERNAL_PROTOBUF 128+#ifdef OPENCV_DNN_EXTERNAL_PROTOBUF
319+ throw SkipTestException("Requires patched protobuf"); 129+ throw SkipTestException("Requires patched protobuf");
@@ -327,15 +137,9 @@ index a07d442d76..5c6fc541d7 100644
327 } 137 }
328 138
329 TEST_P(Test_Caffe_layers, FlowWarp) 139 TEST_P(Test_Caffe_layers, FlowWarp)
330@@ -782,42 +782,42 @@ TEST_P(Test_Caffe_layers, ChannelNorm) 140@@ -780,27 +784,39 @@ TEST_P(Test_Caffe_layers, ChannelNorm)
331 testLayerUsingCaffeModels("channel_norm", false, false);
332 }
333 141
334-#ifndef OPENCV_DNN_EXTERNAL_PROTOBUF
335 TEST_P(Test_Caffe_layers, DataAugmentation) 142 TEST_P(Test_Caffe_layers, DataAugmentation)
336-#else
337-TEST_P(Test_Caffe_layers, DISABLED_DataAugmentation) // requires patched protobuf (available in OpenCV source tree only)
338-#endif
339 { 143 {
340+#ifdef OPENCV_DNN_EXTERNAL_PROTOBUF 144+#ifdef OPENCV_DNN_EXTERNAL_PROTOBUF
341+ throw SkipTestException("Requires patched protobuf"); 145+ throw SkipTestException("Requires patched protobuf");
@@ -348,11 +152,7 @@ index a07d442d76..5c6fc541d7 100644
348+#endif 152+#endif
349 } 153 }
350 154
351-#ifndef OPENCV_DNN_EXTERNAL_PROTOBUF
352 TEST_P(Test_Caffe_layers, Resample) 155 TEST_P(Test_Caffe_layers, Resample)
353-#else
354-TEST_P(Test_Caffe_layers, DISABLED_Resample) // requires patched protobuf (available in OpenCV source tree only)
355-#endif
356 { 156 {
357+#ifdef OPENCV_DNN_EXTERNAL_PROTOBUF 157+#ifdef OPENCV_DNN_EXTERNAL_PROTOBUF
358+ throw SkipTestException("Requires patched protobuf"); 158+ throw SkipTestException("Requires patched protobuf");
@@ -364,11 +164,7 @@ index a07d442d76..5c6fc541d7 100644
364+#endif 164+#endif
365 } 165 }
366 166
367-#ifndef OPENCV_DNN_EXTERNAL_PROTOBUF
368 TEST_P(Test_Caffe_layers, Correlation) 167 TEST_P(Test_Caffe_layers, Correlation)
369-#else
370-TEST_P(Test_Caffe_layers, DISABLED_Correlation) // requires patched protobuf (available in OpenCV source tree only)
371-#endif
372 { 168 {
373+#ifdef OPENCV_DNN_EXTERNAL_PROTOBUF 169+#ifdef OPENCV_DNN_EXTERNAL_PROTOBUF
374+ throw SkipTestException("Requires patched protobuf"); 170+ throw SkipTestException("Requires patched protobuf");
@@ -377,12 +173,11 @@ index a07d442d76..5c6fc541d7 100644
377 applyTestTag(CV_TEST_TAG_DNN_SKIP_IE_NGRAPH, CV_TEST_TAG_DNN_SKIP_IE_NN_BUILDER, 173 applyTestTag(CV_TEST_TAG_DNN_SKIP_IE_NGRAPH, CV_TEST_TAG_DNN_SKIP_IE_NN_BUILDER,
378 CV_TEST_TAG_DNN_SKIP_OPENCL, CV_TEST_TAG_DNN_SKIP_OPENCL_FP16); 174 CV_TEST_TAG_DNN_SKIP_OPENCL, CV_TEST_TAG_DNN_SKIP_OPENCL_FP16);
379 testLayerUsingCaffeModels("correlation", false, false, 0.0, 0.0, 2); 175 testLayerUsingCaffeModels("correlation", false, false, 0.0, 0.0, 2);
380 }
381+#endif 176+#endif
177 }
382 178
383 TEST_P(Test_Caffe_layers, Convolution2Inputs) 179 TEST_P(Test_Caffe_layers, Convolution2Inputs)
384 { 180@@ -1641,12 +1657,11 @@ private:
385@@ -1644,12 +1644,11 @@ private:
386 int outWidth, outHeight, zoomFactor; 181 int outWidth, outHeight, zoomFactor;
387 }; 182 };
388 183
@@ -395,10 +190,10 @@ index a07d442d76..5c6fc541d7 100644
395+#ifdef OPENCV_DNN_EXTERNAL_PROTOBUF 190+#ifdef OPENCV_DNN_EXTERNAL_PROTOBUF
396+ throw SkipTestException("Requires patched protobuf"); 191+ throw SkipTestException("Requires patched protobuf");
397+#else 192+#else
398 #if defined(INF_ENGINE_RELEASE) && INF_ENGINE_VER_MAJOR_EQ(2022010000) 193 #if defined(INF_ENGINE_RELEASE) && INF_ENGINE_VER_MAJOR_EQ(2021030000)
399 // Cannot get memory! 194 if (backend == DNN_BACKEND_INFERENCE_ENGINE_NGRAPH && target == DNN_TARGET_MYRIAD)
400 if (backend == DNN_BACKEND_INFERENCE_ENGINE_NGRAPH && target == DNN_TARGET_CPU) 195 applyTestTag(CV_TEST_TAG_DNN_SKIP_IE_MYRIAD, CV_TEST_TAG_DNN_SKIP_IE_NGRAPH); // exception
401@@ -1686,6 +1685,7 @@ TEST_P(Test_Caffe_layers, DISABLED_Interp) // requires patched protobuf (availa 196@@ -1670,6 +1685,7 @@ TEST_P(Test_Caffe_layers, DISABLED_Interp) // requires patched protobuf (availa
402 197
403 // Test an implemented layer. 198 // Test an implemented layer.
404 testLayerUsingCaffeModels("layer_interp", false, false); 199 testLayerUsingCaffeModels("layer_interp", false, false);
diff --git a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv_4.6.0.imx.bb b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv_4.13.0.imx.bb
index 0195bc61a..d509ac53e 100644
--- a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv_4.6.0.imx.bb
+++ b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv_4.13.0.imx.bb
@@ -1,10 +1,10 @@
1# This recipe is for the i.MX fork of opencv. For ease of 1# This recipe is modified for i.MX.
2# maintenance, the top section is a verbatim copy of an OE-core 2# For ease of maintenance, the top section is a verbatim copy
3# recipe. The second section customizes the recipe for i.MX. 3# of an OE-core recipe, and the second section customizes the
4# recipe for i.MX.
4 5
5########## meta-openembedded copy ########### 6########## meta-openembedded copy ###########
6# Upstream hash: 72dc42966be7da07f9553f75b825123b81704f0b 7# Upstream hash: 9b77eae6988e98adbec5323d2491afc6b327c91a
7# Commit https://github.com/openembedded/meta-openembedded/commit/225ce6a14a8110ab6b573b4dc9f5297a03d17e0f added
8 8
9SUMMARY = "Opencv : The Open Computer Vision Library" 9SUMMARY = "Opencv : The Open Computer Vision Library"
10HOMEPAGE = "http://opencv.org/" 10HOMEPAGE = "http://opencv.org/"
@@ -16,60 +16,41 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
16ARM_INSTRUCTION_SET:armv4 = "arm" 16ARM_INSTRUCTION_SET:armv4 = "arm"
17ARM_INSTRUCTION_SET:armv5 = "arm" 17ARM_INSTRUCTION_SET:armv5 = "arm"
18 18
19DEPENDS = "libtool swig-native bzip2 zlib glib-2.0 libwebp" 19DEPENDS = "bzip2 glib-2.0 libtool libwebp swig-native zlib"
20 20
21SRCREV_opencv = "b0dc474160e389b9c9045da5db49d03ae17c6a6b" 21SRCREV_opencv = "fe38fc608f6acb8b68953438a62305d8318f4fcd"
22SRCREV_contrib = "7b77c355a8fdc97667b3fa1e7a0d37e4973fc868" 22SRCREV_contrib = "d99ad2a188210cc35067c2e60076eed7c2442bc3"
23SRCREV_ipp = "a56b6ac6f030c312b2dce17430eef13aed9af274"
24SRCREV_boostdesc = "34e4206aef44d50e6bbcd0ab06354b52e7466d26" 23SRCREV_boostdesc = "34e4206aef44d50e6bbcd0ab06354b52e7466d26"
25SRCREV_vgg = "fccf7cd6a4b12079f73bbfb21745f9babcd4eb1d" 24SRCREV_vgg = "fccf7cd6a4b12079f73bbfb21745f9babcd4eb1d"
26SRCREV_face = "8afa57abc8229d611c4937165d20e2a2d9fc5a12" 25SRCREV_face = "8afa57abc8229d611c4937165d20e2a2d9fc5a12"
27SRCREV_wechat-qrcode = "a8b69ccc738421293254aec5ddb38bd523503252" 26SRCREV_wechat-qrcode = "a8b69ccc738421293254aec5ddb38bd523503252"
27SRCREV_fastcv = "9e8d42b6d7e769548d70b2e5674e263b056de8b4"
28# kleidicv must match version of OpenCV
29SRCREV_kleidicv = "1e8fe7008c2292657b9689d70ea5d30db0e57767"
28 30
29def ipp_filename(d): 31SRCREV_FORMAT = "opencv_contrib_ipp_boostdesc_vgg_fastcv_kleidicv"
30 import re 32SRC_URI = "git://github.com/opencv/opencv.git;name=opencv;branch=4.x;protocol=https;tag=${PV} \
31 arch = d.getVar('TARGET_ARCH') 33 git://github.com/opencv/opencv_contrib.git;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/contrib;name=contrib;branch=4.x;protocol=https;tag=${PV} \
32 if re.match("i.86$", arch):
33 return "ippicv_2020_lnx_ia32_20191018_general.tgz"
34 else:
35 return "ippicv_2020_lnx_intel64_20191018_general.tgz"
36
37def ipp_md5sum(d):
38 import re
39 arch = d.getVar('TARGET_ARCH')
40 if re.match("i.86$", arch):
41 return "ad189a940fb60eb71f291321322fe3e8"
42 else:
43 return "7421de0095c7a39162ae13a6098782f9"
44
45IPP_FILENAME = "${@ipp_filename(d)}"
46IPP_MD5 = "${@ipp_md5sum(d)}"
47
48SRCREV_FORMAT = "opencv_contrib_ipp_boostdesc_vgg"
49SRC_URI = "git://github.com/opencv/opencv.git;name=opencv;branch=master;protocol=https \
50 git://github.com/opencv/opencv_contrib.git;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/contrib;name=contrib;branch=master;protocol=https \
51 git://github.com/opencv/opencv_3rdparty.git;branch=ippicv/master_20191018;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/ipp;name=ipp;protocol=https \
52 git://github.com/opencv/opencv_3rdparty.git;branch=contrib_xfeatures2d_boostdesc_20161012;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/boostdesc;name=boostdesc;protocol=https \ 34 git://github.com/opencv/opencv_3rdparty.git;branch=contrib_xfeatures2d_boostdesc_20161012;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/boostdesc;name=boostdesc;protocol=https \
53 git://github.com/opencv/opencv_3rdparty.git;branch=contrib_xfeatures2d_vgg_20160317;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/vgg;name=vgg;protocol=https \ 35 git://github.com/opencv/opencv_3rdparty.git;branch=contrib_xfeatures2d_vgg_20160317;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/vgg;name=vgg;protocol=https \
54 git://github.com/opencv/opencv_3rdparty.git;branch=contrib_face_alignment_20170818;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/face;name=face;protocol=https \ 36 git://github.com/opencv/opencv_3rdparty.git;branch=contrib_face_alignment_20170818;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/face;name=face;protocol=https \
55 git://github.com/WeChatCV/opencv_3rdparty.git;branch=wechat_qrcode;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/wechat_qrcode;name=wechat-qrcode;protocol=https \ 37 git://github.com/WeChatCV/opencv_3rdparty.git;branch=wechat_qrcode;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/wechat_qrcode;name=wechat-qrcode;protocol=https \
56 file://0001-3rdparty-ippicv-Use-pre-downloaded-ipp.patch \ 38 git://github.com/opencv/opencv_3rdparty.git;branch=fastcv/4.x_20250715;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/fastcv;name=fastcv;protocol=https \
57 file://0003-To-fix-errors-as-following.patch \ 39 file://0003-To-fix-errors-as-following.patch \
58 file://0001-Temporarliy-work-around-deprecated-ffmpeg-RAW-functi.patch \ 40 file://0001-Temporarliy-work-around-deprecated-ffmpeg-RAW-functi.patch \
59 file://0001-Dont-use-isystem.patch \ 41 file://0001-Dont-use-isystem.patch \
60 file://download.patch \ 42 file://download.patch \
61 file://0001-Make-ts-module-external.patch \ 43 file://0001-Make-ts-module-external.patch \
62 file://0001-Add-missing-header-for-LIBAVCODEC_VERSION_INT.patch \ 44 file://0008-Do-not-embed-build-directory-in-binaries.patch \
63 file://fix-build-with-protobuf-v22.patch \
64 " 45 "
65SRC_URI:append:riscv64 = " file://0001-Use-Os-to-compile-tinyxml2.cpp.patch;patchdir=contrib" 46SRC_URI:append:riscv64 = " file://0001-Use-Os-to-compile-tinyxml2.cpp.patch;patchdir=contrib"
47SRC_URI:append:aarch64 = " git://gitlab.arm.com/kleidi/kleidicv;branch=main;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/3rdparty/kleidicv;name=kleidicv;protocol=https"
66 48
67# OpenCV wants to download more files during configure. We download these in 49# OpenCV wants to download more files during configure. We download these in
68# do_fetch and construct a source cache in the format it expects 50# do_fetch and construct a source cache in the format it expects
69OPENCV_DLDIR = "${UNPACKDIR}/downloads" 51OPENCV_DLDIR = "${WORKDIR}/downloads"
70 52
71do_unpack_extra() { 53do_unpack_extra() {
72 tar xzf ${S}/ipp/ippicv/${IPP_FILENAME} -C ${S}
73 54
74 md5() { 55 md5() {
75 # Return the MD5 of $1 56 # Return the MD5 of $1
@@ -89,34 +70,34 @@ do_unpack_extra() {
89 cache data ${S}/face/*.dat 70 cache data ${S}/face/*.dat
90 cache wechat_qrcode ${S}/wechat_qrcode/*.caffemodel 71 cache wechat_qrcode ${S}/wechat_qrcode/*.caffemodel
91 cache wechat_qrcode ${S}/wechat_qrcode/*.prototxt 72 cache wechat_qrcode ${S}/wechat_qrcode/*.prototxt
73 cache fastcv ${S}/fastcv/fastcv/*.tgz
92} 74}
93addtask unpack_extra after do_unpack before do_patch 75addtask unpack_extra after do_unpack before do_patch
94 76
95CMAKE_VERBOSE = "VERBOSE=1" 77CMAKE_VERBOSE = "VERBOSE=1"
96 78
97EXTRA_OECMAKE = "-DOPENCV_EXTRA_MODULES_PATH=${S}/contrib/modules \ 79EXTRA_OECMAKE = "-DOPENCV_EXTRA_MODULES_PATH=${S}/contrib/modules \
98 -DWITH_1394=OFF \ 80 -DWITH_1394=OFF \
99 -DENABLE_PRECOMPILED_HEADERS=OFF \ 81 -DENABLE_PRECOMPILED_HEADERS=OFF \
100 -DCMAKE_SKIP_RPATH=ON \ 82 -DCMAKE_SKIP_RPATH=ON \
101 -DOPENCV_ICV_HASH=${IPP_MD5} \ 83 -DWITH_IPP=OFF \
102 -DIPPROOT=${S}/ippicv_lnx \ 84 -DOPENCV_GENERATE_PKGCONFIG=ON \
103 -DOPENCV_GENERATE_PKGCONFIG=ON \ 85 -DOPENCV_DOWNLOAD_PATH=${OPENCV_DLDIR} \
104 -DOPENCV_DOWNLOAD_PATH=${OPENCV_DLDIR} \ 86 -DOPENCV_ALLOW_DOWNLOADS=OFF \
105 -DOPENCV_ALLOW_DOWNLOADS=OFF \ 87 ${@bb.utils.contains("TARGET_CC_ARCH", "-msse3", "-DCPU_DISPATCH=SSE,SSE2,SSE3,SSSE3", "", d)} \
106 ${@bb.utils.contains("TARGET_CC_ARCH", "-msse3", "-DENABLE_SSE=1 -DENABLE_SSE2=1 -DENABLE_SSE3=1 -DENABLE_SSSE3=1", "", d)} \ 88 ${@bb.utils.contains("TARGET_CC_ARCH", "-msse4.1", "-DCPU_DISPATCH=SSE,SSE2,SSE3,SSSE3,SSE41", "", d)} \
107 ${@bb.utils.contains("TARGET_CC_ARCH", "-msse4.1", "-DENABLE_SSE=1 -DENABLE_SSE2=1 -DENABLE_SSE3=1 -DENABLE_SSSE3=1 -DENABLE_SSE41=1", "", d)} \ 89 ${@bb.utils.contains("TARGET_CC_ARCH", "-msse4.2", "-DCPU_DISPATCH=SSE,SSE2,SSE3,SSSE3,SSE41,SSE42", "", d)} \
108 ${@bb.utils.contains("TARGET_CC_ARCH", "-msse4.2", "-DENABLE_SSE=1 -DENABLE_SSE2=1 -DENABLE_SSE3=1 -DENABLE_SSSE3=1 -DENABLE_SSE41=1 -DENABLE_SSE42=1", "", d)} \
109" 90"
91
110LDFLAGS:append:mips = " -Wl,--no-as-needed -latomic -Wl,--as-needed" 92LDFLAGS:append:mips = " -Wl,--no-as-needed -latomic -Wl,--as-needed"
111LDFLAGS:append:riscv32 = " -Wl,--no-as-needed -latomic -Wl,--as-needed" 93LDFLAGS:append:riscv32 = " -Wl,--no-as-needed -latomic -Wl,--as-needed"
112 94
113EXTRA_OECMAKE:append:x86 = " -DX86=ON" 95EXTRA_OECMAKE:append:x86 = " -DX86=ON"
114# disable sse4.1 and sse4.2 to fix 32bit build failure 96EXTRA_OECMAKE:append:aarch64 = " -DKLEIDICV_SOURCE_PATH=${S}/3rdparty/kleidicv"
115# https://github.com/opencv/opencv/issues/21597
116EXTRA_OECMAKE:remove:x86 = " -DENABLE_SSE41=1 -DENABLE_SSE42=1"
117 97
118PACKAGECONFIG ??= "gapi python3 eigen jpeg png tiff v4l libv4l gstreamer samples tbb gphoto2 \ 98PACKAGECONFIG ??= "python3 eigen jpeg png tiff v4l libv4l samples tbb \
119 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "gtk", "", d)} \ 99 ${@bb.utils.contains_any('DISTRO_FEATURES', '${GTK3DISTROFEATURES}', 'gtk', '', d)}"
100PACKAGECONFIG:append:class-target = " gapi gstreamer gphoto2 \
120 ${@bb.utils.contains_any("LICENSE_FLAGS_ACCEPTED", "commercial_ffmpeg commercial", "libav", "", d)}" 101 ${@bb.utils.contains_any("LICENSE_FLAGS_ACCEPTED", "commercial_ffmpeg commercial", "libav", "", d)}"
121 102
122# TBB does not build for powerpc so disable that package config 103# TBB does not build for powerpc so disable that package config
@@ -137,27 +118,24 @@ PACKAGECONFIG[gtk] = "-DWITH_GTK=ON,-DWITH_GTK=OFF,gtk+3,"
137PACKAGECONFIG[jasper] = "-DWITH_JASPER=ON,-DWITH_JASPER=OFF,jasper," 118PACKAGECONFIG[jasper] = "-DWITH_JASPER=ON,-DWITH_JASPER=OFF,jasper,"
138PACKAGECONFIG[java] = "-DJAVA_INCLUDE_PATH=${JAVA_HOME}/include -DJAVA_INCLUDE_PATH2=${JAVA_HOME}/include/linux -DJAVA_AWT_INCLUDE_PATH=${JAVA_HOME}/include -DJAVA_AWT_LIBRARY=${JAVA_HOME}/lib/amd64/libjawt.so -DJAVA_JVM_LIBRARY=${JAVA_HOME}/lib/amd64/server/libjvm.so,,ant-native fastjar-native openjdk-8-native," 119PACKAGECONFIG[java] = "-DJAVA_INCLUDE_PATH=${JAVA_HOME}/include -DJAVA_INCLUDE_PATH2=${JAVA_HOME}/include/linux -DJAVA_AWT_INCLUDE_PATH=${JAVA_HOME}/include -DJAVA_AWT_LIBRARY=${JAVA_HOME}/lib/amd64/libjawt.so -DJAVA_JVM_LIBRARY=${JAVA_HOME}/lib/amd64/server/libjvm.so,,ant-native fastjar-native openjdk-8-native,"
139PACKAGECONFIG[jpeg] = "-DWITH_JPEG=ON,-DWITH_JPEG=OFF,jpeg," 120PACKAGECONFIG[jpeg] = "-DWITH_JPEG=ON,-DWITH_JPEG=OFF,jpeg,"
140PACKAGECONFIG[libav] = "-DWITH_FFMPEG=ON,-DWITH_FFMPEG=OFF,libav," 121PACKAGECONFIG[libav] = "-DWITH_FFMPEG=ON,-DWITH_FFMPEG=OFF,ffmpeg,"
141PACKAGECONFIG[libv4l] = "-DWITH_LIBV4L=ON,-DWITH_LIBV4L=OFF,v4l-utils," 122PACKAGECONFIG[libv4l] = "-DWITH_LIBV4L=ON,-DWITH_LIBV4L=OFF,v4l-utils,"
142PACKAGECONFIG[opencl] = "-DWITH_OPENCL=ON,-DWITH_OPENCL=OFF,opencl-headers virtual/libopencl1," 123PACKAGECONFIG[opencl] = "-DWITH_OPENCL=ON,-DWITH_OPENCL=OFF,opencl-headers virtual/libopencl1,"
124PACKAGECONFIG[openvino] = "-DWITH_OPENVINO=ON,-DWITH_OPENVINO=OFF,openvino-inference-engine,openvino-inference-engine"
143PACKAGECONFIG[oracle-java] = "-DJAVA_INCLUDE_PATH=${ORACLE_JAVA_HOME}/include -DJAVA_INCLUDE_PATH2=${ORACLE_JAVA_HOME}/include/linux -DJAVA_AWT_INCLUDE_PATH=${ORACLE_JAVA_HOME}/include -DJAVA_AWT_LIBRARY=${ORACLE_JAVA_HOME}/lib/amd64/libjawt.so -DJAVA_JVM_LIBRARY=${ORACLE_JAVA_HOME}/lib/amd64/server/libjvm.so,,ant-native oracle-jse-jdk oracle-jse-jdk-native," 125PACKAGECONFIG[oracle-java] = "-DJAVA_INCLUDE_PATH=${ORACLE_JAVA_HOME}/include -DJAVA_INCLUDE_PATH2=${ORACLE_JAVA_HOME}/include/linux -DJAVA_AWT_INCLUDE_PATH=${ORACLE_JAVA_HOME}/include -DJAVA_AWT_LIBRARY=${ORACLE_JAVA_HOME}/lib/amd64/libjawt.so -DJAVA_JVM_LIBRARY=${ORACLE_JAVA_HOME}/lib/amd64/server/libjvm.so,,ant-native oracle-jse-jdk oracle-jse-jdk-native,"
144PACKAGECONFIG[png] = "-DWITH_PNG=ON,-DWITH_PNG=OFF,libpng," 126PACKAGECONFIG[png] = "-DWITH_PNG=ON,-DWITH_PNG=OFF,libpng,"
145PACKAGECONFIG[python2] = "-DPYTHON2_NUMPY_INCLUDE_DIRS:PATH=${STAGING_LIBDIR}/${PYTHON_DIR}/site-packages/numpy/core/include,,python-numpy," 127PACKAGECONFIG[python3] = "-DPYTHON3_INCLUDE_PATH=${STAGING_INCDIR}/${PYTHON_DIR}${PYTHON_ABI} -DPYTHON3_NUMPY_INCLUDE_DIRS:PATH=${STAGING_LIBDIR}/${PYTHON_DIR}/site-packages/numpy/_core/include,,python3-numpy,"
146PACKAGECONFIG[python3] = "-DPYTHON3_NUMPY_INCLUDE_DIRS:PATH=${STAGING_LIBDIR}/${PYTHON_DIR}/site-packages/numpy/_core/include,,python3-numpy," 128PACKAGECONFIG[samples] = "-DBUILD_EXAMPLES=ON -DINSTALL_BIN_EXAMPLES=ON -DINSTALL_PYTHON_EXAMPLES=ON,-DBUILD_EXAMPLES=OFF,,"
147PACKAGECONFIG[samples] = "-DBUILD_EXAMPLES=ON -DINSTALL_PYTHON_EXAMPLES=ON,-DBUILD_EXAMPLES=OFF,,"
148PACKAGECONFIG[tbb] = "-DWITH_TBB=ON,-DWITH_TBB=OFF,tbb," 129PACKAGECONFIG[tbb] = "-DWITH_TBB=ON,-DWITH_TBB=OFF,tbb,"
149PACKAGECONFIG[tests] = "-DBUILD_TESTS=ON,-DBUILD_TESTS=OFF,," 130PACKAGECONFIG[tests] = "-DBUILD_TESTS=ON -DINSTALL_TESTS=ON,-DBUILD_TESTS=OFF,,"
150PACKAGECONFIG[text] = "-DBUILD_opencv_text=ON,-DBUILD_opencv_text=OFF,tesseract," 131PACKAGECONFIG[text] = "-DBUILD_opencv_text=ON,-DBUILD_opencv_text=OFF,tesseract,"
151PACKAGECONFIG[tiff] = "-DWITH_TIFF=ON,-DWITH_TIFF=OFF,tiff," 132PACKAGECONFIG[tiff] = "-DWITH_TIFF=ON,-DWITH_TIFF=OFF,tiff,"
152PACKAGECONFIG[v4l] = "-DWITH_V4L=ON,-DWITH_V4L=OFF,v4l-utils," 133PACKAGECONFIG[v4l] = "-DWITH_V4L=ON,-DWITH_V4L=OFF,v4l-utils,"
134PACKAGECONFIG[fastcv] = "-DWITH_FASTCV=ON ,-DWITH_FASTCV=OFF,qcom-fastcv-binaries,"
153 135
154inherit pkgconfig cmake 136inherit pkgconfig cmake setuptools3-base python3native
155
156inherit ${@bb.utils.contains('PACKAGECONFIG', 'python3', 'setuptools3-base', '', d)}
157inherit ${@bb.utils.contains('PACKAGECONFIG', 'python2', 'distutils-base', '', d)}
158 137
159export PYTHON_CSPEC = "-I${STAGING_INCDIR}/${PYTHON_DIR}" 138export PYTHON_CSPEC = "-I${STAGING_INCDIR}/${PYTHON_DIR}"
160export PYTHON = "${STAGING_BINDIR_NATIVE}/${@bb.utils.contains('PACKAGECONFIG', 'python3', 'python3', 'python', d)}"
161export ORACLE_JAVA_HOME = "${STAGING_DIR_NATIVE}/usr/bin/java" 139export ORACLE_JAVA_HOME = "${STAGING_DIR_NATIVE}/usr/bin/java"
162export JAVA_HOME = "${STAGING_DIR_NATIVE}/usr/lib/jvm/openjdk-8-native" 140export JAVA_HOME = "${STAGING_DIR_NATIVE}/usr/lib/jvm/openjdk-8-native"
163export ANT_DIR = "${STAGING_DIR_NATIVE}/usr/share/ant/" 141export ANT_DIR = "${STAGING_DIR_NATIVE}/usr/share/ant/"
@@ -167,9 +145,8 @@ TARGET_CC_ARCH += "-I${S}/include "
167PACKAGES += "${@bb.utils.contains('PACKAGECONFIG', 'samples', '${PN}-samples', '', d)} \ 145PACKAGES += "${@bb.utils.contains('PACKAGECONFIG', 'samples', '${PN}-samples', '', d)} \
168 ${@bb.utils.contains('PACKAGECONFIG', 'oracle-java', '${PN}-java', '', d)} \ 146 ${@bb.utils.contains('PACKAGECONFIG', 'oracle-java', '${PN}-java', '', d)} \
169 ${@bb.utils.contains('PACKAGECONFIG', 'java', '${PN}-java', '', d)} \ 147 ${@bb.utils.contains('PACKAGECONFIG', 'java', '${PN}-java', '', d)} \
170 ${@bb.utils.contains('PACKAGECONFIG', 'python2', 'python-${BPN}', '', d)} \
171 ${@bb.utils.contains('PACKAGECONFIG', 'python3', 'python3-${BPN}', '', d)} \ 148 ${@bb.utils.contains('PACKAGECONFIG', 'python3', 'python3-${BPN}', '', d)} \
172 ${PN}-apps" 149 ${PN}-apps"
173 150
174python populate_packages:prepend () { 151python populate_packages:prepend () {
175 cv_libdir = d.expand('${libdir}') 152 cv_libdir = d.expand('${libdir}')
@@ -191,12 +168,17 @@ python populate_packages:prepend () {
191 168
192 metapkg = pn 169 metapkg = pn
193 d.setVar('ALLOW_EMPTY:' + metapkg, "1") 170 d.setVar('ALLOW_EMPTY:' + metapkg, "1")
194 blacklist = [ metapkg, "libopencv-ts" ] 171 blacklist = [ metapkg ]
195 metapkg_rdepends = [ ] 172 metapkg_rdepends = [ ]
196 for pkg in packages[1:]: 173 for pkg in packages[1:]:
197 if not pkg in blacklist and not pkg in metapkg_rdepends and not pkg.endswith('-dev') and not pkg.endswith('-dbg') and not pkg.endswith('-doc') and not pkg.endswith('-locale') and not pkg.endswith('-staticdev'): 174 if not pkg in blacklist and not pkg in metapkg_rdepends and not pkg.endswith('-dev') and not pkg.endswith('-dbg') and not pkg.endswith('-doc') and not pkg.endswith('-locale') and not pkg.endswith('-staticdev'):
198 metapkg_rdepends.append(pkg) 175 metapkg_rdepends.append(pkg)
199 d.setVar('RDEPENDS:' + metapkg, ' '.join(metapkg_rdepends)) 176 d.setVar('RDEPENDS:' + metapkg, ' '.join(metapkg_rdepends))
177
178 fastcv_pkgs = ["libopencv-core", "libopencv-fastcv", "libopencv-imgproc"]
179 if bb.utils.contains('PACKAGECONFIG', 'fastcv', True, False, d):
180 for pkg in fastcv_pkgs:
181 d.appendVar('RDEPENDS:' + pkg, " qcom-fastcv-binaries")
200} 182}
201 183
202PACKAGES_DYNAMIC += "^libopencv-.*" 184PACKAGES_DYNAMIC += "^libopencv-.*"
@@ -214,15 +196,11 @@ INSANE_SKIP:${PN}-dbg = "libdir"
214 196
215ALLOW_EMPTY:${PN} = "1" 197ALLOW_EMPTY:${PN} = "1"
216 198
217SUMMARY:python-opencv = "Python bindings to opencv"
218FILES:python-opencv = "${PYTHON_SITEPACKAGES_DIR}/*"
219RDEPENDS:python-opencv = "python-core python-numpy"
220
221SUMMARY:python3-opencv = "Python bindings to opencv" 199SUMMARY:python3-opencv = "Python bindings to opencv"
222FILES:python3-opencv = "${PYTHON_SITEPACKAGES_DIR}/*" 200FILES:python3-opencv = "${PYTHON_SITEPACKAGES_DIR}/*"
223RDEPENDS:python3-opencv = "python3-core python3-numpy" 201RDEPENDS:python3-opencv = "python3-core python3-numpy"
224 202
225RDEPENDS:${PN}-apps = "bash" 203RDEPENDS:${PN}-apps = "bash"
226 204
227do_compile:prepend() { 205do_compile:prepend() {
228 # remove the build host info to improve reproducibility 206 # remove the build host info to improve reproducibility
@@ -237,81 +215,108 @@ do_install:append() {
237 mv ${D}/usr/lib/* ${D}/${libdir}/ 215 mv ${D}/usr/lib/* ${D}/${libdir}/
238 rm -rf ${D}/usr/lib 216 rm -rf ${D}/usr/lib
239 fi 217 fi
218 # remove setup_vars_opencv4.sh as its content is confusing and useless
219 if [ -f ${D}${bindir}/setup_vars_opencv4.sh ]; then
220 rm -rf ${D}${bindir}/setup_vars_opencv4.sh
221 fi
222
223 for fn in arithm.vsx3.cpp convert.vsx3.cpp; do
224 if [ -f ${B}/modules/core/$fn ]; then
225 sed -i -e 's,${S},/usr/src/debug/${PN}/${PV},g' ${B}/modules/core/$fn
226 fi
227 done
228
229 if [ -d ${D}/${bindir}/shape ]; then
230 # rename shape dir to avoid rootfs conflict with
231 # mesa-demos /usr/bin/shape file.
232 mv ${D}/${bindir}/shape ${D}/${bindir}/opencv_shape
233 fi
234}
235
236do_install:append:class-target() {
240 # remove build host path to improve reproducibility 237 # remove build host path to improve reproducibility
241 if [ -f ${D}${libdir}/cmake/opencv4/OpenCVModules.cmake ]; then 238 if [ -f ${D}${libdir}/cmake/opencv4/OpenCVModules.cmake ]; then
242 sed -e 's@${STAGING_DIR_HOST}@@g' \ 239 sed -e 's@${STAGING_DIR_HOST}@@g' \
243 -i ${D}${libdir}/cmake/opencv4/OpenCVModules.cmake 240 -i ${D}${libdir}/cmake/opencv4/OpenCVModules.cmake
244 fi 241 fi
245 # remove setup_vars_opencv4.sh as its content is confusing and useless
246 if [ -f ${D}${bindir}/setup_vars_opencv4.sh ]; then
247 rm -rf ${D}${bindir}/setup_vars_opencv4.sh
248 fi
249} 242}
250 243
244BBCLASSEXTEND = "native"
245
251########## End of meta-openembedded copy ########## 246########## End of meta-openembedded copy ##########
252 247
253########## i.MX overrides ########## 248########## i.MX overrides ##########
254 249
255SUMMARY = "Opencv : The Open Computer Vision Library, i.MX Fork"
256
257LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" 250LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
258 251
259# Replace the opencv URL with the fork 252# Need to override opencv and contrib URL because they include PV
260SRC_URI:remove = "git://github.com/opencv/opencv.git;name=opencv;branch=master;protocol=https" 253IMX_BASE_VERSION = "${@'.'.join((d.getVar('PV') or '').split('.')[:3])}"
261SRC_URI =+ "${OPENCV_SRC};branch=${SRCBRANCH};name=opencv" 254SRC_URI:remove = " \
262OPENCV_SRC ?= "git://github.com/nxp-imx/opencv-imx.git;protocol=https;branch=master" 255 git://github.com/opencv/opencv.git;name=opencv;branch=4.x;protocol=https;tag=${PV} \
263SRCBRANCH = "4.6.0_imx" 256 git://github.com/opencv/opencv_contrib.git;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/contrib;name=contrib;branch=4.x;protocol=https;tag=${PV}"
264SRCREV_opencv = "d3440df40a6e90cd1d2a1b729bcbc16aa4d42f5d" 257SRC_URI:prepend = " \
258 git://github.com/opencv/opencv.git;name=opencv;branch=4.x;protocol=https;tag=${IMX_BASE_VERSION} \
259 git://github.com/opencv/opencv_contrib.git;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/contrib;name=contrib;branch=4.x;protocol=https;tag=${IMX_BASE_VERSION} "
265 260
266# Add opencv_extra 261# i.MX patches
267SRC_URI += " \ 262SRC_URI += " \
268 git://github.com/opencv/opencv_extra.git;destsuffix=extra;name=extra;branch=master;protocol=https \ 263 file://0101-MGS-6470-ccc-Modify-host-ptr-alignment-size-in-UMAT.patch \
264 file://0102-MGS-6470-ccc-Add-configuration-parameter-to-force-en.patch \
265 file://0103-MGS-6470-ccc-Change-configuration-to-enable-hostptr-.patch \
266 file://0104-MGS-8011-ccc-Fix-the-problem-of-syntax-error-at-doub.patch \
267 file://0105-MGS-8318-ccc-Fix-error-implicit-declaration-of-funct.patch \
268 file://0106-core-opencl-fix-inplace-transpose-race-by-enforcing-.patch \
269 file://0107-imgproc-perf-HoughLines-Fix-test-tolerance-and-compa.patch \
270 file://0108-imgproc-perf-HoughLines-Fix-lower-bound-for-line-cou.patch \
271 file://0109-core-ocl-fix-incorrect-results-for-in-place-flip-on-.patch \
272"
273
274# Add opencv_extra
275SRC_URI += "\
276 git://github.com/opencv/opencv_extra.git;destsuffix=extra;name=extra;branch=4.x;protocol=https \
269 file://0001-Add-smaller-version-of-download_models.py.patch;patchdir=${UNPACKDIR}/extra \ 277 file://0001-Add-smaller-version-of-download_models.py.patch;patchdir=${UNPACKDIR}/extra \
270" 278"
271SRCREV_FORMAT:append = "_extra" 279SRCREV_FORMAT:append = "_extra"
272SRCREV_extra = "936854e2b666853d6d0732a8eabc2d699f4fa3d8" 280SRCREV_extra = "b6db059e9b80072d80d009d2ab344f8606a8e964"
273 281
274# Patch DNN example 282# Patch DNN example
275SRC_URI += " \ 283SRC_URI += "\
276 file://OpenCV_DNN_examples.patch \ 284 file://OpenCV_DNN_examples.patch \
277" 285"
278 286
279PACKAGECONFIG:remove = "eigen" 287PACKAGECONFIG:remove = "eigen"
280 288
281PACKAGECONFIG:append:mx8-nxp-bsp = " dnn text" 289PACKAGECONFIG:append = " \
282PACKAGECONFIG:append:mx9-nxp-bsp = " dnn text" 290 dnn \
291 text \
292 ${@bb.utils.contains('BBFILE_COLLECTIONS', 'qt6-layer', 'qt6', '', d)} \
293 ${PACKAGECONFIG_OPENCL} \
294"
283 295
284PACKAGECONFIG:append = " ${PACKAGECONFIG_OPENCL}" 296PACKAGECONFIG_OPENCL = ""
285PACKAGECONFIG_OPENCL = "" 297PACKAGECONFIG_OPENCL:imxgpu = "opencl"
286PACKAGECONFIG_OPENCL:mx8-nxp-bsp = "opencl" 298PACKAGECONFIG_OPENCL:mx8mm-nxp-bsp = ""
287PACKAGECONFIG_OPENCL:mx8dxl-nxp-bsp = ""
288PACKAGECONFIG_OPENCL:mx8mm-nxp-bsp = ""
289PACKAGECONFIG_OPENCL:mx8mnul-nxp-bsp = ""
290 299
291PACKAGECONFIG[openvx] = "-DWITH_OPENVX=ON -DOPENVX_ROOT=${STAGING_LIBDIR} -DOPENVX_LIB_CANDIDATES='OpenVX;OpenVXU',-DWITH_OPENVX=OFF,virtual/libopenvx," 300PACKAGECONFIG[openvx] = "-DWITH_OPENVX=ON -DOPENVX_ROOT=${STAGING_LIBDIR} -DOPENVX_LIB_CANDIDATES='OpenVX;OpenVXU',-DWITH_OPENVX=OFF,virtual/libopenvx,"
292PACKAGECONFIG[qt5] = "-DWITH_QT=ON -DOE_QMAKE_PATH_EXTERNAL_HOST_BINS=${STAGING_BINDIR_NATIVE} -DCMAKE_PREFIX_PATH=${STAGING_BINDIR_NATIVE}/cmake,-DWITH_QT=OFF,qtbase qtbase-native," 301PACKAGECONFIG[qt5] = "-DWITH_QT=ON -DOE_QMAKE_PATH_EXTERNAL_HOST_BINS=${STAGING_BINDIR_NATIVE} -DCMAKE_PREFIX_PATH=${STAGING_BINDIR_NATIVE}/cmake,-DWITH_QT=OFF,qtbase qtbase-native,"
293PACKAGECONFIG[qt6] = "-DWITH_QT=ON -DQT_HOST_PATH=${RECIPE_SYSROOT_NATIVE}${prefix_native},-DWITH_QT=OFF,qtbase qtbase-native," 302PACKAGECONFIG[qt6] = "-DWITH_QT=ON -DQT_HOST_PATH=${RECIPE_SYSROOT_NATIVE}${prefix_native},-DWITH_QT=OFF,qtbase qtbase-native qt5compat,"
294PACKAGECONFIG[tests-imx] = "-DINSTALL_TESTS=ON -DOPENCV_TEST_DATA_PATH=${UNPACKDIR}/extra/testdata, -DINSTALL_TESTS=OFF," 303PACKAGECONFIG[tests-imx] = "-DINSTALL_TESTS=ON -DOPENCV_TEST_DATA_PATH=${UNPACKDIR}/extra/testdata, -DINSTALL_TESTS=OFF,"
295PACKAGECONFIG[tim-vx] = "-DWITH_TIMVX=ON -DTIMVX_INSTALL_DIR=${STAGING_DIR_HOST}${libdir},-DWITH_TIMVX=OFF,tim-vx" 304PACKAGECONFIG[tim-vx] = "-DWITH_TIMVX=ON -DTIMVX_INSTALL_DIR=${STAGING_DIR_HOST}${libdir},-DWITH_TIMVX=OFF,tim-vx"
296 305
297# Disable cvv module in opencv_contrib as it is not yet suppported for Qt6
298# (opencv debug framework)
299EXTRA_OECMAKE:append = " -DBUILD_opencv_cvv=OFF"
300
301do_install:append() { 306do_install:append() {
302 ln -sf opencv4/opencv2 ${D}${includedir}/opencv2 307 ln -sf opencv4/opencv2 ${D}${includedir}/opencv2
303 if ${@bb.utils.contains('PACKAGECONFIG', 'samples', 'true', 'false', d)}; then 308 install -d ${D}${datadir}/opencv4/samples/data
304 install -d ${D}${datadir}/OpenCV/samples/data 309 cp -r ${S}/samples/data/* ${D}${datadir}/opencv4/samples/data
305 cp -r ${S}/samples/data/* ${D}${datadir}/OpenCV/samples/data 310 install -d ${D}${datadir}/opencv4/samples/bin/
306 install -d ${D}${datadir}/OpenCV/samples/bin/ 311 cp -f bin/example_* ${D}${datadir}/opencv4/samples/bin/
307 cp -f bin/example_* ${D}${datadir}/OpenCV/samples/bin/
308 fi
309 if ${@bb.utils.contains('PACKAGECONFIG', 'tests-imx', 'true', 'false', d)}; then 312 if ${@bb.utils.contains('PACKAGECONFIG', 'tests-imx', 'true', 'false', d)}; then
310 cp -r share/opencv4/testdata/cv/face/* ${D}${datadir}/opencv4/testdata/cv/face/ 313 cp -r share/opencv4/testdata/cv/face/* ${D}${datadir}/opencv4/testdata/cv/face/
311 fi 314 fi
315 # Rename cpp folder to avoid collision with GCC /usr/bin/cpp.
316 mv ${D}${bindir}/cpp ${D}${bindir}/opencv_cpp
312} 317}
313 318
314FILES:${PN}-samples += "${datadir}/OpenCV/samples" 319PACKAGE_ARCH = "${MACHINE_SOCARCH}"
315 320
316COMPATIBLE_MACHINE = "(mx8-nxp-bsp|mx9-nxp-bsp)" 321COMPATIBLE_MACHINE = "(mx8-nxp-bsp|mx9-nxp-bsp)"
317 322
diff --git a/dynamic-layers/qt4-layer/recipes-qt4/qt4/qt4-imx-support.inc b/dynamic-layers/qt4-layer/recipes-qt4/qt4/qt4-imx-support.inc
index 1f63cd7a0..10628e782 100644
--- a/dynamic-layers/qt4-layer/recipes-qt4/qt4/qt4-imx-support.inc
+++ b/dynamic-layers/qt4-layer/recipes-qt4/qt4/qt4-imx-support.inc
@@ -9,19 +9,19 @@ python __anonymous () {
9} 9}
10 10
11SRC_URI:append:imxgpu2d = " \ 11SRC_URI:append:imxgpu2d = " \
12 file://0001-Add-support-for-i.MX-codecs-to-phonon.patch \ 12 file://0001-Add-support-for-i.MX-codecs-to-phonon.patch \
13 file://0002-i.MX-video-renderer-Allow-v4l-device-from-environmen.patch \ 13 file://0002-i.MX-video-renderer-Allow-v4l-device-from-environmen.patch \
14 file://0003-i.MX6-force-egl-visual-ID-33.patch \ 14 file://0003-i.MX6-force-egl-visual-ID-33.patch \
15 file://0001-config.tests-add-DEFINES-to-compile-egl-test-with-im.patch \ 15 file://0001-config.tests-add-DEFINES-to-compile-egl-test-with-im.patch \
16 file://0002-config.tests-add-DEFINES-to-compile-egl4gles1-test-w.patch \ 16 file://0002-config.tests-add-DEFINES-to-compile-egl4gles1-test-w.patch \
17" 17"
18 18
19DEPENDS:append:imxgpu2d = " virtual/kernel virtual/libgles2" 19DEPENDS:append:imxgpu2d = " virtual/kernel virtual/libgles2"
20QT_GLFLAGS:imxgpu2d = "-opengl es2 -openvg" 20QT_GLFLAGS:imxgpu2d = "-opengl es2 -openvg"
21QT_CONFIG_FLAGS:append:imxgpu2d = " -I${STAGING_KERNEL_DIR}/include/uapi \ 21QT_CONFIG_FLAGS:append:imxgpu2d = " -I${STAGING_KERNEL_DIR}/include/uapi \
22 -I${STAGING_KERNEL_DIR}/include/ \ 22 -I${STAGING_KERNEL_DIR}/include/ \
23 -DLINUX=1 -DEGL_API_FB=1 \ 23 -DLINUX=1 -DEGL_API_FB=1 \
24 -DQT_QPA_EXPERIMENTAL_TOUCHEVENT=1" 24 -DQT_QPA_EXPERIMENTAL_TOUCHEVENT=1"
25 25
26# The QT_CONFIG_FLAGS can pollute *.la files with -Dxxx 26# The QT_CONFIG_FLAGS can pollute *.la files with -Dxxx
27do_compile:append:mx6-nxp-bsp () { 27do_compile:append:mx6-nxp-bsp () {
diff --git a/dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend b/dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend
index e450e568e..885c65b08 100644
--- a/dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend
+++ b/dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend
@@ -10,30 +10,30 @@ SRC_URI:append:imxgpu = " \
10 file://0001-egl.prf-Fix-build-error-when-egl-headers-need-platfo.patch \ 10 file://0001-egl.prf-Fix-build-error-when-egl-headers-need-platfo.patch \
11" 11"
12 12
13PACKAGECONFIG_GL_IMX_GPU = "" 13PACKAGECONFIG_GL_IMX_GPU = ""
14PACKAGECONFIG_GL_IMX_GPU:mx8-nxp-bsp = "gbm kms" 14PACKAGECONFIG_GL_IMX_GPU:mx8-nxp-bsp = "gbm kms"
15PACKAGECONFIG_GL_IMX_GPU:mx95-nxp-bsp = "gbm kms" 15PACKAGECONFIG_GL_IMX_GPU:mx95-nxp-bsp = "gbm kms"
16 16
17PACKAGECONFIG_GL:imxpxp = "gles2" 17PACKAGECONFIG_GL:imxpxp = "gles2"
18PACKAGECONFIG_GL:imxgpu2d = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', ' gl', '', d)} \ 18PACKAGECONFIG_GL:imxgpu2d = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', ' gl', '', d)} \
19 ${PACKAGECONFIG_GL_IMX_GPU}" 19 ${PACKAGECONFIG_GL_IMX_GPU}"
20PACKAGECONFIG_GL:imxgpu3d = "gles2 \ 20PACKAGECONFIG_GL:imxgpu3d = "gles2 \
21 ${PACKAGECONFIG_GL_IMX_GPU}" 21 ${PACKAGECONFIG_GL_IMX_GPU}"
22PACKAGECONFIG_GL:use-mainline-bsp ?= "gles2 gbm kms" 22PACKAGECONFIG_GL:use-mainline-bsp ?= "gles2 gbm kms"
23 23
24PACKAGECONFIG_PLATFORM = "" 24PACKAGECONFIG_PLATFORM = ""
25PACKAGECONFIG_PLATFORM:imxgpu2d = "no-opengl linuxfb" 25PACKAGECONFIG_PLATFORM:imxgpu2d = "no-opengl linuxfb"
26PACKAGECONFIG_PLATFORM:imxgpu3d = " \ 26PACKAGECONFIG_PLATFORM:imxgpu3d = "\
27 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', \ 27 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', \
28 bb.utils.contains('DISTRO_FEATURES', 'wayland', '', \ 28 bb.utils.contains('DISTRO_FEATURES', 'wayland', '', \
29 'eglfs', d), d)}" 29 'eglfs', d), d)}"
30PACKAGECONFIG_PLATFORM:use-mainline-bsp = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', 'eglfs', d)}" 30PACKAGECONFIG_PLATFORM:use-mainline-bsp = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', 'eglfs', d)}"
31PACKAGECONFIG += "${PACKAGECONFIG_PLATFORM}" 31PACKAGECONFIG += "${PACKAGECONFIG_PLATFORM}"
32 32
33PACKAGECONFIG_VULKAN_IMX_GPU = "" 33PACKAGECONFIG_VULKAN_IMX_GPU = ""
34PACKAGECONFIG_VULKAN_IMX_GPU:mx8-nxp-bsp = "vulkan" 34PACKAGECONFIG_VULKAN_IMX_GPU:mx8-nxp-bsp = "vulkan"
35PACKAGECONFIG_VULKAN_IMX_GPU:mx9-nxp-bsp = "vulkan" 35PACKAGECONFIG_VULKAN_IMX_GPU:mx9-nxp-bsp = "vulkan"
36PACKAGECONFIG_VULKAN_IMX_GPU:mx8mm-nxp-bsp = "" 36PACKAGECONFIG_VULKAN_IMX_GPU:mx8mm-nxp-bsp = ""
37PACKAGECONFIG_VULKAN = "" 37PACKAGECONFIG_VULKAN = ""
38PACKAGECONFIG_VULKAN:imxgpu = "${PACKAGECONFIG_VULKAN_IMX_GPU}" 38PACKAGECONFIG_VULKAN:imxgpu = "${PACKAGECONFIG_VULKAN_IMX_GPU}"
39PACKAGECONFIG += "${@bb.utils.contains('DISTRO_FEATURES', 'vulkan', '${PACKAGECONFIG_VULKAN}', '', d)}" 39PACKAGECONFIG += "${@bb.utils.contains('DISTRO_FEATURES', 'vulkan', '${PACKAGECONFIG_VULKAN}', '', d)}"
diff --git a/dynamic-layers/qt5-layer/recipes-qt/qt5/qtmultimedia_%.bbappend b/dynamic-layers/qt5-layer/recipes-qt/qt5/qtmultimedia_%.bbappend
index f019c72da..e01bcf525 100644
--- a/dynamic-layers/qt5-layer/recipes-qt/qt5/qtmultimedia_%.bbappend
+++ b/dynamic-layers/qt5-layer/recipes-qt/qt5/qtmultimedia_%.bbappend
@@ -1,9 +1,9 @@
1# Fixes QT5 application builds searching for libimx6vivantevideonode.so 1# Fixes QT5 application builds searching for libimx6vivantevideonode.so
2# via cmake cmake/Qt5Multimedia/Qt5MultimediaConfig.cmake 2# via cmake cmake/Qt5Multimedia/Qt5MultimediaConfig.cmake
3do_install:append:imxgpu() { 3do_install:append:imxgpu() {
4 install -d ${D}${libdir}/plugins/videoimx6vivantevideonode 4 install -d ${D}${libdir}/plugins/videoimx6vivantevideonode
5 ln -sf ../video/videonode/libeglvideonode.so ${D}${libdir}/plugins/videoimx6vivantevideonode/libeglvideonode.so 5 ln -sf ../video/videonode/libeglvideonode.so ${D}${libdir}/plugins/videoimx6vivantevideonode/libeglvideonode.so
6 ln -sf ../video/videonode/libimx6vivantevideonode.so ${D}${libdir}/plugins/videoimx6vivantevideonode/libimx6vivantevideonode.so 6 ln -sf ../video/videonode/libimx6vivantevideonode.so ${D}${libdir}/plugins/videoimx6vivantevideonode/libimx6vivantevideonode.so
7} 7}
8 8
9INSANE_SKIP:${PN}-plugins:imxgpu = "dev-so" 9INSANE_SKIP:${PN}-plugins:imxgpu = "dev-so"
diff --git a/dynamic-layers/qt6-layer/recipes-qt/qt6/qtbase_%.bbappend b/dynamic-layers/qt6-layer/recipes-qt/qt6/qtbase_%.bbappend
index b12499666..f77bc14c2 100644
--- a/dynamic-layers/qt6-layer/recipes-qt/qt6/qtbase_%.bbappend
+++ b/dynamic-layers/qt6-layer/recipes-qt/qt6/qtbase_%.bbappend
@@ -3,55 +3,55 @@
3# Copyright (C) 2016, 2017 O.S. Systems Software LTDA. 3# Copyright (C) 2016, 2017 O.S. Systems Software LTDA.
4# Copyright (C) 2017-2018 NXP 4# Copyright (C) 2017-2018 NXP
5 5
6PACKAGECONFIG_GRAPHICS:imxpxp = " \ 6PACKAGECONFIG_GRAPHICS:imxpxp = "\
7 gles2" 7 gles2"
8PACKAGECONFIG_GRAPHICS:imxgpu2d = " \ 8PACKAGECONFIG_GRAPHICS:imxgpu2d = "\
9 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', ' gl', '', d)} \ 9 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', ' gl', '', d)} \
10 ${PACKAGECONFIG_GRAPHICS_IMX_GPU}" 10 ${PACKAGECONFIG_GRAPHICS_IMX_GPU}"
11PACKAGECONFIG_GRAPHICS:imxgpu3d = " \ 11PACKAGECONFIG_GRAPHICS:imxgpu3d = "\
12 gles2 \ 12 gles2 \
13 ${PACKAGECONFIG_GRAPHICS_IMX_GPU}" 13 ${PACKAGECONFIG_GRAPHICS_IMX_GPU}"
14PACKAGECONFIG_GRAPHICS_IMX_GPU = "" 14PACKAGECONFIG_GRAPHICS_IMX_GPU = ""
15PACKAGECONFIG_GRAPHICS_IMX_GPU:mx8-nxp-bsp = " \ 15PACKAGECONFIG_GRAPHICS_IMX_GPU:mx8-nxp-bsp = "\
16 gbm kms" 16 gbm kms"
17PACKAGECONFIG_GRAPHICS_IMX_GPU:mx95-nxp-bsp = " \ 17PACKAGECONFIG_GRAPHICS_IMX_GPU:mx95-nxp-bsp = "\
18 gbm kms" 18 gbm kms"
19 19
20PACKAGECONFIG_GRAPHICS:use-mainline-bsp ?= " \ 20PACKAGECONFIG_GRAPHICS:use-mainline-bsp ?= "\
21 gles2 gbm kms" 21 gles2 gbm kms"
22 22
23PACKAGECONFIG += " \ 23PACKAGECONFIG += "\
24 ${PACKAGECONFIG_PLATFORM}" 24 ${PACKAGECONFIG_PLATFORM}"
25 25
26PACKAGECONFIG_PLATFORM = "" 26PACKAGECONFIG_PLATFORM = ""
27PACKAGECONFIG_PLATFORM:imxgpu2d = " \ 27PACKAGECONFIG_PLATFORM:imxgpu2d = "\
28 no-opengl \ 28 no-opengl \
29 linuxfb \ 29 linuxfb \
30 ${PACKAGECONFIG_PLATFORM_EGLFS}" 30 ${PACKAGECONFIG_PLATFORM_EGLFS}"
31PACKAGECONFIG_PLATFORM:imxgpu3d = " \ 31PACKAGECONFIG_PLATFORM:imxgpu3d = "\
32 ${PACKAGECONFIG_PLATFORM_EGLFS}" 32 ${PACKAGECONFIG_PLATFORM_EGLFS}"
33 33
34PACKAGECONFIG_PLATFORM_EGLFS = "" 34PACKAGECONFIG_PLATFORM_EGLFS = ""
35PACKAGECONFIG_PLATFORM_EGLFS:imxgpu3d = " \ 35PACKAGECONFIG_PLATFORM_EGLFS:imxgpu3d = "\
36 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', \ 36 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', \
37 bb.utils.contains('DISTRO_FEATURES', 'wayland', '', \ 37 bb.utils.contains('DISTRO_FEATURES', 'wayland', '', \
38 'eglfs', d), d)}" 38 'eglfs', d), d)}"
39PACKAGECONFIG_PLATFORM_EGLFS:mx8-nxp-bsp = " \ 39PACKAGECONFIG_PLATFORM_EGLFS:mx8-nxp-bsp = "\
40 eglfs" 40 eglfs"
41 41
42PACKAGECONFIG_PLATFORM:use-mainline-bsp = " \ 42PACKAGECONFIG_PLATFORM:use-mainline-bsp = "\
43 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', 'eglfs', d)}" 43 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', 'eglfs', d)}"
44 44
45PACKAGECONFIG += " \ 45PACKAGECONFIG += "\
46 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', '${PACKAGECONFIG_WAYLAND}', '', d)}" 46 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', '${PACKAGECONFIG_WAYLAND}', '', d)}"
47PACKAGECONFIG_WAYLAND = "wayland" 47PACKAGECONFIG_WAYLAND = "wayland"
48 48
49PACKAGECONFIG += " \ 49PACKAGECONFIG += "\
50 ${@bb.utils.contains('DISTRO_FEATURES', 'vulkan', '${PACKAGECONFIG_VULKAN}', '', d)}" 50 ${@bb.utils.contains('DISTRO_FEATURES', 'vulkan', '${PACKAGECONFIG_VULKAN}', '', d)}"
51PACKAGECONFIG_VULKAN = "" 51PACKAGECONFIG_VULKAN = ""
52PACKAGECONFIG_VULKAN:imxgpu = " \ 52PACKAGECONFIG_VULKAN:imxgpu = "\
53 ${PACKAGECONFIG_VULKAN_IMX_GPU}" 53 ${PACKAGECONFIG_VULKAN_IMX_GPU}"
54PACKAGECONFIG_VULKAN_IMX_GPU = "" 54PACKAGECONFIG_VULKAN_IMX_GPU = ""
55PACKAGECONFIG_VULKAN_IMX_GPU:mx8-nxp-bsp = "vulkan" 55PACKAGECONFIG_VULKAN_IMX_GPU:mx8-nxp-bsp = "vulkan"
56PACKAGECONFIG_VULKAN_IMX_GPU:mx95-nxp-bsp = "vulkan" 56PACKAGECONFIG_VULKAN_IMX_GPU:mx95-nxp-bsp = "vulkan"
57PACKAGECONFIG_VULKAN_IMX_GPU:mx8mm-nxp-bsp = "" 57PACKAGECONFIG_VULKAN_IMX_GPU:mx8mm-nxp-bsp = ""
diff --git a/dynamic-layers/virtualization-layer/recipes-extended/libvirt/libvirt_%.bbappend b/dynamic-layers/virtualization-layer/recipes-extended/libvirt/libvirt_%.bbappend
index 7cb6c07a3..981a57f46 100644
--- a/dynamic-layers/virtualization-layer/recipes-extended/libvirt/libvirt_%.bbappend
+++ b/dynamic-layers/virtualization-layer/recipes-extended/libvirt/libvirt_%.bbappend
@@ -4,6 +4,6 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/${BPN}:"
4SRC_URI:append:qoriq-ppc = " file://qemu.conf" 4SRC_URI:append:qoriq-ppc = " file://qemu.conf"
5 5
6do_install:append:qoriq-ppc() { 6do_install:append:qoriq-ppc() {
7 install -m 0644 ${UNPACKDIR}/qemu.conf ${D}${sysconfdir}/libvirt/qemu.conf 7 install -m 0644 ${UNPACKDIR}/qemu.conf ${D}${sysconfdir}/libvirt/qemu.conf
8} 8}
9 9
diff --git a/oelint.constants.json b/oelint.constants.json
new file mode 100644
index 000000000..1379f4eff
--- /dev/null
+++ b/oelint.constants.json
@@ -0,0 +1,295 @@
1{
2 "comment": "Layer-specific oelint-adv constant DB. contrib/oelint/run-oelint.sh passes this file via --constantmods so standalone lint runs know about real variables/overrides that normally come from the full bitbake metadata context.",
3 "functions": {
4 "known": [
5 "do_image_uboot_mxsboot_nand",
6 "do_image_uboot_mxsboot_sdcard",
7 "do_image_wic",
8 "module_conf_moal"
9 ]
10 },
11 "variables": {
12 "known": [
13 "ACCEPT_FSL_EULA",
14 "ALSA_INSTALL",
15 "ANNOTATED_NAME",
16 "ANT_DIR",
17 "ARM_EXTRA_SOCARCH",
18 "ARM_INSTRUCTION_SET",
19 "ARM_PIPELINES",
20 "ATF_BOOT_UART_BASE",
21 "ATF_BRANCH",
22 "ATF_MACHINE_NAME",
23 "ATF_PLATFORM",
24 "ATF_SRC",
25 "BACKEND",
26 "BASEDEPENDS",
27 "BEEP_RDEPENDS",
28 "BHOST_PKGCONFIG_PATH",
29 "BL32",
30 "BL33",
31 "BOARDS",
32 "BOARD_TARGETS",
33 "BOARD_TYPE",
34 "BOOTTYPE",
35 "BOOT_CONFIG_MACHINE_EXTRA",
36 "BOOT_MODE",
37 "BOOT_SPACE",
38 "BOOT_STAGING",
39 "BOOT_TOOLS",
40 "BOOT_VARIANT",
41 "BUILD_64BIT_KERNEL",
42 "BUILD_IMPLEMENTATION",
43 "CACHED_DMA_HEAP_CONF",
44 "CACHED_DMA_HEAP_DEVICE_NODE_PATH",
45 "CELLCONF_DIR",
46 "CELL_DIR",
47 "CFG_CORE_ARM64_PA_BITS",
48 "CFG_CORE_LARGE_PHYS_ADDR",
49 "CFG_CORE_PAUTH",
50 "CFG_DDR_SIZE",
51 "CFG_NXP_CAAM",
52 "CFG_TA_BTI",
53 "CFG_TA_PAUTH",
54 "CFG_TEE_CORE_LOG_LEVEL",
55 "CFG_TEE_TA_LOG_LEVEL",
56 "CFG_TZDRAM_START",
57 "COMPILER",
58 "CONFIG_CMD_LICENSE",
59 "CONFIG_CPU_BIG_ENDIAN",
60 "CONFIG_LOCALVERSION",
61 "CONFIG_LOCALVERSION_AUTO",
62 "CONFIG_MTD_CFI_BE_BYTE_SWAP",
63 "CONFIG_MX28",
64 "CONFIG_MXC_GPU_VIV",
65 "CROSS_COMPILE64",
66 "CROSS_COMPILE_HOST",
67 "CROSS_COMPILE_TA",
68 "CRRM_DEPLOY_DEPENDS",
69 "CRRM_FILES",
70 "CRYPTO_AF_ALG_SRC",
71 "CST_DIR",
72 "CTRLSW_HDRPATH",
73 "CVE_STATUS",
74 "DDR_CONFIG",
75 "DDR_TYPE",
76 "DEBIAN_NOAUTONAME",
77 "DEFAULT_FS_SUPPORT",
78 "DEMOS_PATH",
79 "DEPENDS_BACKEND",
80 "DEPENDS_IMXGPU",
81 "DEPENDS_IMX_OPENCL_CONVERTER",
82 "DEPENDS_MX8",
83 "DEPENDS_V4L2",
84 "DEPLOY_FOR",
85 "DEPLOY_OPTEE",
86 "DEPLOY_OPTEE_STMM",
87 "DEST",
88 "DEST_DIR",
89 "DIRPATCHVULKAN",
90 "DISABLE_STATIC",
91 "DPAA_VER",
92 "DPDK_APPS",
93 "DPDK_EXAMPLES",
94 "DPDK_SRC",
95 "DTB",
96 "DTB_BASE_NAME",
97 "DTB_EXT",
98 "DTB_NAME",
99 "DTB_SYMLINK_NAME",
100 "ENDIANNESS_GCC",
101 "ENDIANNESS_LD",
102 "ETHOS_U_FIRMWARE",
103 "ETHOS_U_FIRMWARE_SRC",
104 "ETHOS_U_SRC",
105 "EXTENSIONS",
106 "EXTRA_CONF",
107 "EXTRA_KBUILD_DEFCONFIG",
108 "EXTRA_OEMAKE_PLATFORM",
109 "FEATURE_PACKAGES_extfs",
110 "FEATURE_PACKAGES_f2fs",
111 "FEATURE_PACKAGES_mtd",
112 "FSL_EULA_FILE_MD5SUMS",
113 "GLIBC_64BIT_TIME_FLAGS",
114 "GSTREAMER_GPL",
115 "GST_PLUGIN_SET_HAS_EXAMPLES",
116 "GST_WAYLAND_PACKAGES",
117 "GST_X11_PACKAGES",
118 "KBUILD_DEFCONFIG",
119 "KCONFIG_MODE",
120 "KERNEL_DEVICETREE_32BIT_COMPATIBILITY_UPDATE",
121 "LE_UBOOT_FOR_ARMBE_TARGET",
122 "LICENSE_FLAGS",
123 "MC_FLAVOUR",
124 "MFGTOOL_FILESPATH",
125 "NETWORK_TOOLS",
126 "ODP_BUILD_TYPE",
127 "OEI_CORE",
128 "OEI_DDR_CONFIG",
129 "OEI_SOC",
130 "OPENGL_APIS",
131 "OPENGL_PKGCONFIGS",
132 "OPENGL_PLATFORMS",
133 "OPENGL_WINSYS",
134 "OPTEE_ARCH",
135 "OPTEE_CORE",
136 "OPTEEMACHINE",
137 "PACKAGECONFIG_GL",
138 "PACKAGECONFIG_GRAPHICS",
139 "PACKAGECONFIG_IMXGPU_X11",
140 "PACKAGECONFIG_OPENGL",
141 "PACKAGE_FP_TYPE",
142 "PKG",
143 "PLATFORM_FLAVOR",
144 "QEMU_TARGETS",
145 "QT_CONFIG_FLAGS",
146 "QT_GLFLAGS",
147 "REGLEX_b4420",
148 "SCR",
149 "SECO_FIRMWARE_NAME",
150 "SOC_DEFAULT_IMAGE_FSTYPES",
151 "SOC_TOOLS_GPU_FB",
152 "SOC_TOOLS_GPU_WAYLAND",
153 "SOC_TOOLS_GPU_X11",
154 "SOC_TOOLS_GPU_XWAYLAND",
155 "SRCREV_FORMAT:append",
156 "STAGING_INCDIR_IMX",
157 "TA_DEV_KIT_DIR",
158 "TFA_BUILD_TARGET",
159 "TFA_INSTALL_TARGET",
160 "TFA_PLATFORM",
161 "WRAP_TARGET_PREFIX",
162 "ZIMAGE_BASE_NAME"
163 ]
164 },
165 "replacements": {
166 "distros": [
167 "imx-nxp-bsp",
168 "use-mainline-bsp",
169 "use-nxp-bsp"
170 ],
171 "machines": [
172 "arm",
173 "darwin",
174 "e500mc",
175 "e500v2",
176 "e5500",
177 "e6500",
178 "e6500-64b",
179 "fsl-lsch2",
180 "fsl-lsch3",
181 "genericarm64",
182 "imx-generic-bsp",
183 "imx-mainline-bsp",
184 "imx-nxp-bsp",
185 "imx6qpdlsolox",
186 "imx8dxlb0-fips-lpddr4-evk",
187 "imx95-19x19-lpddr5-frdm-pro",
188 "imx95-a1-19x19-verdin",
189 "imxdpu",
190 "imxdrm",
191 "imxfbdev",
192 "imxgpu",
193 "imxgpu2d",
194 "imxgpu3d",
195 "imxipu",
196 "imxmali",
197 "imxpxp",
198 "imxviv",
199 "imxvpu",
200 "imxvulkan",
201 "ls1012a",
202 "ls102xa",
203 "ls1043a",
204 "ls1046a",
205 "ls1088a",
206 "ls2080a",
207 "ls2088a",
208 "lx2160a",
209 "lx2160ardb-rev2",
210 "lx2162a",
211 "mingw32",
212 "mx5-generic-bsp",
213 "mx5-mainline-bsp",
214 "mx6-generic-bsp",
215 "mx6-mainline-bsp",
216 "mx6-nxp-bsp",
217 "mx6dl-nxp-bsp",
218 "mx6q-nxp-bsp",
219 "mx6sl-nxp-bsp",
220 "mx6sll-nxp-bsp",
221 "mx6sx-nxp-bsp",
222 "mx6ull-generic-bsp",
223 "mx6ull-nxp-bsp",
224 "mx6ul-nxp-bsp",
225 "mx6ulz-generic-bsp",
226 "mx6ulz-nxp-bsp",
227 "mx7-generic-bsp",
228 "mx7-mainline-bsp",
229 "mx7-nxp-bsp",
230 "mx7d-nxp-bsp",
231 "mx7ulp-nxp-bsp",
232 "mx8-generic-bsp",
233 "mx8-mainline-bsp",
234 "mx8-nxp-bsp",
235 "mx8dx-generic-bsp",
236 "mx8dx-nxp-bsp",
237 "mx8dxl-generic-bsp",
238 "mx8dxl-nxp-bsp",
239 "mx8m-generic-bsp",
240 "mx8m-nxp-bsp",
241 "mx8mn-nxp-bsp",
242 "mx8mnul-nxp-bsp",
243 "mx8mm-nxp-bsp",
244 "mx8mp-nxp-bsp",
245 "mx8mpul-nxp-bsp",
246 "mx8mq-evk",
247 "mx8mq-generic-bsp",
248 "mx8mq-nxp-bsp",
249 "mx8qm-generic-bsp",
250 "mx8qm-nxp-bsp",
251 "mx8qxp-generic-bsp",
252 "mx8qxp-nxp-bsp",
253 "mx8ulp-generic-bsp",
254 "mx8ulp-nxp-bsp",
255 "mx8x-generic-bsp",
256 "mx8x-nxp-bsp",
257 "mx9-generic-bsp",
258 "mx9-mainline-bsp",
259 "mx9-nxp-bsp",
260 "mx91-generic-bsp",
261 "mx91-nxp-bsp",
262 "mx93-generic-bsp",
263 "mx93-nxp-bsp",
264 "mx943-generic-bsp",
265 "mx943-nxp-bsp",
266 "mx94-generic-bsp",
267 "mx94-nxp-bsp",
268 "mx95-generic-bsp",
269 "mx95-nxp-bsp",
270 "mx952-nxp-bsp",
271 "mxs-generic-bsp",
272 "p1020",
273 "p2020",
274 "p2041",
275 "p3041",
276 "p4080",
277 "p5040",
278 "qoriq",
279 "qoriq-arm",
280 "qoriq-arm64",
281 "qoriq-generic-bsp",
282 "qoriq-ppc",
283 "t1",
284 "t1023",
285 "t1024",
286 "t1040",
287 "t1042",
288 "t4160",
289 "toolchain-clang",
290 "vf-generic-bsp",
291 "virtclass-multilib-lib32",
292 "virtclass-multilib-lib64"
293 ]
294 }
295}
diff --git a/recipes-bsp/atf/qoriq-atf-2.12.inc b/recipes-bsp/atf/qoriq-atf-2.12.inc
index 26d79b4a1..91a412547 100644
--- a/recipes-bsp/atf/qoriq-atf-2.12.inc
+++ b/recipes-bsp/atf/qoriq-atf-2.12.inc
@@ -1,5 +1,8 @@
1DESCRIPTION = "ARM Trusted Firmware" 1SUMMARY = "ARM Trusted Firmware for QorIQ"
2DESCRIPTION = "ARM Trusted Firmware (TF-A) for NXP QorIQ Layerscape SoCs."
3HOMEPAGE = "https://github.com/nxp-qoriq/atf"
2 4
5SECTION = "bsp"
3LICENSE = "BSD-3-Clause" 6LICENSE = "BSD-3-Clause"
4LIC_FILES_CHKSUM = "file://license.rst;md5=1dd070c98a281d18d9eefd938729b031" 7LIC_FILES_CHKSUM = "file://license.rst;md5=1dd070c98a281d18d9eefd938729b031"
5 8
diff --git a/recipes-bsp/atf/qoriq-atf_2.12.bb b/recipes-bsp/atf/qoriq-atf_2.12.bb
index 4eb7be9d3..c6a7ee252 100644
--- a/recipes-bsp/atf/qoriq-atf_2.12.bb
+++ b/recipes-bsp/atf/qoriq-atf_2.12.bb
@@ -2,13 +2,13 @@ require qoriq-atf-${PV}.inc
2 2
3inherit deploy 3inherit deploy
4 4
5DEPENDS += "u-boot-mkimage-native u-boot openssl openssl-native rcw qoriq-cst-native bc-native" 5DEPENDS += "bc-native openssl openssl-native qoriq-cst-native rcw u-boot u-boot-mkimage-native"
6do_compile[depends] += "u-boot:do_deploy rcw:do_deploy uefi:do_deploy" 6do_compile[depends] += "u-boot:do_deploy rcw:do_deploy uefi:do_deploy"
7 7
8PV:append = "+${SRCPV}" 8PV:append = "+${SRCPV}"
9 9
10SRC_URI += "git://github.com/ARMmbed/mbedtls;protocol=https;nobranch=1;destsuffix=${S}/mbedtls;name=mbedtls \ 10SRC_URI += "git://github.com/ARMmbed/mbedtls;protocol=https;nobranch=1;destsuffix=${S}/mbedtls;name=mbedtls \
11 git://github.com/nxp/ddr-phy-binary;protocol=https;nobranch=1;destsuffix=${S}/ddr-phy-binary;name=ddr \ 11 git://github.com/nxp/ddr-phy-binary;protocol=https;nobranch=1;destsuffix=${S}/ddr-phy-binary;name=ddr \
12" 12"
13SRCREV_mbedtls = "0795874acdf887290b2571b193cafd3c4041a708" 13SRCREV_mbedtls = "0795874acdf887290b2571b193cafd3c4041a708"
14SRCREV_ddr = "fbc036b88acb6c06ffed02c898cbae9856ec75ba" 14SRCREV_ddr = "fbc036b88acb6c06ffed02c898cbae9856ec75ba"
@@ -68,7 +68,7 @@ EXTRA_OEMAKE += "\
68 ${@bb.utils.contains('DISTRO_FEATURES', 'fuse', 'fip_fuse FUSE_PROG=1 FUSE_PROV_FILE=fuse_scr.bin', '', d)} \ 68 ${@bb.utils.contains('DISTRO_FEATURES', 'fuse', 'fip_fuse FUSE_PROG=1 FUSE_PROV_FILE=fuse_scr.bin', '', d)} \
69" 69"
70 70
71PACKAGECONFIG ??= " \ 71PACKAGECONFIG ??= "\
72 ${@bb.utils.filter('COMBINED_FEATURES', 'optee', d)} \ 72 ${@bb.utils.filter('COMBINED_FEATURES', 'optee', d)} \
73" 73"
74PACKAGECONFIG[optee] = ",,optee-os-qoriq" 74PACKAGECONFIG[optee] = ",,optee-os-qoriq"
@@ -120,10 +120,10 @@ do_compile() {
120 flexspi_nor) 120 flexspi_nor)
121 rcwimg="${RCWXSPI}${RCW_SUFFIX}" 121 rcwimg="${RCWXSPI}${RCW_SUFFIX}"
122 uefiboot="${UEFI_XSPIBOOT}" 122 uefiboot="${UEFI_XSPIBOOT}"
123 ;; 123 ;;
124 esac 124 esac
125 125
126 if [ -f ${DEPLOY_DIR_IMAGE}/rcw/${RCW_FOLDER}/$rcwimg ]; then 126 if [ -f ${DEPLOY_DIR_IMAGE}/rcw/${RCW_FOLDER}/$rcwimg ]; then
127 make V=1 realclean 127 make V=1 realclean
128 if [ -f rot_key.pem ];then 128 if [ -f rot_key.pem ];then
129 mkdir -p build/${PLATFORM}/release/ 129 mkdir -p build/${PLATFORM}/release/
@@ -168,13 +168,13 @@ do_compile() {
168 168
169do_install() { 169do_install() {
170 install -d ${D}/boot/atf/ 170 install -d ${D}/boot/atf/
171 cp srk.pri ${D}/boot/atf/ 171 install -m 0644 srk.pri ${D}/boot/atf/
172 cp srk.pub ${D}/boot/atf/ 172 install -m 0644 srk.pub ${D}/boot/atf/
173 cp *.pbl ${D}/boot/atf/ 173 install -m 0644 *.pbl ${D}/boot/atf/
174 if [ ! -e fuse_fip.bin ]; then 174 if [ ! -e fuse_fip.bin ]; then
175 rm -f fuse_scr.bin 175 rm -f fuse_scr.bin
176 fi 176 fi
177 cp *.bin ${D}/boot/atf/ 177 install -m 0644 *.bin ${D}/boot/atf/
178 chown -R root:root ${D} 178 chown -R root:root ${D}
179} 179}
180 180
diff --git a/recipes-bsp/boot-format/boot-format_git.bb b/recipes-bsp/boot-format/boot-format_git.bb
index 6b53e228f..f9c7c5bbe 100644
--- a/recipes-bsp/boot-format/boot-format_git.bb
+++ b/recipes-bsp/boot-format/boot-format_git.bb
@@ -1,4 +1,5 @@
1DESCRIPTION = "Boot format utility for booting from eSDHC/eSPI" 1DESCRIPTION = "Boot format utility for booting from eSDHC/eSPI"
2HOMEPAGE = "https://github.com/nxp-qoriq-yocto-sdk/boot-format"
2LICENSE = "GPL-2.0-only" 3LICENSE = "GPL-2.0-only"
3PR = "r6" 4PR = "r6"
4LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" 5LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
@@ -10,7 +11,7 @@ SRCREV = "4eb81a6797ef4e58bf7d9b2d58afb37a21c1f550"
10EXTRA_OEMAKE = 'CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"' 11EXTRA_OEMAKE = 'CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"'
11 12
12do_install(){ 13do_install(){
13 oe_runmake DESTDIR=${D} PREFIX=${prefix} install 14 oe_runmake DESTDIR=${D} PREFIX=${prefix} install
14} 15}
15 16
16PACKAGES =+ "${PN}-config" 17PACKAGES =+ "${PN}-config"
diff --git a/recipes-bsp/ddr-phy/ddr-phy_git.bb b/recipes-bsp/ddr-phy/ddr-phy_git.bb
index 5cfeb935e..5e7126e56 100644
--- a/recipes-bsp/ddr-phy/ddr-phy_git.bb
+++ b/recipes-bsp/ddr-phy/ddr-phy_git.bb
@@ -1,16 +1,19 @@
1SUMMARY = "DDR firmware repository" 1SUMMARY = "DDR firmware repository"
2DESCRIPTION = "DDR PHY training firmware binaries for NXP LX2160A/LX2162A SoCs"
3HOMEPAGE = "https://github.com/nxp/ddr-phy-binary"
4SECTION = "firmware"
2LICENSE = "NXP-Binary-EULA" 5LICENSE = "NXP-Binary-EULA"
3LIC_FILES_CHKSUM = "file://NXP-Binary-EULA.txt;md5=89cc852481956e861228286ac7430d74" 6LIC_FILES_CHKSUM = "file://NXP-Binary-EULA.txt;md5=89cc852481956e861228286ac7430d74"
4 7
5inherit deploy 8inherit deploy
6 9
10DEPENDS += "qoriq-atf-tools-native"
11
7SRC_URI = "git://github.com/nxp/ddr-phy-binary.git;nobranch=1;protocol=https" 12SRC_URI = "git://github.com/nxp/ddr-phy-binary.git;nobranch=1;protocol=https"
8SRCREV = "fbc036b88acb6c06ffed02c898cbae9856ec75ba" 13SRCREV = "fbc036b88acb6c06ffed02c898cbae9856ec75ba"
9 14
10REGLEX = "lx2160a" 15REGLEX = "lx2160a"
11 16
12DEPENDS += "qoriq-atf-tools-native"
13
14do_compile() { 17do_compile() {
15 cd ${S}/${REGLEX} 18 cd ${S}/${REGLEX}
16 fiptool create --ddr-immem-udimm-1d ddr4_pmu_train_imem.bin \ 19 fiptool create --ddr-immem-udimm-1d ddr4_pmu_train_imem.bin \
@@ -35,8 +38,9 @@ do_deploy () {
35} 38}
36addtask deploy before do_populate_sysroot after do_install 39addtask deploy before do_populate_sysroot after do_install
37 40
41PACKAGE_ARCH = "${MACHINE_ARCH}"
42
38PACKAGES += "${PN}-image" 43PACKAGES += "${PN}-image"
39FILES:${PN}-image += "/boot" 44FILES:${PN}-image += "/boot"
40 45
41COMPATIBLE_MACHINE = "(lx2160a|lx2162a)" 46COMPATIBLE_MACHINE = "(lx2160a|lx2162a)"
42PACKAGE_ARCH = "${MACHINE_ARCH}"
diff --git a/recipes-bsp/dp-firmware-cadence/dp-firmware-cadence_22.04.bb b/recipes-bsp/dp-firmware-cadence/dp-firmware-cadence_22.04.bb
index 79fff49e6..e5fbc9d7a 100644
--- a/recipes-bsp/dp-firmware-cadence/dp-firmware-cadence_22.04.bb
+++ b/recipes-bsp/dp-firmware-cadence/dp-firmware-cadence_22.04.bb
@@ -1,4 +1,7 @@
1SUMMARY = "DP firmware" 1SUMMARY = "DP firmware"
2DESCRIPTION = "Cadence DisplayPort (HDP) firmware for i.MX8 SoCs."
3HOMEPAGE = "https://www.nxp.com/"
4SECTION = "bsp"
2LICENSE = "Proprietary" 5LICENSE = "Proprietary"
3LIC_FILES_CHKSUM = "file://COPYING;md5=d3c315c6eaa43e07d8c130dc3a04a011" 6LIC_FILES_CHKSUM = "file://COPYING;md5=d3c315c6eaa43e07d8c130dc3a04a011"
4 7
@@ -21,8 +24,9 @@ do_deploy () {
21} 24}
22addtask deploy before do_build after do_install 25addtask deploy before do_build after do_install
23 26
27PACKAGE_ARCH = "${MACHINE_ARCH}"
28
24PACKAGES += "${PN}-image" 29PACKAGES += "${PN}-image"
25FILES:${PN}-image += "/boot" 30FILES:${PN}-image += "/boot"
26 31
27COMPATIBLE_MACHINE = "(qoriq-arm64)" 32COMPATIBLE_MACHINE = "(qoriq-arm64)"
28PACKAGE_ARCH = "${MACHINE_ARCH}"
diff --git a/recipes-bsp/firmware-imx/firmware-ele-imx_2.0.5.bb b/recipes-bsp/firmware-imx/firmware-ele-imx_2.0.5.bb
index 0f6edf28b..d2b731ac5 100644
--- a/recipes-bsp/firmware-imx/firmware-ele-imx_2.0.5.bb
+++ b/recipes-bsp/firmware-imx/firmware-ele-imx_2.0.5.bb
@@ -1,6 +1,7 @@
1# Copyright 2021-2026 NXP 1# Copyright 2021-2026 NXP
2SUMMARY = "NXP i.MX ELE firmware" 2SUMMARY = "NXP i.MX ELE firmware"
3DESCRIPTION = "EdgeLock Secure Enclave firmware for i.MX series SoCs" 3DESCRIPTION = "EdgeLock Secure Enclave firmware for i.MX series SoCs"
4HOMEPAGE = "https://www.nxp.com/"
4SECTION = "base" 5SECTION = "base"
5LICENSE = "Proprietary" 6LICENSE = "Proprietary"
6LIC_FILES_CHKSUM = "file://COPYING;md5=bc649096ad3928ec06a8713b8d787eac" 7LIC_FILES_CHKSUM = "file://COPYING;md5=bc649096ad3928ec06a8713b8d787eac"
diff --git a/recipes-bsp/firmware-imx/firmware-imx_8.31.bb b/recipes-bsp/firmware-imx/firmware-imx_8.31.bb
index 0847a96c0..288fa13bc 100644
--- a/recipes-bsp/firmware-imx/firmware-imx_8.31.bb
+++ b/recipes-bsp/firmware-imx/firmware-imx_8.31.bb
@@ -164,7 +164,7 @@ PACKAGES_DYNAMIC = "${PN}-vpu-* ${PN}-sdma-* ${PN}-easrc-* ${PN}-xcvr-* ${PN}-xu
164PACKAGES = "${PN} ${PN}-epdc ${PN}-hdmi ${PN}-vpu-amphion ${PN}-vpu-coda980 ${PN}-vpu-wave511 ${PN}-vpu-wave" 164PACKAGES = "${PN} ${PN}-epdc ${PN}-hdmi ${PN}-vpu-amphion ${PN}-vpu-coda980 ${PN}-vpu-wave511 ${PN}-vpu-wave"
165 165
166FILES:${PN}-epdc = "${nonarch_base_libdir}/firmware/imx/epdc/" 166FILES:${PN}-epdc = "${nonarch_base_libdir}/firmware/imx/epdc/"
167FILES:${PN}-hdmi = " \ 167FILES:${PN}-hdmi = "\
168 ${nonarch_base_libdir}/firmware/hdmitxfw.bin \ 168 ${nonarch_base_libdir}/firmware/hdmitxfw.bin \
169 ${nonarch_base_libdir}/firmware/hdmirxfw.bin \ 169 ${nonarch_base_libdir}/firmware/hdmirxfw.bin \
170 ${nonarch_base_libdir}/firmware/dpfw.bin \ 170 ${nonarch_base_libdir}/firmware/dpfw.bin \
diff --git a/recipes-bsp/firmware-imx/firmware-nxp-wifi_1.1.bb b/recipes-bsp/firmware-imx/firmware-nxp-wifi_1.1.bb
index 58b69bae8..ffe86d15c 100644
--- a/recipes-bsp/firmware-imx/firmware-nxp-wifi_1.1.bb
+++ b/recipes-bsp/firmware-imx/firmware-nxp-wifi_1.1.bb
@@ -2,8 +2,9 @@
2 2
3SUMMARY = "Wi-Fi firmware redistributed by NXP" 3SUMMARY = "Wi-Fi firmware redistributed by NXP"
4DESCRIPTION = "Additional Wi-Fi firmware redistributed by NXP. Some \ 4DESCRIPTION = "Additional Wi-Fi firmware redistributed by NXP. Some \
5is available in linux-firmware, but what is here is the latest and \ 5 is available in linux-firmware, but what is here is the latest and \
6should be preferred." 6 should be preferred."
7HOMEPAGE = "https://github.com/nxp-imx/imx-firmware"
7 8
8SECTION = "kernel" 9SECTION = "kernel"
9LICENSE = "Proprietary" 10LICENSE = "Proprietary"
@@ -37,7 +38,7 @@ do_install() {
37 ln -frs ${D}${nonarch_base_libdir}/firmware/nxp/sduartiw416_combo.bin ${D}${nonarch_base_libdir}/firmware/nxp/sdiouartiw416_combo_v0.bin 38 ln -frs ${D}${nonarch_base_libdir}/firmware/nxp/sduartiw416_combo.bin ${D}${nonarch_base_libdir}/firmware/nxp/sdiouartiw416_combo_v0.bin
38} 39}
39 40
40PACKAGES =+ " \ 41PACKAGES =+ "\
41 ${PN}-all-pcie \ 42 ${PN}-all-pcie \
42 ${PN}-all-sdio \ 43 ${PN}-all-sdio \
43 ${PN}-all-usb \ 44 ${PN}-all-usb \
@@ -55,7 +56,7 @@ PACKAGES =+ " \
55 ${PN}-nxpiw612-sdio \ 56 ${PN}-nxpiw612-sdio \
56" 57"
57 58
58RDEPENDS:${PN}-all-sdio = " \ 59RDEPENDS:${PN}-all-sdio = "\
59 ${PN}-nxp8987-sdio \ 60 ${PN}-nxp8987-sdio \
60 ${PN}-nxp8997-sdio \ 61 ${PN}-nxp8997-sdio \
61 ${PN}-nxp9098-sdio \ 62 ${PN}-nxp9098-sdio \
@@ -64,21 +65,21 @@ RDEPENDS:${PN}-all-sdio = " \
64 ${PN}-nxpiw612-sdio \ 65 ${PN}-nxpiw612-sdio \
65" 66"
66 67
67RDEPENDS:${PN}-all-pcie = " \ 68RDEPENDS:${PN}-all-pcie = "\
68 ${PN}-nxp9098-pcie \ 69 ${PN}-nxp9098-pcie \
69 ${PN}-nxpaw693-pcie \ 70 ${PN}-nxpaw693-pcie \
70" 71"
71 72
72RDEPENDS:${PN}-all-usb = " \ 73RDEPENDS:${PN}-all-usb = "\
73 ${PN}-nxpiw610-usb \ 74 ${PN}-nxpiw610-usb \
74" 75"
75 76
76FILES:${PN}-nxp-common = " \ 77FILES:${PN}-nxp-common = "\
77 ${nonarch_base_libdir}/firmware/nxp/wifi_mod_para.conf \ 78 ${nonarch_base_libdir}/firmware/nxp/wifi_mod_para.conf \
78 ${nonarch_base_libdir}/firmware/nxp/helper_uart_3000000.bin \ 79 ${nonarch_base_libdir}/firmware/nxp/helper_uart_3000000.bin \
79" 80"
80 81
81FILES:${PN}-nxp8987-sdio = " \ 82FILES:${PN}-nxp8987-sdio = "\
82 ${nonarch_base_libdir}/firmware/nxp/*8987* \ 83 ${nonarch_base_libdir}/firmware/nxp/*8987* \
83" 84"
84RDEPENDS:${PN}-nxp8987-sdio += "${PN}-nxp-common" 85RDEPENDS:${PN}-nxp8987-sdio += "${PN}-nxp-common"
@@ -86,11 +87,11 @@ RPROVIDES:${PN}-nxp8987-sdio = "linux-firmware-nxp8987-sdio"
86RREPLACES:${PN}-nxp8987-sdio = "linux-firmware-nxp8987-sdio" 87RREPLACES:${PN}-nxp8987-sdio = "linux-firmware-nxp8987-sdio"
87RCONFLICTS:${PN}-nxp8987-sdio = "linux-firmware-nxp8987-sdio" 88RCONFLICTS:${PN}-nxp8987-sdio = "linux-firmware-nxp8987-sdio"
88 89
89FILES:${PN}-nxp8997-sdio = " \ 90FILES:${PN}-nxp8997-sdio = "\
90 ${nonarch_base_libdir}/firmware/mrvl/sdiouart8997_combo_v4.bin \ 91 ${nonarch_base_libdir}/firmware/mrvl/sdiouart8997_combo_v4.bin \
91" 92"
92 93
93FILES:${PN}-nxp9098-common = " \ 94FILES:${PN}-nxp9098-common = "\
94 ${nonarch_base_libdir}/firmware/nxp/ed_mac_ctrl_V3_909x.conf \ 95 ${nonarch_base_libdir}/firmware/nxp/ed_mac_ctrl_V3_909x.conf \
95 ${nonarch_base_libdir}/firmware/nxp/txpwrlimit_cfg_9098.conf \ 96 ${nonarch_base_libdir}/firmware/nxp/txpwrlimit_cfg_9098.conf \
96 ${nonarch_base_libdir}/firmware/nxp/uart9098_bt_v1.bin \ 97 ${nonarch_base_libdir}/firmware/nxp/uart9098_bt_v1.bin \
@@ -100,7 +101,7 @@ RPROVIDES:${PN}-nxp9098-common = "linux-firmware-nxp9098-common"
100RREPLACES:${PN}-nxp9098-common = "linux-firmware-nxp9098-common" 101RREPLACES:${PN}-nxp9098-common = "linux-firmware-nxp9098-common"
101RCONFLICTS:${PN}-nxp9098-common = "linux-firmware-nxp9098-common" 102RCONFLICTS:${PN}-nxp9098-common = "linux-firmware-nxp9098-common"
102 103
103FILES:${PN}-nxp9098-pcie = " \ 104FILES:${PN}-nxp9098-pcie = "\
104 ${nonarch_base_libdir}/firmware/nxp/pcie*9098* \ 105 ${nonarch_base_libdir}/firmware/nxp/pcie*9098* \
105" 106"
106RDEPENDS:${PN}-nxp9098-pcie += "${PN}-nxp9098-common" 107RDEPENDS:${PN}-nxp9098-pcie += "${PN}-nxp9098-common"
@@ -108,7 +109,7 @@ RPROVIDES:${PN}-nxp9098-pcie = "linux-firmware-nxp9098-pcie"
108RREPLACES:${PN}-nxp9098-pcie = "linux-firmware-nxp9098-pcie" 109RREPLACES:${PN}-nxp9098-pcie = "linux-firmware-nxp9098-pcie"
109RCONFLICTS:${PN}-nxp9098-pcie = "linux-firmware-nxp9098-pcie" 110RCONFLICTS:${PN}-nxp9098-pcie = "linux-firmware-nxp9098-pcie"
110 111
111FILES:${PN}-nxp9098-sdio = " \ 112FILES:${PN}-nxp9098-sdio = "\
112 ${nonarch_base_libdir}/firmware/nxp/sd*9098* \ 113 ${nonarch_base_libdir}/firmware/nxp/sd*9098* \
113" 114"
114RDEPENDS:${PN}-nxp9098-sdio += "${PN}-nxp9098-common" 115RDEPENDS:${PN}-nxp9098-sdio += "${PN}-nxp9098-common"
@@ -116,13 +117,13 @@ RPROVIDES:${PN}-nxp9098-sdio = "linux-firmware-nxp9098-sdio"
116RREPLACES:${PN}-nxp9098-sdio = "linux-firmware-nxp9098-sdio" 117RREPLACES:${PN}-nxp9098-sdio = "linux-firmware-nxp9098-sdio"
117RCONFLICTS:${PN}-nxp9098-sdio = "linux-firmware-nxp9098-sdio" 118RCONFLICTS:${PN}-nxp9098-sdio = "linux-firmware-nxp9098-sdio"
118 119
119FILES:${PN}-nxpaw693-pcie += " \ 120FILES:${PN}-nxpaw693-pcie += "\
120 ${nonarch_base_libdir}/firmware/nxp/pcie*aw693* \ 121 ${nonarch_base_libdir}/firmware/nxp/pcie*aw693* \
121 ${nonarch_base_libdir}/firmware/nxp/uart*aw693* \ 122 ${nonarch_base_libdir}/firmware/nxp/uart*aw693* \
122" 123"
123RDEPENDS:${PN}-nxpaw693-pcie += "${PN}-nxp-common" 124RDEPENDS:${PN}-nxpaw693-pcie += "${PN}-nxp-common"
124 125
125FILES:${PN}-nxpiw416-sdio = " \ 126FILES:${PN}-nxpiw416-sdio = "\
126 ${nonarch_base_libdir}/firmware/mrvl/sdiouartiw416_combo_v0.bin \ 127 ${nonarch_base_libdir}/firmware/mrvl/sdiouartiw416_combo_v0.bin \
127 ${nonarch_base_libdir}/firmware/nxp/*iw416* \ 128 ${nonarch_base_libdir}/firmware/nxp/*iw416* \
128" 129"
@@ -131,7 +132,7 @@ RPROVIDES:${PN}-nxpiw416-sdio = "linux-firmware-nxpiw416-sdio"
131RREPLACES:${PN}-nxpiw416-sdio = "linux-firmware-nxpiw416-sdio" 132RREPLACES:${PN}-nxpiw416-sdio = "linux-firmware-nxpiw416-sdio"
132RCONFLICTS:${PN}-nxpiw416-sdio = "linux-firmware-nxpiw416-sdio" 133RCONFLICTS:${PN}-nxpiw416-sdio = "linux-firmware-nxpiw416-sdio"
133 134
134FILES:${PN}-nxpiw610-sdio += " \ 135FILES:${PN}-nxpiw610-sdio += "\
135 ${nonarch_base_libdir}/firmware/nxp/sd_iw610.bin.se \ 136 ${nonarch_base_libdir}/firmware/nxp/sd_iw610.bin.se \
136 ${nonarch_base_libdir}/firmware/nxp/sduart_iw610.bin.se \ 137 ${nonarch_base_libdir}/firmware/nxp/sduart_iw610.bin.se \
137 ${nonarch_base_libdir}/firmware/nxp/sduartspi_iw610.bin.se \ 138 ${nonarch_base_libdir}/firmware/nxp/sduartspi_iw610.bin.se \
@@ -143,12 +144,12 @@ RPROVIDES:${PN}-nxpiw610-sdio = "linux-firmware-nxpiw610-sdio"
143RREPLACES:${PN}-nxpiw610-sdio = "linux-firmware-nxpiw610-sdio" 144RREPLACES:${PN}-nxpiw610-sdio = "linux-firmware-nxpiw610-sdio"
144RCONFLICTS:${PN}-nxpiw610-sdio = "linux-firmware-nxpiw610-sdio" 145RCONFLICTS:${PN}-nxpiw610-sdio = "linux-firmware-nxpiw610-sdio"
145 146
146FILES:${PN}-nxpiw610-usb += " \ 147FILES:${PN}-nxpiw610-usb += "\
147 ${nonarch_base_libdir}/firmware/nxp/usb*_iw610.bin.se \ 148 ${nonarch_base_libdir}/firmware/nxp/usb*_iw610.bin.se \
148" 149"
149RDEPENDS:${PN}-nxpiw610-usb += "${PN}-nxp-common" 150RDEPENDS:${PN}-nxpiw610-usb += "${PN}-nxp-common"
150 151
151FILES:${PN}-nxpiw612-sdio = " \ 152FILES:${PN}-nxpiw612-sdio = "\
152 ${nonarch_base_libdir}/firmware/nxp/sd_w61x_v1.bin.se \ 153 ${nonarch_base_libdir}/firmware/nxp/sd_w61x_v1.bin.se \
153 ${nonarch_base_libdir}/firmware/nxp/sduart_nw61x_*.bin.se \ 154 ${nonarch_base_libdir}/firmware/nxp/sduart_nw61x_*.bin.se \
154 ${nonarch_base_libdir}/firmware/nxp/uartspi_n61x_*.bin.se \ 155 ${nonarch_base_libdir}/firmware/nxp/uartspi_n61x_*.bin.se \
diff --git a/recipes-bsp/firmware-imx/firmware-sof-imx_2.3.0.bb b/recipes-bsp/firmware-imx/firmware-sof-imx_2.3.0.bb
index 7c5022761..84e00a32c 100644
--- a/recipes-bsp/firmware-imx/firmware-sof-imx_2.3.0.bb
+++ b/recipes-bsp/firmware-imx/firmware-sof-imx_2.3.0.bb
@@ -1,7 +1,8 @@
1# Copyright (C) 2020-2022 NXP 1# Copyright (C) 2020-2022 NXP
2# Released under the MIT license (see COPYING.MIT for the terms) 2# Released under the MIT license (see COPYING.MIT for the terms)
3 3
4DESCRIPTION = "Sound Open Firmware" 4SUMMARY = "Sound Open Firmware for i.MX"
5DESCRIPTION = "Sound Open Firmware (SOF) audio DSP firmware for i.MX SoCs."
5HOMEPAGE = "https://www.sofproject.org" 6HOMEPAGE = "https://www.sofproject.org"
6SECTION = "base" 7SECTION = "base"
7LICENSE = "BSD-3-Clause" 8LICENSE = "BSD-3-Clause"
diff --git a/recipes-bsp/firmware-imx/imx-boot-firmware-files_8.31.bb b/recipes-bsp/firmware-imx/imx-boot-firmware-files_8.31.bb
index 53edf58bd..87569b4a3 100644
--- a/recipes-bsp/firmware-imx/imx-boot-firmware-files_8.31.bb
+++ b/recipes-bsp/firmware-imx/imx-boot-firmware-files_8.31.bb
@@ -1,5 +1,6 @@
1# Copyright (C) 2018-2026 NXP 1# Copyright (C) 2018-2026 NXP
2SUMMARY = "Freescale i.MX Firmware files used for boot" 2SUMMARY = "Freescale i.MX Firmware files used for boot"
3DESCRIPTION = "Prebuilt i.MX firmware blobs (HDMI, SECO and related) used during boot."
3 4
4require firmware-imx-${PV}.inc 5require firmware-imx-${PV}.inc
5 6
@@ -7,10 +8,10 @@ inherit deploy nopackages
7 8
8do_install[noexec] = "1" 9do_install[noexec] = "1"
9 10
10DEPLOY_FOR = "" 11DEPLOY_FOR = ""
11DEPLOY_FOR:mx8-generic-bsp = "mx8" 12DEPLOY_FOR:mx8-generic-bsp = "mx8"
12DEPLOY_FOR:mx8m-generic-bsp = "mx8m" 13DEPLOY_FOR:mx8m-generic-bsp = "mx8m"
13DEPLOY_FOR:mx9-generic-bsp = "mx9" 14DEPLOY_FOR:mx9-generic-bsp = "mx9"
14 15
15deploy_for_mx8() { 16deploy_for_mx8() {
16 # Cadence HDMI 17 # Cadence HDMI
@@ -30,7 +31,6 @@ deploy_for_mx8m() {
30 install -m 0644 ${S}/firmware/hdmi/cadence/signed_hdmi_imx8m.bin ${DEPLOYDIR} 31 install -m 0644 ${S}/firmware/hdmi/cadence/signed_hdmi_imx8m.bin ${DEPLOYDIR}
31} 32}
32 33
33
34deploy_for_mx9() { 34deploy_for_mx9() {
35 # Synopsys DDR 35 # Synopsys DDR
36 for ddr_firmware in ${DDR_FIRMWARE_NAME}; do 36 for ddr_firmware in ${DDR_FIRMWARE_NAME}; do
@@ -57,5 +57,5 @@ addtask deploy after do_install before do_build
57 57
58PACKAGE_ARCH = "${MACHINE_SOCARCH}" 58PACKAGE_ARCH = "${MACHINE_SOCARCH}"
59 59
60COMPATIBLE_MACHINE = "(mx8-generic-bsp|mx9-generic-bsp)" 60COMPATIBLE_MACHINE = "(mx8-generic-bsp|mx9-generic-bsp)"
61COMPATIBLE_MACHINE:mx8x-generic-bsp = "(^$)" 61COMPATIBLE_MACHINE:mx8x-generic-bsp = "(^$)"
diff --git a/recipes-bsp/firmware-upower/firmware-upower_1.3.1.bb b/recipes-bsp/firmware-upower/firmware-upower_1.3.1.bb
index 2b5a9f50d..6337f98ae 100644
--- a/recipes-bsp/firmware-upower/firmware-upower_1.3.1.bb
+++ b/recipes-bsp/firmware-upower/firmware-upower_1.3.1.bb
@@ -1,7 +1,9 @@
1# Copyright 2021-2022 NXP 1# Copyright 2021-2022 NXP
2DESCRIPTION = "NXP i.MX uPower firmware" 2SUMMARY = "i.MX uPower firmware"
3DESCRIPTION = "Firmware for the uPower microcontroller found on i.MX SoCs."
4HOMEPAGE = "https://www.nxp.com/"
5SECTION = "bsp"
3LICENSE = "Proprietary" 6LICENSE = "Proprietary"
4SECTION = "BSP"
5LIC_FILES_CHKSUM = "file://COPYING;md5=db4762b09b6bda63da103963e6e081de" 7LIC_FILES_CHKSUM = "file://COPYING;md5=db4762b09b6bda63da103963e6e081de"
6 8
7SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}.bin;fsl-eula=true" 9SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}.bin;fsl-eula=true"
diff --git a/recipes-bsp/fsl-tlu/fsl-tlu_1.0.0.bb b/recipes-bsp/fsl-tlu/fsl-tlu_1.0.0.bb
index 260b01001..2179df61b 100644
--- a/recipes-bsp/fsl-tlu/fsl-tlu_1.0.0.bb
+++ b/recipes-bsp/fsl-tlu/fsl-tlu_1.0.0.bb
@@ -1,6 +1,7 @@
1SUMMARY = "Freescale TLU(Table Lookup Unit) test package" 1SUMMARY = "Freescale TLU(Table Lookup Unit) test package"
2DESCRIPTION = "This package includes the TLU(Table Lookup Unit) test scripts \ 2DESCRIPTION = "This package includes the TLU(Table Lookup Unit) test scripts \
3and configuration files." 3 and configuration files."
4HOMEPAGE = "https://github.com/nxp-qoriq-yocto-sdk/fsl-tlu"
4 5
5LICENSE = "GPL-2.0-only" 6LICENSE = "GPL-2.0-only"
6LIC_FILES_CHKSUM = "file://COPYING;md5=8a71d0475d08eee76d8b6d0c6dbec543" 7LIC_FILES_CHKSUM = "file://COPYING;md5=8a71d0475d08eee76d8b6d0c6dbec543"
@@ -10,9 +11,8 @@ SRCREV = "8837cce3c86b30c0931c319e9e1a8ca622ae5354"
10 11
11do_install() { 12do_install() {
12 install -d ${D}${sbindir}/fsl_tlu 13 install -d ${D}${sbindir}/fsl_tlu
13 find . -type f -exec cp {} ${D}${sbindir}/fsl_tlu/ \; 14 find . -type f -exec install -m 0644 {} ${D}${sbindir}/fsl_tlu/ \;
14} 15}
15 16
16COMPATIBLE_MACHINE = "(e500mc)" 17COMPATIBLE_MACHINE = "(e500mc)"
17PACKAGE_ARCH = "${MACHINE_SOCARCH}" 18PACKAGE_ARCH = "${MACHINE_SOCARCH}"
18
diff --git a/recipes-bsp/imx-atf/imx-atf_2.12.bb b/recipes-bsp/imx-atf/imx-atf_2.12.bb
index 7cef23416..5b84d91d1 100644
--- a/recipes-bsp/imx-atf/imx-atf_2.12.bb
+++ b/recipes-bsp/imx-atf/imx-atf_2.12.bb
@@ -1,14 +1,16 @@
1# Copyright (C) 2017-2026 NXP 1# Copyright (C) 2017-2026 NXP
2 2
3DESCRIPTION = "i.MX ARM Trusted Firmware" 3SUMMARY = "ARM Trusted Firmware for i.MX"
4SECTION = "BSP" 4DESCRIPTION = "ARM Trusted Firmware (TF-A) for NXP i.MX SoCs."
5HOMEPAGE = "https://github.com/nxp-imx/imx-atf"
6SECTION = "bsp"
5LICENSE = "BSD-3-Clause" 7LICENSE = "BSD-3-Clause"
6LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/BSD-3-Clause;md5=550794465ba0ec5312d6919e203a55f9" 8LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/BSD-3-Clause;md5=550794465ba0ec5312d6919e203a55f9"
7 9
8PV .= "+git${SRCPV}" 10PV .= "+git${SRCPV}"
9 11
10SRC_URI = "${ATF_SRC};branch=${SRCBRANCH} \ 12SRC_URI = "${ATF_SRC};branch=${SRCBRANCH} \
11 file://0001-scmi-imx9-Remove-unused-tmp-pointer.patch \ 13 file://0001-scmi-imx9-Remove-unused-tmp-pointer.patch \
12" 14"
13ATF_SRC ?= "git://github.com/nxp-imx/imx-atf.git;protocol=https" 15ATF_SRC ?= "git://github.com/nxp-imx/imx-atf.git;protocol=https"
14SRCBRANCH = "lf_v2.12" 16SRCBRANCH = "lf_v2.12"
@@ -16,7 +18,7 @@ SRCREV = "4a2e9ef5f9f185bda68470b46365add008903b8c"
16 18
17inherit deploy 19inherit deploy
18 20
19PACKAGECONFIG ??= " \ 21PACKAGECONFIG ??= "\
20 ${@bb.utils.filter('UBOOT_CONFIG', 'crrm', d)} \ 22 ${@bb.utils.filter('UBOOT_CONFIG', 'crrm', d)} \
21 ${@bb.utils.filter('MACHINE_FEATURES', 'optee', d)}" 23 ${@bb.utils.filter('MACHINE_FEATURES', 'optee', d)}"
22 24
@@ -30,7 +32,7 @@ ATF_PLATFORM ??= "INVALID"
30# base address in source code. 32# base address in source code.
31ATF_BOOT_UART_BASE ?= "" 33ATF_BOOT_UART_BASE ?= ""
32 34
33EXTRA_OEMAKE += " \ 35EXTRA_OEMAKE += "\
34 CROSS_COMPILE=${TARGET_PREFIX} \ 36 CROSS_COMPILE=${TARGET_PREFIX} \
35 PLAT=${ATF_PLATFORM} \ 37 PLAT=${ATF_PLATFORM} \
36 ${PACKAGECONFIG_CONFARGS} \ 38 ${PACKAGECONFIG_CONFARGS} \
@@ -69,7 +71,7 @@ do_configure[noexec] = "1"
69 71
70do_install[noexec] = "1" 72do_install[noexec] = "1"
71 73
72ANNOTATED_NAME = "bl31-${ATF_PLATFORM}.bin" 74ANNOTATED_NAME = "bl31-${ATF_PLATFORM}.bin"
73ANNOTATED_NAME:append = "${@bb.utils.contains('PACKAGECONFIG', 'crrm', '-crrm', '', d)}" 75ANNOTATED_NAME:append = "${@bb.utils.contains('PACKAGECONFIG', 'crrm', '-crrm', '', d)}"
74ANNOTATED_NAME:append = "${@bb.utils.contains('PACKAGECONFIG', 'optee', '-optee', '', d)}" 76ANNOTATED_NAME:append = "${@bb.utils.contains('PACKAGECONFIG', 'optee', '-optee', '', d)}"
75 77
diff --git a/recipes-bsp/imx-kobs/imx-kobs_git.bb b/recipes-bsp/imx-kobs/imx-kobs_git.bb
index 9c00a05b1..346e50950 100644
--- a/recipes-bsp/imx-kobs/imx-kobs_git.bb
+++ b/recipes-bsp/imx-kobs/imx-kobs_git.bb
@@ -3,6 +3,7 @@
3# Copyright 2018 (C) O.S. Systems Software LTDA. 3# Copyright 2018 (C) O.S. Systems Software LTDA.
4 4
5SUMMARY = "Nand boot write source" 5SUMMARY = "Nand boot write source"
6HOMEPAGE = "https://github.com/NXPmicro/imx-kobs"
6SECTION = "base" 7SECTION = "base"
7LICENSE = "GPL-2.0-only" 8LICENSE = "GPL-2.0-only"
8LIC_FILES_CHKSUM = "file://LICENSE;md5=393a5ca445f6965873eca0259a17f833" 9LIC_FILES_CHKSUM = "file://LICENSE;md5=393a5ca445f6965873eca0259a17f833"
diff --git a/recipes-bsp/imx-lib/imx-lib_git.bb b/recipes-bsp/imx-lib/imx-lib_git.bb
index 0aa74250f..837df109a 100644
--- a/recipes-bsp/imx-lib/imx-lib_git.bb
+++ b/recipes-bsp/imx-lib/imx-lib_git.bb
@@ -3,6 +3,7 @@
3# Copyright 2017 NXP 3# Copyright 2017 NXP
4 4
5DESCRIPTION = "Platform specific libraries for imx platform" 5DESCRIPTION = "Platform specific libraries for imx platform"
6HOMEPAGE = "https://github.com/nxp-imx/imx-lib"
6LICENSE = "LGPL-2.1-only" 7LICENSE = "LGPL-2.1-only"
7SECTION = "multimedia" 8SECTION = "multimedia"
8 9
@@ -18,19 +19,19 @@ SRCREV = "6cad1ba39d16247088f6a45dc07bbbf2cf96a332"
18 19
19inherit use-imx-headers 20inherit use-imx-headers
20 21
21PLATFORM:mx6q-nxp-bsp = "IMX6Q" 22PLATFORM:mx6q-nxp-bsp = "IMX6Q"
22PLATFORM:mx6dl-nxp-bsp = "IMX6Q" 23PLATFORM:mx6dl-nxp-bsp = "IMX6Q"
23PLATFORM:mx6sl-nxp-bsp = "IMX6S" 24PLATFORM:mx6sl-nxp-bsp = "IMX6S"
24PLATFORM:mx6sll-nxp-bsp = "IMX6UL" 25PLATFORM:mx6sll-nxp-bsp = "IMX6UL"
25PLATFORM:mx6sx-nxp-bsp = "IMX6S" 26PLATFORM:mx6sx-nxp-bsp = "IMX6S"
26PLATFORM:mx6ul-nxp-bsp = "IMX6UL" 27PLATFORM:mx6ul-nxp-bsp = "IMX6UL"
27PLATFORM:mx6ull-nxp-bsp = "IMX6UL" 28PLATFORM:mx6ull-nxp-bsp = "IMX6UL"
28PLATFORM:mx7d-nxp-bsp = "IMX7" 29PLATFORM:mx7d-nxp-bsp = "IMX7"
29PLATFORM:mx7ulp-nxp-bsp = "IMX7" 30PLATFORM:mx7ulp-nxp-bsp = "IMX7"
30PLATFORM:mx8ulp-nxp-bsp = "IMX8ULP" 31PLATFORM:mx8ulp-nxp-bsp = "IMX8ULP"
31PLATFORM:mx9-nxp-bsp = "IMX8ULP" 32PLATFORM:mx9-nxp-bsp = "IMX8ULP"
32PLATFORM:mx93-nxp-bsp = "IMX8ULP" 33PLATFORM:mx93-nxp-bsp = "IMX8ULP"
33PLATFORM:mx943-nxp-bsp = "IMX8ULP" 34PLATFORM:mx943-nxp-bsp = "IMX8ULP"
34 35
35PARALLEL_MAKE = "-j 1" 36PARALLEL_MAKE = "-j 1"
36EXTRA_OEMAKE = "" 37EXTRA_OEMAKE = ""
diff --git a/recipes-bsp/imx-mkimage/imx-boot_1.0.bb b/recipes-bsp/imx-mkimage/imx-boot_1.0.bb
index fcc8f84b3..59fe5854f 100644
--- a/recipes-bsp/imx-mkimage/imx-boot_1.0.bb
+++ b/recipes-bsp/imx-mkimage/imx-boot_1.0.bb
@@ -2,10 +2,12 @@
2 2
3require imx-mkimage_git.inc 3require imx-mkimage_git.inc
4 4
5SUMMARY = "Boot loader image for i.MX 8 devices"
5DESCRIPTION = "Generate Boot Loader for i.MX 8 device" 6DESCRIPTION = "Generate Boot Loader for i.MX 8 device"
7HOMEPAGE = "https://github.com/nxp-imx/imx-mkimage"
8SECTION = "bsp"
6LICENSE = "GPL-2.0-only" 9LICENSE = "GPL-2.0-only"
7LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0-only;md5=801f80980d171dd6425610833a22dbe6" 10LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0-only;md5=801f80980d171dd6425610833a22dbe6"
8SECTION = "BSP"
9 11
10DEPENDS += "xxd-native" 12DEPENDS += "xxd-native"
11DEPENDS:append:mx8m-generic-bsp = " u-boot-mkimage-native dtc-native u-boot-mkeficapsule-native" 13DEPENDS:append:mx8m-generic-bsp = " u-boot-mkimage-native dtc-native u-boot-mkeficapsule-native"
@@ -14,7 +16,7 @@ DEPENDS:append:mx95-generic-bsp = " u-boot-mkeficapsule-native"
14 16
15# This package aggregates output deployed by other packages, 17# This package aggregates output deployed by other packages,
16# so set the appropriate dependencies 18# so set the appropriate dependencies
17DEPENDS += " \ 19DEPENDS += "\
18 virtual/bootloader \ 20 virtual/bootloader \
19 ${IMX_EXTRA_FIRMWARE} \ 21 ${IMX_EXTRA_FIRMWARE} \
20 imx-atf \ 22 imx-atf \
@@ -25,7 +27,7 @@ DEPENDS += " \
25do_compile[deptask] = "do_deploy" 27do_compile[deptask] = "do_deploy"
26do_compile[depends] += "${@bb.utils.contains('UBOOT_CONFIG', 'crrm', '${CRRM_INITRAMFS}:do_build', '', d)}" 28do_compile[depends] += "${@bb.utils.contains('UBOOT_CONFIG', 'crrm', '${CRRM_INITRAMFS}:do_build', '', d)}"
27 29
28CRRM_DEPLOY_DEPENDS ?= " \ 30CRRM_DEPLOY_DEPENDS ?= "\
29 virtual/kernel \ 31 virtual/kernel \
30 ${CRRM_INITRAMFS}" 32 ${CRRM_INITRAMFS}"
31CRRM_INITRAMFS ??= "imx-image-crrm-initramfs" 33CRRM_INITRAMFS ??= "imx-image-crrm-initramfs"
@@ -50,7 +52,7 @@ BOOT_VARIANT ?= ""
50 52
51TOOLS_NAME ?= "mkimage_imx8" 53TOOLS_NAME ?= "mkimage_imx8"
52 54
53IMX_BOOT_SOC_TARGET ?= "INVALID" 55IMX_BOOT_SOC_TARGET ?= "INVALID"
54 56
55DEPLOY_OPTEE = "${@bb.utils.contains('MACHINE_FEATURES', 'optee', 'true', 'false', d)}" 57DEPLOY_OPTEE = "${@bb.utils.contains('MACHINE_FEATURES', 'optee', 'true', 'false', d)}"
56DEPLOY_OPTEE_STMM = "${@bb.utils.contains('MACHINE_FEATURES', 'optee stmm', 'true', 'false', d)}" 58DEPLOY_OPTEE_STMM = "${@bb.utils.contains('MACHINE_FEATURES', 'optee stmm', 'true', 'false', d)}"
@@ -60,51 +62,51 @@ IMXBOOT_TARGETS ?= \
60 bb.utils.contains('UBOOT_CONFIG', 'nand', 'flash_nand', \ 62 bb.utils.contains('UBOOT_CONFIG', 'nand', 'flash_nand', \
61 'flash_multi_cores flash_dcd', d), d)}" 63 'flash_multi_cores flash_dcd', d), d)}"
62 64
63BOOT_STAGING = "${S}/${IMX_BOOT_SOC_TARGET}" 65BOOT_STAGING = "${S}/${IMX_BOOT_SOC_TARGET}"
64BOOT_STAGING:mx8m-generic-bsp = "${S}/iMX8M" 66BOOT_STAGING:mx8m-generic-bsp = "${S}/iMX8M"
65BOOT_STAGING:mx8dx-generic-bsp = "${S}/iMX8QX" 67BOOT_STAGING:mx8dx-generic-bsp = "${S}/iMX8QX"
66BOOT_STAGING:mx91-generic-bsp = "${S}/iMX91" 68BOOT_STAGING:mx91-generic-bsp = "${S}/iMX91"
67BOOT_STAGING:mx93-generic-bsp = "${S}/iMX93" 69BOOT_STAGING:mx93-generic-bsp = "${S}/iMX93"
68BOOT_STAGING:mx943-generic-bsp = "${S}/iMX94" 70BOOT_STAGING:mx943-generic-bsp = "${S}/iMX94"
69BOOT_STAGING:mx95-generic-bsp = "${S}/iMX95" 71BOOT_STAGING:mx95-generic-bsp = "${S}/iMX95"
70 72
71SOC_FAMILY = "INVALID" 73SOC_FAMILY = "INVALID"
72SOC_FAMILY:mx8-generic-bsp = "mx8" 74SOC_FAMILY:mx8-generic-bsp = "mx8"
73SOC_FAMILY:mx8m-generic-bsp = "mx8m" 75SOC_FAMILY:mx8m-generic-bsp = "mx8m"
74SOC_FAMILY:mx8x-generic-bsp = "mx8x" 76SOC_FAMILY:mx8x-generic-bsp = "mx8x"
75SOC_FAMILY:mx8ulp-generic-bsp = "mx8ulp" 77SOC_FAMILY:mx8ulp-generic-bsp = "mx8ulp"
76SOC_FAMILY:mx91-generic-bsp = "mx91" 78SOC_FAMILY:mx91-generic-bsp = "mx91"
77SOC_FAMILY:mx93-generic-bsp = "mx93" 79SOC_FAMILY:mx93-generic-bsp = "mx93"
78SOC_FAMILY:mx943-generic-bsp = "mx943" 80SOC_FAMILY:mx943-generic-bsp = "mx943"
79SOC_FAMILY:mx95-generic-bsp = "mx95" 81SOC_FAMILY:mx95-generic-bsp = "mx95"
80 82
81REV_OPTION ?= "REV=${IMX_SOC_REV_UPPER}" 83REV_OPTION ?= "REV=${IMX_SOC_REV_UPPER}"
82 84
83MKIMAGE_EXTRA_ARGS ?= "" 85MKIMAGE_EXTRA_ARGS ?= ""
84MKIMAGE_EXTRA_ARGS:mx943-nxp-bsp ?= " \ 86MKIMAGE_EXTRA_ARGS:mx943-nxp-bsp ?= "\
85 OEI=YES \ 87 OEI=YES \
86 LPDDR_TYPE=${DDR_TYPE} \ 88 LPDDR_TYPE=${DDR_TYPE} \
87 MSEL=${MSEL_TYPE} \ 89 MSEL=${MSEL_TYPE} \
88" 90"
89MKIMAGE_EXTRA_ARGS:mx95-nxp-bsp ?= " \ 91MKIMAGE_EXTRA_ARGS:mx95-nxp-bsp ?= "\
90 OEI=YES \ 92 OEI=YES \
91 LPDDR_TYPE=${DDR_TYPE} \ 93 LPDDR_TYPE=${DDR_TYPE} \
92 ${@'LPDDR_FW_VERSION='+d.getVar('LPDDR_FW_VERSION') if d.getVar('LPDDR_FW_VERSION') else ''} \ 94 ${@'LPDDR_FW_VERSION='+d.getVar('LPDDR_FW_VERSION') if d.getVar('LPDDR_FW_VERSION') else ''} \
93 ${@bb.utils.contains('SYSTEM_MANAGER_CONFIG', 'mx95alt', 'MSEL=1', '', d)}" 95 ${@bb.utils.contains('SYSTEM_MANAGER_CONFIG', 'mx95alt', 'MSEL=1', '', d)}"
94MKIMAGE_EXTRA_ARGS:imx95-19x19-lpddr5-frdm-pro ?= " \ 96MKIMAGE_EXTRA_ARGS:imx95-19x19-lpddr5-frdm-pro ?= "\
95 ${MKIMAGE_EXTRA_ARGS:mx95-nxp-bsp} \ 97 ${MKIMAGE_EXTRA_ARGS:mx95-nxp-bsp} \
96 QSPI_HEADER=./scripts/fspi_header-W25Q512NWEIQ" 98 QSPI_HEADER=./scripts/fspi_header-W25Q512NWEIQ"
97 99
98MKIMAGE_EXTRA_ARGS:imx95-19x19-verdin ?= " \ 100MKIMAGE_EXTRA_ARGS:imx95-19x19-verdin ?= "\
99 ${MKIMAGE_EXTRA_ARGS:mx95-nxp-bsp} \ 101 ${MKIMAGE_EXTRA_ARGS:mx95-nxp-bsp} \
100 QSPI_HEADER=./scripts/fspi_header_133" 102 QSPI_HEADER=./scripts/fspi_header_133"
101MKIMAGE_EXTRA_ARGS:imx95-a1-19x19-verdin ?= " \ 103MKIMAGE_EXTRA_ARGS:imx95-a1-19x19-verdin ?= "\
102 ${MKIMAGE_EXTRA_ARGS:imx95-19x19-verdin} \ 104 ${MKIMAGE_EXTRA_ARGS:imx95-19x19-verdin} \
103" 105"
104 106
105UBOOT_DTB_BINARY ?= "u-boot.dtb" 107UBOOT_DTB_BINARY ?= "u-boot.dtb"
106 108
107CRRM_FILES = " \ 109CRRM_FILES = "\
108 ${KERNEL_IMAGETYPE}.gz \ 110 ${KERNEL_IMAGETYPE}.gz \
109 ${KERNEL_IMAGETYPE}_crrm.gz \ 111 ${KERNEL_IMAGETYPE}_crrm.gz \
110 ${KERNEL_DEVICETREE_BASENAME}.dtb \ 112 ${KERNEL_DEVICETREE_BASENAME}.dtb \
diff --git a/recipes-bsp/imx-mkimage/imx-mkimage_git.bb b/recipes-bsp/imx-mkimage/imx-mkimage_git.bb
index 282bc45a1..65f65002c 100644
--- a/recipes-bsp/imx-mkimage/imx-mkimage_git.bb
+++ b/recipes-bsp/imx-mkimage/imx-mkimage_git.bb
@@ -3,10 +3,12 @@
3 3
4require imx-mkimage_git.inc 4require imx-mkimage_git.inc
5 5
6DESCRIPTION = "i.MX make image" 6SUMMARY = "i.MX boot image generation tool"
7DESCRIPTION = "Tooling to assemble i.MX boot images (mkimage_imx8 and related)."
8HOMEPAGE = "https://github.com/nxp-imx/imx-mkimage"
9SECTION = "bsp"
7LICENSE = "GPL-2.0-only" 10LICENSE = "GPL-2.0-only"
8LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0-only;md5=801f80980d171dd6425610833a22dbe6" 11LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0-only;md5=801f80980d171dd6425610833a22dbe6"
9SECTION = "BSP"
10 12
11inherit deploy native 13inherit deploy native
12 14
diff --git a/recipes-bsp/imx-mkimage/imx-mkimage_git.inc b/recipes-bsp/imx-mkimage/imx-mkimage_git.inc
index 4a4efae01..b8d5d58cc 100644
--- a/recipes-bsp/imx-mkimage/imx-mkimage_git.inc
+++ b/recipes-bsp/imx-mkimage/imx-mkimage_git.inc
@@ -1,6 +1,6 @@
1# Copyright 2017-2026 NXP 1# Copyright 2017-2026 NXP
2 2
3DEPENDS = "zlib-native openssl-native" 3DEPENDS = "openssl-native zlib-native"
4 4
5SRC_URI = "${IMX_MKIMAGE_SRC};branch=${SRCBRANCH} \ 5SRC_URI = "${IMX_MKIMAGE_SRC};branch=${SRCBRANCH} \
6 file://0001-iMX8M-soc.mak-use-native-mkimage-from-sysroot.patch \ 6 file://0001-iMX8M-soc.mak-use-native-mkimage-from-sysroot.patch \
diff --git a/recipes-bsp/imx-sc-firmware/imx-sc-firmware_1.18.0.bb b/recipes-bsp/imx-sc-firmware/imx-sc-firmware_1.18.0.bb
index 42e8f6e19..baee026e4 100644
--- a/recipes-bsp/imx-sc-firmware/imx-sc-firmware_1.18.0.bb
+++ b/recipes-bsp/imx-sc-firmware/imx-sc-firmware_1.18.0.bb
@@ -1,10 +1,12 @@
1# Copyright (C) 2016 Freescale Semiconductor 1# Copyright (C) 2016 Freescale Semiconductor
2# Copyright (C) 2017-2024 NXP 2# Copyright (C) 2017-2024 NXP
3 3
4DESCRIPTION = "i.MX System Controller Firmware" 4SUMMARY = "i.MX System Controller firmware"
5DESCRIPTION = "System Controller Unit (SCU) firmware for i.MX8 QuadMax/QuadXPlus SoCs."
6HOMEPAGE = "https://www.nxp.com/"
7SECTION = "bsp"
5LICENSE = "Proprietary" 8LICENSE = "Proprietary"
6LIC_FILES_CHKSUM = "file://COPYING;md5=c0fb372b5d7f12181de23ef480f225f3" 9LIC_FILES_CHKSUM = "file://COPYING;md5=c0fb372b5d7f12181de23ef480f225f3"
7SECTION = "BSP"
8 10
9inherit fsl-eula-unpack pkgconfig deploy 11inherit fsl-eula-unpack pkgconfig deploy
10 12
diff --git a/recipes-bsp/imx-seco/imx-seco-libs_git.bb b/recipes-bsp/imx-seco/imx-seco-libs_git.bb
index fe366aacb..83d6dd13f 100644
--- a/recipes-bsp/imx-seco/imx-seco-libs_git.bb
+++ b/recipes-bsp/imx-seco/imx-seco-libs_git.bb
@@ -2,6 +2,7 @@
2 2
3SUMMARY = "NXP i.MX SECO library" 3SUMMARY = "NXP i.MX SECO library"
4DESCRIPTION = "Library for NXP i.MX Security Controller Subsystem" 4DESCRIPTION = "Library for NXP i.MX Security Controller Subsystem"
5HOMEPAGE = "https://github.com/NXP/imx-seco-libs"
5SECTION = "base" 6SECTION = "base"
6LICENSE = "Proprietary" 7LICENSE = "Proprietary"
7LIC_FILES_CHKSUM = "file://EULA.txt;md5=d3c315c6eaa43e07d8c130dc3a04a011" 8LIC_FILES_CHKSUM = "file://EULA.txt;md5=d3c315c6eaa43e07d8c130dc3a04a011"
diff --git a/recipes-bsp/imx-secure-enclave/imx-secure-enclave.inc b/recipes-bsp/imx-secure-enclave/imx-secure-enclave.inc
index bb045b6fb..12dc1c31b 100644
--- a/recipes-bsp/imx-secure-enclave/imx-secure-enclave.inc
+++ b/recipes-bsp/imx-secure-enclave/imx-secure-enclave.inc
@@ -2,11 +2,12 @@
2 2
3SUMMARY = "NXP i.MX SECURE ENCLAVE library" 3SUMMARY = "NXP i.MX SECURE ENCLAVE library"
4DESCRIPTION = "NXP IMX SECURE ENCLAVE library" 4DESCRIPTION = "NXP IMX SECURE ENCLAVE library"
5HOMEPAGE = "https://github.com/NXP/imx-secure-enclave"
5SECTION = "base" 6SECTION = "base"
6LICENSE = "BSD-3-Clause" 7LICENSE = "BSD-3-Clause"
7LIC_FILES_CHKSUM = "file://LICENSE;md5=8636bd68fc00cc6a3809b7b58b45f982" 8LIC_FILES_CHKSUM = "file://LICENSE;md5=8636bd68fc00cc6a3809b7b58b45f982"
8 9
9DEPENDS = " mbedtls openssl" 10DEPENDS = "mbedtls openssl"
10 11
11SRC_URI = "${SECURE_ENCLAVE_LIB_SRC};branch=${SRCBRANCH}" 12SRC_URI = "${SECURE_ENCLAVE_LIB_SRC};branch=${SRCBRANCH}"
12SECURE_ENCLAVE_LIB_SRC ?= "git://github.com/NXP/imx-secure-enclave.git;protocol=https" 13SECURE_ENCLAVE_LIB_SRC ?= "git://github.com/NXP/imx-secure-enclave.git;protocol=https"
@@ -20,7 +21,7 @@ EXTRA_OEMAKE = "PLAT=${PLAT} OPENSSL_PATH=${STAGING_INCDIR} MBEDTLS_PATH=${STAGI
20TARGET_CC_ARCH += "${LDFLAGS}" 21TARGET_CC_ARCH += "${LDFLAGS}"
21 22
22do_install() { 23do_install() {
23 oe_runmake -C ${S} DESTDIR=${D} install_tests 24 oe_runmake -C ${S} DESTDIR=${D} install_tests
24} 25}
25 26
26PACKAGE_ARCH = "${MACHINE_SOCARCH}" 27PACKAGE_ARCH = "${MACHINE_SOCARCH}"
diff --git a/recipes-bsp/imx-secure-enclave/imx-secure-enclave_git.bb b/recipes-bsp/imx-secure-enclave/imx-secure-enclave_git.bb
index 647a9d768..7095ce7a1 100644
--- a/recipes-bsp/imx-secure-enclave/imx-secure-enclave_git.bb
+++ b/recipes-bsp/imx-secure-enclave/imx-secure-enclave_git.bb
@@ -11,7 +11,7 @@ PACKAGES =+ "${PN}-crrm"
11 11
12RDEPENDS:${PN} = "${@bb.utils.contains('UBOOT_CONFIG', 'crrm', '${PN}-crrm', '', d)}" 12RDEPENDS:${PN} = "${@bb.utils.contains('UBOOT_CONFIG', 'crrm', '${PN}-crrm', '', d)}"
13 13
14FILES:${PN}-crrm = " \ 14FILES:${PN}-crrm = "\
15 ${bindir}/ele_crrm_test \ 15 ${bindir}/ele_crrm_test \
16 ${libdir}/lib*crrm${SOLIBS}" 16 ${libdir}/lib*crrm${SOLIBS}"
17 17
diff --git a/recipes-bsp/imx-test/imx-test_00.00.00.bb b/recipes-bsp/imx-test/imx-test_00.00.00.bb
index 1850a16ae..70b6988fc 100644
--- a/recipes-bsp/imx-test/imx-test_00.00.00.bb
+++ b/recipes-bsp/imx-test/imx-test_00.00.00.bb
@@ -1,5 +1,6 @@
1SUMMARY = "Dummy package for SoCs lacking imx-test package" 1SUMMARY = "Dummy package for SoCs lacking imx-test package"
2DESCRIPTION = "Dummy package for SoCs lacking imx-test package" 2DESCRIPTION = "Dummy package for SoCs lacking imx-test package"
3HOMEPAGE = "https://github.com/nxp-imx/imx-test"
3SECTION = "base" 4SECTION = "base"
4LICENSE = "MIT" 5LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 6LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
diff --git a/recipes-bsp/imx-test/imx-test_git.bb b/recipes-bsp/imx-test/imx-test_git.bb
index c5dc6ef50..9007a655c 100644
--- a/recipes-bsp/imx-test/imx-test_git.bb
+++ b/recipes-bsp/imx-test/imx-test_git.bb
@@ -4,17 +4,18 @@
4 4
5SUMMARY = "Test programs for i.MX BSP" 5SUMMARY = "Test programs for i.MX BSP"
6DESCRIPTION = "Unit tests for the i.MX BSP" 6DESCRIPTION = "Unit tests for the i.MX BSP"
7HOMEPAGE = "https://github.com/nxp-imx/imx-test"
7SECTION = "base" 8SECTION = "base"
8LICENSE = "GPL-2.0-or-later" 9LICENSE = "GPL-2.0-or-later"
9LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0-or-later;md5=fed54355545ffd980b814dab4a3b312c" 10LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0-or-later;md5=fed54355545ffd980b814dab4a3b312c"
10 11
11DEPENDS = "alsa-lib freetype libdrm" 12DEPENDS = "alsa-lib freetype libdrm"
12DEPENDS:append:imxvpu = " virtual/imxvpu" 13DEPENDS:append:imxvpu = " virtual/imxvpu"
13DEPENDS:append:mx6-nxp-bsp = " imx-lib" 14DEPENDS:append:mx6-nxp-bsp = " imx-lib"
14DEPENDS:append:mx7-nxp-bsp = " imx-lib" 15DEPENDS:append:mx7-nxp-bsp = " imx-lib"
15DEPENDS:append:mx8ulp-nxp-bsp = " imx-lib" 16DEPENDS:append:mx8ulp-nxp-bsp = " imx-lib"
16DEPENDS:append:mx93-nxp-bsp = " imx-lib" 17DEPENDS:append:mx93-nxp-bsp = " imx-lib"
17DEPENDS:append:mx943-nxp-bsp = " imx-lib" 18DEPENDS:append:mx943-nxp-bsp = " imx-lib"
18 19
19PE = "1" 20PE = "1"
20PV = "7.0+${SRCPV}" 21PV = "7.0+${SRCPV}"
@@ -31,13 +32,13 @@ inherit module-base use-imx-headers
31INHIBIT_PACKAGE_STRIP = "1" 32INHIBIT_PACKAGE_STRIP = "1"
32INHIBIT_PACKAGE_DEBUG_SPLIT = "1" 33INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
33 34
34PLATFORM:mx6q-nxp-bsp = "IMX6Q" 35PLATFORM:mx6q-nxp-bsp = "IMX6Q"
35PLATFORM:mx6dl-nxp-bsp = "IMX6Q" 36PLATFORM:mx6dl-nxp-bsp = "IMX6Q"
36PLATFORM:mx6sl-nxp-bsp = "IMX6SL" 37PLATFORM:mx6sl-nxp-bsp = "IMX6SL"
37PLATFORM:mx6sll-nxp-bsp = "IMX6SL" 38PLATFORM:mx6sll-nxp-bsp = "IMX6SL"
38PLATFORM:mx6sx-nxp-bsp = "IMX6SX" 39PLATFORM:mx6sx-nxp-bsp = "IMX6SX"
39PLATFORM:mx6ul-nxp-bsp = "IMX6UL" 40PLATFORM:mx6ul-nxp-bsp = "IMX6UL"
40PLATFORM:mx7d-nxp-bsp = "IMX7D" 41PLATFORM:mx7d-nxp-bsp = "IMX7D"
41PLATFORM:mx7ulp-nxp-bsp = "IMX7D" 42PLATFORM:mx7ulp-nxp-bsp = "IMX7D"
42PLATFORM:mx8-nxp-bsp = "IMX8" 43PLATFORM:mx8-nxp-bsp = "IMX8"
43PLATFORM:mx8ulp-nxp-bsp = "IMX8ULP" 44PLATFORM:mx8ulp-nxp-bsp = "IMX8ULP"
@@ -51,7 +52,7 @@ EXTRA_OEMAKE += "${PACKAGECONFIG_CONFARGS}"
51 52
52PACKAGECONFIG = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}" 53PACKAGECONFIG = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}"
53PACKAGECONFIG:append:imxvpu = " vpu" 54PACKAGECONFIG:append:imxvpu = " vpu"
54PACKAGECONFIG:append:mx8m-nxp-bsp = " swpdm" 55PACKAGECONFIG:append:mx8m-nxp-bsp = " swpdm"
55 56
56PACKAGECONFIG[x11] = ",,libx11 libxdamage libxrender libxrandr" 57PACKAGECONFIG[x11] = ",,libx11 libxdamage libxrender libxrandr"
57PACKAGECONFIG[vpu] = "HAS_VPU=true,HAS_VPU=false,virtual/imxvpu" 58PACKAGECONFIG[vpu] = "HAS_VPU=true,HAS_VPU=false,virtual/imxvpu"
diff --git a/recipes-bsp/imx-uuc/imx-uuc_git.bb b/recipes-bsp/imx-uuc/imx-uuc_git.bb
index ecd33f59f..446fb58e9 100644
--- a/recipes-bsp/imx-uuc/imx-uuc_git.bb
+++ b/recipes-bsp/imx-uuc/imx-uuc_git.bb
@@ -1,8 +1,9 @@
1# Copyright (C) 2016 Freescale Semiconductor 1# Copyright (C) 2016 Freescale Semiconductor
2# Copyright (C) 2017-2019,2024-2025 NXP 2# Copyright (C) 2017-2019,2024-2025 NXP
3SUMMARY = "A Daemon wait for NXP mfgtools host's command" 3SUMMARY = "A Daemon wait for NXP mfgtools host's command"
4HOMEPAGE = "https://github.com/nxp-imx/imx-uuc"
4SECTION = "base" 5SECTION = "base"
5DEPENDS = "virtual/kernel dosfstools-native" 6DEPENDS = "dosfstools-native virtual/kernel"
6LICENSE = "GPL-2.0-only" 7LICENSE = "GPL-2.0-only"
7LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263" 8LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263"
8 9
diff --git a/recipes-bsp/imx-vpu-hantro-vc/imx-vpu-hantro-vc_1.11.0.bb b/recipes-bsp/imx-vpu-hantro-vc/imx-vpu-hantro-vc_1.11.0.bb
index 528b05e17..498f7848a 100644
--- a/recipes-bsp/imx-vpu-hantro-vc/imx-vpu-hantro-vc_1.11.0.bb
+++ b/recipes-bsp/imx-vpu-hantro-vc/imx-vpu-hantro-vc_1.11.0.bb
@@ -1,12 +1,15 @@
1# Copyright 2019-2022 NXP 1# Copyright 2019-2022 NXP
2 2
3DESCRIPTION = "i.MX VC8000E Encoder library" 3SUMMARY = "i.MX VC8000E encoder library"
4DESCRIPTION = "Hantro VC8000E video encoder library for i.MX SoCs."
5HOMEPAGE = "https://www.nxp.com/"
6SECTION = "multimedia"
4LICENSE = "Proprietary" 7LICENSE = "Proprietary"
5LIC_FILES_CHKSUM = "file://COPYING;md5=bc649096ad3928ec06a8713b8d787eac" 8LIC_FILES_CHKSUM = "file://COPYING;md5=bc649096ad3928ec06a8713b8d787eac"
6 9
7inherit fsl-eula-unpack 10inherit fsl-eula-unpack
8 11
9SRC_URI = " ${FSL_MIRROR}/${BP}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true" 12SRC_URI = "${FSL_MIRROR}/${BP}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true"
10IMX_SRCREV_ABBREV = "5e18a84" 13IMX_SRCREV_ABBREV = "5e18a84"
11 14
12SRC_URI[sha256sum] = "04d2a9c5c75804a11a4500a0133dfc7d8e84f74254cee52c42075f5ecc229550" 15SRC_URI[sha256sum] = "04d2a9c5c75804a11a4500a0133dfc7d8e84f74254cee52c42075f5ecc229550"
@@ -29,8 +32,8 @@ do_install () {
29 rm ${D}${D_SUBDIR}/${SCR} 32 rm ${D}${D_SUBDIR}/${SCR}
30} 33}
31 34
32FILES:${PN} = "/"
33
34PACKAGE_ARCH = "${MACHINE_SOCARCH}" 35PACKAGE_ARCH = "${MACHINE_SOCARCH}"
35 36
37FILES:${PN} = "/"
38
36COMPATIBLE_MACHINE = "(mx8mp-nxp-bsp)" 39COMPATIBLE_MACHINE = "(mx8mp-nxp-bsp)"
diff --git a/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro-daemon_1.9.0.bb b/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro-daemon_1.9.0.bb
index d24ab66ea..22a307267 100644
--- a/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro-daemon_1.9.0.bb
+++ b/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro-daemon_1.9.0.bb
@@ -1,5 +1,8 @@
1# Copyright 2021 NXP 1# Copyright 2021 NXP
2DESCRIPTION = "i.MX Hantro V4L2 Daemon" 2SUMMARY = "i.MX Hantro V4L2 daemon"
3DESCRIPTION = "V4L2 userspace daemon for the Hantro VPU on i.MX SoCs."
4HOMEPAGE = "https://www.nxp.com/"
5SECTION = "multimedia"
3LICENSE = "MIT" 6LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=cd8bc2a79509c22fc9c1782a151210b1" 7LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=cd8bc2a79509c22fc9c1782a151210b1"
5 8
@@ -17,11 +20,11 @@ PLATFORM:mx8mm-nxp-bsp = "IMX8MM"
17PLATFORM:mx8mq-nxp-bsp = "IMX8MQ" 20PLATFORM:mx8mq-nxp-bsp = "IMX8MQ"
18PLATFORM:mx8mp-nxp-bsp = "IMX8MP" 21PLATFORM:mx8mp-nxp-bsp = "IMX8MP"
19 22
20EXTRA_OEMAKE = " \ 23EXTRA_OEMAKE = "\
21 CROSS_COMPILE="${HOST_PREFIX}" \ 24 CROSS_COMPILE="${HOST_PREFIX}"\
22 SDKTARGETSYSROOT="${STAGING_DIR_TARGET}" \ 25 SDKTARGETSYSROOT="${STAGING_DIR_TARGET}"\
23 CTRLSW_HDRPATH="${STAGING_INCDIR}" \ 26 CTRLSW_HDRPATH="${STAGING_INCDIR}"\
24 PLATFORM="${PLATFORM}" \ 27 PLATFORM="${PLATFORM}"\
25" 28"
26 29
27do_install () { 30do_install () {
diff --git a/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.40.0.bb b/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.40.0.bb
index e5113f1c1..69f4621fb 100644
--- a/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.40.0.bb
+++ b/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.40.0.bb
@@ -1,12 +1,15 @@
1# Copyright (C) 2017-2020,2026 NXP 1# Copyright (C) 2017-2020,2026 NXP
2 2
3DESCRIPTION = "i.MX Hantro VPU library" 3SUMMARY = "i.MX Hantro VPU library"
4DESCRIPTION = "Hantro video processing unit (VPU) codec library for i.MX SoCs."
5HOMEPAGE = "https://www.nxp.com/"
6SECTION = "multimedia"
4LICENSE = "Proprietary" 7LICENSE = "Proprietary"
5LIC_FILES_CHKSUM = "file://COPYING;md5=bc649096ad3928ec06a8713b8d787eac" 8LIC_FILES_CHKSUM = "file://COPYING;md5=bc649096ad3928ec06a8713b8d787eac"
6 9
7PROVIDES = "virtual/imxvpu" 10PROVIDES = "virtual/imxvpu"
8 11
9SRC_URI = " \ 12SRC_URI = "\
10 ${FSL_MIRROR}/${BP}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true \ 13 ${FSL_MIRROR}/${BP}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true \
11" 14"
12IMX_SRCREV_ABBREV = "52c7e45" 15IMX_SRCREV_ABBREV = "52c7e45"
@@ -28,18 +31,19 @@ PLATFORM:mx8mp-nxp-bsp = "IMX8MP"
28#| ../../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] 31#| ../../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]
29#| 2086 | ref_data = ref.virtual_address; 32#| 2086 | ref_data = ref.virtual_address;
30 33
31CFLAGS += " -Wno-error=incompatible-pointer-types" 34CFLAGS += "-Wno-error=incompatible-pointer-types"
32EXTRA_OEMAKE = " \ 35EXTRA_OEMAKE = "\
33 CROSS_COMPILE="${HOST_PREFIX}" \ 36 CROSS_COMPILE="${HOST_PREFIX}"\
34 SDKTARGETSYSROOT="${STAGING_DIR_TARGET}" \ 37 SDKTARGETSYSROOT="${STAGING_DIR_TARGET}"\
35 PLATFORM="${PLATFORM}" \ 38 PLATFORM="${PLATFORM}"\
36" 39"
37 40
38do_install () { 41do_install () {
39 oe_runmake install DEST_DIR="${D}" 42 oe_runmake install DEST_DIR="${D}"
40} 43}
41 44
45PACKAGE_ARCH = "${MACHINE_SOCARCH}"
46
42FILES:${PN} += "/unit_tests" 47FILES:${PN} += "/unit_tests"
43 48
44PACKAGE_ARCH = "${MACHINE_SOCARCH}"
45COMPATIBLE_MACHINE = "(mx8mq-nxp-bsp|mx8mm-nxp-bsp|mx8mp-nxp-bsp)" 49COMPATIBLE_MACHINE = "(mx8mq-nxp-bsp|mx8mm-nxp-bsp|mx8mp-nxp-bsp)"
diff --git a/recipes-bsp/imx-vpu/imx-vpu_5.4.39.3.bb b/recipes-bsp/imx-vpu/imx-vpu_5.4.39.3.bb
index fc90cdab7..f2162f624 100644
--- a/recipes-bsp/imx-vpu/imx-vpu_5.4.39.3.bb
+++ b/recipes-bsp/imx-vpu/imx-vpu_5.4.39.3.bb
@@ -2,7 +2,10 @@
2# Copyright (C) 2013-2016 Freescale Semiconductor 2# Copyright (C) 2013-2016 Freescale Semiconductor
3# Copyright (C) 2017-2020 NXP 3# Copyright (C) 2017-2020 NXP
4 4
5SUMMARY = "i.MX VPU library for Chips&Media VPU"
5DESCRIPTION = "Freescale VPU library for Chips&Media VPU" 6DESCRIPTION = "Freescale VPU library for Chips&Media VPU"
7HOMEPAGE = "https://www.nxp.com/"
8SECTION = "multimedia"
6LICENSE = "Proprietary" 9LICENSE = "Proprietary"
7LIC_FILES_CHKSUM = "file://COPYING;md5=228c72f2a91452b8a03c4cab30f30ef9" 10LIC_FILES_CHKSUM = "file://COPYING;md5=228c72f2a91452b8a03c4cab30f30ef9"
8 11
diff --git a/recipes-bsp/inphi/inphi_git.bb b/recipes-bsp/inphi/inphi_git.bb
index 5c2e4197f..9c8046b7c 100644
--- a/recipes-bsp/inphi/inphi_git.bb
+++ b/recipes-bsp/inphi/inphi_git.bb
@@ -1,4 +1,7 @@
1SUMMARY = "Firmwares and Standalone Applications" 1SUMMARY = "Firmwares and Standalone Applications"
2DESCRIPTION = "Inphi IN112525 PHY microcode firmware for NXP QorIQ platforms"
3HOMEPAGE = "https://github.com/nxp/qoriq-firmware-inphi"
4SECTION = "firmware"
2LICENSE = "NXP-Binary-EULA" 5LICENSE = "NXP-Binary-EULA"
3LIC_FILES_CHKSUM = "file://EULA.txt;md5=86d76166990962fa552f840ff08e5798" 6LIC_FILES_CHKSUM = "file://EULA.txt;md5=86d76166990962fa552f840ff08e5798"
4 7
@@ -9,7 +12,7 @@ SRCREV = "f22e9ff3bfed8342da6efb699e473b11fbad5695"
9 12
10do_install () { 13do_install () {
11 install -d ${D}/boot 14 install -d ${D}/boot
12 cp -fr ${S}/in112525-phy-ucode.txt ${D}/boot 15 install -m 0644 ${S}/in112525-phy-ucode.txt ${D}/boot
13} 16}
14 17
15do_deploy () { 18do_deploy () {
@@ -18,9 +21,9 @@ do_deploy () {
18} 21}
19addtask deploy before do_build after do_install 22addtask deploy before do_build after do_install
20 23
24PACKAGE_ARCH = "${MACHINE_ARCH}"
25
21PACKAGES += "${PN}-image" 26PACKAGES += "${PN}-image"
22FILES:${PN}-image += "/boot" 27FILES:${PN}-image += "/boot"
23 28
24COMPATIBLE_MACHINE = "(qoriq-arm64)" 29COMPATIBLE_MACHINE = "(qoriq-arm64)"
25PACKAGE_ARCH = "${MACHINE_ARCH}"
26
diff --git a/recipes-bsp/isp-imx/basler-camera_4.2.2.26.1.bb b/recipes-bsp/isp-imx/basler-camera_4.2.2.26.1.bb
index 11580dfd2..cb4adeaee 100644
--- a/recipes-bsp/isp-imx/basler-camera_4.2.2.26.1.bb
+++ b/recipes-bsp/isp-imx/basler-camera_4.2.2.26.1.bb
@@ -1,6 +1,9 @@
1# Copyright 2020-2024 NXP 1# Copyright 2020-2024 NXP
2 2
3DESCRIPTION = "Basler camera binary drivers" 3SUMMARY = "Basler camera binary drivers"
4DESCRIPTION = "Basler camera binary drivers for the i.MX ISP."
5HOMEPAGE = "https://www.nxp.com/"
6SECTION = "multimedia"
4LICENSE = "Proprietary" 7LICENSE = "Proprietary"
5LIC_FILES_CHKSUM = "file://COPYING;md5=bc649096ad3928ec06a8713b8d787eac" 8LIC_FILES_CHKSUM = "file://COPYING;md5=bc649096ad3928ec06a8713b8d787eac"
6 9
@@ -25,5 +28,4 @@ FILES:${PN} = "${libdir} /opt"
25INSANE_SKIP:${PN} = "already-stripped" 28INSANE_SKIP:${PN} = "already-stripped"
26RDEPENDS:${PN} += "isp-imx" 29RDEPENDS:${PN} += "isp-imx"
27 30
28
29COMPATIBLE_MACHINE = "(mx8mp-nxp-bsp)" 31COMPATIBLE_MACHINE = "(mx8mp-nxp-bsp)"
diff --git a/recipes-bsp/isp-imx/isp-imx_4.2.2.26.1.bb b/recipes-bsp/isp-imx/isp-imx_4.2.2.26.1.bb
index 0a8ce57c0..9c6cbec00 100644
--- a/recipes-bsp/isp-imx/isp-imx_4.2.2.26.1.bb
+++ b/recipes-bsp/isp-imx/isp-imx_4.2.2.26.1.bb
@@ -1,10 +1,13 @@
1# Copyright 2020-2025 NXP 1# Copyright 2020-2025 NXP
2 2
3DESCRIPTION = "i.MX Verisilicon Software ISP" 3SUMMARY = "i.MX VeriSilicon software ISP"
4DESCRIPTION = "VeriSilicon image signal processing (ISP) software stack for i.MX SoCs."
5HOMEPAGE = "https://www.nxp.com/"
6SECTION = "multimedia"
4LICENSE = "Proprietary" 7LICENSE = "Proprietary"
5LIC_FILES_CHKSUM = "file://COPYING;md5=bc649096ad3928ec06a8713b8d787eac" 8LIC_FILES_CHKSUM = "file://COPYING;md5=bc649096ad3928ec06a8713b8d787eac"
6 9
7DEPENDS = "boost libdrm virtual/libg2d libtinyxml2 jsoncpp patchelf-native" 10DEPENDS = "boost jsoncpp libdrm libtinyxml2 patchelf-native virtual/libg2d"
8 11
9SRC_URI = "${FSL_MIRROR}/${BP}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true" 12SRC_URI = "${FSL_MIRROR}/${BP}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true"
10SRC_URI += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '${ISP_SYSTEMD_PATCH}', '', d)}" 13SRC_URI += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '${ISP_SYSTEMD_PATCH}', '', d)}"
@@ -34,7 +37,7 @@ LDFLAGS:append = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-
34 37
35SYSTEMD_SERVICE:${PN} = "imx8-isp.service" 38SYSTEMD_SERVICE:${PN} = "imx8-isp.service"
36 39
37EXTRA_OECMAKE += " \ 40EXTRA_OECMAKE += "\
38 -DSDKTARGETSYSROOT=${STAGING_DIR_HOST} \ 41 -DSDKTARGETSYSROOT=${STAGING_DIR_HOST} \
39 -DCMAKE_BUILD_TYPE=release \ 42 -DCMAKE_BUILD_TYPE=release \
40 -DISP_VERSION=ISP8000NANO_V1802 \ 43 -DISP_VERSION=ISP8000NANO_V1802 \
@@ -83,7 +86,7 @@ do_install() {
83FILES_SOLIBSDEV = "" 86FILES_SOLIBSDEV = ""
84FILES:${PN} += "/opt ${libdir}/lib*${SOLIBSDEV}" 87FILES:${PN} += "/opt ${libdir}/lib*${SOLIBSDEV}"
85FILES:${PN}-dev += "${FILES_SOLIBS_VERSIONED}" 88FILES:${PN}-dev += "${FILES_SOLIBS_VERSIONED}"
86FILES_SOLIBS_VERSIONED = " \ 89FILES_SOLIBS_VERSIONED = "\
87 ${libdir}/libcppnetlib-client-connections.so \ 90 ${libdir}/libcppnetlib-client-connections.so \
88 ${libdir}/libcppnetlib-server-parsers.so \ 91 ${libdir}/libcppnetlib-server-parsers.so \
89 ${libdir}/libcppnetlib-uri.so \ 92 ${libdir}/libcppnetlib-uri.so \
diff --git a/recipes-bsp/libimxdmabuffer/libimxdmabuffer_1.2.0.bb b/recipes-bsp/libimxdmabuffer/libimxdmabuffer_1.2.0.bb
index a94d6bf14..3296ebd94 100644
--- a/recipes-bsp/libimxdmabuffer/libimxdmabuffer_1.2.0.bb
+++ b/recipes-bsp/libimxdmabuffer/libimxdmabuffer_1.2.0.bb
@@ -1,5 +1,5 @@
1DESCRIPTION = 'Library for allocating and managing physically contiguous memory \ 1DESCRIPTION = 'Library for allocating and managing physically contiguous memory \
2 ("DMA memory" or "DMA buffers") on i.MX devices.' 2 ("DMA memory" or "DMA buffers") on i.MX devices.'
3HOMEPAGE = "https://github.com/Freescale/libimxdmabuffer" 3HOMEPAGE = "https://github.com/Freescale/libimxdmabuffer"
4LICENSE = "LGPL-2.1-only" 4LICENSE = "LGPL-2.1-only"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=38fa42a5a6425b26d2919b17b1527324" 5LIC_FILES_CHKSUM = "file://LICENSE;md5=38fa42a5a6425b26d2919b17b1527324"
@@ -11,7 +11,7 @@ SRCBRANCH ?= "master"
11SRCREV = "d44deb80af881b82f394d44696433e6695022c8c" 11SRCREV = "d44deb80af881b82f394d44696433e6695022c8c"
12SRC_URI = "git://github.com/Freescale/libimxdmabuffer.git;branch=${SRCBRANCH};protocol=https \ 12SRC_URI = "git://github.com/Freescale/libimxdmabuffer.git;branch=${SRCBRANCH};protocol=https \
13 file://run-ptest \ 13 file://run-ptest \
14 " 14 "
15 15
16inherit pkgconfig waf use-imx-headers ptest 16inherit pkgconfig waf use-imx-headers ptest
17 17
@@ -47,33 +47,33 @@ CACHED_DMA_HEAP_CONF = "--dma-heap-device-node-path=${CACHED_DMA_HEAP_DEVICE_NOD
47UNCACHED_DMA_HEAP_CONF = "--dma-heap-device-node-path=${UNCACHED_DMA_HEAP_DEVICE_NODE_PATH} \ 47UNCACHED_DMA_HEAP_CONF = "--dma-heap-device-node-path=${UNCACHED_DMA_HEAP_DEVICE_NODE_PATH} \
48 --dma-heap-uncached-memory" 48 --dma-heap-uncached-memory"
49 49
50PACKAGECONFIG ?= " " 50PACKAGECONFIG ?= ""
51PACKAGECONFIG:append:imxgpu2d = " ${LIBG2D_PACKAGECONFIG}" 51PACKAGECONFIG:append:imxgpu2d = " ${LIBG2D_PACKAGECONFIG}"
52PACKAGECONFIG:append:imxipu = " ipu" 52PACKAGECONFIG:append:imxipu = " ipu"
53PACKAGECONFIG:append:imxpxp = " pxp" 53PACKAGECONFIG:append:imxpxp = " pxp"
54# All i.MX8 machines can use the dma-heap allocator. i.MX8m ones 54# All i.MX8 machines can use the dma-heap allocator. i.MX8m ones
55# can also use the DWL allocator, though dma-heap is preferred. 55# can also use the DWL allocator, though dma-heap is preferred.
56# Vendor kernels that are older than kernel 5.6 cannot use 56# Vendor kernels that are older than kernel 5.6 cannot use
57# dma-heap, however, and should use ion instead, since the 57# dma-heap, however, and should use ion instead, since the
58# former is not available pre-5.6. Out of the dma-heaps, we 58# former is not available pre-5.6. Out of the dma-heaps, we
59# pick the uncached one by default (see above). 59# pick the uncached one by default (see above).
60PACKAGECONFIG:append:mx8-nxp-bsp = " dma-heap-uncached" 60PACKAGECONFIG:append:mx8-nxp-bsp = " dma-heap-uncached"
61PACKAGECONFIG:append:mx8mq-nxp-bsp = " dwl" 61PACKAGECONFIG:append:mx8mq-nxp-bsp = " dwl"
62PACKAGECONFIG:append:mx8mm-nxp-bsp = " dwl" 62PACKAGECONFIG:append:mx8mm-nxp-bsp = " dwl"
63PACKAGECONFIG:append:mx8mp-nxp-bsp = " dwl" 63PACKAGECONFIG:append:mx8mp-nxp-bsp = " dwl"
64 64
65HANTRO_CONF = "--hantro-headers-path=${STAGING_INCDIR}/hantro_dec --hantro-decoder-version=G2" 65HANTRO_CONF = "--hantro-headers-path=${STAGING_INCDIR}/hantro_dec --hantro-decoder-version=G2"
66 66
67PACKAGECONFIG[dwl] = "--with-dwl-allocator=yes ${HANTRO_CONF}, --with-dwl-allocator=no,imx-vpu-hantro" 67PACKAGECONFIG[dwl] = "--with-dwl-allocator=yes ${HANTRO_CONF}, --with-dwl-allocator=no,imx-vpu-hantro"
68PACKAGECONFIG[ion] = "--with-ion-allocator=yes, --with-ion-allocator=no," 68PACKAGECONFIG[ion] = "--with-ion-allocator=yes, --with-ion-allocator=no,"
69PACKAGECONFIG[ipu] = "--with-ipu-allocator=yes, --with-ipu-allocator=no," 69PACKAGECONFIG[ipu] = "--with-ipu-allocator=yes, --with-ipu-allocator=no,"
70PACKAGECONFIG[g2d] = "--with-g2d-allocator=yes, --with-g2d-allocator=no,virtual/libg2d" 70PACKAGECONFIG[g2d] = "--with-g2d-allocator=yes, --with-g2d-allocator=no,virtual/libg2d"
71PACKAGECONFIG[pxp] = "--with-pxp-allocator=yes, --with-pxp-allocator=no," 71PACKAGECONFIG[pxp] = "--with-pxp-allocator=yes, --with-pxp-allocator=no,"
72# --with-dma-heap-allocator=no is not added by these packageconfigs. 72# --with-dma-heap-allocator=no is not added by these packageconfigs.
73# Otherwise, it would always be added, since only one of these two 73# Otherwise, it would always be added, since only one of these two
74# dma-heap-* packageconfigs can be selected. Instead, that switch 74# dma-heap-* packageconfigs can be selected. Instead, that switch
75# is added to EXTRA_OECONF above. 75# is added to EXTRA_OECONF above.
76PACKAGECONFIG[dma-heap-cached] = "--with-dma-heap-allocator=yes ${CACHED_DMA_HEAP_CONF}, \ 76PACKAGECONFIG[dma-heap-cached] = "--with-dma-heap-allocator=yes ${CACHED_DMA_HEAP_CONF}, \
77 ,,,,dma-heap-uncached" 77 ,,,,dma-heap-uncached"
78PACKAGECONFIG[dma-heap-uncached] = "--with-dma-heap-allocator=yes ${UNCACHED_DMA_HEAP_CONF}, \ 78PACKAGECONFIG[dma-heap-uncached] = "--with-dma-heap-allocator=yes ${UNCACHED_DMA_HEAP_CONF}, \
79 ,,,,dma-heap-cached" 79 ,,,,dma-heap-cached"
diff --git a/recipes-bsp/ls2-phy/ls2-phy_git.bb b/recipes-bsp/ls2-phy/ls2-phy_git.bb
index 60ab5e183..4a6e5ea87 100644
--- a/recipes-bsp/ls2-phy/ls2-phy_git.bb
+++ b/recipes-bsp/ls2-phy/ls2-phy_git.bb
@@ -1,4 +1,7 @@
1SUMMARY = "Firmwares and Standalone Applications" 1SUMMARY = "Firmwares and Standalone Applications"
2DESCRIPTION = "Cortina PHY firmware and standalone applications for NXP QorIQ platforms"
3HOMEPAGE = "https://github.com/nxp/qoriq-firmware-cortina"
4SECTION = "firmware"
2LICENSE = "NXP-Binary-EULA" 5LICENSE = "NXP-Binary-EULA"
3LIC_FILES_CHKSUM = "file://EULA.txt;md5=86d76166990962fa552f840ff08e5798" 6LIC_FILES_CHKSUM = "file://EULA.txt;md5=86d76166990962fa552f840ff08e5798"
4 7
@@ -9,7 +12,7 @@ SRCREV = "9143c2a3adede595966583c00ca4edc99ec698cf"
9 12
10do_install () { 13do_install () {
11 install -d ${D}/boot 14 install -d ${D}/boot
12 cp -fr ${S}/* ${D}/boot 15 install -m 0644 ${S}/* ${D}/boot
13} 16}
14 17
15do_deploy () { 18do_deploy () {
@@ -18,9 +21,10 @@ do_deploy () {
18} 21}
19addtask deploy before do_build after do_install 22addtask deploy before do_build after do_install
20 23
24PACKAGE_ARCH = "${MACHINE_ARCH}"
25
21PACKAGES += "${PN}-image" 26PACKAGES += "${PN}-image"
22FILES:${PN}-image += "/boot" 27FILES:${PN}-image += "/boot"
23 28
24COMPATIBLE_MACHINE = "(qoriq)" 29COMPATIBLE_MACHINE = "(qoriq)"
25PACKAGE_ARCH = "${MACHINE_ARCH}"
26 30
diff --git a/recipes-bsp/mc-utils/mc-utils_git.bb b/recipes-bsp/mc-utils/mc-utils_git.bb
index 2d09bbcc8..ff502afb4 100644
--- a/recipes-bsp/mc-utils/mc-utils_git.bb
+++ b/recipes-bsp/mc-utils/mc-utils_git.bb
@@ -1,4 +1,5 @@
1DESCRIPTION = "The Management Complex (MC) is a key component of DPAA" 1DESCRIPTION = "The Management Complex (MC) is a key component of DPAA"
2HOMEPAGE = "https://github.com/nxp-qoriq/mc-utils"
2SECTION = "mc-utils" 3SECTION = "mc-utils"
3LICENSE = "BSD-3-Clause" 4LICENSE = "BSD-3-Clause"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=386a6287daa6504b7e7e5014ddfb3987" 5LIC_FILES_CHKSUM = "file://LICENSE;md5=386a6287daa6504b7e7e5014ddfb3987"
@@ -20,20 +21,20 @@ MC_FLAVOUR ?= "${@oe.utils.ifelse(d.getVar('MACHINE').endswith('qds'), 'QDS', 'R
20MC_FOLDER ?= "${@d.getVar('MC_CFG').upper() + '-' + d.getVar('MC_FLAVOUR')}" 21MC_FOLDER ?= "${@d.getVar('MC_CFG').upper() + '-' + d.getVar('MC_FLAVOUR')}"
21 22
22do_compile () { 23do_compile () {
23 oe_runmake -C config 24 oe_runmake -C config
24} 25}
25 26
26do_install () { 27do_install () {
27 install -d ${D}/boot/mc-utils 28 install -d ${D}/boot/mc-utils
28 if [ -e ${S}/config/${MC_CFG}/${MC_FOLDER} ]; then 29 if [ -e ${S}/config/${MC_CFG}/${MC_FOLDER} ]; then
29 cp -r ${S}/config/${MC_CFG}/${MC_FOLDER}/* ${D}/boot/mc-utils/ 30 cp -r ${S}/config/${MC_CFG}/${MC_FOLDER}/* ${D}/boot/mc-utils/
30 fi 31 fi
31 find ${D}/boot/mc-utils/ ! -name "*.dtb" ! -type d -exec rm {} \; 32 find ${D}/boot/mc-utils/ ! -name "*.dtb" ! -type d -exec rm {} \;
32} 33}
33 34
34do_deploy () { 35do_deploy () {
35 install -d ${DEPLOYDIR}/mc-utils 36 install -d ${DEPLOYDIR}/mc-utils
36 cp -r ${D}/boot/mc-utils/* ${DEPLOYDIR}/mc-utils/ 37 cp -r ${D}/boot/mc-utils/* ${DEPLOYDIR}/mc-utils/
37} 38}
38addtask deploy after do_install 39addtask deploy after do_install
39 40
diff --git a/recipes-bsp/mxsldr/mxsldr_git.bb b/recipes-bsp/mxsldr/mxsldr_git.bb
index ade3570c4..f6ba313da 100644
--- a/recipes-bsp/mxsldr/mxsldr_git.bb
+++ b/recipes-bsp/mxsldr/mxsldr_git.bb
@@ -1,24 +1,26 @@
1# Copyright (C) 2012 O.S. Systems Software LTDA. 1# Copyright (C) 2012 O.S. Systems Software LTDA.
2# Released under the MIT license (see COPYING.MIT for the terms) 2# Released under the MIT license (see COPYING.MIT for the terms)
3 3
4SUMMARY = "i.MX233/i.MX28 USB loader"
4DESCRIPTION = "Freescale i.MX233/i.MX28 USB loader" 5DESCRIPTION = "Freescale i.MX233/i.MX28 USB loader"
5DEPENDS = "libusb1" 6HOMEPAGE = "https://source.denx.de/denx/mxsldr"
7SECTION = "devel"
6LICENSE = "GPL-2.0-or-later" 8LICENSE = "GPL-2.0-or-later"
7LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" 9LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
10DEPENDS = "libusb1"
8 11
9SRCREV = "c40d80472525e1d57dae5317c028b745968c0399" 12PV = "0.0.0+git${SRCPV}"
10SRC_URI = "git://source.denx.de/denx/mxsldr.git;branch=master;protocol=https \ 13SRC_URI = "git://source.denx.de/denx/mxsldr.git;branch=master;protocol=https \
11 file://0001-Do-not-ignore-OE-cflags-and-ldflags.patch \ 14 file://0001-Do-not-ignore-OE-cflags-and-ldflags.patch \
12 " 15 "
13 16SRCREV = "c40d80472525e1d57dae5317c028b745968c0399"
14PV = "0.0.0+git${SRCPV}"
15 17
16inherit pkgconfig 18inherit pkgconfig
17 19
18do_compile() { 20do_compile() {
19 oe_runmake 21 oe_runmake
20} 22}
21do_install() { 23do_install() {
22 oe_runmake install DESTDIR="${D}" 24 oe_runmake install DESTDIR="${D}"
23} 25}
24BBCLASSEXTEND = "native nativesdk" 26BBCLASSEXTEND = "native nativesdk"
diff --git a/recipes-bsp/ppfe-firmware/ppfe-firmware_git.bb b/recipes-bsp/ppfe-firmware/ppfe-firmware_git.bb
index ddbb2031c..f01939adc 100644
--- a/recipes-bsp/ppfe-firmware/ppfe-firmware_git.bb
+++ b/recipes-bsp/ppfe-firmware/ppfe-firmware_git.bb
@@ -1,8 +1,10 @@
1SUMMARY = "PPFE Linux firmware" 1SUMMARY = "PPFE Linux firmware"
2DESCRIPTION = "Packet Forwarding Engine (PFE) firmware binaries for NXP LS1012A SoCs"
3HOMEPAGE = "https://github.com/NXP/qoriq-engine-pfe-bin"
4SECTION = "firmware"
2LICENSE = "NXP-Binary-EULA" 5LICENSE = "NXP-Binary-EULA"
3LIC_FILES_CHKSUM = "file://NXP-Binary-EULA.txt;md5=92723670f432558b9e2494ed177d2a85" 6LIC_FILES_CHKSUM = "file://NXP-Binary-EULA.txt;md5=92723670f432558b9e2494ed177d2a85"
4 7
5
6INHIBIT_DEFAULT_DEPS = "1" 8INHIBIT_DEFAULT_DEPS = "1"
7 9
8inherit deploy 10inherit deploy
@@ -26,6 +28,8 @@ do_deploy () {
26addtask deploy after do_install 28addtask deploy after do_install
27 29
28FILES:${PN} += "${nonarch_base_libdir}/firmware /boot/" 30FILES:${PN} += "${nonarch_base_libdir}/firmware /boot/"
31# Prebuilt firmware blobs: foreign target arch, already stripped.
32# nooelint: oelint.vars.insaneskip
29INSANE_SKIP:${PN} += "arch already-stripped" 33INSANE_SKIP:${PN} += "arch already-stripped"
30INHIBIT_PACKAGE_STRIP = "1" 34INHIBIT_PACKAGE_STRIP = "1"
31INHIBIT_SYSROOT_STRIP = "1" 35INHIBIT_SYSROOT_STRIP = "1"
diff --git a/recipes-bsp/qe-ucode/qe-ucode_git.bb b/recipes-bsp/qe-ucode/qe-ucode_git.bb
index 582fb1e46..0d1820326 100644
--- a/recipes-bsp/qe-ucode/qe-ucode_git.bb
+++ b/recipes-bsp/qe-ucode/qe-ucode_git.bb
@@ -1,4 +1,5 @@
1DESCRIPTION = "qe microcode binary" 1DESCRIPTION = "qe microcode binary"
2HOMEPAGE = "https://github.com/NXP/qoriq-qe-ucode"
2SECTION = "qe-ucode" 3SECTION = "qe-ucode"
3LICENSE = "NXP-Binary-EULA" 4LICENSE = "NXP-Binary-EULA"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=c62f8109b4df15ca37ceeb5e4943626c" 5LIC_FILES_CHKSUM = "file://LICENSE;md5=c62f8109b4df15ca37ceeb5e4943626c"
diff --git a/recipes-bsp/rcw/rcw_git.bb b/recipes-bsp/rcw/rcw_git.bb
index f7e309ae7..dbcc42108 100644
--- a/recipes-bsp/rcw/rcw_git.bb
+++ b/recipes-bsp/rcw/rcw_git.bb
@@ -1,5 +1,6 @@
1SUMMARY = "Reset Configuration Word" 1SUMMARY = "Reset Configuration Word"
2DESCRIPTION = "Reset Configuration Word - hardware boot-time parameters for the QorIQ targets" 2DESCRIPTION = "Reset Configuration Word - hardware boot-time parameters for the QorIQ targets"
3HOMEPAGE = "https://github.com/nxp-qoriq/rcw"
3LICENSE = "BSD-3-Clause" 4LICENSE = "BSD-3-Clause"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=44a0d0fad189770cc022af4ac6262cbe" 5LIC_FILES_CHKSUM = "file://LICENSE;md5=44a0d0fad189770cc022af4ac6262cbe"
5 6
diff --git a/recipes-bsp/u-boot/u-boot-fslc-common_2025.01.inc b/recipes-bsp/u-boot/u-boot-fslc-common_2025.01.inc
index 9cc6b958d..7d0189e17 100644
--- a/recipes-bsp/u-boot/u-boot-fslc-common_2025.01.inc
+++ b/recipes-bsp/u-boot/u-boot-fslc-common_2025.01.inc
@@ -4,6 +4,7 @@
4inherit fsl-u-boot-localversion 4inherit fsl-u-boot-localversion
5 5
6LICENSE = "GPL-2.0-or-later" 6LICENSE = "GPL-2.0-or-later"
7HOMEPAGE = "https://github.com/Freescale/u-boot-fslc"
7LIC_FILES_CHKSUM = "file://Licenses/README;md5=2ca5f2c35c8cc335f0a19756634782f1" 8LIC_FILES_CHKSUM = "file://Licenses/README;md5=2ca5f2c35c8cc335f0a19756634782f1"
8 9
9DEPENDS += "flex-native bison-native" 10DEPENDS += "flex-native bison-native"
diff --git a/recipes-bsp/u-boot/u-boot-fslc-mxsboot_2025.01.bb b/recipes-bsp/u-boot/u-boot-fslc-mxsboot_2025.01.bb
index b7e4ca760..fe2e62452 100644
--- a/recipes-bsp/u-boot/u-boot-fslc-mxsboot_2025.01.bb
+++ b/recipes-bsp/u-boot/u-boot-fslc-mxsboot_2025.01.bb
@@ -5,7 +5,7 @@ SECTION = "bootloader"
5 5
6inherit python3native 6inherit python3native
7 7
8DEPENDS += " \ 8DEPENDS += "\
9 bison-native \ 9 bison-native \
10 dtc \ 10 dtc \
11 gnutls \ 11 gnutls \
diff --git a/recipes-bsp/u-boot/u-boot-fslc_2025.01.bb b/recipes-bsp/u-boot/u-boot-fslc_2025.01.bb
index 4dc698219..681156041 100644
--- a/recipes-bsp/u-boot/u-boot-fslc_2025.01.bb
+++ b/recipes-bsp/u-boot/u-boot-fslc_2025.01.bb
@@ -2,9 +2,9 @@ require recipes-bsp/u-boot/u-boot.inc
2require u-boot-fslc-common_${PV}.inc 2require u-boot-fslc-common_${PV}.inc
3 3
4DESCRIPTION = "U-Boot based on mainline U-Boot used by FSL Community BSP in \ 4DESCRIPTION = "U-Boot based on mainline U-Boot used by FSL Community BSP in \
5order to provide support for some backported features and fixes, or because it \ 5 order to provide support for some backported features and fixes, or because it \
6was submitted for revision and it takes some time to become part of a stable \ 6 was submitted for revision and it takes some time to become part of a stable \
7version, or because it is not applicable for upstreaming." 7 version, or because it is not applicable for upstreaming."
8 8
9DEPENDS += "bc-native dtc-native python3-setuptools-native gnutls-native" 9DEPENDS += "bc-native dtc-native python3-setuptools-native gnutls-native"
10 10
@@ -16,8 +16,8 @@ B = "${WORKDIR}/build"
16# used for generating the boot logo and other tools used 16# used for generating the boot logo and other tools used
17# during the build process. 17# during the build process.
18EXTRA_OEMAKE += 'HOSTCC="${BUILD_CC} ${BUILD_CPPFLAGS}" \ 18EXTRA_OEMAKE += 'HOSTCC="${BUILD_CC} ${BUILD_CPPFLAGS}" \
19 HOSTLDFLAGS="${BUILD_LDFLAGS}" \ 19 HOSTLDFLAGS="${BUILD_LDFLAGS}" \
20 HOSTSTRIP=true' 20 HOSTSTRIP=true'
21 21
22inherit ${@oe.utils.ifelse(d.getVar('UBOOT_PROVIDES_BOOT_CONTAINER') == '1', 'imx-boot-container', '')} 22inherit ${@oe.utils.ifelse(d.getVar('UBOOT_PROVIDES_BOOT_CONTAINER') == '1', 'imx-boot-container', '')}
23inherit uuu_bootloader_tag 23inherit uuu_bootloader_tag
diff --git a/recipes-bsp/u-boot/u-boot-imx-common_2025.04.inc b/recipes-bsp/u-boot/u-boot-imx-common_2025.04.inc
index b80bf61d7..9dd2b61fe 100644
--- a/recipes-bsp/u-boot/u-boot-imx-common_2025.04.inc
+++ b/recipes-bsp/u-boot/u-boot-imx-common_2025.04.inc
@@ -9,7 +9,7 @@ SRCBRANCH = "lf_v2025.04"
9LOCALVERSION ?= "-${SRCBRANCH}" 9LOCALVERSION ?= "-${SRCBRANCH}"
10SRCREV = "4ddbad60eff308a5b356fb9ab8734ac382ddd692" 10SRCREV = "4ddbad60eff308a5b356fb9ab8734ac382ddd692"
11 11
12DEPENDS += " \ 12DEPENDS += "\
13 bc-native \ 13 bc-native \
14 bison-native \ 14 bison-native \
15 dtc-native \ 15 dtc-native \
diff --git a/recipes-bsp/u-boot/u-boot-imx_2025.04.bb b/recipes-bsp/u-boot/u-boot-imx_2025.04.bb
index a27291460..31424c27a 100644
--- a/recipes-bsp/u-boot/u-boot-imx_2025.04.bb
+++ b/recipes-bsp/u-boot/u-boot-imx_2025.04.bb
@@ -4,6 +4,7 @@
4 4
5require recipes-bsp/u-boot/u-boot.inc 5require recipes-bsp/u-boot/u-boot.inc
6require u-boot-imx-common_${PV}.inc 6require u-boot-imx-common_${PV}.inc
7HOMEPAGE = "https://github.com/nxp-imx/uboot-imx"
7 8
8PROVIDES += "u-boot u-boot-mfgtool" 9PROVIDES += "u-boot u-boot-mfgtool"
9 10
diff --git a/recipes-bsp/u-boot/u-boot-qoriq_2025.04.bb b/recipes-bsp/u-boot/u-boot-qoriq_2025.04.bb
index 11e5ea0ff..b7162df8c 100644
--- a/recipes-bsp/u-boot/u-boot-qoriq_2025.04.bb
+++ b/recipes-bsp/u-boot/u-boot-qoriq_2025.04.bb
@@ -1,12 +1,13 @@
1require recipes-bsp/u-boot/u-boot.inc 1require recipes-bsp/u-boot/u-boot.inc
2 2
3DESCRIPTION = "U-Boot provided by Freescale with focus on QorIQ boards" 3DESCRIPTION = "U-Boot provided by Freescale with focus on QorIQ boards"
4HOMEPAGE = "https://github.com/nxp-qoriq/u-boot"
4PROVIDES += "u-boot" 5PROVIDES += "u-boot"
5 6
6inherit fsl-u-boot-localversion 7inherit fsl-u-boot-localversion
7 8
8LICENSE = "GPL-2.0-only & BSD-3-Clause & BSD-2-Clause & LGPL-2.0-only & LGPL-2.1-only" 9LICENSE = "GPL-2.0-only & BSD-3-Clause & BSD-2-Clause & LGPL-2.0-only & LGPL-2.1-only"
9LIC_FILES_CHKSUM = " \ 10LIC_FILES_CHKSUM = "\
10 file://Licenses/gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ 11 file://Licenses/gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
11 file://Licenses/bsd-2-clause.txt;md5=6a31f076f5773aabd8ff86191ad6fdd5 \ 12 file://Licenses/bsd-2-clause.txt;md5=6a31f076f5773aabd8ff86191ad6fdd5 \
12 file://Licenses/bsd-3-clause.txt;md5=4a1190eac56a9db675d58ebe86eaf50c \ 13 file://Licenses/bsd-3-clause.txt;md5=4a1190eac56a9db675d58ebe86eaf50c \
@@ -26,7 +27,7 @@ PV:append = "+fslgit"
26LOCALVERSION = "+fsl" 27LOCALVERSION = "+fsl"
27 28
28INHIBIT_DEFAULT_DEPS = "1" 29INHIBIT_DEFAULT_DEPS = "1"
29DEPENDS = "libgcc virtual/cross-cc bison-native bc-native gnutls-native swig-native python3-native" 30DEPENDS = "bc-native bison-native gnutls-native libgcc python3-native swig-native virtual/cross-cc"
30DEPENDS:append:qoriq-arm64 = " dtc-native" 31DEPENDS:append:qoriq-arm64 = " dtc-native"
31DEPENDS:append:qoriq-arm = " dtc-native" 32DEPENDS:append:qoriq-arm = " dtc-native"
32DEPENDS:append:qoriq-ppc = " boot-format-native" 33DEPENDS:append:qoriq-ppc = " boot-format-native"
diff --git a/recipes-bsp/uefi/uefi_git.bb b/recipes-bsp/uefi/uefi_git.bb
index c0222a817..be47c1f57 100644
--- a/recipes-bsp/uefi/uefi_git.bb
+++ b/recipes-bsp/uefi/uefi_git.bb
@@ -1,4 +1,5 @@
1DESCRIPTION = "Unified Extensible Firmware Interface" 1DESCRIPTION = "Unified Extensible Firmware Interface"
2HOMEPAGE = "https://github.com/NXP/qoriq-uefi-binary"
2SECTION = "bootloaders" 3SECTION = "bootloaders"
3LICENSE = "NXP-Binary-EULA" 4LICENSE = "NXP-Binary-EULA"
4LIC_FILES_CHKSUM = "file://NXP-Binary-EULA;md5=343ec8f06efc37467a6de53686fa6315" 5LIC_FILES_CHKSUM = "file://NXP-Binary-EULA;md5=343ec8f06efc37467a6de53686fa6315"
diff --git a/recipes-connectivity/mbedtls/mbedtls_3.6.5.bb b/recipes-connectivity/mbedtls/mbedtls_3.6.5.bb
index e6dfe4309..18d3f9598 100644
--- a/recipes-connectivity/mbedtls/mbedtls_3.6.5.bb
+++ b/recipes-connectivity/mbedtls/mbedtls_3.6.5.bb
@@ -1,18 +1,18 @@
1SUMMARY = "Lightweight crypto and SSL/TLS library" 1SUMMARY = "Lightweight crypto and SSL/TLS library"
2DESCRIPTION = "mbedtls is a lean open source crypto library \ 2DESCRIPTION = "mbedtls is a lean open source crypto library \
3for providing SSL and TLS support in your programs. It offers \ 3 for providing SSL and TLS support in your programs. It offers \
4an intuitive API and documented header files, so you can actually \ 4 an intuitive API and documented header files, so you can actually \
5understand what the code does. It features: \ 5 understand what the code does. It features: \
6 \ 6 \
7 - Symmetric algorithms, like AES, Blowfish, Triple-DES, DES, ARC4, \ 7 - Symmetric algorithms, like AES, Blowfish, Triple-DES, DES, ARC4, \
8 Camellia and XTEA \ 8 Camellia and XTEA \
9 - Hash algorithms, like SHA-1, SHA-2, RIPEMD-160 and MD5 \ 9 - Hash algorithms, like SHA-1, SHA-2, RIPEMD-160 and MD5 \
10 - Entropy pool and random generators, like CTR-DRBG and HMAC-DRBG \ 10 - Entropy pool and random generators, like CTR-DRBG and HMAC-DRBG \
11 - Public key algorithms, like RSA, Elliptic Curves, Diffie-Hellman, \ 11 - Public key algorithms, like RSA, Elliptic Curves, Diffie-Hellman, \
12 ECDSA and ECDH \ 12 ECDSA and ECDH \
13 - SSL v3 and TLS 1.0, 1.1 and 1.2 \ 13 - SSL v3 and TLS 1.0, 1.1 and 1.2 \
14 - Abstraction layers for ciphers, hashes, public key operations, \ 14 - Abstraction layers for ciphers, hashes, public key operations, \
15 platform abstraction and threading \ 15 platform abstraction and threading \
16" 16"
17 17
18HOMEPAGE = "https://tls.mbed.org/" 18HOMEPAGE = "https://tls.mbed.org/"
@@ -59,20 +59,20 @@ CVE_PRODUCT = "mbed_tls"
59 59
60# Strip host paths from autogenerated test files 60# Strip host paths from autogenerated test files
61do_compile:append() { 61do_compile:append() {
62 sed -i 's+${S}/++g' ${B}/tests/*.c 2>/dev/null || : 62 sed -i 's+${S}/++g' ${B}/tests/*.c 2>/dev/null || :
63 sed -i 's+${B}/++g' ${B}/tests/*.c 2>/dev/null || : 63 sed -i 's+${B}/++g' ${B}/tests/*.c 2>/dev/null || :
64} 64}
65 65
66# Export source files/headers needed by Arm Trusted Firmware 66# Export source files/headers needed by Arm Trusted Firmware
67sysroot_stage_all:append() { 67sysroot_stage_all:append() {
68 sysroot_stage_dir "${S}/library" "${SYSROOT_DESTDIR}/usr/share/mbedtls-source/library" 68 sysroot_stage_dir "${S}/library" "${SYSROOT_DESTDIR}/usr/share/mbedtls-source/library"
69 sysroot_stage_dir "${S}/include" "${SYSROOT_DESTDIR}/usr/share/mbedtls-source/include" 69 sysroot_stage_dir "${S}/include" "${SYSROOT_DESTDIR}/usr/share/mbedtls-source/include"
70} 70}
71 71
72do_install_ptest () { 72do_install_ptest () {
73 install -d ${D}${PTEST_PATH}/tests 73 install -d ${D}${PTEST_PATH}/tests
74 install -d ${D}${PTEST_PATH}/framework 74 install -d ${D}${PTEST_PATH}/framework
75 cp -f ${B}/tests/test_suite_* ${D}${PTEST_PATH}/tests/ 75 cp -f ${B}/tests/test_suite_* ${D}${PTEST_PATH}/tests/
76 find ${D}${PTEST_PATH}/tests/ -type f -name "*.c" -delete 76 find ${D}${PTEST_PATH}/tests/ -type f -name "*.c" -delete
77 cp -fR ${S}/framework/data_files ${D}${PTEST_PATH}/framework/ 77 cp -fR ${S}/framework/data_files ${D}${PTEST_PATH}/framework/
78} 78}
diff --git a/recipes-core/packagegroup/nativesdk-packagegroup-sdk-host.bbappend b/recipes-core/packagegroup/nativesdk-packagegroup-sdk-host.bbappend
index 5c492725b..a20bf03a5 100644
--- a/recipes-core/packagegroup/nativesdk-packagegroup-sdk-host.bbappend
+++ b/recipes-core/packagegroup/nativesdk-packagegroup-sdk-host.bbappend
@@ -1,4 +1,4 @@
1RDEPENDS:${PN} += " \ 1RDEPENDS:${PN} += "\
2 nativesdk-mxsldr \ 2 nativesdk-mxsldr \
3 nativesdk-u-boot-mkimage \ 3 nativesdk-u-boot-mkimage \
4 nativesdk-imx-usb-loader \ 4 nativesdk-imx-usb-loader \
diff --git a/recipes-core/udev/udev-rules-imx.bb b/recipes-core/udev/udev-rules-imx.bb
index cd8d5ccb6..0f510e760 100644
--- a/recipes-core/udev/udev-rules-imx.bb
+++ b/recipes-core/udev/udev-rules-imx.bb
@@ -1,9 +1,11 @@
1SUMMARY = "udev rules for i.MX SoCs"
1DESCRIPTION = "udev rules for Freescale i.MX SOCs" 2DESCRIPTION = "udev rules for Freescale i.MX SOCs"
2HOMEPAGE = "https://github.com/Freescale/meta-freescale/" 3HOMEPAGE = "https://github.com/Freescale/meta-freescale/"
4SECTION = "base"
3LICENSE = "MIT" 5LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 6LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
5 7
6SRC_URI = " file://10-imx.rules" 8SRC_URI = "file://10-imx.rules"
7 9
8S = "${UNPACKDIR}" 10S = "${UNPACKDIR}"
9 11
diff --git a/recipes-core/udev/udev-rules-qoriq.bb b/recipes-core/udev/udev-rules-qoriq.bb
index bd6158fe6..d30fb91b1 100644
--- a/recipes-core/udev/udev-rules-qoriq.bb
+++ b/recipes-core/udev/udev-rules-qoriq.bb
@@ -1,4 +1,7 @@
1SUMMARY = "udev rules for QorIQ SoCs"
1DESCRIPTION = "udev rules for Freescale QorIQ SOCs" 2DESCRIPTION = "udev rules for Freescale QorIQ SOCs"
3HOMEPAGE = "https://github.com/Freescale/meta-freescale/"
4SECTION = "base"
2LICENSE = "MIT" 5LICENSE = "MIT"
3LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 6LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
4 7
@@ -16,10 +19,10 @@ RULE:e6500 = "72-fsl-dpaa-persistent-networking.rules"
16RULE:e6500-64b = "72-fsl-dpaa-persistent-networking.rules" 19RULE:e6500-64b = "72-fsl-dpaa-persistent-networking.rules"
17RULE:t1024 = "72-fsl-dpaa-persistent-networking.rules" 20RULE:t1024 = "72-fsl-dpaa-persistent-networking.rules"
18RULE:qoriq-arm64 = "73-fsl-dpaa-persistent-networking.rules \ 21RULE:qoriq-arm64 = "73-fsl-dpaa-persistent-networking.rules \
19 73-fsl-enetc-networking.rules \ 22 73-fsl-enetc-networking.rules \
20" 23"
21RULE:ls1046a = "73-fsl-dpaa-persistent-networking.rules \ 24RULE:ls1046a = "73-fsl-dpaa-persistent-networking.rules \
22 74-ls1046a-xfi2-networking.rules \ 25 74-ls1046a-xfi2-networking.rules \
23" 26"
24RULE:ls1012a = "" 27RULE:ls1012a = ""
25 28
diff --git a/recipes-devtools/devregs/devregs_git.bb b/recipes-devtools/devregs/devregs_git.bb
index 9d2155e1f..4ac89c43f 100644
--- a/recipes-devtools/devregs/devregs_git.bb
+++ b/recipes-devtools/devregs/devregs_git.bb
@@ -1,11 +1,12 @@
1DESCRIPTION = "i.MX Register tool" 1SUMMARY = "i.MX register access tool"
2DESCRIPTION = "Command-line tool to read and write i.MX SoC registers by name"
3HOMEPAGE = "https://github.com/boundarydevices/devregs"
2SECTION = "devel" 4SECTION = "devel"
3LICENSE = "GPL-2.0-only" 5LICENSE = "GPL-2.0-only"
4LIC_FILES_CHKSUM = "file://COPYING;md5=5003fa041d799dd5dd5f646b74e36924" 6LIC_FILES_CHKSUM = "file://COPYING;md5=5003fa041d799dd5dd5f646b74e36924"
5 7
6SRCREV = "dcc3e3f26d3d867d5297a104dc32bd99f5e6fa71"
7SRC_URI = "git://github.com/boundarydevices/devregs.git;protocol=https;branch=master"
8
9PV = "1.0+${SRCPV}" 8PV = "1.0+${SRCPV}"
9SRC_URI = "git://github.com/boundarydevices/devregs.git;protocol=https;branch=master"
10SRCREV = "dcc3e3f26d3d867d5297a104dc32bd99f5e6fa71"
10 11
11inherit autotools 12inherit autotools
diff --git a/recipes-devtools/half/half_2.1.0.bb b/recipes-devtools/half/half_2.1.0.bb
index 4914f8701..ca7984a4c 100644
--- a/recipes-devtools/half/half_2.1.0.bb
+++ b/recipes-devtools/half/half_2.1.0.bb
@@ -1,7 +1,8 @@
1SUMMARY = "C++ library for half precision floating point arithmetics" 1SUMMARY = "C++ library for half precision floating point arithmetics"
2DESCRIPTION = "half is a C++ header-only library to provide an IEEE-754 conformant \ 2DESCRIPTION = "half is a C++ header-only library to provide an IEEE-754 conformant \
3half-precision floating point type along with corresponding arithmetic operators, \ 3 half-precision floating point type along with corresponding arithmetic operators, \
4type conversions and common mathematical functions." 4 type conversions and common mathematical functions."
5HOMEPAGE = "https://half.sourceforge.net/"
5 6
6LICENSE = "MIT" 7LICENSE = "MIT"
7LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=813a6278831975d26c115ed6f9c21831" 8LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=813a6278831975d26c115ed6f9c21831"
diff --git a/recipes-devtools/imx-usb-loader/imx-usb-loader_git.bb b/recipes-devtools/imx-usb-loader/imx-usb-loader_git.bb
index c14fd955b..1f8c95f86 100644
--- a/recipes-devtools/imx-usb-loader/imx-usb-loader_git.bb
+++ b/recipes-devtools/imx-usb-loader/imx-usb-loader_git.bb
@@ -1,17 +1,18 @@
1DESCRIPTION = "i.MX/Vybrid recovery utility" 1SUMMARY = "i.MX/Vybrid USB recovery utility"
2DESCRIPTION = "Utility to load and run programs on i.MX/Vybrid SoCs over USB using the serial download protocol"
3HOMEPAGE = "https://github.com/boundarydevices/imx_usb_loader"
2SECTION = "devel" 4SECTION = "devel"
3LICENSE = "LGPL-2.1-only" 5LICENSE = "LGPL-2.1-only"
4LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" 6LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
5 7
6DEPENDS = "libusb1" 8DEPENDS = "libusb1"
7 9
8SRCREV = "f009770d841468204ab104bf7d3b0c5bc8425dbb"
9SRC_URI = "git://github.com/boundarydevices/imx_usb_loader.git;protocol=https;branch=master"
10
11PV = "1.0+${SRCPV}" 10PV = "1.0+${SRCPV}"
11SRC_URI = "git://github.com/boundarydevices/imx_usb_loader.git;protocol=https;branch=master"
12SRCREV = "f009770d841468204ab104bf7d3b0c5bc8425dbb"
12 13
13do_install () { 14do_install () {
14 oe_runmake DESTDIR=${D} install 15 oe_runmake DESTDIR=${D} install
15} 16}
16 17
17inherit pkgconfig 18inherit pkgconfig
diff --git a/recipes-devtools/qemu/qemu-qoriq.inc b/recipes-devtools/qemu/qemu-qoriq.inc
index 60686bde8..c9a0b68e8 100644
--- a/recipes-devtools/qemu/qemu-qoriq.inc
+++ b/recipes-devtools/qemu/qemu-qoriq.inc
@@ -1,8 +1,8 @@
1SUMMARY = "Fast open source processor emulator" 1SUMMARY = "Fast open source processor emulator"
2DESCRIPTION = "QEMU is a hosted virtual machine monitor: it emulates the \ 2DESCRIPTION = "QEMU is a hosted virtual machine monitor: it emulates the \
3machine's processor through dynamic binary translation and provides a set \ 3 machine's processor through dynamic binary translation and provides a set \
4of different hardware and device models for the machine, enabling it to run \ 4 of different hardware and device models for the machine, enabling it to run \
5a variety of guest operating systems" 5 a variety of guest operating systems"
6HOMEPAGE = "http://qemu.org" 6HOMEPAGE = "http://qemu.org"
7LICENSE = "GPL-2.0-only & LGPL-2.1-only" 7LICENSE = "GPL-2.0-only & LGPL-2.1-only"
8 8
@@ -37,9 +37,9 @@ SRC_URI = "https://download.qemu.org/${BPN}-${PV}.tar.xz \
37 file://CVE-2020-25624.patch \ 37 file://CVE-2020-25624.patch \
38 file://CVE-2020-25723.patch \ 38 file://CVE-2020-25723.patch \
39 file://CVE-2020-28916.patch \ 39 file://CVE-2020-28916.patch \
40 file://CVE-2020-35517.patch \ 40 file://CVE-2020-35517.patch \
41 file://CVE-2020-29443.patch \ 41 file://CVE-2020-29443.patch \
42 file://CVE-2021-20203.patch \ 42 file://CVE-2021-20203.patch \
43 " 43 "
44UPSTREAM_CHECK_REGEX = "qemu-(?P<pver>\d+(\.\d+)+)\.tar" 44UPSTREAM_CHECK_REGEX = "qemu-(?P<pver>\d+(\.\d+)+)\.tar"
45 45
@@ -58,25 +58,25 @@ do_install:append() {
58} 58}
59 59
60do_compile_ptest() { 60do_compile_ptest() {
61 make buildtest-TESTS 61 make buildtest-TESTS
62} 62}
63 63
64do_install_ptest() { 64do_install_ptest() {
65 cp -rL ${B}/tests ${D}${PTEST_PATH} 65 cp -rL ${B}/tests ${D}${PTEST_PATH}
66 find ${D}${PTEST_PATH}/tests -type f -name "*.[Sshcod]" | xargs -i rm -rf {} 66 find ${D}${PTEST_PATH}/tests -type f -name "*.[Sshcod]" | xargs -i rm -rf {}
67 67
68 cp ${S}/tests/Makefile.include ${D}${PTEST_PATH}/tests 68 cp ${S}/tests/Makefile.include ${D}${PTEST_PATH}/tests
69 # Don't check the file genreated by configure 69 # Don't check the file genreated by configure
70 sed -i -e '/wildcard config-host.mak/d' \ 70 sed -i -e '/wildcard config-host.mak/d' \
71 -e '$ {/endif/d}' ${D}${PTEST_PATH}/tests/Makefile.include 71 -e '$ {/endif/d}' ${D}${PTEST_PATH}/tests/Makefile.include
72 sed -i -e 's,${HOSTTOOLS_DIR}/python3,${bindir}/python3,' \ 72 sed -i -e 's,${HOSTTOOLS_DIR}/python3,${bindir}/python3,' \
73 ${D}/${PTEST_PATH}/tests/qemu-iotests/common.env 73 ${D}/${PTEST_PATH}/tests/qemu-iotests/common.env
74} 74}
75 75
76# QEMU_TARGETS is overridable variable 76# QEMU_TARGETS is overridable variable
77QEMU_TARGETS ?= "arm aarch64 i386 mips mipsel mips64 mips64el ppc ppc64 ppc64le riscv32 riscv64 sh4 x86_64" 77QEMU_TARGETS ?= "arm aarch64 i386 mips mipsel mips64 mips64el ppc ppc64 ppc64le riscv32 riscv64 sh4 x86_64"
78 78
79EXTRA_OECONF = " \ 79EXTRA_OECONF = "\
80 --prefix=${prefix} \ 80 --prefix=${prefix} \
81 --bindir=${bindir} \ 81 --bindir=${bindir} \
82 --includedir=${includedir} \ 82 --includedir=${includedir} \
@@ -95,7 +95,7 @@ EXTRA_OECONF = " \
95 --with-git=/bin/false \ 95 --with-git=/bin/false \
96 --disable-git-update \ 96 --disable-git-update \
97 ${PACKAGECONFIG_CONFARGS} \ 97 ${PACKAGECONFIG_CONFARGS} \
98 " 98"
99 99
100export LIBTOOL = "${HOST_SYS}-libtool" 100export LIBTOOL = "${HOST_SYS}-libtool"
101 101
@@ -104,11 +104,11 @@ B = "${WORKDIR}/build"
104EXTRA_OECONF:append = " --python=${HOSTTOOLS_DIR}/python3" 104EXTRA_OECONF:append = " --python=${HOSTTOOLS_DIR}/python3"
105 105
106do_configure:prepend:class-native() { 106do_configure:prepend:class-native() {
107 # Append build host pkg-config paths for native target since the host may provide sdl 107 # Append build host pkg-config paths for native target since the host may provide sdl
108 BHOST_PKGCONFIG_PATH=$(PATH=/usr/bin:/bin pkg-config --variable pc_path pkg-config || echo "") 108 BHOST_PKGCONFIG_PATH=$(PATH=/usr/bin:/bin pkg-config --variable pc_path pkg-config || echo "")
109 if [ ! -z "$BHOST_PKGCONFIG_PATH" ]; then 109 if [ ! -z "$BHOST_PKGCONFIG_PATH" ]; then
110 export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$BHOST_PKGCONFIG_PATH 110 export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$BHOST_PKGCONFIG_PATH
111 fi 111 fi
112} 112}
113 113
114do_configure() { 114do_configure() {
@@ -117,8 +117,8 @@ do_configure() {
117do_configure[cleandirs] += "${B}" 117do_configure[cleandirs] += "${B}"
118 118
119do_install () { 119do_install () {
120 export STRIP="" 120 export STRIP=""
121 oe_runmake 'DESTDIR=${D}' install 121 oe_runmake 'DESTDIR=${D}' install
122} 122}
123 123
124# The following fragment will create a wrapper for qemu-mips user emulation 124# The following fragment will create a wrapper for qemu-mips user emulation
@@ -128,10 +128,10 @@ do_install () {
128# the qemu-mips works fine. 128# the qemu-mips works fine.
129# IMPORTANT: This piece needs to be removed once the root cause is fixed! 129# IMPORTANT: This piece needs to be removed once the root cause is fixed!
130do_install:append() { 130do_install:append() {
131 if [ -e "${D}/${bindir}/qemu-mips" ]; then 131 if [ -e "${D}/${bindir}/qemu-mips" ]; then
132 create_wrapper ${D}/${bindir}/qemu-mips \ 132 create_wrapper ${D}/${bindir}/qemu-mips \
133 QEMU_RESERVED_VA=0x0 133 QEMU_RESERVED_VA=0x0
134 fi 134 fi
135} 135}
136# END of qemu-mips workaround 136# END of qemu-mips workaround
137 137
diff --git a/recipes-devtools/qemu/qemu-qoriq_4.2.bb b/recipes-devtools/qemu/qemu-qoriq_4.2.bb
index 8996a2f44..db0ed3423 100644
--- a/recipes-devtools/qemu/qemu-qoriq_4.2.bb
+++ b/recipes-devtools/qemu/qemu-qoriq_4.2.bb
@@ -4,7 +4,7 @@ require qemu-qoriq.inc
4 4
5COMPATIBLE_MACHINE = "(qoriq)" 5COMPATIBLE_MACHINE = "(qoriq)"
6 6
7DEPENDS = "glib-2.0 zlib pixman bison-native" 7DEPENDS = "bison-native glib-2.0 pixman zlib"
8 8
9LIC_FILES_CHKSUM = "file://COPYING;md5=441c28d2cf86e15a37fa47e15a72fbac \ 9LIC_FILES_CHKSUM = "file://COPYING;md5=441c28d2cf86e15a37fa47e15a72fbac \
10 file://COPYING.LIB;endline=24;md5=8c5efda6cf1e1b03dcfd0e6c0d271c7f" 10 file://COPYING.LIB;endline=24;md5=8c5efda6cf1e1b03dcfd0e6c0d271c7f"
@@ -49,7 +49,7 @@ do_install_ptest() {
49 ${D}/${PTEST_PATH}/tests/qemu-iotests/common.env 49 ${D}/${PTEST_PATH}/tests/qemu-iotests/common.env
50} 50}
51 51
52PACKAGECONFIG ??= " \ 52PACKAGECONFIG ??= "\
53 fdt sdl kvm aio libusb vhost numa \ 53 fdt sdl kvm aio libusb vhost numa \
54 ${@bb.utils.filter('DISTRO_FEATURES', 'alsa xen', d)} \ 54 ${@bb.utils.filter('DISTRO_FEATURES', 'alsa xen', d)} \
55" 55"
diff --git a/recipes-devtools/qoriq-cst/qoriq-cst_git.bb b/recipes-devtools/qoriq-cst/qoriq-cst_git.bb
index eb01f5427..48e410e8a 100644
--- a/recipes-devtools/qoriq-cst/qoriq-cst_git.bb
+++ b/recipes-devtools/qoriq-cst/qoriq-cst_git.bb
@@ -1,4 +1,5 @@
1SUMMARY = "utility for security boot" 1SUMMARY = "utility for security boot"
2HOMEPAGE = "https://github.com/nxp-qoriq/cst"
2SECTION = "cst" 3SECTION = "cst"
3LICENSE = "BSD-3-Clause" 4LICENSE = "BSD-3-Clause"
4 5
@@ -37,5 +38,5 @@ do_install () {
37 38
38FILES:${PN}-dbg += "${bindir}/cst/.debug" 39FILES:${PN}-dbg += "${bindir}/cst/.debug"
39BBCLASSEXTEND = "native nativesdk" 40BBCLASSEXTEND = "native nativesdk"
40INSANE_SKIP:${PN}-dbg += " buildpaths" 41INSANE_SKIP:${PN}-dbg += "buildpaths"
41 42
diff --git a/recipes-devtools/stb/stb_git.bb b/recipes-devtools/stb/stb_git.bb
index f5d52f809..db165588b 100644
--- a/recipes-devtools/stb/stb_git.bb
+++ b/recipes-devtools/stb/stb_git.bb
@@ -1,11 +1,14 @@
1SUMMARY = "single-file public domain (or MIT licensed) libraries for C/C++" 1SUMMARY = "single-file public domain (or MIT licensed) libraries for C/C++"
2DESCRIPTION = "Collection of single-file public domain (or MIT licensed) libraries for C/C++ covering image loading and writing, font rasterisation and more"
3HOMEPAGE = "https://github.com/nothings/stb"
4SECTION = "libs"
2LICENSE = "MIT" 5LICENSE = "MIT"
3LIC_FILES_CHKSUM = "file://stb.h;beginline=14418;endline=14433;md5=b10975d4c8155af1811ab611586f01d2" 6LIC_FILES_CHKSUM = "file://stb.h;beginline=14418;endline=14433;md5=b10975d4c8155af1811ab611586f01d2"
4 7
5PV = "0.0+git${SRCPV}" 8PV = "0.0+git${SRCPV}"
6 9
7SRCREV = "f67165c2bb2af3060ecae7d20d6f731173485ad0"
8SRC_URI = "git://github.com/nothings/stb.git;protocol=https;branch=master" 10SRC_URI = "git://github.com/nothings/stb.git;protocol=https;branch=master"
11SRCREV = "f67165c2bb2af3060ecae7d20d6f731173485ad0"
9 12
10do_install() { 13do_install() {
11 install -d ${D}${includedir} 14 install -d ${D}${includedir}
diff --git a/recipes-devtools/uuu/uuu-bin_1.5.233.bb b/recipes-devtools/uuu/uuu-bin_1.5.233.bb
index ec2f40e00..b0fcbc09a 100644
--- a/recipes-devtools/uuu/uuu-bin_1.5.233.bb
+++ b/recipes-devtools/uuu/uuu-bin_1.5.233.bb
@@ -9,7 +9,7 @@ LICENSE = "BSD-3-Clause & LGPL-2.1-or-later"
9LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/BSD-3-Clause;md5=550794465ba0ec5312d6919e203a55f9 \ 9LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/BSD-3-Clause;md5=550794465ba0ec5312d6919e203a55f9 \
10 file://${COMMON_LICENSE_DIR}/LGPL-2.1-or-later;md5=2a4f4fd2128ea2f65047ee63fbca9f68" 10 file://${COMMON_LICENSE_DIR}/LGPL-2.1-or-later;md5=2a4f4fd2128ea2f65047ee63fbca9f68"
11 11
12SRC_URI = " \ 12SRC_URI = "\
13 https://github.com/nxp-imx/mfgtools/releases/download/uuu_${PV}/uuu;downloadfilename=uuu-${PV};name=Linux \ 13 https://github.com/nxp-imx/mfgtools/releases/download/uuu_${PV}/uuu;downloadfilename=uuu-${PV};name=Linux \
14 https://github.com/nxp-imx/mfgtools/releases/download/uuu_${PV}/uuu_mac_x86;downloadfilename=uuu-${PV}_mac_x86;name=Mac_x86 \ 14 https://github.com/nxp-imx/mfgtools/releases/download/uuu_${PV}/uuu_mac_x86;downloadfilename=uuu-${PV}_mac_x86;name=Mac_x86 \
15 https://github.com/nxp-imx/mfgtools/releases/download/uuu_${PV}/uuu_mac_arm;downloadfilename=uuu-${PV}_mac_arm;name=Mac_arm \ 15 https://github.com/nxp-imx/mfgtools/releases/download/uuu_${PV}/uuu_mac_arm;downloadfilename=uuu-${PV}_mac_arm;name=Mac_arm \
diff --git a/recipes-downgrade/glslang/glslang_1.3.275.0.imx.bb b/recipes-downgrade/glslang/glslang_1.3.275.0.imx.bb
index 7b3c2f606..02693c4fe 100644
--- a/recipes-downgrade/glslang/glslang_1.3.275.0.imx.bb
+++ b/recipes-downgrade/glslang/glslang_1.3.275.0.imx.bb
@@ -1,8 +1,8 @@
1SUMMARY = "OpenGL / OpenGL ES Reference Compiler" 1SUMMARY = "OpenGL / OpenGL ES Reference Compiler"
2DESCRIPTION = "Glslang is the official reference compiler front end for the \ 2DESCRIPTION = "Glslang is the official reference compiler front end for the \
3OpenGL ES and OpenGL shading languages. It implements a strict interpretation \ 3 OpenGL ES and OpenGL shading languages. It implements a strict interpretation \
4of the specifications for these languages. It is open and free for anyone to use, \ 4 of the specifications for these languages. It is open and free for anyone to use, \
5either from a command line or programmatically." 5 either from a command line or programmatically."
6SECTION = "graphics" 6SECTION = "graphics"
7HOMEPAGE = "https://www.khronos.org/opengles/sdk/tools/Reference-Compiler" 7HOMEPAGE = "https://www.khronos.org/opengles/sdk/tools/Reference-Compiler"
8LICENSE = "BSD-3-Clause & BSD-2-Clause & MIT & Apache-2.0 & GPL-3-with-bison-exception" 8LICENSE = "BSD-3-Clause & BSD-2-Clause & MIT & Apache-2.0 & GPL-3-with-bison-exception"
@@ -24,7 +24,7 @@ inherit cmake python3native
24 24
25DEPENDS = "spirv-tools" 25DEPENDS = "spirv-tools"
26 26
27EXTRA_OECMAKE = " \ 27EXTRA_OECMAKE = "\
28 -DCMAKE_BUILD_TYPE=Release \ 28 -DCMAKE_BUILD_TYPE=Release \
29 -DBUILD_SHARED_LIBS=ON \ 29 -DBUILD_SHARED_LIBS=ON \
30 -DENABLE_PCH=OFF \ 30 -DENABLE_PCH=OFF \
diff --git a/recipes-downgrade/spir/spirv-tools_1.3.275.0.imx.bb b/recipes-downgrade/spir/spirv-tools_1.3.275.0.imx.bb
index 6b0c0a3f7..c1141bde7 100644
--- a/recipes-downgrade/spir/spirv-tools_1.3.275.0.imx.bb
+++ b/recipes-downgrade/spir/spirv-tools_1.3.275.0.imx.bb
@@ -1,10 +1,10 @@
1SUMMARY = "The SPIR-V Tools project provides an API and commands for \ 1SUMMARY = "The SPIR-V Tools project provides an API and commands for \
2processing SPIR-V modules" 2 processing SPIR-V modules"
3DESCRIPTION = "The project includes an assembler, binary module parser, \ 3DESCRIPTION = "The project includes an assembler, binary module parser, \
4disassembler, validator, and optimizer for SPIR-V." 4 disassembler, validator, and optimizer for SPIR-V."
5HOMEPAGE = "https://github.com/KhronosGroup/SPIRV-Tools" 5HOMEPAGE = "https://github.com/KhronosGroup/SPIRV-Tools"
6SECTION = "graphics" 6SECTION = "graphics"
7LICENSE = "Apache-2.0" 7LICENSE = "Apache-2.0"
8LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" 8LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
9 9
10SRCREV = "f0cc85efdbbe3a46eae90e0f915dc1509836d0fc" 10SRCREV = "f0cc85efdbbe3a46eae90e0f915dc1509836d0fc"
diff --git a/recipes-downgrade/vulkan/vulkan-headers_1.3.275.0.imx.bb b/recipes-downgrade/vulkan/vulkan-headers_1.3.275.0.imx.bb
index 24630d0db..60a0c3a1a 100644
--- a/recipes-downgrade/vulkan/vulkan-headers_1.3.275.0.imx.bb
+++ b/recipes-downgrade/vulkan/vulkan-headers_1.3.275.0.imx.bb
@@ -1,8 +1,8 @@
1SUMMARY = "Vulkan Header files and API registry" 1SUMMARY = "Vulkan Header files and API registry"
2DESCRIPTION = "Vulkan is a 3D graphics and compute API providing cross-platform access \ 2DESCRIPTION = "Vulkan is a 3D graphics and compute API providing cross-platform access \
3to modern GPUs with low overhead and targeting realtime graphics applications such as \ 3 to modern GPUs with low overhead and targeting realtime graphics applications such as \
4games and interactive media. This package contains the development headers \ 4 games and interactive media. This package contains the development headers \
5for packages wanting to make use of Vulkan." 5 for packages wanting to make use of Vulkan."
6HOMEPAGE = "https://www.khronos.org/vulkan/" 6HOMEPAGE = "https://www.khronos.org/vulkan/"
7BUGTRACKER = "https://github.com/KhronosGroup/Vulkan-Headers" 7BUGTRACKER = "https://github.com/KhronosGroup/Vulkan-Headers"
8SECTION = "libs" 8SECTION = "libs"
diff --git a/recipes-downgrade/vulkan/vulkan-loader_1.3.275.0.imx.bb b/recipes-downgrade/vulkan/vulkan-loader_1.3.275.0.imx.bb
index 24fef1743..9d0df70dd 100644
--- a/recipes-downgrade/vulkan/vulkan-loader_1.3.275.0.imx.bb
+++ b/recipes-downgrade/vulkan/vulkan-loader_1.3.275.0.imx.bb
@@ -1,8 +1,8 @@
1SUMMARY = "3D graphics and compute API common loader" 1SUMMARY = "3D graphics and compute API common loader"
2DESCRIPTION = "Vulkan is a new generation graphics and compute API \ 2DESCRIPTION = "Vulkan is a new generation graphics and compute API \
3that provides efficient access to modern GPUs. These packages \ 3 that provides efficient access to modern GPUs. These packages \
4provide only the common vendor-agnostic library loader, headers and \ 4 provide only the common vendor-agnostic library loader, headers and \
5the vulkaninfo utility." 5 the vulkaninfo utility."
6HOMEPAGE = "https://www.khronos.org/vulkan/" 6HOMEPAGE = "https://www.khronos.org/vulkan/"
7BUGTRACKER = "https://github.com/KhronosGroup/Vulkan-Loader" 7BUGTRACKER = "https://github.com/KhronosGroup/Vulkan-Loader"
8SECTION = "libs" 8SECTION = "libs"
@@ -19,12 +19,12 @@ inherit cmake features_check pkgconfig
19DEPENDS += "vulkan-headers" 19DEPENDS += "vulkan-headers"
20 20
21EXTRA_OECMAKE = "\ 21EXTRA_OECMAKE = "\
22 -DBUILD_TESTS=OFF \ 22 -DBUILD_TESTS=OFF \
23 -DPYTHON_EXECUTABLE=${HOSTTOOLS_DIR}/python3 \ 23 -DPYTHON_EXECUTABLE=${HOSTTOOLS_DIR}/python3 \
24 -DASSEMBLER_WORKS=FALSE \ 24 -DASSEMBLER_WORKS=FALSE \
25 -DVulkanHeaders_INCLUDE_DIR=${STAGING_INCDIR} \ 25 -DVulkanHeaders_INCLUDE_DIR=${STAGING_INCDIR} \
26 -DVulkanRegistry_DIR=${RECIPE_SYSROOT}/${datadir} \ 26 -DVulkanRegistry_DIR=${RECIPE_SYSROOT}/${datadir} \
27 " 27"
28 28
29PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'wayland x11', d)}" 29PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'wayland x11', d)}"
30 30
diff --git a/recipes-downgrade/vulkan/vulkan-tools_1.3.275.0.imx.bb b/recipes-downgrade/vulkan/vulkan-tools_1.3.275.0.imx.bb
index f5fe8523d..4b0304f82 100644
--- a/recipes-downgrade/vulkan/vulkan-tools_1.3.275.0.imx.bb
+++ b/recipes-downgrade/vulkan/vulkan-tools_1.3.275.0.imx.bb
@@ -16,10 +16,10 @@ REQUIRED_DISTRO_FEATURES = "vulkan"
16DEPENDS += "vulkan-headers vulkan-loader vulkan-volk" 16DEPENDS += "vulkan-headers vulkan-loader vulkan-volk"
17 17
18EXTRA_OECMAKE = "\ 18EXTRA_OECMAKE = "\
19 -DBUILD_TESTS=OFF \ 19 -DBUILD_TESTS=OFF \
20 -DBUILD_CUBE=OFF \ 20 -DBUILD_CUBE=OFF \
21 -DPYTHON_EXECUTABLE=${HOSTTOOLS_DIR}/python3 \ 21 -DPYTHON_EXECUTABLE=${HOSTTOOLS_DIR}/python3 \
22 " 22"
23 23
24# must choose x11 or wayland or both 24# must choose x11 or wayland or both
25PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'wayland x11', d)}" 25PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'wayland x11', d)}"
diff --git a/recipes-downgrade/vulkan/vulkan-utility-libraries_1.3.275.0.imx.bb b/recipes-downgrade/vulkan/vulkan-utility-libraries_1.3.275.0.imx.bb
index 8ec4cbae9..fce4e0313 100644
--- a/recipes-downgrade/vulkan/vulkan-utility-libraries_1.3.275.0.imx.bb
+++ b/recipes-downgrade/vulkan/vulkan-utility-libraries_1.3.275.0.imx.bb
@@ -1,7 +1,7 @@
1SUMMARY = "Vulkan Utility Libraries" 1SUMMARY = "Vulkan Utility Libraries"
2DESCRIPTION = "Common libraries created to share code across various \ 2DESCRIPTION = "Common libraries created to share code across various \
3Vulkan repositories, solving long standing issues for Vulkan SDK \ 3 Vulkan repositories, solving long standing issues for Vulkan SDK \
4developers and users." 4 developers and users."
5HOMEPAGE = "https://www.khronos.org/vulkan/" 5HOMEPAGE = "https://www.khronos.org/vulkan/"
6BUGTRACKER = "https://github.com/KhronosGroup/Vulkan-Utility-Libraries" 6BUGTRACKER = "https://github.com/KhronosGroup/Vulkan-Utility-Libraries"
7SECTION = "libs" 7SECTION = "libs"
@@ -18,7 +18,7 @@ DEPENDS = "vulkan-headers"
18 18
19EXTRA_OECMAKE = "\ 19EXTRA_OECMAKE = "\
20 -DBUILD_TESTS=OFF \ 20 -DBUILD_TESTS=OFF \
21 " 21"
22 22
23inherit cmake features_check pkgconfig 23inherit cmake features_check pkgconfig
24 24
diff --git a/recipes-downgrade/vulkan/vulkan-validation-layers_1.3.275.0.imx.bb b/recipes-downgrade/vulkan/vulkan-validation-layers_1.3.275.0.imx.bb
index 3068dd184..facad5834 100644
--- a/recipes-downgrade/vulkan/vulkan-validation-layers_1.3.275.0.imx.bb
+++ b/recipes-downgrade/vulkan/vulkan-validation-layers_1.3.275.0.imx.bb
@@ -1,6 +1,6 @@
1SUMMARY = "Vulkan Validation layers" 1SUMMARY = "Vulkan Validation layers"
2DESCRIPTION = "Khronos official Vulkan validation layers to assist developers \ 2DESCRIPTION = "Khronos official Vulkan validation layers to assist developers \
3in verifying that their applications correctly use the Vulkan API" 3 in verifying that their applications correctly use the Vulkan API"
4HOMEPAGE = "https://www.khronos.org/vulkan/" 4HOMEPAGE = "https://www.khronos.org/vulkan/"
5BUGTRACKER = "https://github.com/KhronosGroup/Vulkan-ValidationLayers" 5BUGTRACKER = "https://github.com/KhronosGroup/Vulkan-ValidationLayers"
6SECTION = "libs" 6SECTION = "libs"
@@ -13,7 +13,7 @@ SRCREV = "780c65337e111c7385109c7b720d757a778e4fe2"
13 13
14REQUIRED_DISTRO_FEATURES = "vulkan" 14REQUIRED_DISTRO_FEATURES = "vulkan"
15 15
16DEPENDS = "vulkan-headers vulkan-loader spirv-headers spirv-tools glslang vulkan-utility-libraries" 16DEPENDS = "glslang spirv-headers spirv-tools vulkan-headers vulkan-loader vulkan-utility-libraries"
17 17
18# BUILD_TESTS - Not required for OE builds 18# BUILD_TESTS - Not required for OE builds
19# USE_ROBIN_HOOD_HASHING - Provides substantial performance improvements on all platforms. 19# USE_ROBIN_HOOD_HASHING - Provides substantial performance improvements on all platforms.
@@ -24,7 +24,7 @@ EXTRA_OECMAKE = "\
24 -DGLSLANG_INSTALL_DIR=${STAGING_LIBDIR} \ 24 -DGLSLANG_INSTALL_DIR=${STAGING_LIBDIR} \
25 -DVULKAN_HEADERS_INSTALL_DIR=${STAGING_EXECPREFIXDIR} \ 25 -DVULKAN_HEADERS_INSTALL_DIR=${STAGING_EXECPREFIXDIR} \
26 -DSPIRV_HEADERS_INSTALL_DIR=${STAGING_EXECPREFIXDIR} \ 26 -DSPIRV_HEADERS_INSTALL_DIR=${STAGING_EXECPREFIXDIR} \
27 " 27"
28 28
29PACKAGECONFIG[x11] = "-DBUILD_WSI_XLIB_SUPPORT=ON -DBUILD_WSI_XCB_SUPPORT=ON, -DBUILD_WSI_XLIB_SUPPORT=OFF -DBUILD_WSI_XCB_SUPPORT=OFF, libxcb libx11 libxrandr" 29PACKAGECONFIG[x11] = "-DBUILD_WSI_XLIB_SUPPORT=ON -DBUILD_WSI_XCB_SUPPORT=ON, -DBUILD_WSI_XLIB_SUPPORT=OFF -DBUILD_WSI_XCB_SUPPORT=OFF, libxcb libx11 libxrandr"
30PACKAGECONFIG[wayland] = "-DBUILD_WSI_WAYLAND_SUPPORT=ON, -DBUILD_WSI_WAYLAND_SUPPORT=OFF, wayland" 30PACKAGECONFIG[wayland] = "-DBUILD_WSI_WAYLAND_SUPPORT=ON, -DBUILD_WSI_WAYLAND_SUPPORT=OFF, wayland"
diff --git a/recipes-dpaa/eth-config/eth-config_git.bb b/recipes-dpaa/eth-config/eth-config_git.bb
index 858442aff..6d8f2d349 100644
--- a/recipes-dpaa/eth-config/eth-config_git.bb
+++ b/recipes-dpaa/eth-config/eth-config_git.bb
@@ -1,4 +1,6 @@
1SUMMARY = "Ethernet config files"
1DESCRIPTION = "Ethernet Configuration Files" 2DESCRIPTION = "Ethernet Configuration Files"
3HOMEPAGE = "https://github.com/nxp-qoriq/eth-config"
2SECTION = "eth-config" 4SECTION = "eth-config"
3LICENSE = "BSD-3-Clause & GPL-2.0-or-later" 5LICENSE = "BSD-3-Clause & GPL-2.0-or-later"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=47716bd5b656aa5e298a132a64d2d1e4" 6LIC_FILES_CHKSUM = "file://LICENSE;md5=47716bd5b656aa5e298a132a64d2d1e4"
diff --git a/recipes-dpaa/flib/flib_git.bb b/recipes-dpaa/flib/flib_git.bb
index b7eafe627..f04def836 100644
--- a/recipes-dpaa/flib/flib_git.bb
+++ b/recipes-dpaa/flib/flib_git.bb
@@ -1,4 +1,6 @@
1DESCRIPTION = "Foundation Library" 1SUMMARY = "SEC descriptor foundation library"
2DESCRIPTION = "Foundation library of frame descriptors for the QorIQ SEC (crypto) block."
3HOMEPAGE = "https://github.com/nxp-qoriq/flib"
2SECTION = "flib" 4SECTION = "flib"
3LICENSE = "BSD-3-Clause & GPL-2.0-only" 5LICENSE = "BSD-3-Clause & GPL-2.0-only"
4LIC_FILES_CHKSUM = "file://COPYING;md5=9f6d1afdf6b0f6b3ba65c25ba589ee53" 6LIC_FILES_CHKSUM = "file://COPYING;md5=9f6d1afdf6b0f6b3ba65c25ba589ee53"
diff --git a/recipes-dpaa/fm-ucode/fm-ucode_git.bb b/recipes-dpaa/fm-ucode/fm-ucode_git.bb
index 77305958d..60306b9b3 100644
--- a/recipes-dpaa/fm-ucode/fm-ucode_git.bb
+++ b/recipes-dpaa/fm-ucode/fm-ucode_git.bb
@@ -1,4 +1,6 @@
1SUMMARY = "Fman microcode"
1DESCRIPTION = "Fman microcode binary" 2DESCRIPTION = "Fman microcode binary"
3HOMEPAGE = "https://github.com/NXP/qoriq-fm-ucode"
2SECTION = "fm-ucode" 4SECTION = "fm-ucode"
3LICENSE = "NXP-Binary-EULA" 5LICENSE = "NXP-Binary-EULA"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=12e248d404ce1ea8bed0148fcf127e69" 6LIC_FILES_CHKSUM = "file://LICENSE;md5=12e248d404ce1ea8bed0148fcf127e69"
diff --git a/recipes-dpaa/fmlib/fmlib_git.bb b/recipes-dpaa/fmlib/fmlib_git.bb
index 2276ac3c6..761f48611 100644
--- a/recipes-dpaa/fmlib/fmlib_git.bb
+++ b/recipes-dpaa/fmlib/fmlib_git.bb
@@ -1,4 +1,6 @@
1DESCRIPTION = "Frame Manager User Space Library" 1SUMMARY = "Frame Manager userspace library"
2DESCRIPTION = "Userspace library to configure the QorIQ DPAA Frame Manager (FMan)."
3HOMEPAGE = "https://github.com/nxp-qoriq/fmlib"
2SECTION = "fman" 4SECTION = "fman"
3LICENSE = "BSD-3-Clause & GPL-2.0-only" 5LICENSE = "BSD-3-Clause & GPL-2.0-only"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=9c7bd5e45d066db084bdb3543d55b1ac" 6LIC_FILES_CHKSUM = "file://LICENSE;md5=9c7bd5e45d066db084bdb3543d55b1ac"
@@ -9,10 +11,10 @@ SRC_URI = "git://github.com/nxp-qoriq/fmlib;protocol=https;nobranch=1"
9SRCREV = "7a58ecaf0d90d71d6b78d3ac7998282a472c4394" 11SRCREV = "7a58ecaf0d90d71d6b78d3ac7998282a472c4394"
10 12
11CFLAGS += "-fmacro-prefix-map=${STAGING_KERNEL_DIR}=/usr/src/debug/fmlib/git-r1 \ 13CFLAGS += "-fmacro-prefix-map=${STAGING_KERNEL_DIR}=/usr/src/debug/fmlib/git-r1 \
12 -fdebug-prefix-map=${STAGING_KERNEL_DIR}=/usr/src/debug/fmlib/git-r1" 14 -fdebug-prefix-map=${STAGING_KERNEL_DIR}=/usr/src/debug/fmlib/git-r1"
13 15
14EXTRA_OEMAKE = "DESTDIR=${D} PREFIX=${prefix} LIB_DEST_DIR=${libdir} \ 16EXTRA_OEMAKE = "DESTDIR=${D} PREFIX=${prefix} LIB_DEST_DIR=${libdir} \
15 CROSS_COMPILE=${TARGET_PREFIX} KERNEL_SRC=${STAGING_KERNEL_DIR}" 17 CROSS_COMPILE=${TARGET_PREFIX} KERNEL_SRC=${STAGING_KERNEL_DIR}"
16 18
17TARGET_ARCH_FMLIB = "${DEFAULTTUNE}" 19TARGET_ARCH_FMLIB = "${DEFAULTTUNE}"
18TARGET_ARCH_FMLIB:qoriq-arm = "arm" 20TARGET_ARCH_FMLIB:qoriq-arm = "arm"
diff --git a/recipes-dpaa2/aiopsl/aiopsl_git.bb b/recipes-dpaa2/aiopsl/aiopsl_git.bb
index b57e33afd..661c3af50 100644
--- a/recipes-dpaa2/aiopsl/aiopsl_git.bb
+++ b/recipes-dpaa2/aiopsl/aiopsl_git.bb
@@ -1,4 +1,6 @@
1SUMMARY = "DPAA2 AIOP service layer"
1DESCRIPTION = "DPAA2 Accelerated I/O Processing service layer" 2DESCRIPTION = "DPAA2 Accelerated I/O Processing service layer"
3HOMEPAGE = "https://github.com/nxp-qoriq/aiopsl"
2SECTION = "dpaa2" 4SECTION = "dpaa2"
3LICENSE = "BSD-3-Clause" 5LICENSE = "BSD-3-Clause"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=faf479bdc4702d8033049f97e153f876" 6LIC_FILES_CHKSUM = "file://LICENSE;md5=faf479bdc4702d8033049f97e153f876"
diff --git a/recipes-dpaa2/dce/dce_git.bb b/recipes-dpaa2/dce/dce_git.bb
index a40b1672e..f2c6e5b88 100644
--- a/recipes-dpaa2/dce/dce_git.bb
+++ b/recipes-dpaa2/dce/dce_git.bb
@@ -1,11 +1,13 @@
1SUMMARY = "DPAA2 DCE userspace utilities"
1DESCRIPTION = "Decompression Compression Engine Userspace Utils" 2DESCRIPTION = "Decompression Compression Engine Userspace Utils"
3HOMEPAGE = "https://github.com/nxp-qoriq/dce"
2SECTION = "dpaa2" 4SECTION = "dpaa2"
3LICENSE = "BSD-3-Clause" 5LICENSE = "BSD-3-Clause"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=956df5ea6cfe0a1dcf2dee7ca37c0cdf" 6LIC_FILES_CHKSUM = "file://LICENSE;md5=956df5ea6cfe0a1dcf2dee7ca37c0cdf"
5 7
6SRC_URI = "git://github.com/nxp-qoriq/dce;protocol=https;nobranch=1 \ 8SRC_URI = "git://github.com/nxp-qoriq/dce;protocol=https;nobranch=1 \
7 git://github.com/nxp-qoriq/qbman_userspace;protocol=https;nobranch=1;name=qbman;destsuffix=${S}/lib/qbman_userspace \ 9 git://github.com/nxp-qoriq/qbman_userspace;protocol=https;nobranch=1;name=qbman;destsuffix=${S}/lib/qbman_userspace \
8 file://0001-support-user-merge.patch \ 10 file://0001-support-user-merge.patch \
9" 11"
10SRCREV = "88ef2e8c3845532ee64cea4349fd38fb2bd5f807" 12SRCREV = "88ef2e8c3845532ee64cea4349fd38fb2bd5f807"
11SRCREV_qbman = "2f92993a9f34e5221d6b36c63b9e30ef703e9ac3" 13SRCREV_qbman = "2f92993a9f34e5221d6b36c63b9e30ef703e9ac3"
diff --git a/recipes-dpaa2/gpp-aioptool/gpp-aioptool_git.bb b/recipes-dpaa2/gpp-aioptool/gpp-aioptool_git.bb
index 853dda9d7..026ce7100 100644
--- a/recipes-dpaa2/gpp-aioptool/gpp-aioptool_git.bb
+++ b/recipes-dpaa2/gpp-aioptool/gpp-aioptool_git.bb
@@ -1,14 +1,16 @@
1SUMMARY = "AIOP Tool userspace application"
1DESCRIPTION = "AIOP Tool is a userspace application for performing operations \ 2DESCRIPTION = "AIOP Tool is a userspace application for performing operations \
2on an AIOP Tile using MC interfaces. This application enables the user to \ 3 on an AIOP Tile using MC interfaces. This application enables the user to \
3fetch status of tile, load a valid ELF file and run it on a tile and get and set \ 4 fetch status of tile, load a valid ELF file and run it on a tile and get and set \
4time of day." 5 time of day."
6HOMEPAGE = "https://github.com/nxp-qoriq/gpp-aioptool"
5SECTION = "dpaa2" 7SECTION = "dpaa2"
6LICENSE = "BSD-3-Clause" 8LICENSE = "BSD-3-Clause"
7LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/BSD-3-Clause;md5=550794465ba0ec5312d6919e203a55f9" 9LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/BSD-3-Clause;md5=550794465ba0ec5312d6919e203a55f9"
8 10
9SRC_URI = "git://github.com/nxp-qoriq/gpp-aioptool;protocol=https;nobranch=1 \ 11SRC_URI = "git://github.com/nxp-qoriq/gpp-aioptool;protocol=https;nobranch=1 \
10 file://0001-remove-libio.h.patch \ 12 file://0001-remove-libio.h.patch \
11 file://0001-add-fcommon-to-fix-gcc-10-build-issue.patch \ 13 file://0001-add-fcommon-to-fix-gcc-10-build-issue.patch \
12" 14"
13SRCREV = "6ead470dde043f3ca67f1ba19b313dd64ec199e1" 15SRCREV = "6ead470dde043f3ca67f1ba19b313dd64ec199e1"
14 16
diff --git a/recipes-dpaa2/management-complex/management-complex_10.39.0.bb b/recipes-dpaa2/management-complex/management-complex_10.39.0.bb
index 3b5ae98ed..3e25e929c 100644
--- a/recipes-dpaa2/management-complex/management-complex_10.39.0.bb
+++ b/recipes-dpaa2/management-complex/management-complex_10.39.0.bb
@@ -1,4 +1,7 @@
1SUMMARY = "DPAA2 Management Complex Firmware" 1SUMMARY = "DPAA2 Management Complex Firmware"
2DESCRIPTION = "DPAA2 Management Complex (MC) firmware for NXP QorIQ Layerscape SoCs."
3HOMEPAGE = "https://github.com/nxp/qoriq-mc-binary"
4SECTION = "bsp"
2LICENSE = "NXP-Binary-EULA" 5LICENSE = "NXP-Binary-EULA"
3LIC_FILES_CHKSUM = "file://LICENSE;md5=0701845051a61f6012009d7d6d11b32b" 6LIC_FILES_CHKSUM = "file://LICENSE;md5=0701845051a61f6012009d7d6d11b32b"
4 7
diff --git a/recipes-dpaa2/restool/restool_git.bb b/recipes-dpaa2/restool/restool_git.bb
index 7a90bc996..601517115 100644
--- a/recipes-dpaa2/restool/restool_git.bb
+++ b/recipes-dpaa2/restool/restool_git.bb
@@ -1,4 +1,7 @@
1SUMMARY = "DPAA2 Resource Manager Tool" 1SUMMARY = "DPAA2 Resource Manager Tool"
2DESCRIPTION = "Userspace resource manager tool for DPAA2 objects on NXP QorIQ SoCs."
3HOMEPAGE = "https://github.com/nxp-qoriq/restool"
4SECTION = "base"
2LICENSE = "BSD-3-Clause | GPL-2.0-or-later" 5LICENSE = "BSD-3-Clause | GPL-2.0-or-later"
3LIC_FILES_CHKSUM = "file://LICENSE;md5=83af78c71766dd5fb1c1c3dd64a75ee7" 6LIC_FILES_CHKSUM = "file://LICENSE;md5=83af78c71766dd5fb1c1c3dd64a75ee7"
4 7
diff --git a/recipes-dpaa2/spc/spc_git.bb b/recipes-dpaa2/spc/spc_git.bb
index 93630a20c..8459dda01 100644
--- a/recipes-dpaa2/spc/spc_git.bb
+++ b/recipes-dpaa2/spc/spc_git.bb
@@ -1,18 +1,21 @@
1SUMMARY = "Soft Parser Configuration tool" 1SUMMARY = "Soft Parser Configuration tool"
2DESCRIPTION = "Soft Parser Configuration tool for the DPAA Frame Manager."
3HOMEPAGE = "https://github.com/nxp-qoriq/spc"
4SECTION = "base"
2LICENSE = "MIT" 5LICENSE = "MIT"
3LIC_FILES_CHKSUM = "file://LICENSE;md5=163b09a1c249a6ff2b28da1ceca2e0a8" 6LIC_FILES_CHKSUM = "file://LICENSE;md5=163b09a1c249a6ff2b28da1ceca2e0a8"
4 7
5DEPENDS = "libxml2 fmlib tclap" 8DEPENDS = "fmlib libxml2 tclap"
6 9
7SRC_URI = "git://github.com/nxp-qoriq/spc;protocol=https;nobranch=1" 10SRC_URI = "git://github.com/nxp-qoriq/spc;protocol=https;nobranch=1"
8SRCREV = "b8d69580e5c6aeeb9f1354ee2faed6e0134eaef4" 11SRCREV = "b8d69580e5c6aeeb9f1354ee2faed6e0134eaef4"
9 12
10EXTRA_OEMAKE = 'FMD_USPACE_HEADER_PATH="${STAGING_INCDIR}/fmd" \ 13EXTRA_OEMAKE = 'FMD_USPACE_HEADER_PATH="${STAGING_INCDIR}/fmd" \
11 FMD_USPACE_LIB_PATH="${STAGING_LIBDIR}" LIBXML2_HEADER_PATH="${STAGING_INCDIR}/libxml2" \ 14 FMD_USPACE_LIB_PATH="${STAGING_LIBDIR}" LIBXML2_HEADER_PATH="${STAGING_INCDIR}/libxml2" \
12 TCLAP_HEADER_PATH="${STAGING_INCDIR}" ' 15 TCLAP_HEADER_PATH="${STAGING_INCDIR}" '
13EXTRA_OEMAKE:class-native = 'FMCHOSTMODE=1 FMD_USPACE_HEADER_PATH="${STAGING_INCDIR}/fmd" \ 16EXTRA_OEMAKE:class-native = 'FMCHOSTMODE=1 FMD_USPACE_HEADER_PATH="${STAGING_INCDIR}/fmd" \
14 FMD_USPACE_LIB_PATH="${STAGING_LIBDIR}" LIBXML2_HEADER_PATH="${STAGING_INCDIR}/libxml2" \ 17 FMD_USPACE_LIB_PATH="${STAGING_LIBDIR}" LIBXML2_HEADER_PATH="${STAGING_INCDIR}/libxml2" \
15 TCLAP_HEADER_PATH="${STAGING_INCDIR}" ' 18 TCLAP_HEADER_PATH="${STAGING_INCDIR}" '
16 19
17EXTRA_OEMAKE_PLATFORM ?= "" 20EXTRA_OEMAKE_PLATFORM ?= ""
18 21
diff --git a/recipes-extended/crconf/crconf_git.bb b/recipes-extended/crconf/crconf_git.bb
index ed76351e1..5483c5a6c 100644
--- a/recipes-extended/crconf/crconf_git.bb
+++ b/recipes-extended/crconf/crconf_git.bb
@@ -1,4 +1,6 @@
1SUMMARY = "crconf -Linux crypto layer configuraton tool" 1SUMMARY = "crconf -Linux crypto layer configuraton tool"
2DESCRIPTION = "Command-line tool to configure the Linux kernel crypto layer (crconf)."
3HOMEPAGE = "https://sourceforge.net/projects/crconf/"
2SECTION = "base" 4SECTION = "base"
3LICENSE = "GPL-2.0-only" 5LICENSE = "GPL-2.0-only"
4LIC_FILES_CHKSUM = "file://Makefile;beginline=1;endline=5;md5=0f77fc44eb5911007ae4ac9f6736e111" 6LIC_FILES_CHKSUM = "file://Makefile;beginline=1;endline=5;md5=0f77fc44eb5911007ae4ac9f6736e111"
diff --git a/recipes-extended/dpdk/dpdk_22.11.bb b/recipes-extended/dpdk/dpdk_22.11.bb
index 84bda4770..6460c855a 100644
--- a/recipes-extended/dpdk/dpdk_22.11.bb
+++ b/recipes-extended/dpdk/dpdk_22.11.bb
@@ -9,7 +9,7 @@ DEPENDS = "python3-pyelftools-native"
9 9
10DPDK_SRC ?= "git://github.com/nxp-qoriq/dpdk;protocol=https" 10DPDK_SRC ?= "git://github.com/nxp-qoriq/dpdk;protocol=https"
11SRC_URI = "${DPDK_SRC};nobranch=1 \ 11SRC_URI = "${DPDK_SRC};nobranch=1 \
12 file://0001-meson.build-march-and-mcpu-already-passed-by-Yocto.patch" 12 file://0001-meson.build-march-and-mcpu-already-passed-by-Yocto.patch"
13SRCREV = "e09ece7ebcda131ee3d5a45999ad3396ee2092ae" 13SRCREV = "e09ece7ebcda131ee3d5a45999ad3396ee2092ae"
14 14
15inherit meson pkgconfig 15inherit meson pkgconfig
@@ -25,14 +25,14 @@ DPDK_EXAMPLES ?= "l2fwd,l3fwd,l2fwd-crypto,ipsec-secgw,ip_fragmentation,ip_reass
25DPDK_APPS ?= "pdump,test-pmd,proc-info,test-crypto-perf" 25DPDK_APPS ?= "pdump,test-pmd,proc-info,test-crypto-perf"
26 26
27# kernel module is provide by dpdk-module recipe, so disable here 27# kernel module is provide by dpdk-module recipe, so disable here
28EXTRA_OEMESON = " \ 28EXTRA_OEMESON = "\
29 -Denable_kmods=false \ 29 -Denable_kmods=false \
30 -Doptimization=3 \ 30 -Doptimization=3 \
31 --cross-file ${S}/config/arm/arm64_poky_linux_gcc \ 31 --cross-file ${S}/config/arm/arm64_poky_linux_gcc \
32 -Denable_driver_sdk=true \ 32 -Denable_driver_sdk=true \
33 ${@bb.utils.contains('DISTRO_FEATURES', 'vpp', '-Dc_args="-Ofast -fPIC -ftls-model=local-dynamic"', '', d)} \ 33 ${@bb.utils.contains('DISTRO_FEATURES', 'vpp', '-Dc_args="-Ofast -fPIC -ftls-model=local-dynamic"', '', d)} \
34 -Denable_examples_source_install=false \ 34 -Denable_examples_source_install=false \
35 -Denable_apps=${DPDK_APPS} \ 35 -Denable_apps=${DPDK_APPS} \
36" 36"
37 37
38do_install:append(){ 38do_install:append(){
diff --git a/recipes-extended/jailhouse/jailhouse-imx_git.bb b/recipes-extended/jailhouse/jailhouse-imx_git.bb
index 4bcb597e7..0eb23807a 100644
--- a/recipes-extended/jailhouse/jailhouse-imx_git.bb
+++ b/recipes-extended/jailhouse/jailhouse-imx_git.bb
@@ -4,13 +4,13 @@ SECTION = "jailhouse"
4LICENSE = "GPL-2.0-only" 4LICENSE = "GPL-2.0-only"
5 5
6LIC_FILES_CHKSUM = "file://COPYING;md5=9fa7f895f96bde2d47fd5b7d95b6ba4d \ 6LIC_FILES_CHKSUM = "file://COPYING;md5=9fa7f895f96bde2d47fd5b7d95b6ba4d \
7 file://tools/root-cell-config.c.tmpl;beginline=6;endline=33;md5=2825581c1666c44a17955dc574cfbfb3 \ 7 file://tools/root-cell-config.c.tmpl;beginline=6;endline=33;md5=2825581c1666c44a17955dc574cfbfb3 \
8 file://include/jailhouse/hypercall.h;beginline=9;endline=36;md5=2825581c1666c44a17955dc574cfbfb3 \ 8 file://include/jailhouse/hypercall.h;beginline=9;endline=36;md5=2825581c1666c44a17955dc574cfbfb3 \
9 file://include/jailhouse/cell-config.h;beginline=9;endline=36;md5=2825581c1666c44a17955dc574cfbfb3 \ 9 file://include/jailhouse/cell-config.h;beginline=9;endline=36;md5=2825581c1666c44a17955dc574cfbfb3 \
10 file://include/arch/arm/asm/jailhouse_hypercall.h;beginline=9;endline=36;md5=2825581c1666c44a17955dc574cfbfb3 \ 10 file://include/arch/arm/asm/jailhouse_hypercall.h;beginline=9;endline=36;md5=2825581c1666c44a17955dc574cfbfb3 \
11 file://include/arch/arm64/asm/jailhouse_hypercall.h;beginline=9;endline=36;md5=2825581c1666c44a17955dc574cfbfb3 \ 11 file://include/arch/arm64/asm/jailhouse_hypercall.h;beginline=9;endline=36;md5=2825581c1666c44a17955dc574cfbfb3 \
12 file://include/arch/x86/asm/jailhouse_hypercall.h;beginline=9;endline=36;md5=2825581c1666c44a17955dc574cfbfb3 \ 12 file://include/arch/x86/asm/jailhouse_hypercall.h;beginline=9;endline=36;md5=2825581c1666c44a17955dc574cfbfb3 \
13 file://driver/jailhouse.h;beginline=9;endline=36;md5=2825581c1666c44a17955dc574cfbfb3 \ 13 file://driver/jailhouse.h;beginline=9;endline=36;md5=2825581c1666c44a17955dc574cfbfb3 \
14" 14"
15 15
16PROVIDES = "jailhouse" 16PROVIDES = "jailhouse"
@@ -26,9 +26,9 @@ SRC_URI = "${IMX_JAILHOUSE_SRC};branch=${SRCBRANCH} \
26 file://arm-arm64-Makefile-Remove-march-option-from-Makefile.patch \ 26 file://arm-arm64-Makefile-Remove-march-option-from-Makefile.patch \
27 file://0001-YOCIMX-9281-1-Fix-gcc15-errors.patch \ 27 file://0001-YOCIMX-9281-1-Fix-gcc15-errors.patch \
28 file://0002-YOCIMX-9281-2-hypervisor-arm64-fix-strh-usage.patch \ 28 file://0002-YOCIMX-9281-2-hypervisor-arm64-fix-strh-usage.patch \
29 " 29 "
30 30
31DEPENDS = " \ 31DEPENDS = "\
32 make-native \ 32 make-native \
33 python3-mako-native \ 33 python3-mako-native \
34 python3-mako \ 34 python3-mako \
@@ -96,14 +96,14 @@ FILES:${PN} += "${nonarch_base_libdir}/firmware ${libexecdir} ${sbindir} ${JH_DA
96FILES:${PN}:remove = "${libdir}/*" 96FILES:${PN}:remove = "${libdir}/*"
97FILES:pyjailhouse = "${PYTHON_SITEPACKAGES_DIR}" 97FILES:pyjailhouse = "${PYTHON_SITEPACKAGES_DIR}"
98 98
99RDEPENDS:${PN} += " \ 99RDEPENDS:${PN} += "\
100 pyjailhouse \ 100 pyjailhouse \
101 python3-curses \ 101 python3-curses \
102 python3-datetime \ 102 python3-datetime \
103 python3-mmap \ 103 python3-mmap \
104" 104"
105 105
106RDEPENDS:pyjailhouse = " \ 106RDEPENDS:pyjailhouse = "\
107 python3-core \ 107 python3-core \
108 python3-ctypes \ 108 python3-ctypes \
109 python3-fcntl \ 109 python3-fcntl \
diff --git a/recipes-extended/libpkcs11/libpkcs11_git.bb b/recipes-extended/libpkcs11/libpkcs11_git.bb
index 347a8ef9a..2f97de27e 100644
--- a/recipes-extended/libpkcs11/libpkcs11_git.bb
+++ b/recipes-extended/libpkcs11/libpkcs11_git.bb
@@ -1,9 +1,10 @@
1DESCRIPTION = "PKCS library" 1DESCRIPTION = "PKCS library"
2HOMEPAGE = "https://github.com/nxp-qoriq/libpkcs11"
2LICENSE = "GPL-2.0-only" 3LICENSE = "GPL-2.0-only"
3LIC_FILES_CHKSUM = "file://LICENSE;md5=803852533e29eb1d6d5e55ad3078b625" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=803852533e29eb1d6d5e55ad3078b625"
4 5
5SRC_URI = "git://github.com/nxp-qoriq/libpkcs11;protocol=https;nobranch=1 \ 6SRC_URI = "git://github.com/nxp-qoriq/libpkcs11;protocol=https;nobranch=1 \
6 file://0001-fix-multiple-definition-error.patch \ 7 file://0001-fix-multiple-definition-error.patch \
7" 8"
8SRCREV = "8d85182b7a7cd393ab6dd72930f8d1b69468f741" 9SRCREV = "8d85182b7a7cd393ab6dd72930f8d1b69468f741"
9 10
@@ -20,7 +21,7 @@ EXTRA_OEMAKE = 'CC="${CC}" LD="${CC}" CFLAGS="${CFLAGS}"'
20do_compile() { 21do_compile() {
21 export OPENSSL_PATH="${RECIPE_SYSROOT}/usr" 22 export OPENSSL_PATH="${RECIPE_SYSROOT}/usr"
22 export CROSS_COMPILE="${WRAP_TARGET_PREFIX}" 23 export CROSS_COMPILE="${WRAP_TARGET_PREFIX}"
23 oe_runmake all 24 oe_runmake all
24} 25}
25 26
26do_install(){ 27do_install(){
diff --git a/recipes-extended/merge-files/merge-files_1.0.bb b/recipes-extended/merge-files/merge-files_1.0.bb
index a1f8a35a7..b3ed0040c 100644
--- a/recipes-extended/merge-files/merge-files_1.0.bb
+++ b/recipes-extended/merge-files/merge-files_1.0.bb
@@ -1,4 +1,7 @@
1SUMMARY = "Merge extra files into the rootfs"
1DESCRIPTION = "Merge prebuilt/extra files into rootfs" 2DESCRIPTION = "Merge prebuilt/extra files into rootfs"
3HOMEPAGE = "https://github.com/Freescale/meta-freescale/"
4SECTION = "base"
2LICENSE = "MIT" 5LICENSE = "MIT"
3LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" 6LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
4 7
diff --git a/recipes-extended/odp/odp.inc b/recipes-extended/odp/odp.inc
index 412667f01..adfd936d7 100644
--- a/recipes-extended/odp/odp.inc
+++ b/recipes-extended/odp/odp.inc
@@ -1,6 +1,6 @@
1SUMMARY = "Open Data Plane Interface Implementation" 1SUMMARY = "Open Data Plane Interface Implementation"
2DESCRIPTION = "OpenDataPlane (ODP) provides a data plane application programming \ 2DESCRIPTION = "OpenDataPlane (ODP) provides a data plane application programming \
3 environment that is easy to use, high performance, and portable between networking SoCs." 3 environment that is easy to use, high performance, and portable between networking SoCs."
4HOMEPAGE = "http://www.opendataplane.org" 4HOMEPAGE = "http://www.opendataplane.org"
5SECTION = "console/network" 5SECTION = "console/network"
6LICENSE = "BSD-3-Clause" 6LICENSE = "BSD-3-Clause"
@@ -8,10 +8,10 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=ca6103dc75397fb6bec596187d6b7829"
8 8
9FILESEXTRAPATHS:prepend := "${THISDIR}/odp:" 9FILESEXTRAPATHS:prepend := "${THISDIR}/odp:"
10 10
11SRC_URI = " \ 11SRC_URI = "\
12git://github.com/nxp-qoriq/odp;protocol=https;nobranch=1 \ 12 git://github.com/nxp-qoriq/odp;protocol=https;nobranch=1 \
13git://github.com/nxp-qoriq/qbman_userspace;protocol=https;nobranch=1;name=qbman;destsuffix=${S}/platform/linux-dpaa2/flib/qbman \ 13 git://github.com/nxp-qoriq/qbman_userspace;protocol=https;nobranch=1;name=qbman;destsuffix=${S}/platform/linux-dpaa2/flib/qbman \
14git://github.com/nxp-qoriq/flib;protocol=https;nobranch=1;name=rta;destsuffix=${S}/platform/linux-dpaa2/flib/rta \ 14 git://github.com/nxp-qoriq/flib;protocol=https;nobranch=1;name=rta;destsuffix=${S}/platform/linux-dpaa2/flib/rta \
15" 15"
16 16
17SRC_URI += "file://0001-Fix-this-build-error.patch" 17SRC_URI += "file://0001-Fix-this-build-error.patch"
diff --git a/recipes-extended/odp/odp_git.bb b/recipes-extended/odp/odp_git.bb
index 7d6600d00..e531515b1 100644
--- a/recipes-extended/odp/odp_git.bb
+++ b/recipes-extended/odp/odp_git.bb
@@ -4,9 +4,9 @@ inherit autotools-brokensep
4 4
5PACKAGE_ARCH = "${MACHINE_ARCH}" 5PACKAGE_ARCH = "${MACHINE_ARCH}"
6 6
7DEPENDS = "openssl cunit libxml2" 7DEPENDS = "cunit libxml2 openssl"
8 8
9RDEPENDS:${PN} = "bash libcrypto libssl odp-module odp-counters" 9RDEPENDS:${PN} = "bash libcrypto libssl odp-counters odp-module"
10 10
11ODP_SOC ?= "" 11ODP_SOC ?= ""
12ODP_SOC:ls1043ardb = "LS1043" 12ODP_SOC:ls1043ardb = "LS1043"
@@ -28,7 +28,7 @@ EXTRA_OEMAKE = "CROSS_COMPILE="${TARGET_PREFIX}" \
28" 28"
29 29
30CFLAGS += "-Wno-format-truncation -Wno-maybe-uninitialized -Wno-implicit-fallthrough -Wno-cpp -Wno-cast-function-type \ 30CFLAGS += "-Wno-format-truncation -Wno-maybe-uninitialized -Wno-implicit-fallthrough -Wno-cpp -Wno-cast-function-type \
31 -Wno-stringop-truncation \ 31 -Wno-stringop-truncation \
32" 32"
33 33
34PACKAGECONFIG[perf] = "--enable-test-perf,,," 34PACKAGECONFIG[perf] = "--enable-test-perf,,,"
diff --git a/recipes-extended/ofp/ofp_git.bb b/recipes-extended/ofp/ofp_git.bb
index 0f90dc5bb..98816ae60 100644
--- a/recipes-extended/ofp/ofp_git.bb
+++ b/recipes-extended/ofp/ofp_git.bb
@@ -1,4 +1,4 @@
1SUMMARY = "An open source user space fast path TCP/IP stack" 1SUMMARY = "An open source user space fast path TCP/IP stack"
2DESCRIPTION = "openfastpath is used to enable accelerated routing/forwarding for IPv4 and IPv6, \ 2DESCRIPTION = "openfastpath is used to enable accelerated routing/forwarding for IPv4 and IPv6, \
3 tunneling and termination for a variety of protocols." 3 tunneling and termination for a variety of protocols."
4HOMEPAGE = "http://www.openfastpath.org" 4HOMEPAGE = "http://www.openfastpath.org"
@@ -16,7 +16,7 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
16 16
17DEPENDS = "odp" 17DEPENDS = "odp"
18 18
19EXTRA_OECONF = " \ 19EXTRA_OECONF = "\
20 --prefix=/usr \ 20 --prefix=/usr \
21 --libdir=${libdir} \ 21 --libdir=${libdir} \
22 --host=${SIMPLE_TARGET_SYS} \ 22 --host=${SIMPLE_TARGET_SYS} \
diff --git a/recipes-extended/ovs-dpdk/ovs-dpdk_3.1.bb b/recipes-extended/ovs-dpdk/ovs-dpdk_3.1.bb
index 5f235b4cf..263f1c12c 100644
--- a/recipes-extended/ovs-dpdk/ovs-dpdk_3.1.bb
+++ b/recipes-extended/ovs-dpdk/ovs-dpdk_3.1.bb
@@ -1,8 +1,9 @@
1DESCRIPTION = "Open Virtual switch based on DPDK" 1DESCRIPTION = "Open Virtual switch based on DPDK"
2HOMEPAGE = "https://github.com/nxp-qoriq/ovs-dpdk"
2LICENSE = "Apache-2.0" 3LICENSE = "Apache-2.0"
3LIC_FILES_CHKSUM = "file://LICENSE;md5=1ce5d23a6429dff345518758f13aaeab" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=1ce5d23a6429dff345518758f13aaeab"
4 5
5DEPENDS = "dpdk python3-six-native coreutils-native autoconf-native automake-native" 6DEPENDS = "autoconf-native automake-native coreutils-native dpdk python3-six-native"
6RDEPENDS:${PN} = "bash libcrypto libssl python3" 7RDEPENDS:${PN} = "bash libcrypto libssl python3"
7 8
8inherit python3native pkgconfig 9inherit python3native pkgconfig
@@ -13,7 +14,7 @@ SRCREV = "7b4861e1f77bbea5ff9952717b66362fdecbca4d"
13do_configure() { 14do_configure() {
14 export SYSROOT_DPDK=${PKG_CONFIG_SYSROOT_DIR} 15 export SYSROOT_DPDK=${PKG_CONFIG_SYSROOT_DIR}
15 ${S}/boot.sh 16 ${S}/boot.sh
16 ${S}/configure --host aarch64-fsl-linux --with-dpdk=static --with-openssl=${SYSROOT_DPDK}/usr CFLAGS="-g -Wno-cast-align -Ofast" 17 ${S}/configure --host aarch64-fsl-linux --with-dpdk=static --with-openssl=${SYSROOT_DPDK}/usr CFLAGS="-g -Wno-cast-align -Ofast"
17} 18}
18 19
19do_install:append() { 20do_install:append() {
@@ -27,8 +28,8 @@ do_install:append() {
27 install -m 0755 ${S}/utilities/ovs-ofctl ${D}${bindir}/ovs-dpdk 28 install -m 0755 ${S}/utilities/ovs-ofctl ${D}${bindir}/ovs-dpdk
28} 29}
29 30
30INSANE_SKIP:${PN}-dbg += " buildpaths" 31INSANE_SKIP:${PN}-dbg += "buildpaths"
31INSANE_SKIP:${PN} += " buildpaths" 32INSANE_SKIP:${PN} += "buildpaths"
32 33
33ALLOW_EMPTY:${PN} = "1" 34ALLOW_EMPTY:${PN} = "1"
34INHIBIT_PACKAGE_STRIP = "1" 35INHIBIT_PACKAGE_STRIP = "1"
diff --git a/recipes-extended/pktgen-dpdk/pktgen-dpdk_21.05.0.bb b/recipes-extended/pktgen-dpdk/pktgen-dpdk_21.05.0.bb
index 485f763bf..49a506a13 100644
--- a/recipes-extended/pktgen-dpdk/pktgen-dpdk_21.05.0.bb
+++ b/recipes-extended/pktgen-dpdk/pktgen-dpdk_21.05.0.bb
@@ -1,11 +1,12 @@
1DESCRIPTION = "PKTGEN DPDK" 1DESCRIPTION = "PKTGEN DPDK"
2HOMEPAGE = "https://git.dpdk.org/apps/pktgen-dpdk/"
2LICENSE = "BSD" 3LICENSE = "BSD"
3LIC_FILES_CHKSUM = "file://LICENSE;md5=0245ceedaef59ae0129500b0ce1e8a45" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=0245ceedaef59ae0129500b0ce1e8a45"
4 5
5DEPENDS += "libpcap dpdk lua lua-native" 6DEPENDS += "dpdk libpcap lua lua-native"
6 7
7SRC_URI = "git://dpdk.org/git/apps/pktgen-dpdk;protocol=https;nobranch=1 \ 8SRC_URI = "git://dpdk.org/git/apps/pktgen-dpdk;protocol=https;nobranch=1 \
8 file://fix-gcc11-mismatched-dealloc-error.patch \ 9 file://fix-gcc11-mismatched-dealloc-error.patch \
9" 10"
10SRCREV = "3a09aa916597fb9a97ee8eec50044cbdb9c4abde" 11SRCREV = "3a09aa916597fb9a97ee8eec50044cbdb9c4abde"
11 12
@@ -23,9 +24,9 @@ do_configure:prepend() {
23} 24}
24 25
25do_install() { 26do_install() {
26 install -d ${D}${bindir}/ 27 install -d ${D}${bindir}/
27 install -m 0755 app/pktgen ${D}${bindir}/ 28 install -m 0755 app/pktgen ${D}${bindir}/
28 install -m 0644 ${S}/Pktgen.lua ${D}${bindir}/ 29 install -m 0644 ${S}/Pktgen.lua ${D}${bindir}/
29} 30}
30 31
31INSANE_SKIP:${PN} = "ldflags" 32INSANE_SKIP:${PN} = "ldflags"
diff --git a/recipes-extended/secure-obj/secure-obj-module_git.bb b/recipes-extended/secure-obj/secure-obj-module_git.bb
index c6bbc41df..73adcebf1 100644
--- a/recipes-extended/secure-obj/secure-obj-module_git.bb
+++ b/recipes-extended/secure-obj/secure-obj-module_git.bb
@@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://../LICENSE;md5=751419260aa954499f7abaabaa882bbe"
4 4
5DEPENDS += "virtual/kernel" 5DEPENDS += "virtual/kernel"
6 6
7inherit module 7inherit module
8 8
9S = "${UNPACKDIR}/${BP}/securekeydev" 9S = "${UNPACKDIR}/${BP}/securekeydev"
10 10
diff --git a/recipes-extended/secure-obj/secure-obj.inc b/recipes-extended/secure-obj/secure-obj.inc
index 16115ff03..4ce06d17b 100644
--- a/recipes-extended/secure-obj/secure-obj.inc
+++ b/recipes-extended/secure-obj/secure-obj.inc
@@ -1,7 +1,8 @@
1DESCRIPTION = "Secure Object" 1DESCRIPTION = "Secure Object"
2HOMEPAGE = "https://github.com/nxp-qoriq/secure_obj"
2LICENSE = "BSD-3-Clause" 3LICENSE = "BSD-3-Clause"
3 4
4DEPENDS = "openssl optee-os-qoriq optee-client-qoriq" 5DEPENDS = "openssl optee-client-qoriq optee-os-qoriq"
5RDEPENDS:${PN} = "bash libcrypto libssl" 6RDEPENDS:${PN} = "bash libcrypto libssl"
6 7
7DEPENDS += "python3-pycryptodomex-native" 8DEPENDS += "python3-pycryptodomex-native"
diff --git a/recipes-extended/secure-obj/secure-obj_git.bb b/recipes-extended/secure-obj/secure-obj_git.bb
index 4d197f57c..d0c513ba5 100644
--- a/recipes-extended/secure-obj/secure-obj_git.bb
+++ b/recipes-extended/secure-obj/secure-obj_git.bb
@@ -2,9 +2,9 @@ require secure-obj.inc
2 2
3LIC_FILES_CHKSUM = "file://LICENSE;md5=751419260aa954499f7abaabaa882bbe" 3LIC_FILES_CHKSUM = "file://LICENSE;md5=751419260aa954499f7abaabaa882bbe"
4 4
5DEPENDS:remove = " python3-pycryptodomex-native" 5DEPENDS:remove = "python3-pycryptodomex-native"
6DEPENDS:append = " python3-cryptography-native optee-os-qoriq-tadevkit" 6DEPENDS:append = " python3-cryptography-native optee-os-qoriq-tadevkit"
7RDEPENDS:{PN} += "secure-obj-module" 7RDEPENDS:${PN} += "secure-obj-module"
8 8
9WRAP_TARGET_PREFIX ?= "${TARGET_PREFIX}" 9WRAP_TARGET_PREFIX ?= "${TARGET_PREFIX}"
10export SECURE_STORAGE_PATH = "${S}/secure_storage_ta/ta/" 10export SECURE_STORAGE_PATH = "${S}/secure_storage_ta/ta/"
@@ -24,23 +24,23 @@ do_compile() {
24 for APP in secure_storage_ta securekey_lib secure_obj-openssl-engine; do 24 for APP in secure_storage_ta securekey_lib secure_obj-openssl-engine; do
25 cd ${APP} 25 cd ${APP}
26 oe_runmake 26 oe_runmake
27 cd .. 27 cd ..
28 done 28 done
29} 29}
30 30
31do_install() { 31do_install() {
32 install -d ${D}${bindir} 32 install -d ${D}${bindir}
33 install -d ${D}${includedir} 33 install -d ${D}${includedir}
34 install -d ${D}${base_libdir}/optee_armtz 34 install -d ${D}${base_libdir}/optee_armtz
35 install -d ${D}${libdir}/${ARCH}-linux-gnu/openssl-1.0.0/engines 35 install -d ${D}${libdir}/${ARCH}-linux-gnu/openssl-1.0.0/engines
36 cp ${S}/secure_storage_ta/ta/b05bcf48-9732-4efa-a9e0-141c7c888c34.ta ${D}${base_libdir}/optee_armtz 36 cp ${S}/secure_storage_ta/ta/b05bcf48-9732-4efa-a9e0-141c7c888c34.ta ${D}${base_libdir}/optee_armtz
37 cp ${S}/securekey_lib/out/export/lib/libsecure_obj.so ${D}${libdir} 37 cp ${S}/securekey_lib/out/export/lib/libsecure_obj.so ${D}${libdir}
38 cp ${S}/secure_obj-openssl-engine/libeng_secure_obj.so ${D}${libdir}/${ARCH}-linux-gnu/openssl-1.0.0/engines 38 cp ${S}/secure_obj-openssl-engine/libeng_secure_obj.so ${D}${libdir}/${ARCH}-linux-gnu/openssl-1.0.0/engines
39 cp ${S}/securekey_lib/out/export/app/*_app ${D}${bindir} 39 cp ${S}/securekey_lib/out/export/app/*_app ${D}${bindir}
40 cp ${S}/securekey_lib/out/export/app/mp_verify ${D}${bindir} 40 cp ${S}/securekey_lib/out/export/app/mp_verify ${D}${bindir}
41 cp ${S}/secure_obj-openssl-engine/app/sobj_eng_app ${D}${bindir} 41 cp ${S}/secure_obj-openssl-engine/app/sobj_eng_app ${D}${bindir}
42 cp ${S}/securekey_lib/out/export/include/* ${D}${includedir} 42 cp ${S}/securekey_lib/out/export/include/* ${D}${includedir}
43 rm -rf ${D}${bindir}/test 43 rm -rf ${D}${bindir}/test
44} 44}
45 45
46FILES:${PN} += "${base_libdir}/optee_armtz ${libdir}/${ARCH}-linux-gnu/openssl-1.0.0/engines" 46FILES:${PN} += "${base_libdir}/optee_armtz ${libdir}/${ARCH}-linux-gnu/openssl-1.0.0/engines"
diff --git a/recipes-extended/skmm-ep/skmm-ep_git.bb b/recipes-extended/skmm-ep/skmm-ep_git.bb
index 72638766c..e6211ed9f 100644
--- a/recipes-extended/skmm-ep/skmm-ep_git.bb
+++ b/recipes-extended/skmm-ep/skmm-ep_git.bb
@@ -1,4 +1,6 @@
1SUMMARY = "SKMM PCIe endpoint application"
1DESCRIPTION = "SKMM application for PCIe endpoint" 2DESCRIPTION = "SKMM application for PCIe endpoint"
3HOMEPAGE = "https://github.com/nxp-qoriq-yocto-sdk/skmm-ep"
2SECTION = "skmm-ep" 4SECTION = "skmm-ep"
3LICENSE = "BSD & GPL-2.0-only" 5LICENSE = "BSD & GPL-2.0-only"
4LIC_FILES_CHKSUM = "file://Makefile;endline=30;md5=39e58bedc879163c9338596e52df5b1f" 6LIC_FILES_CHKSUM = "file://Makefile;endline=30;md5=39e58bedc879163c9338596e52df5b1f"
@@ -8,7 +10,7 @@ DEPENDS = "libedit openssl virtual/kernel"
8PACKAGE_ARCH = "${MACHINE_ARCH}" 10PACKAGE_ARCH = "${MACHINE_ARCH}"
9 11
10SRC_URI = "git://github.com/nxp-qoriq-yocto-sdk/skmm-ep;protocol=https;nobranch=1 \ 12SRC_URI = "git://github.com/nxp-qoriq-yocto-sdk/skmm-ep;protocol=https;nobranch=1 \
11 file://add-two-missing-header-files.patch \ 13 file://add-two-missing-header-files.patch \
12" 14"
13SRCREV = "de6816c7d66129683bc62229b482ac3cf585d896" 15SRCREV = "de6816c7d66129683bc62229b482ac3cf585d896"
14 16
@@ -18,11 +20,11 @@ export LIBEDIT_CFLAGS = "`pkg-config --cflags libedit`"
18export LIBEDIT_LDFLAGS = "`pkg-config --libs --static libedit`" 20export LIBEDIT_LDFLAGS = "`pkg-config --libs --static libedit`"
19 21
20do_compile () { 22do_compile () {
21 oe_runmake 23 oe_runmake
22} 24}
23 25
24do_install () { 26do_install () {
25 oe_runmake install DESTDIR=${D} 27 oe_runmake install DESTDIR=${D}
26} 28}
27 29
28COMPATIBLE_MACHINE = "(p4080ds|t4240qds|c293pcie)" 30COMPATIBLE_MACHINE = "(p4080ds|t4240qds|c293pcie)"
diff --git a/recipes-extended/testfloat/testfloat_2a.bb b/recipes-extended/testfloat/testfloat_2a.bb
index 45e9365da..87187aa83 100644
--- a/recipes-extended/testfloat/testfloat_2a.bb
+++ b/recipes-extended/testfloat/testfloat_2a.bb
@@ -1,14 +1,17 @@
1SUMMARY = "Floating-point implementation test suite"
1DESCRIPTION = "A program for testing floating-point implementation" 2DESCRIPTION = "A program for testing floating-point implementation"
3HOMEPAGE = "http://www.jhauser.us/arithmetic/TestFloat.html"
4SECTION = "devel"
2LICENSE = "TestFloat" 5LICENSE = "TestFloat"
3 6
4LIC_FILES_CHKSUM = "file://testfloat/testfloat.txt;beginline=87;endline=95;md5=bdb2e8111838a48015c29bd97f5b6145" 7LIC_FILES_CHKSUM = "file://testfloat/testfloat.txt;beginline=87;endline=95;md5=bdb2e8111838a48015c29bd97f5b6145"
5 8
6SRC_URI = " http://www.jhauser.us/arithmetic/TestFloat-2a.tar.Z;name=TestFloat \ 9SRC_URI = "http://www.jhauser.us/arithmetic/TestFloat-2a.tar.Z;name=TestFloat \
7 http://www.jhauser.us/arithmetic/SoftFloat-2b.tar.Z;name=SoftFloat \ 10 http://www.jhauser.us/arithmetic/SoftFloat-2b.tar.Z;name=SoftFloat \
8 " 11 "
9SRC_URI:append:qoriq-ppc = " file://SoftFloat-powerpc-1.patch \ 12SRC_URI:append:qoriq-ppc = " file://SoftFloat-powerpc-1.patch \
10 file://TestFloat-powerpc-E500v2-SPE-1.patch \ 13 file://TestFloat-powerpc-E500v2-SPE-1.patch \
11 file://Yocto-replace-COMPILE_PREFIX-gcc.patch \ 14 file://Yocto-replace-COMPILE_PREFIX-gcc.patch \
12 " 15 "
13SRC_URI[TestFloat.sha256sum] = "84d14aa42adefbda2ec9708b42946f7fa59f93689b042684bd027863481f8e4e" 16SRC_URI[TestFloat.sha256sum] = "84d14aa42adefbda2ec9708b42946f7fa59f93689b042684bd027863481f8e4e"
14SRC_URI[SoftFloat.sha256sum] = "89d14b55113a2ba8cbda7011443ba1d298d381c89d939515d56c5f18f2febf81" 17SRC_URI[SoftFloat.sha256sum] = "89d14b55113a2ba8cbda7011443ba1d298d381c89d939515d56c5f18f2febf81"
diff --git a/recipes-extended/tsntool/tsntool_git.bb b/recipes-extended/tsntool/tsntool_git.bb
index f70e64e2b..f2911ddab 100644
--- a/recipes-extended/tsntool/tsntool_git.bb
+++ b/recipes-extended/tsntool/tsntool_git.bb
@@ -1,5 +1,6 @@
1SUMMARY = "Configure TSN funtionalitie" 1SUMMARY = "Configure TSN funtionalitie"
2DESCRIPTION = "A tool to configure TSN funtionalities in user space" 2DESCRIPTION = "A tool to configure TSN funtionalities in user space"
3HOMEPAGE = "https://github.com/nxp-qoriq/tsntool"
3LICENSE = "GPL-2.0-only" 4LICENSE = "GPL-2.0-only"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=ef58f855337069acd375717db0dbbb6d" 5LIC_FILES_CHKSUM = "file://LICENSE;md5=ef58f855337069acd375717db0dbbb6d"
5 6
@@ -13,7 +14,7 @@ SRC_URI = "git://github.com/nxp-qoriq/tsntool;protocol=https;nobranch=1"
13SRCREV = "a0769e23304957a22f0cbeee6d1f547b20c3c21e" 14SRCREV = "a0769e23304957a22f0cbeee6d1f547b20c3c21e"
14 15
15SRC_URI:append = " \ 16SRC_URI:append = " \
16 file://0001-tsntool-remove-redundant-parameters-from-BIN_LDFLAGS.patch \ 17 file://0001-tsntool-remove-redundant-parameters-from-BIN_LDFLAGS.patch \
17" 18"
18 19
19do_configure[depends] += "virtual/kernel:do_shared_workdir" 20do_configure[depends] += "virtual/kernel:do_shared_workdir"
@@ -21,7 +22,7 @@ do_configure[depends] += "virtual/kernel:do_shared_workdir"
21do_compile:prepend() { 22do_compile:prepend() {
22 mkdir -p ${S}/include/linux 23 mkdir -p ${S}/include/linux
23 cp -r ${STAGING_KERNEL_DIR}/include/uapi/linux/tsn.h ${S}/include/linux 24 cp -r ${STAGING_KERNEL_DIR}/include/uapi/linux/tsn.h ${S}/include/linux
24} 25}
25do_install() { 26do_install() {
26 install -d ${D}${bindir} ${D}${libdir} 27 install -d ${D}${bindir} ${D}${libdir}
27 install -m 0755 ${S}/tsntool ${D}${bindir} 28 install -m 0755 ${S}/tsntool ${D}${bindir}
diff --git a/recipes-fsl/fsl-rc-local/fsl-rc-local.bb b/recipes-fsl/fsl-rc-local/fsl-rc-local.bb
index d5c8ebc31..607790f47 100644
--- a/recipes-fsl/fsl-rc-local/fsl-rc-local.bb
+++ b/recipes-fsl/fsl-rc-local/fsl-rc-local.bb
@@ -1,6 +1,9 @@
1# Copyright (C) 2012 O.S. Systems Software LTDA. 1# Copyright (C) 2012 O.S. Systems Software LTDA.
2 2
3DESCRIPTION = "Extra files for fsl-gui-image" 3SUMMARY = "Extra rc.local files for i.MX images"
4DESCRIPTION = "rc.local init snippets and helper files for Freescale/NXP images."
5HOMEPAGE = "https://github.com/Freescale/meta-freescale/"
6SECTION = "base"
4LICENSE = "LGPL-2.0-only" 7LICENSE = "LGPL-2.0-only"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=39ec502560ab2755c4555ee8416dfe42" 8LIC_FILES_CHKSUM = "file://LICENSE;md5=39ec502560ab2755c4555ee8416dfe42"
6 9
diff --git a/recipes-fsl/images/fsl-image-machine-test.bb b/recipes-fsl/images/fsl-image-machine-test.bb
index 43af6f7e9..34be8b32a 100644
--- a/recipes-fsl/images/fsl-image-machine-test.bb
+++ b/recipes-fsl/images/fsl-image-machine-test.bb
@@ -1,8 +1,8 @@
1DESCRIPTION = "A console-only image that includes gstreamer packages, \ 1DESCRIPTION = "A console-only image that includes gstreamer packages, \
2Freescale's multimedia packages (VPU and GPU) when available, and \ 2 Freescale's multimedia packages (VPU and GPU) when available, and \
3test and benchmark applications." 3 test and benchmark applications."
4 4
5IMAGE_FEATURES += " \ 5IMAGE_FEATURES += "\
6 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', '', \ 6 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', '', \
7 bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11-base', \ 7 bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11-base', \
8 '', d), d)} \ 8 '', d), d)} \
@@ -15,7 +15,7 @@ LICENSE = "MIT"
15 15
16inherit core-image 16inherit core-image
17 17
18CORE_IMAGE_EXTRA_INSTALL += " \ 18CORE_IMAGE_EXTRA_INSTALL += "\
19 packagegroup-fsl-gstreamer1.0 \ 19 packagegroup-fsl-gstreamer1.0 \
20 packagegroup-fsl-gstreamer1.0-full \ 20 packagegroup-fsl-gstreamer1.0-full \
21 packagegroup-fsl-tools-gpu \ 21 packagegroup-fsl-tools-gpu \
diff --git a/recipes-fsl/images/fsl-image-mfgtool-initramfs.bb b/recipes-fsl/images/fsl-image-mfgtool-initramfs.bb
index 7d79d1efe..63a599e13 100644
--- a/recipes-fsl/images/fsl-image-mfgtool-initramfs.bb
+++ b/recipes-fsl/images/fsl-image-mfgtool-initramfs.bb
@@ -1,7 +1,7 @@
1# Copyright (C) 2014 O.S. Systems Software LTDA. 1# Copyright (C) 2014 O.S. Systems Software LTDA.
2 2
3DESCRIPTION = "Small image to be used with Manufacturing Tool \ 3DESCRIPTION = "Small image to be used with Manufacturing Tool \
4(mfg-tool) in a production environment." 4 (mfg-tool) in a production environment."
5 5
6LICENSE = "MIT" 6LICENSE = "MIT"
7 7
diff --git a/recipes-fsl/images/fsl-image-multimedia-full.bb b/recipes-fsl/images/fsl-image-multimedia-full.bb
index 0384162bc..24fdeae9e 100644
--- a/recipes-fsl/images/fsl-image-multimedia-full.bb
+++ b/recipes-fsl/images/fsl-image-multimedia-full.bb
@@ -3,6 +3,6 @@
3 3
4require fsl-image-multimedia.bb 4require fsl-image-multimedia.bb
5 5
6CORE_IMAGE_EXTRA_INSTALL += " \ 6CORE_IMAGE_EXTRA_INSTALL += "\
7 packagegroup-fsl-gstreamer1.0-full \ 7 packagegroup-fsl-gstreamer1.0-full \
8" 8"
diff --git a/recipes-fsl/images/fsl-image-multimedia.bb b/recipes-fsl/images/fsl-image-multimedia.bb
index 3a3ce28b8..86730c5cc 100644
--- a/recipes-fsl/images/fsl-image-multimedia.bb
+++ b/recipes-fsl/images/fsl-image-multimedia.bb
@@ -1,6 +1,6 @@
1DESCRIPTION = "A console-only image that includes gstreamer packages and \ 1DESCRIPTION = "A console-only image that includes gstreamer packages and \
2Freescale's multimedia packages (VPU and GPU) when available for the specific \ 2 Freescale's multimedia packages (VPU and GPU) when available for the specific \
3machine." 3 machine."
4 4
5IMAGE_FEATURES += "\ 5IMAGE_FEATURES += "\
6 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'weston', \ 6 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'weston', \
@@ -12,7 +12,7 @@ LICENSE = "MIT"
12 12
13inherit core-image 13inherit core-image
14 14
15CORE_IMAGE_EXTRA_INSTALL += " \ 15CORE_IMAGE_EXTRA_INSTALL += "\
16 packagegroup-fsl-tools-gpu \ 16 packagegroup-fsl-tools-gpu \
17 packagegroup-fsl-gstreamer1.0 \ 17 packagegroup-fsl-gstreamer1.0 \
18 packagegroup-imx-tools-audio \ 18 packagegroup-imx-tools-audio \
diff --git a/recipes-fsl/images/fsl-image-network-full-cmdline.bb b/recipes-fsl/images/fsl-image-network-full-cmdline.bb
index 01f47c3e5..6b9fa705e 100644
--- a/recipes-fsl/images/fsl-image-network-full-cmdline.bb
+++ b/recipes-fsl/images/fsl-image-network-full-cmdline.bb
@@ -1,7 +1,7 @@
1DESCRIPTION = "A console-only image that includes full cmdline and \ 1DESCRIPTION = "A console-only image that includes full cmdline and \
2Freescale's networking packages (QorIQ DPAA/DPAA2) when available." 2 Freescale's networking packages (QorIQ DPAA/DPAA2) when available."
3 3
4IMAGE_FEATURES += " \ 4IMAGE_FEATURES += "\
5 debug-tweaks \ 5 debug-tweaks \
6 tools-profile \ 6 tools-profile \
7" 7"
diff --git a/recipes-fsl/mcore-demos/imx-mcore-demos.inc b/recipes-fsl/mcore-demos/imx-mcore-demos.inc
index 2375e471d..0d6797b59 100644
--- a/recipes-fsl/mcore-demos/imx-mcore-demos.inc
+++ b/recipes-fsl/mcore-demos/imx-mcore-demos.inc
@@ -2,38 +2,40 @@
2# Released under the MIT license (see COPYING.MIT for the terms) 2# Released under the MIT license (see COPYING.MIT for the terms)
3 3
4SUMMARY = "i.MX M4/M7/M33 core Demo images" 4SUMMARY = "i.MX M4/M7/M33 core Demo images"
5DESCRIPTION = "Prebuilt demo firmware images for the Cortex-M auxiliary cores (M4/M7/M33) found on i.MX application processors."
6HOMEPAGE = "https://www.nxp.com/"
5SECTION = "app" 7SECTION = "app"
6LICENSE = "Proprietary" 8LICENSE = "Proprietary"
7 9
8inherit deploy fsl-eula-unpack 10inherit deploy fsl-eula-unpack
9 11
10SOC ?= "INVALID" 12SOC ?= "INVALID"
11SOC:mx7ulp-nxp-bsp = "imx7ulp" 13SOC:mx7ulp-nxp-bsp = "imx7ulp"
12SOC:mx7d-nxp-bsp = "imx7d-sabresd" 14SOC:mx7d-nxp-bsp = "imx7d-sabresd"
13SOC:mx8dxl-nxp-bsp = "imx8dxl" 15SOC:mx8dxl-nxp-bsp = "imx8dxl"
14SOC:mx8mm-nxp-bsp = "imx8mm" 16SOC:mx8mm-nxp-bsp = "imx8mm"
15SOC:mx8mn-nxp-bsp = "imx8mn" 17SOC:mx8mn-nxp-bsp = "imx8mn"
16SOC:mx8mnul-nxp-bsp = "imx8mnddr3l" 18SOC:mx8mnul-nxp-bsp = "imx8mnddr3l"
17SOC:mx8mp-nxp-bsp = "imx8mp" 19SOC:mx8mp-nxp-bsp = "imx8mp"
18SOC:mx8mpul-nxp-bsp = "imx8mp" 20SOC:mx8mpul-nxp-bsp = "imx8mp"
19SOC:mx8mq-nxp-bsp = "imx8mq" 21SOC:mx8mq-nxp-bsp = "imx8mq"
20SOC:mx8qm-nxp-bsp = "imx8qm" 22SOC:mx8qm-nxp-bsp = "imx8qm"
21SOC:mx8qxp-nxp-bsp = "imx8qx" 23SOC:mx8qxp-nxp-bsp = "imx8qx"
22SOC:mx8dx-nxp-bsp = "imx8qx" 24SOC:mx8dx-nxp-bsp = "imx8qx"
23SOC:mx8ulp-nxp-bsp = "imx8ulp" 25SOC:mx8ulp-nxp-bsp = "imx8ulp"
24SOC:mx93-nxp-bsp = "imx93" 26SOC:mx93-nxp-bsp = "imx93"
25SOC:mx94-nxp-bsp = "imx943" 27SOC:mx94-nxp-bsp = "imx943"
26SOC:mx95-nxp-bsp = "imx95" 28SOC:mx95-nxp-bsp = "imx95"
27 29
28MCORE_TYPE ?= "m4" 30MCORE_TYPE ?= "m4"
29MCORE_TYPE:mx8mn-nxp-bsp = "m7" 31MCORE_TYPE:mx8mn-nxp-bsp = "m7"
30MCORE_TYPE:mx8mnul-nxp-bsp = "m7" 32MCORE_TYPE:mx8mnul-nxp-bsp = "m7"
31MCORE_TYPE:mx8mp-nxp-bsp = "m7" 33MCORE_TYPE:mx8mp-nxp-bsp = "m7"
32MCORE_TYPE:mx8mpul-nxp-bsp = "m7" 34MCORE_TYPE:mx8mpul-nxp-bsp = "m7"
33MCORE_TYPE:mx8ulp-nxp-bsp = "m33" 35MCORE_TYPE:mx8ulp-nxp-bsp = "m33"
34MCORE_TYPE:mx93-nxp-bsp = "m33" 36MCORE_TYPE:mx93-nxp-bsp = "m33"
35MCORE_TYPE:mx943-nxp-bsp = "mcore" 37MCORE_TYPE:mx943-nxp-bsp = "mcore"
36MCORE_TYPE:mx95-nxp-bsp = "m7" 38MCORE_TYPE:mx95-nxp-bsp = "m7"
37 39
38SRC_URI = "${FSL_MIRROR}/${SOC}-${MCORE_TYPE}-demo-${PV}.bin;name=${SOC};fsl-eula=true" 40SRC_URI = "${FSL_MIRROR}/${SOC}-${MCORE_TYPE}-demo-${PV}.bin;name=${SOC};fsl-eula=true"
39 41
@@ -41,7 +43,7 @@ S = "${UNPACKDIR}/${SOC}-${MCORE_TYPE}-demo-${PV}"
41 43
42SCR = "SCR-${SOC}-${MCORE_TYPE}-demo.txt" 44SCR = "SCR-${SOC}-${MCORE_TYPE}-demo.txt"
43 45
44MCORE_DEMO_FILE_EXTENSION ?= "bin" 46MCORE_DEMO_FILE_EXTENSION ?= "bin"
45MCORE_DEMO_FILE_EXTENSION:mx7ulp-nxp-bsp = "img" 47MCORE_DEMO_FILE_EXTENSION:mx7ulp-nxp-bsp = "img"
46 48
47do_install () { 49do_install () {
diff --git a/recipes-fsl/packagegroups/packagegroup-fsl-gstreamer1.0-commercial.bb b/recipes-fsl/packagegroups/packagegroup-fsl-gstreamer1.0-commercial.bb
index 9a86e5013..e4f8d5e05 100644
--- a/recipes-fsl/packagegroups/packagegroup-fsl-gstreamer1.0-commercial.bb
+++ b/recipes-fsl/packagegroups/packagegroup-fsl-gstreamer1.0-commercial.bb
@@ -1,17 +1,17 @@
1DESCRIPTION = "Package group used by FSL Community to provide audio and video plugins \ 1DESCRIPTION = "Package group used by FSL Community to provide audio and video plugins \
2that are subject to restricted licensing and/or royalties and thus require \ 2 that are subject to restricted licensing and/or royalties and thus require \
3the 'commercial' license whitelist flag" 3 the 'commercial' license whitelist flag"
4SUMMARY = "FSL Community package group - set of GStreamer 1.0 plugins with commercial licence flag" 4SUMMARY = "FSL Community package group - set of GStreamer 1.0 plugins with commercial licence flag"
5LICENSE_FLAGS = "commercial" 5LICENSE_FLAGS = "commercial"
6 6
7inherit packagegroup 7inherit packagegroup
8 8
9RDEPENDS:${PN} = " \ 9RDEPENDS:${PN} = "\
10 packagegroup-fsl-gstreamer1.0 \ 10 packagegroup-fsl-gstreamer1.0 \
11" 11"
12 12
13# Plugins from the -ugly collection which require the "commercial" flag in LICENSE_FLAGS_ACCEPTED to be set 13# Plugins from the -ugly collection which require the "commercial" flag in LICENSE_FLAGS_ACCEPTED to be set
14RDEPENDS:${PN} = " \ 14RDEPENDS:${PN} = "\
15 gstreamer1.0-plugins-ugly-asf \ 15 gstreamer1.0-plugins-ugly-asf \
16 gstreamer1.0-libav \ 16 gstreamer1.0-libav \
17" 17"
diff --git a/recipes-fsl/packagegroups/packagegroup-fsl-gstreamer1.0-full.bb b/recipes-fsl/packagegroups/packagegroup-fsl-gstreamer1.0-full.bb
index 6b2c3ac0e..0dc138bac 100644
--- a/recipes-fsl/packagegroups/packagegroup-fsl-gstreamer1.0-full.bb
+++ b/recipes-fsl/packagegroups/packagegroup-fsl-gstreamer1.0-full.bb
@@ -1,11 +1,11 @@
1DESCRIPTION = "Package group used by FSL Community to provide all GStreamer plugins from the \ 1DESCRIPTION = "Package group used by FSL Community to provide all GStreamer plugins from the \
2base, good, and bad packages, as well as the ugly and libav ones if commercial packages \ 2 base, good, and bad packages, as well as the ugly and libav ones if commercial packages \
3are whitelisted, and plugins for the required hardware acceleration (if supported by the SoC)." 3 are whitelisted, and plugins for the required hardware acceleration (if supported by the SoC)."
4SUMMARY = "FSL Community package group - full set of all GStreamer 1.0 plugins" 4SUMMARY = "FSL Community package group - full set of all GStreamer 1.0 plugins"
5 5
6inherit packagegroup 6inherit packagegroup
7 7
8RDEPENDS:${PN} = " \ 8RDEPENDS:${PN} = "\
9 packagegroup-fsl-gstreamer1.0 \ 9 packagegroup-fsl-gstreamer1.0 \
10 ${@bb.utils.contains('LICENSE_FLAGS_ACCEPTED', 'commercial', 'packagegroup-fsl-gstreamer1.0-commercial', '', d)} \ 10 ${@bb.utils.contains('LICENSE_FLAGS_ACCEPTED', 'commercial', 'packagegroup-fsl-gstreamer1.0-commercial', '', d)} \
11 gstreamer1.0-plugins-base-meta \ 11 gstreamer1.0-plugins-base-meta \
diff --git a/recipes-fsl/packagegroups/packagegroup-fsl-gstreamer1.0.bb b/recipes-fsl/packagegroups/packagegroup-fsl-gstreamer1.0.bb
index aef582a57..ebc098664 100644
--- a/recipes-fsl/packagegroups/packagegroup-fsl-gstreamer1.0.bb
+++ b/recipes-fsl/packagegroups/packagegroup-fsl-gstreamer1.0.bb
@@ -1,12 +1,12 @@
1DESCRIPTION = "Package group used by FSL Community to provide audio, video, networking and debug \ 1DESCRIPTION = "Package group used by FSL Community to provide audio, video, networking and debug \
2GStreamer plugins with the required hardware acceleration (if supported by the SoC)." 2 GStreamer plugins with the required hardware acceleration (if supported by the SoC)."
3SUMMARY = "FSL Community package group - set of commonly used GStreamer 1.0 plugins" 3SUMMARY = "FSL Community package group - set of commonly used GStreamer 1.0 plugins"
4 4
5PACKAGE_ARCH = "${MACHINE_ARCH}" 5PACKAGE_ARCH = "${MACHINE_ARCH}"
6 6
7inherit packagegroup 7inherit packagegroup
8 8
9PACKAGES += " \ 9PACKAGES += "\
10 ${PN}-base \ 10 ${PN}-base \
11 ${PN}-audio \ 11 ${PN}-audio \
12 ${PN}-video \ 12 ${PN}-video \
@@ -18,26 +18,26 @@ PACKAGES += " \
18 18
19MACHINE_GSTREAMER_1_0_PLUGIN ?= "" 19MACHINE_GSTREAMER_1_0_PLUGIN ?= ""
20 20
21RDEPENDS:${PN} = " \ 21RDEPENDS:${PN} = "\
22 ${PN}-audio \ 22 ${PN}-audio \
23 ${PN}-video \
24 ${PN}-network-base \
25 ${PN}-debug \ 23 ${PN}-debug \
24 ${PN}-network-base \
25 ${PN}-video \
26" 26"
27 27
28# List of X11 specific plugins 28# List of X11 specific plugins
29GST_X11_PACKAGES = " \ 29GST_X11_PACKAGES = "\
30 gstreamer1.0-plugins-base-ximagesink \ 30 gstreamer1.0-plugins-base-ximagesink \
31 gstreamer1.0-plugins-base-xvimagesink \ 31 gstreamer1.0-plugins-base-xvimagesink \
32" 32"
33 33
34# List of Wayland specific plugins 34# List of Wayland specific plugins
35GST_WAYLAND_PACKAGES = " \ 35GST_WAYLAND_PACKAGES = "\
36 gstreamer1.0-plugins-bad-waylandsink \ 36 gstreamer1.0-plugins-bad-waylandsink \
37" 37"
38 38
39# basic plugins required in virtually every pipeline 39# basic plugins required in virtually every pipeline
40RDEPENDS:${PN}-base = " \ 40RDEPENDS:${PN}-base = "\
41 gstreamer1.0 \ 41 gstreamer1.0 \
42 gstreamer1.0-plugins-base-playback \ 42 gstreamer1.0-plugins-base-playback \
43 ${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'gstreamer1.0-plugins-base-alsa', '', d)} \ 43 ${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'gstreamer1.0-plugins-base-alsa', '', d)} \
@@ -52,14 +52,14 @@ RDEPENDS:${PN}-base = " \
52 ${@bb.utils.contains("MACHINE_GSTREAMER_1_0_PLUGIN", "imx-gst1.0-plugin", "imx-gst1.0-plugin-tools", "", d)} \ 52 ${@bb.utils.contains("MACHINE_GSTREAMER_1_0_PLUGIN", "imx-gst1.0-plugin", "imx-gst1.0-plugin-tools", "", d)} \
53" 53"
54 54
55RRECOMMENDS:${PN}-base = " \ 55RRECOMMENDS:${PN}-base = "\
56 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '${GST_X11_PACKAGES}', \ 56 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '${GST_X11_PACKAGES}', \
57 bb.utils.contains('DISTRO_FEATURES', 'wayland', \ 57 bb.utils.contains('DISTRO_FEATURES', 'wayland', \
58 '${GST_WAYLAND_PACKAGES}', '', d), d)} \ 58 '${GST_WAYLAND_PACKAGES}', '', d), d)} \
59" 59"
60 60
61# Basic audio plugins: parsers, demuxers, decoders 61# Basic audio plugins: parsers, demuxers, decoders
62RDEPENDS:${PN}-audio = " \ 62RDEPENDS:${PN}-audio = "\
63 ${PN}-base \ 63 ${PN}-base \
64 gstreamer1.0-plugins-base-ogg \ 64 gstreamer1.0-plugins-base-ogg \
65 gstreamer1.0-plugins-good-audioparsers \ 65 gstreamer1.0-plugins-good-audioparsers \
@@ -71,7 +71,7 @@ RDEPENDS:${PN}-audio = " \
71" 71"
72 72
73# Basic video plugins: parsers, demuxers 73# Basic video plugins: parsers, demuxers
74RDEPENDS:${PN}-video = " \ 74RDEPENDS:${PN}-video = "\
75 ${PN}-base \ 75 ${PN}-base \
76 gstreamer1.0-plugins-base-subparse \ 76 gstreamer1.0-plugins-base-subparse \
77 gstreamer1.0-plugins-base-theora \ 77 gstreamer1.0-plugins-base-theora \
@@ -81,12 +81,12 @@ RDEPENDS:${PN}-video = " \
81 gstreamer1.0-plugins-good-matroska \ 81 gstreamer1.0-plugins-good-matroska \
82" 82"
83 83
84RRECOMMENDS:${PN}-video = " \ 84RRECOMMENDS:${PN}-video = "\
85 ${PN}-audio \ 85 ${PN}-audio \
86" 86"
87 87
88# Additional video plugins from the -bad collection 88# Additional video plugins from the -bad collection
89RDEPENDS:${PN}-video-bad = " \ 89RDEPENDS:${PN}-video-bad = "\
90 ${PN}-video \ 90 ${PN}-video \
91 gstreamer1.0-plugins-bad-mpegpsdemux \ 91 gstreamer1.0-plugins-bad-mpegpsdemux \
92 gstreamer1.0-plugins-bad-mpegtsdemux \ 92 gstreamer1.0-plugins-bad-mpegtsdemux \
@@ -94,7 +94,7 @@ RDEPENDS:${PN}-video-bad = " \
94" 94"
95 95
96# Plugins used for diagnostics and debugging of pipelines 96# Plugins used for diagnostics and debugging of pipelines
97RDEPENDS:${PN}-debug = " \ 97RDEPENDS:${PN}-debug = "\
98 ${PN}-base \ 98 ${PN}-base \
99 gstreamer1.0-plugins-base-audiotestsrc \ 99 gstreamer1.0-plugins-base-audiotestsrc \
100 gstreamer1.0-plugins-base-videotestsrc \ 100 gstreamer1.0-plugins-base-videotestsrc \
@@ -103,14 +103,14 @@ RDEPENDS:${PN}-debug = " \
103" 103"
104 104
105# Basic networking plugins required by most pipelines that receive and/or send data 105# Basic networking plugins required by most pipelines that receive and/or send data
106RDEPENDS:${PN}-network-base = " \ 106RDEPENDS:${PN}-network-base = "\
107 gstreamer1.0-plugins-base-tcp \ 107 gstreamer1.0-plugins-base-tcp \
108 gstreamer1.0-plugins-good-soup \ 108 gstreamer1.0-plugins-good-soup \
109 gstreamer1.0-plugins-good-udp \ 109 gstreamer1.0-plugins-good-udp \
110" 110"
111 111
112# Additional networking plugins 112# Additional networking plugins
113RDEPENDS:${PN}-network = " \ 113RDEPENDS:${PN}-network = "\
114 ${PN}-network-base \ 114 ${PN}-network-base \
115 gstreamer1.0-plugins-good-rtp \ 115 gstreamer1.0-plugins-good-rtp \
116 gstreamer1.0-plugins-good-rtpmanager \ 116 gstreamer1.0-plugins-good-rtpmanager \
diff --git a/recipes-fsl/packagegroups/packagegroup-fsl-isp.bb b/recipes-fsl/packagegroups/packagegroup-fsl-isp.bb
index 09eac053b..60905bd8a 100644
--- a/recipes-fsl/packagegroups/packagegroup-fsl-isp.bb
+++ b/recipes-fsl/packagegroups/packagegroup-fsl-isp.bb
@@ -4,12 +4,12 @@ DESCRIPTION = "Add packages for ISP build"
4PACKAGE_ARCH = "${MACHINE_ARCH}" 4PACKAGE_ARCH = "${MACHINE_ARCH}"
5inherit packagegroup 5inherit packagegroup
6 6
7ISP_PKGS ?= "" 7ISP_PKGS ?= ""
8ISP_PKGS:mx8mp-nxp-bsp = " \ 8ISP_PKGS:mx8mp-nxp-bsp = "\
9 isp-imx \ 9 isp-imx \
10 basler-camera \ 10 basler-camera \
11 kernel-module-isp-vvcam \ 11 kernel-module-isp-vvcam \
12" 12"
13RDEPENDS:${PN} = " \ 13RDEPENDS:${PN} = "\
14 ${ISP_PKGS} \ 14 ${ISP_PKGS} \
15" 15"
diff --git a/recipes-fsl/packagegroups/packagegroup-fsl-mfgtool.bb b/recipes-fsl/packagegroups/packagegroup-fsl-mfgtool.bb
index d0367fdb7..890cd3cea 100644
--- a/recipes-fsl/packagegroups/packagegroup-fsl-mfgtool.bb
+++ b/recipes-fsl/packagegroups/packagegroup-fsl-mfgtool.bb
@@ -7,7 +7,7 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
7 7
8inherit packagegroup 8inherit packagegroup
9 9
10PACKAGES = " \ 10PACKAGES = "\
11 ${PN}-base \ 11 ${PN}-base \
12 ${PN}-mtd \ 12 ${PN}-mtd \
13 ${PN}-extfs \ 13 ${PN}-extfs \
@@ -20,7 +20,7 @@ MACHINE_ESSENTIAL_EXTRA_RDEPENDS ?= ""
20# Distro can override the following VIRTUAL-RUNTIME providers: 20# Distro can override the following VIRTUAL-RUNTIME providers:
21VIRTUAL-RUNTIME_keymaps ?= "keymaps" 21VIRTUAL-RUNTIME_keymaps ?= "keymaps"
22 22
23RDEPENDS:${PN}-base = " \ 23RDEPENDS:${PN}-base = "\
24 bash \ 24 bash \
25 imx-uuc \ 25 imx-uuc \
26 util-linux \ 26 util-linux \
@@ -34,16 +34,16 @@ RDEPENDS:${PN}-base = " \
34 ${MACHINE_ESSENTIAL_EXTRA_RDEPENDS} \ 34 ${MACHINE_ESSENTIAL_EXTRA_RDEPENDS} \
35" 35"
36 36
37RDEPENDS:${PN}-mtd = " \ 37RDEPENDS:${PN}-mtd = "\
38 ${PN}-base \ 38 ${PN}-base \
39 imx-kobs \ 39 imx-kobs \
40 mtd-utils \ 40 mtd-utils \
41 mtd-utils-ubifs \ 41 mtd-utils-ubifs \
42" 42"
43 43
44RDEPENDS:${PN}-extfs = " \ 44RDEPENDS:${PN}-extfs = "\
45 ${PN}-base \ 45 ${PN}-base \
46 e2fsprogs-mke2fs \
47 e2fsprogs-e2fsck \ 46 e2fsprogs-e2fsck \
47 e2fsprogs-mke2fs \
48" 48"
49COMPATIBLE_MACHINE = "(imx-generic-bsp)" 49COMPATIBLE_MACHINE = "(imx-generic-bsp)"
diff --git a/recipes-fsl/packagegroups/packagegroup-fsl-network.bb b/recipes-fsl/packagegroups/packagegroup-fsl-network.bb
index 96e3097d5..12c0aa3eb 100644
--- a/recipes-fsl/packagegroups/packagegroup-fsl-network.bb
+++ b/recipes-fsl/packagegroups/packagegroup-fsl-network.bb
@@ -9,41 +9,41 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
9inherit packagegroup 9inherit packagegroup
10 10
11NETWORK_TOOLS = "\ 11NETWORK_TOOLS = "\
12 ethtool \ 12 ethtool \
13" 13"
14 14
15NETWORK_TOOLS:append:qoriq = " \ 15NETWORK_TOOLS:append:qoriq = " \
16 ceetm \ 16 ceetm \
17 dpdk \ 17 dpdk \
18 ovs-dpdk \ 18 ovs-dpdk \
19 pktgen-dpdk \ 19 pktgen-dpdk \
20 tsntool \ 20 tsntool \
21" 21"
22 22
23# Data Place Acceleration Architecture 23# Data Place Acceleration Architecture
24NETWORK_TOOLS:append:fsl-lsch2 = "\ 24NETWORK_TOOLS:append:fsl-lsch2 = " \
25 eth-config \ 25 eth-config \
26" 26"
27 27
28# 2nd generation Data Place Acceleration Architecture 28# 2nd generation Data Place Acceleration Architecture
29NETWORK_TOOLS:append:ls1088a = "\ 29NETWORK_TOOLS:append:ls1088a = " \
30 aiopsl \ 30 aiopsl \
31 gpp-aioptool \ 31 gpp-aioptool \
32 ofp \ 32 ofp \
33" 33"
34 34
35NETWORK_TOOLS:append:ls2088a = "\ 35NETWORK_TOOLS:append:ls2088a = " \
36 aiopsl \ 36 aiopsl \
37 gpp-aioptool \ 37 gpp-aioptool \
38 ofp \ 38 ofp \
39" 39"
40 40
41NETWORK_TOOLS:append:fsl-lsch3 = "\ 41NETWORK_TOOLS:append:fsl-lsch3 = " \
42 dce \ 42 dce \
43 restool \ 43 restool \
44 spc \ 44 spc \
45" 45"
46 46
47RDEPENDS:${PN} = " \ 47RDEPENDS:${PN} = "\
48 ${NETWORK_TOOLS} \ 48 ${NETWORK_TOOLS} \
49" 49"
diff --git a/recipes-fsl/packagegroups/packagegroup-fsl-tools-gpu-external.bb b/recipes-fsl/packagegroups/packagegroup-fsl-tools-gpu-external.bb
index a361a4dd2..6011fff27 100644
--- a/recipes-fsl/packagegroups/packagegroup-fsl-tools-gpu-external.bb
+++ b/recipes-fsl/packagegroups/packagegroup-fsl-tools-gpu-external.bb
@@ -2,8 +2,8 @@
2# Copyright (C) 2015, 2016 O.S. Systems Software LTDA. 2# Copyright (C) 2015, 2016 O.S. Systems Software LTDA.
3# Released under the MIT license (see COPYING.MIT for the terms) 3# Released under the MIT license (see COPYING.MIT for the terms)
4DESCRIPTION = "Package group used by FSL Community to provide graphic packages used \ 4DESCRIPTION = "Package group used by FSL Community to provide graphic packages used \
5to test the several hardware accelerated graphics APIs including packages not \ 5 to test the several hardware accelerated graphics APIs including packages not \
6provided by Freescale." 6 provided by Freescale."
7SUMMARY = "FSL Community Package group - tools/gpu/external" 7SUMMARY = "FSL Community Package group - tools/gpu/external"
8 8
9PACKAGE_ARCH = "${MACHINE_ARCH}" 9PACKAGE_ARCH = "${MACHINE_ARCH}"
@@ -11,7 +11,7 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
11inherit packagegroup 11inherit packagegroup
12 12
13SOC_TOOLS_GPU_X11 = "" 13SOC_TOOLS_GPU_X11 = ""
14SOC_TOOLS_GPU_X11:imxgpu2d = " mesa-demos glmark2 gtkperf" 14SOC_TOOLS_GPU_X11:imxgpu2d = "mesa-demos glmark2 gtkperf"
15 15
16SOC_TOOLS_GPU_FB = "" 16SOC_TOOLS_GPU_FB = ""
17 17
@@ -20,7 +20,7 @@ SOC_TOOLS_GPU_WAYLAND = ""
20SOC_TOOLS_GPU_XWAYLAND = "" 20SOC_TOOLS_GPU_XWAYLAND = ""
21SOC_TOOLS_GPU_XWAYLAND:imxgpu2d = "mesa-demos gtkperf" 21SOC_TOOLS_GPU_XWAYLAND:imxgpu2d = "mesa-demos gtkperf"
22 22
23RDEPENDS:${PN} = " \ 23RDEPENDS:${PN} = "\
24 ${@bb.utils.contains("DISTRO_FEATURES", "x11 wayland", "${SOC_TOOLS_GPU_XWAYLAND}", \ 24 ${@bb.utils.contains("DISTRO_FEATURES", "x11 wayland", "${SOC_TOOLS_GPU_XWAYLAND}", \
25 bb.utils.contains("DISTRO_FEATURES", "wayland", "${SOC_TOOLS_GPU_WAYLAND}", \ 25 bb.utils.contains("DISTRO_FEATURES", "wayland", "${SOC_TOOLS_GPU_WAYLAND}", \
26 bb.utils.contains("DISTRO_FEATURES", "x11", "${SOC_TOOLS_GPU_X11}", \ 26 bb.utils.contains("DISTRO_FEATURES", "x11", "${SOC_TOOLS_GPU_X11}", \
diff --git a/recipes-fsl/packagegroups/packagegroup-fsl-tools-gpu.bb b/recipes-fsl/packagegroups/packagegroup-fsl-tools-gpu.bb
index c7e820adb..11c6a9b55 100644
--- a/recipes-fsl/packagegroups/packagegroup-fsl-tools-gpu.bb
+++ b/recipes-fsl/packagegroups/packagegroup-fsl-tools-gpu.bb
@@ -12,7 +12,7 @@ inherit packagegroup
12SOC_TOOLS_GPU = "" 12SOC_TOOLS_GPU = ""
13 13
14# i.MX6 SoloLite does not support apitrace because of its dependency on gles2. 14# i.MX6 SoloLite does not support apitrace because of its dependency on gles2.
15SOC_TOOLS_GPU:imxgpu2d = " \ 15SOC_TOOLS_GPU:imxgpu2d = "\
16 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', '', \ 16 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', '', \
17 bb.utils.contains('DISTRO_FEATURES', 'x11', 'xserver-xorg-extension-viv-autohdmi', \ 17 bb.utils.contains('DISTRO_FEATURES', 'x11', 'xserver-xorg-extension-viv-autohdmi', \
18 '', d), d)} \ 18 '', d), d)} \
@@ -27,6 +27,6 @@ SOC_TOOLS_GPU:append:imxgpu = " \
27 imx-gpu-viv-tools \ 27 imx-gpu-viv-tools \
28" 28"
29 29
30RDEPENDS:${PN} = " \ 30RDEPENDS:${PN} = "\
31 ${SOC_TOOLS_GPU} \ 31 ${SOC_TOOLS_GPU} \
32" 32"
diff --git a/recipes-fsl/packagegroups/packagegroup-imx-tools-audio.bb b/recipes-fsl/packagegroups/packagegroup-imx-tools-audio.bb
index 54a428fdf..ae4683723 100644
--- a/recipes-fsl/packagegroups/packagegroup-imx-tools-audio.bb
+++ b/recipes-fsl/packagegroups/packagegroup-imx-tools-audio.bb
@@ -9,12 +9,12 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda
9 9
10inherit packagegroup 10inherit packagegroup
11 11
12ALSA_INSTALL = " \ 12ALSA_INSTALL = "\
13 alsa-utils \ 13 alsa-utils \
14 alsa-tools \ 14 alsa-tools \
15" 15"
16 16
17PULSEAUDIO_INSTALL = " \ 17PULSEAUDIO_INSTALL = "\
18 pulseaudio-server \ 18 pulseaudio-server \
19 pulseaudio-module-cli \ 19 pulseaudio-module-cli \
20 pulseaudio-misc \ 20 pulseaudio-misc \
@@ -27,7 +27,7 @@ PULSEAUDIO_INSTALL = " \
27 "", d)} \ 27 "", d)} \
28" 28"
29 29
30RDEPENDS:${PN} = " \ 30RDEPENDS:${PN} = "\
31 ${@bb.utils.contains("DISTRO_FEATURES", "alsa", "${ALSA_INSTALL}", "", d)} \ 31 ${@bb.utils.contains("DISTRO_FEATURES", "alsa", "${ALSA_INSTALL}", "", d)} \
32 ${@bb.utils.contains("DISTRO_FEATURES", "pulseaudio", "${PULSEAUDIO_INSTALL}", "", d)} \ 32 ${@bb.utils.contains("DISTRO_FEATURES", "pulseaudio", "${PULSEAUDIO_INSTALL}", "", d)} \
33" 33"
diff --git a/recipes-graphics/devil/devil_1.8.0.bb b/recipes-graphics/devil/devil_1.8.0.bb
index dcbdf3ac1..4c37b6298 100644
--- a/recipes-graphics/devil/devil_1.8.0.bb
+++ b/recipes-graphics/devil/devil_1.8.0.bb
@@ -1,10 +1,12 @@
1SUMMARY = "Cross-platform image library"
1DESCRIPTION = "A full featured cross-platform image library" 2DESCRIPTION = "A full featured cross-platform image library"
3HOMEPAGE = "https://openil.sourceforge.net/"
2SECTION = "libs" 4SECTION = "libs"
3LICENSE = "LGPL-2.1-only" 5LICENSE = "LGPL-2.1-only"
4LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/LGPL-2.1-only;md5=1a6d268fd218675ffea8be556788b780" 6LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/LGPL-2.1-only;md5=1a6d268fd218675ffea8be556788b780"
5PR = "r0" 7PR = "r0"
6 8
7DEPENDS = "libpng jpeg tiff xz" 9DEPENDS = "jpeg libpng tiff xz"
8 10
9SRC_URI = "http://sourceforge.net/projects/openil/files/DevIL/${PV}/DevIL-${PV}.zip" 11SRC_URI = "http://sourceforge.net/projects/openil/files/DevIL/${PV}/DevIL-${PV}.zip"
10SRC_URI[sha256sum] = "451337f392c65bfb83698a781370534dc63d7bafca21e9b37178df0518f7e895" 12SRC_URI[sha256sum] = "451337f392c65bfb83698a781370534dc63d7bafca21e9b37178df0518f7e895"
diff --git a/recipes-graphics/drm/libdrm_2.4.127.imx.bb b/recipes-graphics/drm/libdrm_2.4.127.imx.bb
index 198db014e..685e3f04a 100644
--- a/recipes-graphics/drm/libdrm_2.4.127.imx.bb
+++ b/recipes-graphics/drm/libdrm_2.4.127.imx.bb
@@ -7,9 +7,9 @@ HOMEPAGE = "http://dri.freedesktop.org"
7SECTION = "x11/base" 7SECTION = "x11/base"
8LICENSE = "MIT" 8LICENSE = "MIT"
9LIC_FILES_CHKSUM = "file://LICENSE;md5=9eb1f4831351ab42d762c40b3ebb7add \ 9LIC_FILES_CHKSUM = "file://LICENSE;md5=9eb1f4831351ab42d762c40b3ebb7add \
10 file://xf86drm.c;beginline=9;endline=32;md5=c8a3b961af7667c530816761e949dc71" 10 file://xf86drm.c;beginline=9;endline=32;md5=c8a3b961af7667c530816761e949dc71"
11PROVIDES = "drm"
12DEPENDS = "libpthread-stubs" 11DEPENDS = "libpthread-stubs"
12PROVIDES = "drm"
13 13
14SRC_URI = "${IMX_LIBDRM_SRC};branch=${SRCBRANCH}" 14SRC_URI = "${IMX_LIBDRM_SRC};branch=${SRCBRANCH}"
15IMX_LIBDRM_SRC ?= "git://github.com/nxp-imx/libdrm-imx.git;protocol=https" 15IMX_LIBDRM_SRC ?= "git://github.com/nxp-imx/libdrm-imx.git;protocol=https"
@@ -46,10 +46,6 @@ PACKAGES =+ "${PN}-tests ${PN}-drivers ${PN}-radeon ${PN}-nouveau ${PN}-omap \
46 ${PN}-intel ${PN}-exynos ${PN}-freedreno ${PN}-amdgpu \ 46 ${PN}-intel ${PN}-exynos ${PN}-freedreno ${PN}-amdgpu \
47 ${PN}-etnaviv" 47 ${PN}-etnaviv"
48 48
49RRECOMMENDS:${PN}-drivers = "${PN}-radeon ${PN}-nouveau ${PN}-omap ${PN}-intel \
50 ${PN}-exynos ${PN}-freedreno ${PN}-amdgpu \
51 ${PN}-etnaviv"
52
53FILES:${PN}-tests = "${bindir}/*" 49FILES:${PN}-tests = "${bindir}/*"
54FILES:${PN}-radeon = "${libdir}/libdrm_radeon.so.*" 50FILES:${PN}-radeon = "${libdir}/libdrm_radeon.so.*"
55FILES:${PN}-nouveau = "${libdir}/libdrm_nouveau.so.*" 51FILES:${PN}-nouveau = "${libdir}/libdrm_nouveau.so.*"
@@ -60,6 +56,10 @@ FILES:${PN}-freedreno = "${libdir}/libdrm_freedreno.so.*"
60FILES:${PN}-amdgpu = "${libdir}/libdrm_amdgpu.so.* ${datadir}/${PN}/amdgpu.ids" 56FILES:${PN}-amdgpu = "${libdir}/libdrm_amdgpu.so.* ${datadir}/${PN}/amdgpu.ids"
61FILES:${PN}-etnaviv = "${libdir}/libdrm_etnaviv.so.*" 57FILES:${PN}-etnaviv = "${libdir}/libdrm_etnaviv.so.*"
62 58
59RRECOMMENDS:${PN}-drivers = "${PN}-radeon ${PN}-nouveau ${PN}-omap ${PN}-intel \
60 ${PN}-exynos ${PN}-freedreno ${PN}-amdgpu \
61 ${PN}-etnaviv"
62
63BBCLASSEXTEND = "native nativesdk" 63BBCLASSEXTEND = "native nativesdk"
64 64
65PACKAGES:prepend:imxgpu = "${PN}-vivante " 65PACKAGES:prepend:imxgpu = "${PN}-vivante "
diff --git a/recipes-graphics/gli/gli_0.8.4.0.bb b/recipes-graphics/gli/gli_0.8.4.0.bb
index 14d6a75ed..f1ab37606 100644
--- a/recipes-graphics/gli/gli_0.8.4.0.bb
+++ b/recipes-graphics/gli/gli_0.8.4.0.bb
@@ -9,7 +9,7 @@ SECTION = "libs"
9LICENSE = "MIT" 9LICENSE = "MIT"
10LIC_FILES_CHKSUM = "file://readme.md;beginline=19;endline=20;md5=ab03b667ee630c1abb1add70365a50fb" 10LIC_FILES_CHKSUM = "file://readme.md;beginline=19;endline=20;md5=ab03b667ee630c1abb1add70365a50fb"
11 11
12SRC_URI = " \ 12SRC_URI = "\
13 git://github.com/g-truc/gli;protocol=https;branch=master \ 13 git://github.com/g-truc/gli;protocol=https;branch=master \
14" 14"
15SRCREV = "0c171ee87fcfe35a7e0e0445adef06f92e0b6a91" 15SRCREV = "0c171ee87fcfe35a7e0e0445adef06f92e0b6a91"
diff --git a/recipes-graphics/imx-g2d/imx-dpu-g2d_2.5.0.2.bb b/recipes-graphics/imx-g2d/imx-dpu-g2d_2.5.0.2.bb
index 94a876a94..320ba3017 100644
--- a/recipes-graphics/imx-g2d/imx-dpu-g2d_2.5.0.2.bb
+++ b/recipes-graphics/imx-g2d/imx-dpu-g2d_2.5.0.2.bb
@@ -2,12 +2,15 @@
2# Copyright 2017-2025 NXP 2# Copyright 2017-2025 NXP
3# Released under the MIT license (see COPYING.MIT for the terms) 3# Released under the MIT license (see COPYING.MIT for the terms)
4 4
5SUMMARY = "i.MX DPU G2D library"
5DESCRIPTION = "G2D library using i.MX DPU" 6DESCRIPTION = "G2D library using i.MX DPU"
7HOMEPAGE = "https://www.nxp.com/"
8SECTION = "graphics"
6LICENSE = "Proprietary" 9LICENSE = "Proprietary"
7LIC_FILES_CHKSUM = "file://COPYING;md5=bc649096ad3928ec06a8713b8d787eac" 10LIC_FILES_CHKSUM = "file://COPYING;md5=bc649096ad3928ec06a8713b8d787eac"
8 11
9DEPENDS = "libdrm ${LIBGAL_IMX}" 12DEPENDS = "libdrm ${LIBGAL_IMX}"
10LIBGAL_IMX = "" 13LIBGAL_IMX = ""
11LIBGAL_IMX:imxviv = "libgal-imx" 14LIBGAL_IMX:imxviv = "libgal-imx"
12 15
13PROVIDES += "virtual/libg2d" 16PROVIDES += "virtual/libg2d"
@@ -33,6 +36,8 @@ do_install () {
33 cp -Pr ${S}/g2d/usr/include/* ${D}${includedir} 36 cp -Pr ${S}/g2d/usr/include/* ${D}${includedir}
34} 37}
35 38
39PACKAGE_ARCH = "${MACHINE_SOCARCH}"
40
36INSANE_SKIP:append:libc-musl = " file-rdeps" 41INSANE_SKIP:append:libc-musl = " file-rdeps"
37RDEPENDS:${PN}:append:libc-musl = " gcompat" 42RDEPENDS:${PN}:append:libc-musl = " gcompat"
38 43
@@ -42,5 +47,4 @@ INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
42INHIBIT_PACKAGE_STRIP = "1" 47INHIBIT_PACKAGE_STRIP = "1"
43INHIBIT_SYSROOT_STRIP = "1" 48INHIBIT_SYSROOT_STRIP = "1"
44 49
45PACKAGE_ARCH = "${MACHINE_SOCARCH}"
46COMPATIBLE_MACHINE = "(imxdpu)" 50COMPATIBLE_MACHINE = "(imxdpu)"
diff --git a/recipes-graphics/imx-g2d/imx-g2d-samples_git.bb b/recipes-graphics/imx-g2d/imx-g2d-samples_git.bb
index af92476e1..147b0620c 100644
--- a/recipes-graphics/imx-g2d/imx-g2d-samples_git.bb
+++ b/recipes-graphics/imx-g2d/imx-g2d-samples_git.bb
@@ -1,5 +1,7 @@
1SUMMARY = "i.MX G2D Samples" 1SUMMARY = "i.MX G2D Samples"
2DESCRIPTION = "Set of sample applications for i.MX G2D" 2DESCRIPTION = "Set of sample applications for i.MX G2D"
3HOMEPAGE = "https://github.com/nxp-imx/g2d-samples"
4SECTION = "graphics"
3LICENSE = "BSD-3-Clause" 5LICENSE = "BSD-3-Clause"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=0858ec9c7a80c4a2cf16e4f825a2cc91" 6LIC_FILES_CHKSUM = "file://LICENSE;md5=0858ec9c7a80c4a2cf16e4f825a2cc91"
5 7
@@ -15,13 +17,13 @@ SRCREV = "22ca65feb57702832fbaca7f7c9c8d691466e649"
15inherit pkgconfig 17inherit pkgconfig
16 18
17PACKAGECONFIG ??= "${PACKAGECONFIG_IMPLEMENTATION}" 19PACKAGECONFIG ??= "${PACKAGECONFIG_IMPLEMENTATION}"
18PACKAGECONFIG_IMPLEMENTATION = "" 20PACKAGECONFIG_IMPLEMENTATION = ""
19PACKAGECONFIG_IMPLEMENTATION:imxgpu2d:imxdpu = "dpu" 21PACKAGECONFIG_IMPLEMENTATION:imxgpu2d:imxdpu = "dpu"
20PACKAGECONFIG_IMPLEMENTATION:mx95-nxp-bsp = "dpu95" 22PACKAGECONFIG_IMPLEMENTATION:mx95-nxp-bsp = "dpu95"
21PACKAGECONFIG_IMPLEMENTATION:imxgpu2d = "gpu-drm" 23PACKAGECONFIG_IMPLEMENTATION:imxgpu2d = "gpu-drm"
22PACKAGECONFIG_IMPLEMENTATION:imxgpu2d:imxfbdev = "gpu-fbdev" 24PACKAGECONFIG_IMPLEMENTATION:imxgpu2d:imxfbdev = "gpu-fbdev"
23PACKAGECONFIG_IMPLEMENTATION:mx93-nxp-bsp = "pxp" 25PACKAGECONFIG_IMPLEMENTATION:mx93-nxp-bsp = "pxp"
24PACKAGECONFIG_IMPLEMENTATION:mx943-nxp-bsp = "pxp" 26PACKAGECONFIG_IMPLEMENTATION:mx943-nxp-bsp = "pxp"
25 27
26PACKAGECONFIG[dpu] = " \ 28PACKAGECONFIG[dpu] = " \
27 BUILD_IMPLEMENTATION=dpu, \ 29 BUILD_IMPLEMENTATION=dpu, \
@@ -59,7 +61,7 @@ PACKAGECONFIG[pxp] = " \
59 , \ 61 , \
60 dpu dpu95 gpu-drm gpu-fbdev" 62 dpu dpu95 gpu-drm gpu-fbdev"
61 63
62EXTRA_OEMAKE += " \ 64EXTRA_OEMAKE += "\
63 SDKTARGETSYSROOT=${STAGING_DIR_HOST} \ 65 SDKTARGETSYSROOT=${STAGING_DIR_HOST} \
64 ${PACKAGECONFIG_CONFARGS} \ 66 ${PACKAGECONFIG_CONFARGS} \
65" 67"
@@ -68,8 +70,8 @@ do_install() {
68 oe_runmake install DESTDIR=${D} 70 oe_runmake install DESTDIR=${D}
69} 71}
70 72
71FILES:${PN} += "/opt"
72
73PACKAGE_ARCH = "${MACHINE_SOCARCH}" 73PACKAGE_ARCH = "${MACHINE_SOCARCH}"
74 74
75FILES:${PN} += "/opt"
76
75COMPATIBLE_MACHINE = "(imxgpu2d|mx93-nxp-bsp|mx943-nxp-bsp|mx95-nxp-bsp)" 77COMPATIBLE_MACHINE = "(imxgpu2d|mx93-nxp-bsp|mx943-nxp-bsp|mx95-nxp-bsp)"
diff --git a/recipes-graphics/imx-g2d/imx-gpu-g2d_6.4.11.p4.4.bb b/recipes-graphics/imx-g2d/imx-gpu-g2d_6.4.11.p4.4.bb
index 1a359676f..fbb937b18 100644
--- a/recipes-graphics/imx-g2d/imx-gpu-g2d_6.4.11.p4.4.bb
+++ b/recipes-graphics/imx-g2d/imx-gpu-g2d_6.4.11.p4.4.bb
@@ -3,7 +3,10 @@
3# Copyright 2018 (C) O.S. Systems Software LTDA. 3# Copyright 2018 (C) O.S. Systems Software LTDA.
4# Released under the MIT license (see COPYING.MIT for the terms) 4# Released under the MIT license (see COPYING.MIT for the terms)
5 5
6SUMMARY = "i.MX GPU G2D library"
6DESCRIPTION = "G2D library using i.MX GPU" 7DESCRIPTION = "G2D library using i.MX GPU"
8HOMEPAGE = "https://www.nxp.com/"
9SECTION = "graphics"
7LICENSE = "Proprietary" 10LICENSE = "Proprietary"
8LIC_FILES_CHKSUM = "file://COPYING;md5=bc649096ad3928ec06a8713b8d787eac" 11LIC_FILES_CHKSUM = "file://COPYING;md5=bc649096ad3928ec06a8713b8d787eac"
9DEPENDS = "libgal-imx" 12DEPENDS = "libgal-imx"
@@ -19,7 +22,7 @@ S = "${UNPACKDIR}/${IMX_BIN_NAME}"
19 22
20inherit fsl-eula-unpack 23inherit fsl-eula-unpack
21 24
22SOC_INSTALL_DIR = "SOC_INSTALL_DIR_NOT_SET" 25SOC_INSTALL_DIR = "SOC_INSTALL_DIR_NOT_SET"
23SOC_INSTALL_DIR:mx8mm-nxp-bsp = "mx8mm" 26SOC_INSTALL_DIR:mx8mm-nxp-bsp = "mx8mm"
24 27
25do_install () { 28do_install () {
diff --git a/recipes-graphics/imx-g2d/imx-pxp-g2d_git.bb b/recipes-graphics/imx-g2d/imx-pxp-g2d_git.bb
index 2b848e89c..e99e8165a 100644
--- a/recipes-graphics/imx-g2d/imx-pxp-g2d_git.bb
+++ b/recipes-graphics/imx-g2d/imx-pxp-g2d_git.bb
@@ -2,7 +2,10 @@
2# Copyright 2017-2026 NXP 2# Copyright 2017-2026 NXP
3# Released under the MIT license (see COPYING.MIT for the terms) 3# Released under the MIT license (see COPYING.MIT for the terms)
4 4
5SUMMARY = "i.MX PXP G2D library"
5DESCRIPTION = "G2D library using i.MX PXP" 6DESCRIPTION = "G2D library using i.MX PXP"
7HOMEPAGE = "https://github.com/nxp-imx/imx-g2d-pxp"
8SECTION = "graphics"
6LICENSE = "Proprietary" 9LICENSE = "Proprietary"
7LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a93b654673e1bc8398ed1f30e0813359" 10LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a93b654673e1bc8398ed1f30e0813359"
8 11
@@ -18,7 +21,7 @@ SRCREV = "7dd4ca631b894a29389dadda5bd112cfa576b2d9"
18inherit use-imx-headers 21inherit use-imx-headers
19 22
20EXTRA_OEMAKE = "PLATFORM=${IMX_PLATFORM} INCLUDE='-I${STAGING_INCDIR_IMX}' DEST_DIR=${D}" 23EXTRA_OEMAKE = "PLATFORM=${IMX_PLATFORM} INCLUDE='-I${STAGING_INCDIR_IMX}' DEST_DIR=${D}"
21IMX_PLATFORM:mx93-nxp-bsp = "IMX93" 24IMX_PLATFORM:mx93-nxp-bsp = "IMX93"
22IMX_PLATFORM:mx943-nxp-bsp = "IMX943" 25IMX_PLATFORM:mx943-nxp-bsp = "IMX943"
23 26
24do_install() { 27do_install() {
diff --git a/recipes-graphics/imx-gpu-apitrace/imx-gpu-apitrace_10.0.0.bb b/recipes-graphics/imx-gpu-apitrace/imx-gpu-apitrace_10.0.0.bb
index 5dea367a9..e846126b0 100644
--- a/recipes-graphics/imx-gpu-apitrace/imx-gpu-apitrace_10.0.0.bb
+++ b/recipes-graphics/imx-gpu-apitrace/imx-gpu-apitrace_10.0.0.bb
@@ -1,8 +1,11 @@
1# Copyright 2018 (C) O.S. Systems Software LTDA. 1# Copyright 2018 (C) O.S. Systems Software LTDA.
2SUMMARY = "Samples for OpenGL ES" 2SUMMARY = "Samples for OpenGL ES"
3DESCRIPTION = "OpenGL ES / EGL API tracing, replay and inspection tools for i.MX GPUs."
4HOMEPAGE = "https://github.com/nxp-imx/apitrace-imx"
5SECTION = "graphics"
3LICENSE = "MIT" 6LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=aeb969185a143c3c25130bc2c3ef9a50" 7LIC_FILES_CHKSUM = "file://LICENSE;md5=aeb969185a143c3c25130bc2c3ef9a50"
5DEPENDS = "zlib libpng procps" 8DEPENDS = "libpng procps zlib"
6 9
7SRC_URI = "git://github.com/nxp-imx/apitrace-imx.git;protocol=https;branch=imx_10.0 \ 10SRC_URI = "git://github.com/nxp-imx/apitrace-imx.git;protocol=https;branch=imx_10.0 \
8 file://0001-dlsym-workaround-glibc-2.34-build-failure.patch \ 11 file://0001-dlsym-workaround-glibc-2.34-build-failure.patch \
@@ -11,17 +14,17 @@ SRCREV = "522cb2981289b7ba20d6dd4b4bf75097e079815b"
11 14
12inherit cmake pkgconfig perlnative python3native 15inherit cmake pkgconfig perlnative python3native
13 16
14PACKAGECONFIG ??= " \ 17PACKAGECONFIG ??= "\
15 egl \ 18 egl \
16 ${PACKAGECONFIG_BACKEND} \ 19 ${PACKAGECONFIG_BACKEND} \
17 ${PACKAGECONFIG_GPU2D} \ 20 ${PACKAGECONFIG_GPU2D} \
18" 21"
19PACKAGECONFIG_BACKEND = " \ 22PACKAGECONFIG_BACKEND = "\
20 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'waffle', \ 23 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'waffle', \
21 bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', \ 24 bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', \
22 '', d), d)} \ 25 '', d), d)} \
23" 26"
24PACKAGECONFIG_GPU2D = "" 27PACKAGECONFIG_GPU2D = ""
25PACKAGECONFIG_GPU2D:imxviv:imxgpu2d = "vivante" 28PACKAGECONFIG_GPU2D:imxviv:imxgpu2d = "vivante"
26 29
27PACKAGECONFIG[egl] = "-DENABLE_EGL=ON,-DENABLE_EGL=OFF,virtual/egl" 30PACKAGECONFIG[egl] = "-DENABLE_EGL=ON,-DENABLE_EGL=OFF,virtual/egl"
@@ -31,9 +34,11 @@ PACKAGECONFIG[waffle] = "-DENABLE_WAFFLE=ON,-DENABLE_WAFFLE=OFF,waffle"
31PACKAGECONFIG[x11] = "-DENABLE_X11=ON,-DENABLE_X11=OFF" 34PACKAGECONFIG[x11] = "-DENABLE_X11=ON,-DENABLE_X11=OFF"
32PACKAGECONFIG[vivante] = "-DENABLE_VIVANTE=ON,-DENABLE_VIVANTE=OFF,virtual/libg2d" 35PACKAGECONFIG[vivante] = "-DENABLE_VIVANTE=ON,-DENABLE_VIVANTE=OFF,virtual/libg2d"
33 36
37PACKAGE_ARCH = "${MACHINE_SOCARCH}"
38
34SOLIBS = ".so" 39SOLIBS = ".so"
35FILES_SOLIBSDEV = "" 40FILES_SOLIBSDEV = ""
36FILES:${PN} += " \ 41FILES:${PN} += "\
37 ${libdir}/apitrace/scripts/* \ 42 ${libdir}/apitrace/scripts/* \
38 ${libdir}/apitrace/wrappers/* \ 43 ${libdir}/apitrace/wrappers/* \
39" 44"
@@ -43,7 +48,6 @@ EXTRA_OECMAKE += "\
43 -DENABLE_STATIC_LIBSTDCXX=OFF \ 48 -DENABLE_STATIC_LIBSTDCXX=OFF \
44 -DPython3_ROOT_DIR=/usr/bin/python3-native \ 49 -DPython3_ROOT_DIR=/usr/bin/python3-native \
45" 50"
46PACKAGE_ARCH = "${MACHINE_SOCARCH}"
47COMPATIBLE_MACHINE = "(imxgpu)" 51COMPATIBLE_MACHINE = "(imxgpu)"
48SECURITY_CFLAGS:toolchain-clang = "" 52SECURITY_CFLAGS:toolchain-clang = ""
49 53
diff --git a/recipes-graphics/imx-gpu-sdk/imx-gpu-sdk_6.1.1.bb b/recipes-graphics/imx-gpu-sdk/imx-gpu-sdk_6.1.1.bb
index e1510baf3..c51d112c2 100644
--- a/recipes-graphics/imx-gpu-sdk/imx-gpu-sdk_6.1.1.bb
+++ b/recipes-graphics/imx-gpu-sdk/imx-gpu-sdk_6.1.1.bb
@@ -1,5 +1,7 @@
1SUMMARY = "i.MX GPU SDK Samples" 1SUMMARY = "i.MX GPU SDK Samples"
2DESCRIPTION = "Set of sample applications for i.MX GPU" 2DESCRIPTION = "Set of sample applications for i.MX GPU"
3HOMEPAGE = "https://github.com/nxp-imx/gtec-demo-framework"
4SECTION = "graphics"
3LICENSE = "BSD-3-Clause" 5LICENSE = "BSD-3-Clause"
4LIC_FILES_CHKSUM = "file://License.md;md5=9d58a2573275ce8c35d79576835dbeb8" 6LIC_FILES_CHKSUM = "file://License.md;md5=9d58a2573275ce8c35d79576835dbeb8"
5 7
@@ -7,8 +9,8 @@ DEPENDS_BACKEND = \
7 "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', ' libxdg-shell wayland', \ 9 "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', ' libxdg-shell wayland', \
8 bb.utils.contains('DISTRO_FEATURES', 'x11', ' xrandr', \ 10 bb.utils.contains('DISTRO_FEATURES', 'x11', ' xrandr', \
9 '', d), d)}" 11 '', d), d)}"
10DEPENDS_MX8 = "" 12DEPENDS_MX8 = ""
11DEPENDS_MX8:mx8-nxp-bsp = " \ 13DEPENDS_MX8:mx8-nxp-bsp = "\
12 glslang-native \ 14 glslang-native \
13 opencv \ 15 opencv \
14 rapidopencl \ 16 rapidopencl \
@@ -17,10 +19,10 @@ DEPENDS_MX8:mx8-nxp-bsp = " \
17 vulkan-headers \ 19 vulkan-headers \
18 vulkan-loader \ 20 vulkan-loader \
19" 21"
20DEPENDS_MX8:mx8mm-nxp-bsp = " \ 22DEPENDS_MX8:mx8mm-nxp-bsp = "\
21 opencv \ 23 opencv \
22" 24"
23DEPENDS = " \ 25DEPENDS = "\
24 assimp \ 26 assimp \
25 cmake-native \ 27 cmake-native \
26 devil \ 28 devil \
@@ -44,28 +46,27 @@ DEPENDS:append:imxgpu3d = " virtual/libgles2"
44 46
45require imx-gpu-sdk-src.inc 47require imx-gpu-sdk-src.inc
46 48
47
48WINDOW_SYSTEM = \ 49WINDOW_SYSTEM = \
49 "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'Wayland_XDG', \ 50 "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'Wayland_XDG', \
50 bb.utils.contains('DISTRO_FEATURES', 'x11', 'X11', \ 51 bb.utils.contains('DISTRO_FEATURES', 'x11', 'X11', \
51 'FB', d), d)}" 52 'FB', d), d)}"
52 53
53FEATURES = "ConsoleHost,EarlyAccess,EGL,GoogleUnitTest,Lib_NlohmannJson,OpenVG,Test_RequireUserInputToExit,WindowHost" 54FEATURES = "ConsoleHost,EarlyAccess,EGL,GoogleUnitTest,Lib_NlohmannJson,OpenVG,Test_RequireUserInputToExit,WindowHost"
54FEATURES:append:imxgpu = ",HW_GPU_VIVANTE" 55FEATURES:append:imxgpu = ",HW_GPU_VIVANTE"
55FEATURES:append:imxgpu2d = ",G2D" 56FEATURES:append:imxgpu2d = ",G2D"
56FEATURES:append:imxgpu3d = ",OpenGLES2" 57FEATURES:append:imxgpu3d = ",OpenGLES2"
57FEATURES:append = "${FEATURES_SOC}" 58FEATURES:append = "${FEATURES_SOC}"
58 59
59FEATURES_SOC = "" 60FEATURES_SOC = ""
60FEATURES_SOC:mx6q-nxp-bsp = ",OpenGLES3" 61FEATURES_SOC:mx6q-nxp-bsp = ",OpenGLES3"
61FEATURES_SOC:mx6dl-nxp-bsp = ",OpenGLES3" 62FEATURES_SOC:mx6dl-nxp-bsp = ",OpenGLES3"
62FEATURES_SOC:mx8-nxp-bsp = ",OpenCV4,Vulkan1.2,OpenGLES3.2,OpenCL1.2,OpenVX1.2" 63FEATURES_SOC:mx8-nxp-bsp = ",OpenCV4,Vulkan1.2,OpenGLES3.2,OpenCL1.2,OpenVX1.2"
63FEATURES_SOC:mx8mm-nxp-bsp = ",OpenCV4" 64FEATURES_SOC:mx8mm-nxp-bsp = ",OpenCV4"
64 65
65EXTENSIONS = "*" 66EXTENSIONS = "*"
66EXTENSIONS:mx6q-nxp-bsp = "OpenGLES:GL_VIV_direct_texture,OpenGLES3:GL_EXT_geometry_shader,OpenGLES3:GL_EXT_tessellation_shader" 67EXTENSIONS:mx6q-nxp-bsp = "OpenGLES:GL_VIV_direct_texture,OpenGLES3:GL_EXT_geometry_shader,OpenGLES3:GL_EXT_tessellation_shader"
67EXTENSIONS:mx6dl-nxp-bsp = "OpenGLES:GL_VIV_direct_texture,OpenGLES3:GL_EXT_geometry_shader,OpenGLES3:GL_EXT_tessellation_shader" 68EXTENSIONS:mx6dl-nxp-bsp = "OpenGLES:GL_VIV_direct_texture,OpenGLES3:GL_EXT_geometry_shader,OpenGLES3:GL_EXT_tessellation_shader"
68EXTENSIONS:mx8m-nxp-bsp = "OpenGLES:GL_VIV_direct_texture,OpenGLES3:GL_EXT_color_buffer_float" 69EXTENSIONS:mx8m-nxp-bsp = "OpenGLES:GL_VIV_direct_texture,OpenGLES3:GL_EXT_color_buffer_float"
69EXTENSIONS:mx8mm-nxp-bsp = "*" 70EXTENSIONS:mx8mm-nxp-bsp = "*"
70 71
71do_compile () { 72do_compile () {
@@ -75,7 +76,7 @@ do_compile () {
75 FslBuild.py -vvvvv -t sdk --UseFeatures [${FEATURES}] --UseExtensions [${EXTENSIONS}] --Variants [WindowSystem=${WINDOW_SYSTEM}] --BuildThreads ${@oe.utils.parallel_make(d)} -c install --CMakeInstallPrefix ${S} 76 FslBuild.py -vvvvv -t sdk --UseFeatures [${FEATURES}] --UseExtensions [${EXTENSIONS}] --Variants [WindowSystem=${WINDOW_SYSTEM}] --BuildThreads ${@oe.utils.parallel_make(d)} -c install --CMakeInstallPrefix ${S}
76} 77}
77 78
78REMOVALS = " \ 79REMOVALS = "\
79 GLES2/DeBayer \ 80 GLES2/DeBayer \
80 GLES2/DirectMultiSamplingVideoYUV \ 81 GLES2/DirectMultiSamplingVideoYUV \
81 GLES3/DirectMultiSamplingVideoYUV \ 82 GLES3/DirectMultiSamplingVideoYUV \
@@ -108,7 +109,7 @@ INSANE_SKIP:${PN} += "already-stripped rpaths"
108 109
109# Unfortunately recipes with an empty main package, like header-only libraries, 110# Unfortunately recipes with an empty main package, like header-only libraries,
110# are not included in the SDK. Use RDEPENDS as a workaround. 111# are not included in the SDK. Use RDEPENDS as a workaround.
111RDEPENDS_EMPTY_MAIN_PACKAGE = " \ 112RDEPENDS_EMPTY_MAIN_PACKAGE = "\
112 fmt \ 113 fmt \
113 gli \ 114 gli \
114 glm \ 115 glm \
@@ -118,8 +119,8 @@ RDEPENDS_EMPTY_MAIN_PACKAGE = " \
118 rapidjson \ 119 rapidjson \
119 stb \ 120 stb \
120" 121"
121RDEPENDS_EMPTY_MAIN_PACKAGE_MX8 = "" 122RDEPENDS_EMPTY_MAIN_PACKAGE_MX8 = ""
122RDEPENDS_EMPTY_MAIN_PACKAGE_MX8:mx8-nxp-bsp = " \ 123RDEPENDS_EMPTY_MAIN_PACKAGE_MX8:mx8-nxp-bsp = "\
123 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'libxdg-shell', '', d)} \ 124 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'libxdg-shell', '', d)} \
124 rapidopencl \ 125 rapidopencl \
125 rapidopenvx \ 126 rapidopenvx \
@@ -128,10 +129,10 @@ RDEPENDS_EMPTY_MAIN_PACKAGE_MX8:mx8-nxp-bsp = " \
128RDEPENDS_EMPTY_MAIN_PACKAGE_MX8:mx8mm-nxp-bsp = "" 129RDEPENDS_EMPTY_MAIN_PACKAGE_MX8:mx8mm-nxp-bsp = ""
129# vulkan-loader is dynamically loaded, so need to add an explicit 130# vulkan-loader is dynamically loaded, so need to add an explicit
130# dependency 131# dependency
131RDEPENDS_VULKAN_LOADER = "" 132RDEPENDS_VULKAN_LOADER = ""
132RDEPENDS_VULKAN_LOADER:mx8-nxp-bsp = "vulkan-validation-layers vulkan-loader" 133RDEPENDS_VULKAN_LOADER:mx8-nxp-bsp = "vulkan-loader vulkan-validation-layers"
133RDEPENDS_VULKAN_LOADER:mx8mm-nxp-bsp = "" 134RDEPENDS_VULKAN_LOADER:mx8mm-nxp-bsp = ""
134RDEPENDS:${PN} += " \ 135RDEPENDS:${PN} += "\
135 ${RDEPENDS_EMPTY_MAIN_PACKAGE} \ 136 ${RDEPENDS_EMPTY_MAIN_PACKAGE} \
136 ${RDEPENDS_EMPTY_MAIN_PACKAGE_MX8} \ 137 ${RDEPENDS_EMPTY_MAIN_PACKAGE_MX8} \
137 ${RDEPENDS_VULKAN_LOADER} \ 138 ${RDEPENDS_VULKAN_LOADER} \
diff --git a/recipes-graphics/imx-gpu-sdk/libxdg-shell.bb b/recipes-graphics/imx-gpu-sdk/libxdg-shell.bb
index a5637869a..56b89c159 100644
--- a/recipes-graphics/imx-gpu-sdk/libxdg-shell.bb
+++ b/recipes-graphics/imx-gpu-sdk/libxdg-shell.bb
@@ -1,8 +1,11 @@
1SUMMARY = "Provides XDG shell header and glue code library" 1SUMMARY = "Provides XDG shell header and glue code library"
2DESCRIPTION = "XDG shell protocol header and glue-code library used by the i.MX GPU SDK samples."
3HOMEPAGE = "https://github.com/nxp-imx/gtec-demo-framework"
4SECTION = "graphics"
2LICENSE = "BSD-3-Clause" 5LICENSE = "BSD-3-Clause"
3LIC_FILES_CHKSUM = "file://${UNPACKDIR}/${BP}/License.md;md5=9d58a2573275ce8c35d79576835dbeb8" 6LIC_FILES_CHKSUM = "file://${UNPACKDIR}/${BP}/License.md;md5=9d58a2573275ce8c35d79576835dbeb8"
4 7
5DEPENDS = "wayland-native wayland wayland-protocols" 8DEPENDS = "wayland wayland-native wayland-protocols"
6 9
7require imx-gpu-sdk-src.inc 10require imx-gpu-sdk-src.inc
8 11
@@ -12,7 +15,7 @@ S = "${UNPACKDIR}/${BP}/ThirdParty/Recipe/xdg-shell"
12 15
13inherit cmake pkgconfig 16inherit cmake pkgconfig
14 17
15EXTRA_OECMAKE = " \ 18EXTRA_OECMAKE = "\
16 -DWAYLAND_SCANNER=${STAGING_BINDIR_NATIVE}/wayland-scanner \ 19 -DWAYLAND_SCANNER=${STAGING_BINDIR_NATIVE}/wayland-scanner \
17 -DWAYLAND_PROTOCOLS_DIR=${STAGING_DATADIR}/wayland-protocols \ 20 -DWAYLAND_PROTOCOLS_DIR=${STAGING_DATADIR}/wayland-protocols \
18" 21"
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 38f976c71..ea76e2af8 100644
--- a/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc
+++ b/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc
@@ -3,18 +3,19 @@
3# Copyright 2017-2024 NXP 3# Copyright 2017-2024 NXP
4# Released under the MIT license (see COPYING.MIT for the terms) 4# Released under the MIT license (see COPYING.MIT for the terms)
5 5
6SUMMARY = "i.MX Vivante GPU driver"
6DESCRIPTION = "GPU driver and apps for i.MX" 7DESCRIPTION = "GPU driver and apps for i.MX"
7HOMEPAGE = "https://www.nxp.com/" 8HOMEPAGE = "https://www.nxp.com/"
8SECTION = "libs" 9SECTION = "libs"
9LICENSE = "Proprietary" 10LICENSE = "Proprietary"
10LIC_FILES_CHKSUM = "file://COPYING;md5=ea25d099982d035af85d193c88a1b479" 11LIC_FILES_CHKSUM = "file://COPYING;md5=ea25d099982d035af85d193c88a1b479"
11 12
12DEPENDS += " \ 13DEPENDS += "\
13 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', \ 14 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', \
14 bb.utils.contains('DISTRO_FEATURES', 'x11', 'virtual/libx11 libxdamage libxext libxfixes', \ 15 bb.utils.contains('DISTRO_FEATURES', 'x11', 'virtual/libx11 libxdamage libxext libxfixes', \
15 '', d), d)} \ 16 '', d), d)} \
16" 17"
17DEPENDS += " \ 18DEPENDS += "\
18 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libxcb libxshmfence libxxf86vm', \ 19 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libxcb libxshmfence libxxf86vm', \
19 '', d)} \ 20 '', d)} \
20" 21"
@@ -23,14 +24,14 @@ DEPENDS:append:mx8-nxp-bsp = " patchelf-native"
23 24
24DEPENDS:append:libc-musl = " gcompat" 25DEPENDS:append:libc-musl = " gcompat"
25 26
26PROVIDES += " \ 27PROVIDES += "\
27 imx-gpu-viv \ 28 imx-gpu-viv \
28 libgal-imx \ 29 libgal-imx \
29 virtual/egl \ 30 virtual/egl \
30 virtual/libopenvg \ 31 virtual/libopenvg \
31 ${EXTRA_PROVIDES} \ 32 ${EXTRA_PROVIDES} \
32" 33"
33EXTRA_PROVIDES = " \ 34EXTRA_PROVIDES = "\
34 ${PROVIDES_OPENCL} \ 35 ${PROVIDES_OPENCL} \
35 ${PROVIDES_OPENVX} \ 36 ${PROVIDES_OPENVX} \
36" 37"
@@ -43,21 +44,21 @@ EXTRA_PROVIDES:append:mx8-nxp-bsp = " \
43 virtual/libgbm \ 44 virtual/libgbm \
44" 45"
45 46
46PROVIDES_OPENCL = " \ 47PROVIDES_OPENCL = "\
47 opencl-headers \ 48 opencl-headers \
48 opencl-clhpp \ 49 opencl-clhpp \
49 opencl-icd-loader \ 50 opencl-icd-loader \
50 virtual/libopencl1 \ 51 virtual/libopencl1 \
51" 52"
52PROVIDES_OPENCL:mx7-nxp-bsp = "" 53PROVIDES_OPENCL:mx7-nxp-bsp = ""
53PROVIDES_OPENCL:mx8mm-nxp-bsp = "" 54PROVIDES_OPENCL:mx8mm-nxp-bsp = ""
54 55
55# Note: OpenVX is fully supported on i.MX 8 QuadMax and 8 QuadPlus. 56# Note: OpenVX is fully supported on i.MX 8 QuadMax and 8 QuadPlus.
56# However, only limited support is provided on other i.MX 8 machines 57# However, only limited support is provided on other i.MX 8 machines
57# as needed for i.MX machine learning packages. 58# as needed for i.MX machine learning packages.
58PROVIDES_OPENVX = "" 59PROVIDES_OPENVX = ""
59PROVIDES_OPENVX:mx8-nxp-bsp = "virtual/libopenvx" 60PROVIDES_OPENVX:mx8-nxp-bsp = "virtual/libopenvx"
60PROVIDES_OPENVX:mx8mm-nxp-bsp = "" 61PROVIDES_OPENVX:mx8mm-nxp-bsp = ""
61 62
62RPROVIDES:${PN}:imxgpu3d += "imx-gpu-viv" 63RPROVIDES:${PN}:imxgpu3d += "imx-gpu-viv"
63 64
@@ -76,39 +77,39 @@ PACKAGECONFIG ?= ""
76PACKAGECONFIG[valgrind] = "" 77PACKAGECONFIG[valgrind] = ""
77 78
78# Note : If you add a package here, to prevent a naming conflict see the python_anonymous() futher below 79# Note : If you add a package here, to prevent a naming conflict see the python_anonymous() futher below
79PACKAGES =+ " \ 80PACKAGES =+ "\
80 libgles1-imx libgles1-imx-dev \ 81 libgles1-imx libgles1-imx-dev \
81 libgles2-imx libgles2-imx-dev \ 82 libgles2-imx libgles2-imx-dev \
82 libgles3-imx-dev \ 83 libgles3-imx-dev \
83 libglslc-imx libglslc-imx-dev \ 84 libglslc-imx libglslc-imx-dev \
84 ${PACKAGES_OPENCL} \ 85 ${PACKAGES_OPENCL} \
85 libopenvg-imx libopenvg-imx-dev \ 86 libopenvg-imx libopenvg-imx-dev \
86 libvdk-imx libvdk-imx-dev \ 87 libvdk-imx libvdk-imx-dev \
87 libegl-imx libegl-imx-dev \ 88 libegl-imx libegl-imx-dev \
88 libgal-imx libgal-imx-dev \ 89 libgal-imx libgal-imx-dev \
89 libvsc-imx \ 90 libvsc-imx \
90 ${PACKAGES_GBM} \ 91 ${PACKAGES_GBM} \
91 imx-gpu-viv-tools \ 92 imx-gpu-viv-tools \
92 imx-gpu-viv-demos \ 93 imx-gpu-viv-demos \
93 ${PACKAGES_VULKAN} \ 94 ${PACKAGES_VULKAN} \
94 ${PACKAGES_OPENVX} \ 95 ${PACKAGES_OPENVX} \
95 libnn-imx \ 96 libnn-imx \
96 libspirv-imx \ 97 libspirv-imx \
97" 98"
98 99
99PACKAGES_GBM = "" 100PACKAGES_GBM = ""
100PACKAGES_GBM:mx8-nxp-bsp = "libgbm-imx libgbm-imx-dev" 101PACKAGES_GBM:mx8-nxp-bsp = "libgbm-imx libgbm-imx-dev"
101 102
102PACKAGES_OPENCL = "libclc-imx libopencl-imx libopencl-imx-dev" 103PACKAGES_OPENCL = "libclc-imx libopencl-imx libopencl-imx-dev"
103PACKAGES_OPENCL:mx7-nxp-bsp = "" 104PACKAGES_OPENCL:mx7-nxp-bsp = ""
104PACKAGES_OPENCL:mx8mm-nxp-bsp = "" 105PACKAGES_OPENCL:mx8mm-nxp-bsp = ""
105 106
106PACKAGES_OPENVX = \ 107PACKAGES_OPENVX = \
107 "${@bb.utils.contains("PROVIDES_OPENVX", "virtual/libopenvx", \ 108 "${@bb.utils.contains("PROVIDES_OPENVX", "virtual/libopenvx", \
108 "libopenvx-imx libopenvx-imx-dev", "", d)}" 109 "libopenvx-imx libopenvx-imx-dev", "", d)}"
109 110
110PACKAGES_VULKAN = "" 111PACKAGES_VULKAN = ""
111PACKAGES_VULKAN:imxvulkan = "libvulkan-imx libvulkan-imx-dev" 112PACKAGES_VULKAN:imxvulkan = "libvulkan-imx libvulkan-imx-dev"
112PACKAGES_VULKAN:mx8mm-nxp-bsp = "libvulkan-imx libvulkan-imx-dev" 113PACKAGES_VULKAN:mx8mm-nxp-bsp = "libvulkan-imx libvulkan-imx-dev"
113 114
114python __anonymous () { 115python __anonymous () {
@@ -166,16 +167,16 @@ IS_MX8:mx8-nxp-bsp = "1"
166 167
167PACKAGE_FP_TYPE = "hardfp" 168PACKAGE_FP_TYPE = "hardfp"
168 169
169HAS_GBM = "false" 170HAS_GBM = "false"
170HAS_GBM:mx8-nxp-bsp = "true" 171HAS_GBM:mx8-nxp-bsp = "true"
171 172
172IMX_SOC = "IMX_SOC_NOT_SET" 173IMX_SOC = "IMX_SOC_NOT_SET"
173IMX_SOC:mx8qm-nxp-bsp = "mx8qm" 174IMX_SOC:mx8qm-nxp-bsp = "mx8qm"
174IMX_SOC:mx8qxp-nxp-bsp = "mx8qxp" 175IMX_SOC:mx8qxp-nxp-bsp = "mx8qxp"
175IMX_SOC:mx8dx-nxp-bsp = "mx8qxp" 176IMX_SOC:mx8dx-nxp-bsp = "mx8qxp"
176IMX_SOC:mx8mp-nxp-bsp = "mx8mp" 177IMX_SOC:mx8mp-nxp-bsp = "mx8mp"
177IMX_SOC:mx8mq-nxp-bsp = "mx8mq" 178IMX_SOC:mx8mq-nxp-bsp = "mx8mq"
178IMX_SOC:mx8mn-nxp-bsp = "mx8mn" 179IMX_SOC:mx8mn-nxp-bsp = "mx8mn"
179IMX_SOC:mx8ulp-nxp-bsp = "mx8ulp" 180IMX_SOC:mx8ulp-nxp-bsp = "mx8ulp"
180 181
181do_install () { 182do_install () {
@@ -332,8 +333,8 @@ INSANE_SKIP:libgal-imx += "build-deps"
332 333
333FILES:libvsc-imx = "${libdir}/libVSC${SOLIBS}" 334FILES:libvsc-imx = "${libdir}/libVSC${SOLIBS}"
334 335
335FILES:libgbm-imx = "${libdir}/libgbm*${REALSOLIBS} ${libdir}/libgbm${SOLIBS} ${libdir}/libgbm_viv${SOLIBS}" 336FILES:libgbm-imx = "${libdir}/libgbm*${REALSOLIBS} ${libdir}/libgbm${SOLIBS} ${libdir}/libgbm_viv${SOLIBS}"
336FILES:libgbm-imx-dev = "${libdir}/pkgconfig/gbm.pc ${includedir}/gbm.h" 337FILES:libgbm-imx-dev = "${libdir}/pkgconfig/gbm.pc ${includedir}/gbm.h"
337RDEPENDS:libgbm-imx:append = " libdrm" 338RDEPENDS:libgbm-imx:append = " libdrm"
338INSANE_SKIP:libgbm-imx += "dev-so" 339INSANE_SKIP:libgbm-imx += "dev-so"
339 340
@@ -343,11 +344,11 @@ FILES:libvulkan-imx = "\
343FILES:libvulkan-imx-dev = "${includedir}/vulkan ${libdir}/libvulkan_VSI${SOLIBSDEV}" 344FILES:libvulkan-imx-dev = "${includedir}/vulkan ${libdir}/libvulkan_VSI${SOLIBSDEV}"
344RPROVIDES:libvulkan-imx = "virtual-vulkan-icd" 345RPROVIDES:libvulkan-imx = "virtual-vulkan-icd"
345 346
346FILES:libspirv-imx = " \ 347FILES:libspirv-imx = "\
347 ${libdir}/libSPIRV_viv${SOLIBS} \ 348 ${libdir}/libSPIRV_viv${SOLIBS} \
348" 349"
349 350
350FILES:libopenvx-imx = " \ 351FILES:libopenvx-imx = "\
351 ${libdir}/libOpenVX${REALSOLIBS} \ 352 ${libdir}/libOpenVX${REALSOLIBS} \
352 ${libdir}/libOpenVXC${SOLIBS} \ 353 ${libdir}/libOpenVXC${SOLIBS} \
353 ${libdir}/libOpenVXU${SOLIBS} \ 354 ${libdir}/libOpenVXU${SOLIBS} \
@@ -356,7 +357,7 @@ FILES:libopenvx-imx = " \
356" 357"
357FILES:libopenvx-imx-dev = "${includedir}/VX ${libdir}/libOpenVX${SOLIBSDEV}" 358FILES:libopenvx-imx-dev = "${includedir}/VX ${libdir}/libOpenVX${SOLIBSDEV}"
358RDEPENDS:libopenvx-imx = "${OPENCL_VX_INTRINSIC_EXTENSION_PACKAGES}" 359RDEPENDS:libopenvx-imx = "${OPENCL_VX_INTRINSIC_EXTENSION_PACKAGES}"
359OPENCL_VX_INTRINSIC_EXTENSION_PACKAGES = "" 360OPENCL_VX_INTRINSIC_EXTENSION_PACKAGES = ""
360OPENCL_VX_INTRINSIC_EXTENSION_PACKAGES:mx8qm-nxp-bsp = "libclc-imx libopencl-imx-dev" 361OPENCL_VX_INTRINSIC_EXTENSION_PACKAGES:mx8qm-nxp-bsp = "libclc-imx libopencl-imx-dev"
361OPENCL_VX_INTRINSIC_EXTENSION_PACKAGES:mx8mp-nxp-bsp = "libclc-imx libopencl-imx-dev" 362OPENCL_VX_INTRINSIC_EXTENSION_PACKAGES:mx8mp-nxp-bsp = "libclc-imx libopencl-imx-dev"
362INSANE_SKIP:libopenvx-imx += "dev-deps" 363INSANE_SKIP:libopenvx-imx += "dev-deps"
@@ -387,8 +388,8 @@ FILES:libopencl-imx = "${libdir}/libOpenCL${REALSOLIBS} \
387 ${sysconfdir}/OpenCL/vendors/Vivante.icd" 388 ${sysconfdir}/OpenCL/vendors/Vivante.icd"
388FILES:libopencl-imx-dev = "${includedir}/CL ${libdir}/libOpenCL${SOLIBSDEV}" 389FILES:libopencl-imx-dev = "${includedir}/CL ${libdir}/libOpenCL${SOLIBSDEV}"
389RDEPENDS:libopencl-imx = "libclc-imx" 390RDEPENDS:libopencl-imx = "libclc-imx"
390RPROVIDES:libopencl-imx = "virtual-opencl-icd" 391RPROVIDES:libopencl-imx = "virtual-opencl-icd"
391RPROVIDES:libopencl-imx:mx7-nxp-bsp = "" 392RPROVIDES:libopencl-imx:mx7-nxp-bsp = ""
392RPROVIDES:libopencl-imx:mx8mm-nxp-bsp = "" 393RPROVIDES:libopencl-imx:mx8mm-nxp-bsp = ""
393 394
394FILES:libopenvg-imx = "${libdir}/libOpenVG*${REALSOLIBS} ${libdir}/libOpenVG*${SOLIBS}" 395FILES:libopenvg-imx = "${libdir}/libOpenVG*${REALSOLIBS} ${libdir}/libOpenVG*${SOLIBS}"
diff --git a/recipes-graphics/mali/mali-imx.inc b/recipes-graphics/mali/mali-imx.inc
index 97a1175e7..f3ef8f474 100644
--- a/recipes-graphics/mali/mali-imx.inc
+++ b/recipes-graphics/mali/mali-imx.inc
@@ -1,11 +1,13 @@
1SUMMARY = "Graphics libraries and driver for i.MX Mali GPU" 1SUMMARY = "Graphics libraries and driver for i.MX Mali GPU"
2DESCRIPTION = "Arm Mali GPU user-space graphics libraries and driver for i.MX SoCs."
3HOMEPAGE = "https://www.nxp.com/"
2SECTION = "libs" 4SECTION = "libs"
3DEPENDS = " \ 5DEPENDS = "\
4 libdrm \ 6 libdrm \
5 vulkan-loader \ 7 vulkan-loader \
6 wayland \ 8 wayland \
7 wayland-protocols" 9 wayland-protocols"
8PROVIDES = " \ 10PROVIDES = "\
9 virtual/egl \ 11 virtual/egl \
10 virtual/libgbm \ 12 virtual/libgbm \
11 virtual/libgles1 \ 13 virtual/libgles1 \
@@ -18,7 +20,7 @@ INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
18INHIBIT_PACKAGE_STRIP = "1" 20INHIBIT_PACKAGE_STRIP = "1"
19INHIBIT_SYSROOT_STRIP = "1" 21INHIBIT_SYSROOT_STRIP = "1"
20 22
21PACKAGES =+ " \ 23PACKAGES =+ "\
22 ${PN}-libegl ${PN}-libegl-dev \ 24 ${PN}-libegl ${PN}-libegl-dev \
23 ${PN}-libgbm ${PN}-libgbm-dev \ 25 ${PN}-libgbm ${PN}-libgbm-dev \
24 ${PN}-libgles1 ${PN}-libgles1-dev \ 26 ${PN}-libgles1 ${PN}-libgles1-dev \
@@ -28,42 +30,42 @@ PACKAGES =+ " \
28 ${PN}-opencl-icd ${PN}-opencl-icd-dev" 30 ${PN}-opencl-icd ${PN}-opencl-icd-dev"
29 31
30# Since libmali.so is loaded by dlopen, include it in the main package 32# Since libmali.so is loaded by dlopen, include it in the main package
31FILES:${PN} += " \ 33FILES:${PN} += "\
32 ${libdir}/libmali.so \ 34 ${libdir}/libmali.so \
33 ${nonarch_base_libdir}/firmware" 35 ${nonarch_base_libdir}/firmware"
34FILES_SOLIBSDEV = "" 36FILES_SOLIBSDEV = ""
35INSANE_SKIP:${PN} = "dev-so" 37INSANE_SKIP:${PN} = "dev-so"
36FILES:${PN}-libegl = " \ 38FILES:${PN}-libegl = "\
37 ${libdir}/libEGL${SOLIBS}" 39 ${libdir}/libEGL${SOLIBS}"
38FILES:${PN}-libgbm = " \ 40FILES:${PN}-libgbm = "\
39 ${libdir}/libgbm${SOLIBS}" 41 ${libdir}/libgbm${SOLIBS}"
40FILES:${PN}-libgles1 = " \ 42FILES:${PN}-libgles1 = "\
41 ${libdir}/libGLESv1_CM${SOLIBS}" 43 ${libdir}/libGLESv1_CM${SOLIBS}"
42FILES:${PN}-libgles2 = " \ 44FILES:${PN}-libgles2 = "\
43 ${libdir}/libGLESv2${SOLIBS}" 45 ${libdir}/libGLESv2${SOLIBS}"
44FILES:${PN}-opencl-icd = " \ 46FILES:${PN}-opencl-icd = "\
45 ${sysconfdir}/OpenCL" 47 ${sysconfdir}/OpenCL"
46RPROVIDES:${PN}-opencl-icd = "virtual-opencl-icd" 48RPROVIDES:${PN}-opencl-icd = "virtual-opencl-icd"
47FILES:${PN}-libvulkan = " \ 49FILES:${PN}-libvulkan = "\
48 ${sysconfdir}/vulkan" 50 ${sysconfdir}/vulkan"
49RDEPENDS:${PN}-libvulkan = "vulkan-wsi-layer" 51RDEPENDS:${PN}-libvulkan = "vulkan-wsi-layer"
50RPROVIDES:${PN}-libvulkan = "virtual-vulkan-icd" 52RPROVIDES:${PN}-libvulkan = "virtual-vulkan-icd"
51 53
52FILES:${PN}-dev = " \ 54FILES:${PN}-dev = "\
53 ${bindir}/malisc" 55 ${bindir}/malisc"
54FILES:${PN}-libegl-dev = " \ 56FILES:${PN}-libegl-dev = "\
55 ${includedir}/EGL \ 57 ${includedir}/EGL \
56 ${includedir}/KHR \ 58 ${includedir}/KHR \
57 ${libdir}/libEGL${SOLIBSDEV} \ 59 ${libdir}/libEGL${SOLIBSDEV} \
58 ${libdir}/pkgconfig/egl.pc" 60 ${libdir}/pkgconfig/egl.pc"
59FILES:${PN}-libgbm-dev = " \ 61FILES:${PN}-libgbm-dev = "\
60 ${includedir}/gbm.h \ 62 ${includedir}/gbm.h \
61 ${libdir}/libgbm${SOLIBSDEV} \ 63 ${libdir}/libgbm${SOLIBSDEV} \
62 ${libdir}/pkgconfig/gbm.pc" 64 ${libdir}/pkgconfig/gbm.pc"
63 65
64# Consolidate GLES dev packages 66# Consolidate GLES dev packages
65PACKAGES =+ "${PN}-libgles-dev" 67PACKAGES =+ "${PN}-libgles-dev"
66FILES:${PN}-libgles-dev = " \ 68FILES:${PN}-libgles-dev = "\
67 ${includedir}/GLES* \ 69 ${includedir}/GLES* \
68 ${libdir}/libGLES*${SOLIBSDEV} \ 70 ${libdir}/libGLES*${SOLIBSDEV} \
69 ${libdir}/pkgconfig/gles*.pc" 71 ${libdir}/pkgconfig/gles*.pc"
@@ -78,7 +80,7 @@ RDEPENDS:${PN}-libgles1-dev = "${PN}-libgles-dev"
78RDEPENDS:${PN}-libgles2-dev = "${PN}-libgles-dev" 80RDEPENDS:${PN}-libgles2-dev = "${PN}-libgles-dev"
79RDEPENDS:${PN}-libgles3-dev = "${PN}-libgles-dev" 81RDEPENDS:${PN}-libgles3-dev = "${PN}-libgles-dev"
80 82
81FILES:${PN}-opencl-icd-dev = " \ 83FILES:${PN}-opencl-icd-dev = "\
82 ${bindir}/mali_clcc" 84 ${bindir}/mali_clcc"
83 85
84python __anonymous() { 86python __anonymous() {
diff --git a/recipes-graphics/mesa/mesa-demos_%.bbappend b/recipes-graphics/mesa/mesa-demos_%.bbappend
index 7d3e7ca1c..fe2f5dd7f 100644
--- a/recipes-graphics/mesa/mesa-demos_%.bbappend
+++ b/recipes-graphics/mesa/mesa-demos_%.bbappend
@@ -9,18 +9,18 @@ SRC_URI:append:imxgpu = " \
9 9
10REQUIRED_DISTRO_FEATURES:remove:imxgpu = "x11" 10REQUIRED_DISTRO_FEATURES:remove:imxgpu = "x11"
11 11
12PACKAGECONFIG:remove = " \ 12PACKAGECONFIG:remove = "\
13 ${PACKAGECONFIG_REMOVE_IF_2D_ONLY} \ 13 ${PACKAGECONFIG_REMOVE_IF_2D_ONLY} \
14 ${PACKAGECONFIG_REMOVE_IF_GPU}" 14 ${PACKAGECONFIG_REMOVE_IF_GPU}"
15PACKAGECONFIG_REMOVE_IF_2D_ONLY = "" 15PACKAGECONFIG_REMOVE_IF_2D_ONLY = ""
16PACKAGECONFIG_REMOVE_IF_2D_ONLY:imxgpu2d = "gles1 gles2" 16PACKAGECONFIG_REMOVE_IF_2D_ONLY:imxgpu2d = "gles1 gles2"
17PACKAGECONFIG_REMOVE_IF_2D_ONLY:imxgpu3d = "" 17PACKAGECONFIG_REMOVE_IF_2D_ONLY:imxgpu3d = ""
18PACKAGECONFIG_REMOVE_IF_GPU = "" 18PACKAGECONFIG_REMOVE_IF_GPU = ""
19PACKAGECONFIG_REMOVE_IF_GPU:imxgpu = "x11" 19PACKAGECONFIG_REMOVE_IF_GPU:imxgpu = "x11"
20 20
21PACKAGECONFIG:append = " \ 21PACKAGECONFIG:append = " \
22 ${PACKAGECONFIG_APPEND_IF_GPU}" 22 ${PACKAGECONFIG_APPEND_IF_GPU}"
23PACKAGECONFIG_APPEND_IF_GPU = "" 23PACKAGECONFIG_APPEND_IF_GPU = ""
24PACKAGECONFIG_APPEND_IF_GPU:imxgpu = "glu" 24PACKAGECONFIG_APPEND_IF_GPU:imxgpu = "glu"
25 25
26PACKAGECONFIG[glu] = ",,libglu" 26PACKAGECONFIG[glu] = ",,libglu"
diff --git a/recipes-graphics/mesa/mesa-etnaviv-env_0.1.bb b/recipes-graphics/mesa/mesa-etnaviv-env_0.1.bb
index 2a5bc1568..9df4d4f40 100644
--- a/recipes-graphics/mesa/mesa-etnaviv-env_0.1.bb
+++ b/recipes-graphics/mesa/mesa-etnaviv-env_0.1.bb
@@ -1,15 +1,17 @@
1SUMMARY = "Mesa environment variables for etnaviv on xserver" 1SUMMARY = "Mesa environment variables for etnaviv on xserver"
2DESCRIPTION = "Environment variable configuration to enable the etnaviv Mesa driver on the X server."
2HOMEPAGE = "https://github.com/Freescale/meta-freescale/" 3HOMEPAGE = "https://github.com/Freescale/meta-freescale/"
4SECTION = "graphics"
3LICENSE = "MIT" 5LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 6LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
5 7
6PACKAGE_ARCH = "${MACHINE_ARCH}"
7
8SRC_URI = "\ 8SRC_URI = "\
9 file://mesa-etnaviv.conf \ 9 file://mesa-etnaviv.conf \
10 file://mesa-etnaviv.sh \ 10 file://mesa-etnaviv.sh \
11" 11"
12 12
13PACKAGE_ARCH = "${MACHINE_ARCH}"
14
13S = "${UNPACKDIR}" 15S = "${UNPACKDIR}"
14 16
15do_configure[noexec] = "1" 17do_configure[noexec] = "1"
diff --git a/recipes-graphics/piglit/piglit_%.bbappend b/recipes-graphics/piglit/piglit_%.bbappend
index 0a4a3a4a4..57120b65d 100644
--- a/recipes-graphics/piglit/piglit_%.bbappend
+++ b/recipes-graphics/piglit/piglit_%.bbappend
@@ -4,19 +4,19 @@ SRC_URI += "file://0001-tests-Fix-cl-test-Include-Directories-error-Error-0-.pat
4 file://0002-cl-Add-mutually-exclusive-memory-flags-for-CL_MEM_KE.patch" 4 file://0002-cl-Add-mutually-exclusive-memory-flags-for-CL_MEM_KE.patch"
5 5
6PACKAGECONFIG:append = " ${PACKAGECONFIG_APPEND}" 6PACKAGECONFIG:append = " ${PACKAGECONFIG_APPEND}"
7PACKAGECONFIG:remove = " ${PACKAGECONFIG_REMOVE}" 7PACKAGECONFIG:remove = "${PACKAGECONFIG_REMOVE}"
8 8
9PACKAGECONFIG_APPEND ?= " \ 9PACKAGECONFIG_APPEND ?= "\
10 gbm \ 10 gbm \
11 ${@bb.utils.filter('DISTRO_FEATURES', 'vulkan', d)}" 11 ${@bb.utils.filter('DISTRO_FEATURES', 'vulkan', d)}"
12PACKAGECONFIG_APPEND:append:imxviv:mx8-nxp-bsp = " opencl" 12PACKAGECONFIG_APPEND:append:imxviv:mx8-nxp-bsp = " opencl"
13PACKAGECONFIG_APPEND:imxgpu:mx6-nxp-bsp = "" 13PACKAGECONFIG_APPEND:imxgpu:mx6-nxp-bsp = ""
14PACKAGECONFIG_APPEND:imxgpu:mx7-nxp-bsp = "" 14PACKAGECONFIG_APPEND:imxgpu:mx7-nxp-bsp = ""
15 15
16PACKAGECONFIG_REMOVE ?= "" 16PACKAGECONFIG_REMOVE ?= ""
17PACKAGECONFIG_REMOVE:imxgpu = "glx" 17PACKAGECONFIG_REMOVE:imxgpu = "glx"
18PACKAGECONFIG_REMOVE:imxgpu:mx6-nxp-bsp = "glx x11" 18PACKAGECONFIG_REMOVE:imxgpu:mx6-nxp-bsp = "glx x11"
19PACKAGECONFIG_REMOVE:imxgpu:mx7-nxp-bsp = "glx x11" 19PACKAGECONFIG_REMOVE:imxgpu:mx7-nxp-bsp = "glx x11"
20 20
21PACKAGECONFIG[gbm] = "-DPIGLIT_USE_GBM=1,-DPIGLIT_USE_GBM=0,virtual/libgbm" 21PACKAGECONFIG[gbm] = "-DPIGLIT_USE_GBM=1,-DPIGLIT_USE_GBM=0,virtual/libgbm"
22 22
diff --git a/recipes-graphics/rapidopencl/rapidopencl_1.1.0.1.bb b/recipes-graphics/rapidopencl/rapidopencl_1.1.0.1.bb
index d4200d394..d770faeb9 100644
--- a/recipes-graphics/rapidopencl/rapidopencl_1.1.0.1.bb
+++ b/recipes-graphics/rapidopencl/rapidopencl_1.1.0.1.bb
@@ -1,4 +1,7 @@
1SUMMARY = "Experimental low level header only C++11 RAII wrapper classes for the OpenCL API" 1SUMMARY = "Experimental low level header only C++11 RAII wrapper classes for the OpenCL API"
2DESCRIPTION = "Experimental header-only C++11 RAII wrapper classes that manage OpenCL API object lifetimes automatically."
3HOMEPAGE = "https://github.com/Unarmed1000/RapidOpenCL"
4SECTION = "graphics"
2LICENSE = "BSD-3-Clause" 5LICENSE = "BSD-3-Clause"
3LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b98f636daed34d12d11e25f3185c0204" 6LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b98f636daed34d12d11e25f3185c0204"
4 7
diff --git a/recipes-graphics/rapidopenvx/rapidopenvx_1.1.0.bb b/recipes-graphics/rapidopenvx/rapidopenvx_1.1.0.bb
index 049fca0fd..7db3a0cc4 100644
--- a/recipes-graphics/rapidopenvx/rapidopenvx_1.1.0.bb
+++ b/recipes-graphics/rapidopenvx/rapidopenvx_1.1.0.bb
@@ -1,4 +1,7 @@
1SUMMARY = "Low level header only C++11 RAII wrapper classes for the OpenVX API" 1SUMMARY = "Low level header only C++11 RAII wrapper classes for the OpenVX API"
2DESCRIPTION = "Header-only C++11 RAII wrapper classes that manage OpenVX API object lifetimes automatically."
3HOMEPAGE = "https://github.com/Unarmed1000/RapidOpenVX"
4SECTION = "graphics"
2LICENSE = "BSD-3-Clause" 5LICENSE = "BSD-3-Clause"
3LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b98f636daed34d12d11e25f3185c0204" 6LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b98f636daed34d12d11e25f3185c0204"
4 7
diff --git a/recipes-graphics/rapidvulkan/rapidvulkan_1.2.162.0.bb b/recipes-graphics/rapidvulkan/rapidvulkan_1.2.162.0.bb
index c37cf7411..5616b264b 100644
--- a/recipes-graphics/rapidvulkan/rapidvulkan_1.2.162.0.bb
+++ b/recipes-graphics/rapidvulkan/rapidvulkan_1.2.162.0.bb
@@ -1,4 +1,7 @@
1SUMMARY = "Low level header only C++11 RAII wrapper classes for the Vulkan API" 1SUMMARY = "Low level header only C++11 RAII wrapper classes for the Vulkan API"
2DESCRIPTION = "Header-only C++11 RAII wrapper classes that manage Vulkan API object lifetimes automatically."
3HOMEPAGE = "https://github.com/Unarmed1000/RapidVulkan"
4SECTION = "graphics"
2LICENSE = "BSD-3-Clause" 5LICENSE = "BSD-3-Clause"
3LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b98f636daed34d12d11e25f3185c0204" 6LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b98f636daed34d12d11e25f3185c0204"
4 7
@@ -7,7 +10,6 @@ DEPENDS = "vulkan-loader"
7SRC_URI = "git://github.com/Unarmed1000/RapidVulkan;protocol=https;branch=master" 10SRC_URI = "git://github.com/Unarmed1000/RapidVulkan;protocol=https;branch=master"
8SRCREV = "e39a407c5ae880792d8843ada65a19dd26b3dca7" 11SRCREV = "e39a407c5ae880792d8843ada65a19dd26b3dca7"
9 12
10
11REQUIRED_DISTRO_FEATURES = "vulkan" 13REQUIRED_DISTRO_FEATURES = "vulkan"
12 14
13inherit cmake features_check 15inherit cmake features_check
diff --git a/recipes-graphics/vulkan/assimp_5.4.3.bb b/recipes-graphics/vulkan/assimp_5.4.3.bb
index ff4fb7719..c7d19c3f6 100644
--- a/recipes-graphics/vulkan/assimp_5.4.3.bb
+++ b/recipes-graphics/vulkan/assimp_5.4.3.bb
@@ -1,3 +1,4 @@
1SUMMARY = "Portable library to import 3D model formats"
1DESCRIPTION = "Open Asset Import Library is a portable Open Source library to import \ 2DESCRIPTION = "Open Asset Import Library is a portable Open Source library to import \
2 various well-known 3D model formats in a uniform manner." 3 various well-known 3D model formats in a uniform manner."
3HOMEPAGE = "http://www.assimp.org/" 4HOMEPAGE = "http://www.assimp.org/"
diff --git a/recipes-graphics/vulkan/vulkan-loader_%.bbappend b/recipes-graphics/vulkan/vulkan-loader_%.bbappend
index ce120937a..1e506c01b 100644
--- a/recipes-graphics/vulkan/vulkan-loader_%.bbappend
+++ b/recipes-graphics/vulkan/vulkan-loader_%.bbappend
@@ -9,6 +9,6 @@ SRC_URI:append:imx-nxp-bsp = " \
9PACKAGE_ARCH:imx-nxp-bsp = "${MACHINE_SOCARCH}" 9PACKAGE_ARCH:imx-nxp-bsp = "${MACHINE_SOCARCH}"
10 10
11# libvulkan.so is loaded dynamically, so put it in the main package 11# libvulkan.so is loaded dynamically, so put it in the main package
12SOLIBS:imx-nxp-bsp = ".so*" 12SOLIBS:imx-nxp-bsp = ".so*"
13FILES_SOLIBSDEV:imx-nxp-bsp = "" 13FILES_SOLIBSDEV:imx-nxp-bsp = ""
14INSANE_SKIP:${PN}:imx-nxp-bsp += "dev-so" 14INSANE_SKIP:${PN}:imx-nxp-bsp += "dev-so"
diff --git a/recipes-graphics/vulkan/vulkan-wsi-layer_git.bb b/recipes-graphics/vulkan/vulkan-wsi-layer_git.bb
index 0118975a5..0bbebf5c2 100644
--- a/recipes-graphics/vulkan/vulkan-wsi-layer_git.bb
+++ b/recipes-graphics/vulkan/vulkan-wsi-layer_git.bb
@@ -1,4 +1,7 @@
1SUMMARY = "Vulkan WSI layer"
1DESCRIPTION = "Vulkan Window System Integration Layer" 2DESCRIPTION = "Vulkan Window System Integration Layer"
3HOMEPAGE = "https://gitlab.freedesktop.org/mesa/vulkan-wsi-layer"
4SECTION = "graphics"
2LICENSE = "MIT" 5LICENSE = "MIT"
3LIC_FILES_CHKSUM = "file://LICENSE;md5=c2e771b72d60a13d2de384cb49055d00" 6LIC_FILES_CHKSUM = "file://LICENSE;md5=c2e771b72d60a13d2de384cb49055d00"
4DEPENDS = "libdrm vulkan-loader" 7DEPENDS = "libdrm vulkan-loader"
@@ -29,7 +32,7 @@ PACKAGECONFIG[wayland] = " \
29 wayland wayland-native wayland-protocols,,, \ 32 wayland wayland-native wayland-protocols,,, \
30 headless" 33 headless"
31 34
32EXTRA_OECMAKE = " \ 35EXTRA_OECMAKE = "\
33 -DBUILD_WSI_DISPLAY=0 \ 36 -DBUILD_WSI_DISPLAY=0 \
34 -DBUILD_WSI_IMAGE_COMPRESSION_CONTROL_SWAPCHAIN=1 \ 37 -DBUILD_WSI_IMAGE_COMPRESSION_CONTROL_SWAPCHAIN=1 \
35 -DCMAKE_BUILD_TYPE=Release \ 38 -DCMAKE_BUILD_TYPE=Release \
diff --git a/recipes-graphics/waffle/waffle_%.bbappend b/recipes-graphics/waffle/waffle_%.bbappend
index fd375271f..1456655ee 100644
--- a/recipes-graphics/waffle/waffle_%.bbappend
+++ b/recipes-graphics/waffle/waffle_%.bbappend
@@ -5,12 +5,12 @@ SRC_URI:append:imxgpu = " \
5 file://0002-meson-Separate-surfaceless-option-from-x11.patch \ 5 file://0002-meson-Separate-surfaceless-option-from-x11.patch \
6" 6"
7 7
8PACKAGECONFIG_IMXGPU_X11 = "" 8PACKAGECONFIG_IMXGPU_X11 = ""
9PACKAGECONFIG_IMXGPU_X11:imxgpu3d = "x11-egl glx" 9PACKAGECONFIG_IMXGPU_X11:imxgpu3d = "x11-egl glx"
10PACKAGECONFIG_IMXGPU_GBM = "gbm" 10PACKAGECONFIG_IMXGPU_GBM = "gbm"
11PACKAGECONFIG_IMXGPU_GBM:mx6-nxp-bsp = "" 11PACKAGECONFIG_IMXGPU_GBM:mx6-nxp-bsp = ""
12PACKAGECONFIG_IMXGPU_GBM:mx7-nxp-bsp = "" 12PACKAGECONFIG_IMXGPU_GBM:mx7-nxp-bsp = ""
13PACKAGECONFIG:imxgpu = " \ 13PACKAGECONFIG:imxgpu = "\
14 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', \ 14 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', \
15 bb.utils.contains('DISTRO_FEATURES', 'x11', '${PACKAGECONFIG_IMXGPU_X11}', \ 15 bb.utils.contains('DISTRO_FEATURES', 'x11', '${PACKAGECONFIG_IMXGPU_X11}', \
16 '', d), d)} \ 16 '', d), d)} \
diff --git a/recipes-graphics/wayland/wayland-protocols_%.bbappend b/recipes-graphics/wayland/wayland-protocols_%.bbappend
index 762b47a31..041cb491a 100644
--- a/recipes-graphics/wayland/wayland-protocols_%.bbappend
+++ b/recipes-graphics/wayland/wayland-protocols_%.bbappend
@@ -1,6 +1,6 @@
1FILESEXTRAPATHS:prepend := "${THISDIR}/${BPN}:" 1FILESEXTRAPATHS:prepend := "${THISDIR}/${BPN}:"
2 2
3NXP_PATCHES = " \ 3NXP_PATCHES = "\
4 file://0001-unstable-Add-alpha-compositing-protocol.patch \ 4 file://0001-unstable-Add-alpha-compositing-protocol.patch \
5 file://0002-unstable-Add-hdr10-metadata-protocol.patch \ 5 file://0002-unstable-Add-hdr10-metadata-protocol.patch \
6 file://0003-linux-dmabuf-support-passing-buffer-DTRC-meta-to-com.patch \ 6 file://0003-linux-dmabuf-support-passing-buffer-DTRC-meta-to-com.patch \
diff --git a/recipes-graphics/wayland/weston-init.bbappend b/recipes-graphics/wayland/weston-init.bbappend
index 1b08b1955..c8c0470fe 100644
--- a/recipes-graphics/wayland/weston-init.bbappend
+++ b/recipes-graphics/wayland/weston-init.bbappend
@@ -1,14 +1,14 @@
1FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" 1FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
2 2
3# OpenGL is not required for parts with GPU support for 2D but not 3D 3# OpenGL is not required for parts with GPU support for 2D but not 3D
4IMX_REQUIRED_DISTRO_FEATURES_REMOVE = "" 4IMX_REQUIRED_DISTRO_FEATURES_REMOVE = ""
5IMX_REQUIRED_DISTRO_FEATURES_REMOVE:imxgpu2d = "opengl" 5IMX_REQUIRED_DISTRO_FEATURES_REMOVE:imxgpu2d = "opengl"
6IMX_REQUIRED_DISTRO_FEATURES_REMOVE:imxgpu3d = "" 6IMX_REQUIRED_DISTRO_FEATURES_REMOVE:imxgpu3d = ""
7REQUIRED_DISTRO_FEATURES:remove = "${IMX_REQUIRED_DISTRO_FEATURES_REMOVE}" 7REQUIRED_DISTRO_FEATURES:remove = "${IMX_REQUIRED_DISTRO_FEATURES_REMOVE}"
8 8
9SRC_URI:append:mx6sl-nxp-bsp = " file://weston.config" 9SRC_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 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xwayland', '', d)} \
14 ${PACKAGECONFIG_GBM_FORMAT} \ 14 ${PACKAGECONFIG_GBM_FORMAT} \
@@ -20,34 +20,34 @@ PACKAGECONFIG ??= " \
20# Mainline BSPs dont support xwayland 20# Mainline BSPs dont support xwayland
21PACKAGECONFIG:remove:use-mainline-bsp = "xwayland" 21PACKAGECONFIG:remove:use-mainline-bsp = "xwayland"
22 22
23PACKAGECONFIG_GBM_FORMAT ?= "" 23PACKAGECONFIG_GBM_FORMAT ?= ""
24PACKAGECONFIG_GBM_FORMAT:mx8mq-nxp-bsp ?= "gbm-format" 24PACKAGECONFIG_GBM_FORMAT:mx8mq-nxp-bsp ?= "gbm-format"
25PACKAGECONFIG_GBM_FORMAT:mx93-nxp-bsp ?= "gbm-format" 25PACKAGECONFIG_GBM_FORMAT:mx93-nxp-bsp ?= "gbm-format"
26 26
27GBM_FORMAT_VALUE:mx8mq-nxp-bsp = "argb8888" 27GBM_FORMAT_VALUE:mx8mq-nxp-bsp = "argb8888"
28GBM_FORMAT_VALUE:mx93-nxp-bsp = "argb8888" 28GBM_FORMAT_VALUE:mx93-nxp-bsp = "argb8888"
29 29
30PACKAGECONFIG_REPAINT_WINDOW ?= "" 30PACKAGECONFIG_REPAINT_WINDOW ?= ""
31PACKAGECONFIG_REPAINT_WINDOW:mx8-nxp-bsp ?= "repaint-window" 31PACKAGECONFIG_REPAINT_WINDOW:mx8-nxp-bsp ?= "repaint-window"
32PACKAGECONFIG_REPAINT_WINDOW:mx9-nxp-bsp ?= "repaint-window" 32PACKAGECONFIG_REPAINT_WINDOW:mx9-nxp-bsp ?= "repaint-window"
33 33
34PACKAGECONFIG_SIZE ?= "" 34PACKAGECONFIG_SIZE ?= ""
35PACKAGECONFIG_SIZE:mx8mq-nxp-bsp ?= "size" 35PACKAGECONFIG_SIZE:mx8mq-nxp-bsp ?= "size"
36 36
37SIZE_VALUE:mx8mq-nxp-bsp = "1920x1080" 37SIZE_VALUE:mx8mq-nxp-bsp = "1920x1080"
38 38
39HAS_G2D = "false" 39HAS_G2D = "false"
40HAS_G2D:imxgpu2d = "true" 40HAS_G2D:imxgpu2d = "true"
41 41
42PACKAGECONFIG_USE_G2D ?= "" 42PACKAGECONFIG_USE_G2D ?= ""
43PACKAGECONFIG_USE_G2D:imxgpu2d ?= "use-g2d" 43PACKAGECONFIG_USE_G2D:imxgpu2d ?= "use-g2d"
44PACKAGECONFIG_USE_G2D:mx8qm-nxp-bsp ?= "" 44PACKAGECONFIG_USE_G2D:mx8qm-nxp-bsp ?= ""
45PACKAGECONFIG_USE_G2D:mx8qxp-nxp-bsp ?= "" 45PACKAGECONFIG_USE_G2D:mx8qxp-nxp-bsp ?= ""
46PACKAGECONFIG_USE_G2D:mx8dx-nxp-bsp ?= "" 46PACKAGECONFIG_USE_G2D:mx8dx-nxp-bsp ?= ""
47PACKAGECONFIG_USE_G2D:mx93-nxp-bsp ?= "use-g2d" 47PACKAGECONFIG_USE_G2D:mx93-nxp-bsp ?= "use-g2d"
48PACKAGECONFIG_USE_G2D:mx943-nxp-bsp ?= "use-g2d" 48PACKAGECONFIG_USE_G2D:mx943-nxp-bsp ?= "use-g2d"
49 49
50USE_G2D_VALUE = "true" 50USE_G2D_VALUE = "true"
51USE_G2D_VALUE:mx6-nxp-bsp = "1" 51USE_G2D_VALUE:mx6-nxp-bsp = "1"
52USE_G2D_VALUE:mx7-nxp-bsp = "1" 52USE_G2D_VALUE:mx7-nxp-bsp = "1"
53 53
diff --git a/recipes-graphics/wayland/weston_10.0.5.imx.bb b/recipes-graphics/wayland/weston_10.0.5.imx.bb
index 991650fb9..2e1c136ff 100644
--- a/recipes-graphics/wayland/weston_10.0.5.imx.bb
+++ b/recipes-graphics/wayland/weston_10.0.5.imx.bb
@@ -31,8 +31,8 @@ inherit meson pkgconfig useradd
31# 31#
32require ${THISDIR}/required-distro-features.inc 32require ${THISDIR}/required-distro-features.inc
33 33
34DEPENDS = "libxkbcommon gdk-pixbuf pixman cairo glib-2.0" 34DEPENDS = "cairo gdk-pixbuf glib-2.0 libinput libxkbcommon pango pixman \
35DEPENDS += "wayland wayland-protocols libinput virtual/egl pango wayland-native" 35 virtual/egl wayland wayland-native wayland-protocols"
36 36
37LDFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'lto', '-Wl,-z,undefs', '', d)}" 37LDFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'lto', '-Wl,-z,undefs', '', d)}"
38 38
@@ -103,29 +103,29 @@ PACKAGECONFIG[image-jpeg] = "-Dimage-jpeg=true,-Dimage-jpeg=false, jpeg"
103PACKAGECONFIG[launcher-libseat] = "-Dlauncher-libseat=true,-Dlauncher-libseat=false,seatd" 103PACKAGECONFIG[launcher-libseat] = "-Dlauncher-libseat=true,-Dlauncher-libseat=false,seatd"
104 104
105do_install:append() { 105do_install:append() {
106 # Weston doesn't need the .la files to load modules, so wipe them 106 # Weston doesn't need the .la files to load modules, so wipe them
107 rm -f ${D}/${libdir}/libweston-${WESTON_MAJOR_VERSION}/*.la 107 rm -f ${D}/${libdir}/libweston-${WESTON_MAJOR_VERSION}/*.la
108 108
109 # If X11, ship a desktop file to launch it 109 # If X11, ship a desktop file to launch it
110 if [ "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}" ]; then 110 if [ "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}" ]; then
111 install -d ${D}${datadir}/applications 111 install -d ${D}${datadir}/applications
112 install ${UNPACKDIR}/weston.desktop ${D}${datadir}/applications 112 install ${UNPACKDIR}/weston.desktop ${D}${datadir}/applications
113 113
114 install -d ${D}${datadir}/icons/hicolor/48x48/apps 114 install -d ${D}${datadir}/icons/hicolor/48x48/apps
115 install ${UNPACKDIR}/weston.png ${D}${datadir}/icons/hicolor/48x48/apps 115 install ${UNPACKDIR}/weston.png ${D}${datadir}/icons/hicolor/48x48/apps
116 fi 116 fi
117 117
118 if [ "${@bb.utils.contains('PACKAGECONFIG', 'xwayland', 'yes', 'no', d)}" = "yes" ]; then 118 if [ "${@bb.utils.contains('PACKAGECONFIG', 'xwayland', 'yes', 'no', d)}" = "yes" ]; then
119 install -Dm 644 ${UNPACKDIR}/xwayland.weston-start ${D}${datadir}/weston-start/xwayland 119 install -Dm 644 ${UNPACKDIR}/xwayland.weston-start ${D}${datadir}/weston-start/xwayland
120 fi 120 fi
121 121
122 if [ "${@bb.utils.contains('PACKAGECONFIG', 'systemd', 'yes', 'no', d)}" = "yes" ]; then 122 if [ "${@bb.utils.contains('PACKAGECONFIG', 'systemd', 'yes', 'no', d)}" = "yes" ]; then
123 install -Dm 644 ${UNPACKDIR}/systemd-notify.weston-start ${D}${datadir}/weston-start/systemd-notify 123 install -Dm 644 ${UNPACKDIR}/systemd-notify.weston-start ${D}${datadir}/weston-start/systemd-notify
124 fi 124 fi
125 125
126 if [ "${@bb.utils.contains('PACKAGECONFIG', 'launch', 'yes', 'no', d)}" = "yes" ]; then 126 if [ "${@bb.utils.contains('PACKAGECONFIG', 'launch', 'yes', 'no', d)}" = "yes" ]; then
127 chmod u+s ${D}${bindir}/weston-launch 127 chmod u+s ${D}${bindir}/weston-launch
128 fi 128 fi
129} 129}
130 130
131PACKAGES += "${@bb.utils.contains('PACKAGECONFIG', 'xwayland', '${PN}-xwayland', '', d)} \ 131PACKAGES += "${@bb.utils.contains('PACKAGECONFIG', 'xwayland', '${PN}-xwayland', '', d)} \
@@ -156,7 +156,7 @@ GROUPADD_PARAM:${PN} = "--system weston-launch"
156SUMMARY = "Weston, a Wayland compositor, i.MX fork" 156SUMMARY = "Weston, a Wayland compositor, i.MX fork"
157 157
158LIC_FILES_CHKSUM:remove = "file://COPYING;md5=d79ee9e66bb0f95d3386a7acae780b70" 158LIC_FILES_CHKSUM:remove = "file://COPYING;md5=d79ee9e66bb0f95d3386a7acae780b70"
159LIC_FILES_CHKSUM:append = "file://LICENSE;md5=d79ee9e66bb0f95d3386a7acae780b70" 159LIC_FILES_CHKSUM:append = " file://LICENSE;md5=d79ee9e66bb0f95d3386a7acae780b70"
160 160
161DEFAULT_PREFERENCE = "-1" 161DEFAULT_PREFERENCE = "-1"
162 162
@@ -169,12 +169,12 @@ SRCBRANCH = "weston-imx-10.0.5"
169SRCREV = "5223a3c86177709d25f86a96622c0829da955a0e" 169SRCREV = "5223a3c86177709d25f86a96622c0829da955a0e"
170 170
171# Disable OpenGL for parts with GPU support for 2D but not 3D 171# Disable OpenGL for parts with GPU support for 2D but not 3D
172REQUIRED_DISTRO_FEATURES = "opengl" 172REQUIRED_DISTRO_FEATURES = "opengl"
173REQUIRED_DISTRO_FEATURES:imxgpu2d = "" 173REQUIRED_DISTRO_FEATURES:imxgpu2d = ""
174REQUIRED_DISTRO_FEATURES:imxgpu3d = "opengl" 174REQUIRED_DISTRO_FEATURES:imxgpu3d = "opengl"
175PACKAGECONFIG_OPENGL = "opengl" 175PACKAGECONFIG_OPENGL = "opengl"
176PACKAGECONFIG_OPENGL:imxgpu2d = "" 176PACKAGECONFIG_OPENGL:imxgpu2d = ""
177PACKAGECONFIG_OPENGL:imxgpu3d = "opengl" 177PACKAGECONFIG_OPENGL:imxgpu3d = "opengl"
178 178
179PACKAGECONFIG_IMX_REMOVALS ?= "wayland x11" 179PACKAGECONFIG_IMX_REMOVALS ?= "wayland x11"
180PACKAGECONFIG:remove = "${PACKAGECONFIG_IMX_REMOVALS}" 180PACKAGECONFIG:remove = "${PACKAGECONFIG_IMX_REMOVALS}"
@@ -182,7 +182,7 @@ PACKAGECONFIG:append = " ${@bb.utils.filter('DISTRO_FEATURES', '${PACKAGECONFIG_
182 182
183PACKAGECONFIG:remove:imxfbdev = "kms" 183PACKAGECONFIG:remove:imxfbdev = "kms"
184PACKAGECONFIG:append:imxfbdev = " fbdev clients" 184PACKAGECONFIG:append:imxfbdev = " fbdev clients"
185PACKAGECONFIG:append:imxgpu = " imxgpu" 185PACKAGECONFIG:append:imxgpu = " imxgpu"
186PACKAGECONFIG:append:imxgpu2d = " imxg2d" 186PACKAGECONFIG:append:imxgpu2d = " imxg2d"
187 187
188SIMPLECLIENTS:imxfbdev = "damage,im,egl,shm,touch,dmabuf-v4l" 188SIMPLECLIENTS:imxfbdev = "damage,im,egl,shm,touch,dmabuf-v4l"
diff --git a/recipes-graphics/wayland/weston_14.0.2.imx.bb b/recipes-graphics/wayland/weston_14.0.2.imx.bb
index 2c0b13d41..025c65d7a 100644
--- a/recipes-graphics/wayland/weston_14.0.2.imx.bb
+++ b/recipes-graphics/wayland/weston_14.0.2.imx.bb
@@ -32,8 +32,8 @@ inherit meson pkgconfig useradd
32# 32#
33require ${THISDIR}/required-distro-features.inc 33require ${THISDIR}/required-distro-features.inc
34 34
35DEPENDS = "libxkbcommon gdk-pixbuf pixman cairo glib-2.0" 35DEPENDS = "cairo gdk-pixbuf glib-2.0 libdisplay-info libinput libxkbcommon \
36DEPENDS += "wayland wayland-protocols libinput virtual/egl pango wayland-native libdisplay-info" 36 pango pixman virtual/egl wayland wayland-native wayland-protocols"
37 37
38LDFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'lto', '-Wl,-z,undefs', '', d)}" 38LDFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'lto', '-Wl,-z,undefs', '', d)}"
39 39
@@ -103,29 +103,29 @@ PACKAGECONFIG[pipewire] = "-Dbackend-pipewire=true,-Dbackend-pipewire=false,pipe
103PACKAGECONFIG[vnc] = "-Dbackend-vnc=true,-Dbackend-vnc=false,neatvnc libpam" 103PACKAGECONFIG[vnc] = "-Dbackend-vnc=true,-Dbackend-vnc=false,neatvnc libpam"
104 104
105do_install:append() { 105do_install:append() {
106 # Weston doesn't need the .la files to load modules, so wipe them 106 # Weston doesn't need the .la files to load modules, so wipe them
107 rm -f ${D}/${libdir}/libweston-${WESTON_MAJOR_VERSION}/*.la 107 rm -f ${D}/${libdir}/libweston-${WESTON_MAJOR_VERSION}/*.la
108 108
109 # If X11, ship a desktop file to launch it 109 # If X11, ship a desktop file to launch it
110 if [ "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}" ]; then 110 if [ "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}" ]; then
111 install -d ${D}${datadir}/applications 111 install -d ${D}${datadir}/applications
112 install ${UNPACKDIR}/weston.desktop ${D}${datadir}/applications 112 install ${UNPACKDIR}/weston.desktop ${D}${datadir}/applications
113 113
114 install -d ${D}${datadir}/icons/hicolor/48x48/apps 114 install -d ${D}${datadir}/icons/hicolor/48x48/apps
115 install ${UNPACKDIR}/weston.png ${D}${datadir}/icons/hicolor/48x48/apps 115 install ${UNPACKDIR}/weston.png ${D}${datadir}/icons/hicolor/48x48/apps
116 fi 116 fi
117 117
118 if [ "${@bb.utils.contains('PACKAGECONFIG', 'xwayland', 'yes', 'no', d)}" = "yes" ]; then 118 if [ "${@bb.utils.contains('PACKAGECONFIG', 'xwayland', 'yes', 'no', d)}" = "yes" ]; then
119 install -Dm 644 ${UNPACKDIR}/xwayland.weston-start ${D}${datadir}/weston-start/xwayland 119 install -Dm 644 ${UNPACKDIR}/xwayland.weston-start ${D}${datadir}/weston-start/xwayland
120 fi 120 fi
121 121
122 if [ "${@bb.utils.contains('PACKAGECONFIG', 'systemd', 'yes', 'no', d)}" = "yes" ]; then 122 if [ "${@bb.utils.contains('PACKAGECONFIG', 'systemd', 'yes', 'no', d)}" = "yes" ]; then
123 install -Dm 644 ${UNPACKDIR}/systemd-notify.weston-start ${D}${datadir}/weston-start/systemd-notify 123 install -Dm 644 ${UNPACKDIR}/systemd-notify.weston-start ${D}${datadir}/weston-start/systemd-notify
124 fi 124 fi
125 125
126 if [ "${@bb.utils.contains('PACKAGECONFIG', 'launch', 'yes', 'no', d)}" = "yes" ]; then 126 if [ "${@bb.utils.contains('PACKAGECONFIG', 'launch', 'yes', 'no', d)}" = "yes" ]; then
127 chmod u+s ${D}${bindir}/weston-launch 127 chmod u+s ${D}${bindir}/weston-launch
128 fi 128 fi
129} 129}
130 130
131PACKAGES += "${@bb.utils.contains('PACKAGECONFIG', 'xwayland', '${PN}-xwayland', '', d)} \ 131PACKAGES += "${@bb.utils.contains('PACKAGECONFIG', 'xwayland', '${PN}-xwayland', '', d)} \
@@ -155,7 +155,7 @@ GROUPADD_PARAM:${PN} = "--system weston-launch"
155 155
156SUMMARY = "Weston, a Wayland compositor, i.MX fork" 156SUMMARY = "Weston, a Wayland compositor, i.MX fork"
157LIC_FILES_CHKSUM:remove = "file://COPYING;md5=d79ee9e66bb0f95d3386a7acae780b70" 157LIC_FILES_CHKSUM:remove = "file://COPYING;md5=d79ee9e66bb0f95d3386a7acae780b70"
158LIC_FILES_CHKSUM += "file://LICENSE;md5=d79ee9e66bb0f95d3386a7acae780b70" 158LIC_FILES_CHKSUM += "file://LICENSE;md5=d79ee9e66bb0f95d3386a7acae780b70"
159 159
160DEFAULT_PREFERENCE = "-1" 160DEFAULT_PREFERENCE = "-1"
161 161
@@ -169,12 +169,12 @@ PACKAGECONFIG:remove = "${PACKAGECONFIG_IMX_REMOVALS}"
169PACKAGECONFIG_IMX_REMOVALS ?= "wayland x11" 169PACKAGECONFIG_IMX_REMOVALS ?= "wayland x11"
170 170
171PACKAGECONFIG:append = " ${PACKAGECONFIG_G2D} ${PACKAGECONFIG_PIPEWIRE}" 171PACKAGECONFIG:append = " ${PACKAGECONFIG_G2D} ${PACKAGECONFIG_PIPEWIRE}"
172PACKAGECONFIG_G2D ??= "" 172PACKAGECONFIG_G2D ??= ""
173PACKAGECONFIG_G2D:imxgpu2d ??= "imxg2d" 173PACKAGECONFIG_G2D:imxgpu2d ??= "imxg2d"
174PACKAGECONFIG_G2D:mx93-nxp-bsp ??= "imxg2d" 174PACKAGECONFIG_G2D:mx93-nxp-bsp ??= "imxg2d"
175PACKAGECONFIG_G2D:mx943-nxp-bsp ??= "imxg2d" 175PACKAGECONFIG_G2D:mx943-nxp-bsp ??= "imxg2d"
176 176
177PACKAGECONFIG_PIPEWIRE ??= "" 177PACKAGECONFIG_PIPEWIRE ??= ""
178PACKAGECONFIG_PIPEWIRE:mx8-nxp-bsp ??= "pipewire" 178PACKAGECONFIG_PIPEWIRE:mx8-nxp-bsp ??= "pipewire"
179PACKAGECONFIG_PIPEWIRE:mx9-nxp-bsp ??= "pipewire" 179PACKAGECONFIG_PIPEWIRE:mx9-nxp-bsp ??= "pipewire"
180 180
diff --git a/recipes-graphics/xorg-xserver/xserver-xf86-config_%.bbappend b/recipes-graphics/xorg-xserver/xserver-xf86-config_%.bbappend
index 3fe677b34..4029ee84b 100644
--- a/recipes-graphics/xorg-xserver/xserver-xf86-config_%.bbappend
+++ b/recipes-graphics/xorg-xserver/xserver-xf86-config_%.bbappend
@@ -1,2 +1,2 @@
1# Append path for freescale layer to include bsp xorg.conf 1# Append path for freescale layer to include bsp xorg.conf
2FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" 2FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
diff --git a/recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend b/recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend
index 161df0498..7b14cc454 100644
--- a/recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend
+++ b/recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend
@@ -2,8 +2,8 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/${BPN}:"
2 2
3SRC_URI:append:use-mainline-bsp = " file://0001-Allow-to-enable-atomic-in-modesetting-DDX.patch" 3SRC_URI:append:use-mainline-bsp = " file://0001-Allow-to-enable-atomic-in-modesetting-DDX.patch"
4 4
5IMX_OPENGL_PKGCONFIGS_REMOVE = "" 5IMX_OPENGL_PKGCONFIGS_REMOVE = ""
6IMX_OPENGL_PKGCONFIGS_REMOVE:imxgpu = "glamor" 6IMX_OPENGL_PKGCONFIGS_REMOVE:imxgpu = "glamor"
7OPENGL_PKGCONFIGS:remove:mx6-nxp-bsp = "${IMX_OPENGL_PKGCONFIGS_REMOVE}" 7OPENGL_PKGCONFIGS:remove:mx6-nxp-bsp = "${IMX_OPENGL_PKGCONFIGS_REMOVE}"
8OPENGL_PKGCONFIGS:remove:mx7-nxp-bsp = "${IMX_OPENGL_PKGCONFIGS_REMOVE}" 8OPENGL_PKGCONFIGS:remove:mx7-nxp-bsp = "${IMX_OPENGL_PKGCONFIGS_REMOVE}"
9OPENGL_PKGCONFIGS:remove:imxdrm = "dri glx" 9OPENGL_PKGCONFIGS:remove:imxdrm = "dri glx"
diff --git a/recipes-graphics/xwayland/xwayland_%.bbappend b/recipes-graphics/xwayland/xwayland_%.bbappend
index d8f5bdde5..fc0d10e74 100644
--- a/recipes-graphics/xwayland/xwayland_%.bbappend
+++ b/recipes-graphics/xwayland/xwayland_%.bbappend
@@ -5,7 +5,7 @@ SRC_URI:append:imxgpu = " \
5" 5"
6 6
7OPENGL_PKGCONFIGS:remove:imxgpu = "${OPENGL_PKGCONFIGS_REMOVE_IMXGPU}" 7OPENGL_PKGCONFIGS:remove:imxgpu = "${OPENGL_PKGCONFIGS_REMOVE_IMXGPU}"
8OPENGL_PKGCONFIGS_REMOVE_IMXGPU = "" 8OPENGL_PKGCONFIGS_REMOVE_IMXGPU = ""
9OPENGL_PKGCONFIGS_REMOVE_IMXGPU:imx-nxp-bsp = "glamor glx" 9OPENGL_PKGCONFIGS_REMOVE_IMXGPU:imx-nxp-bsp = "glamor glx"
10OPENGL_PKGCONFIGS_REMOVE_IMXGPU:mx8-nxp-bsp = "glx" 10OPENGL_PKGCONFIGS_REMOVE_IMXGPU:mx8-nxp-bsp = "glx"
11 11
diff --git a/recipes-kernel/ceetm/ceetm_git.bb b/recipes-kernel/ceetm/ceetm_git.bb
index 2356b8db4..f33a8f95f 100644
--- a/recipes-kernel/ceetm/ceetm_git.bb
+++ b/recipes-kernel/ceetm/ceetm_git.bb
@@ -1,11 +1,14 @@
1DESCRIPTION = "CEETM TC QDISC" 1SUMMARY = "CEETM traffic-control qdisc"
2DESCRIPTION = "Traffic-control qdisc for the QorIQ DPAA CEETM hardware scheduler."
3HOMEPAGE = "https://github.com/nxp-qoriq/ceetm"
4SECTION = "kernel"
2LICENSE = "GPL-2.0-only" 5LICENSE = "GPL-2.0-only"
3LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263" 6LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263"
4 7
5SRC_URI = "git://github.com/nxp-qoriq/ceetm;protocol=https;nobranch=1" 8SRC_URI = "git://github.com/nxp-qoriq/ceetm;protocol=https;nobranch=1"
6SRCREV = "46b3565a48ca20f90ad601cef8250cdd35f18b22" 9SRCREV = "46b3565a48ca20f90ad601cef8250cdd35f18b22"
7SRC_URI:append = " file://0001-Makefile-update-CFLAGS.patch \ 10SRC_URI:append = " file://0001-Makefile-update-CFLAGS.patch \
8 file://0001-Makefile-Fix-build-error-with-gcc15-YOCIMX-8305.patch \ 11 file://0001-Makefile-Fix-build-error-with-gcc15-YOCIMX-8305.patch \
9" 12"
10DEPENDS = "iproute2" 13DEPENDS = "iproute2"
11 14
diff --git a/recipes-kernel/kernel-modules/kernel-module-ar_git.bb b/recipes-kernel/kernel-modules/kernel-module-ar_git.bb
index 054cb1fb9..9303459a0 100644
--- a/recipes-kernel/kernel-modules/kernel-module-ar_git.bb
+++ b/recipes-kernel/kernel-modules/kernel-module-ar_git.bb
@@ -1,11 +1,14 @@
1SUMMARY = "Auto Response Control Module" 1SUMMARY = "Auto Response Control Module"
2DESCRIPTION = "Kernel module providing QorIQ SEC auto-response control."
3HOMEPAGE = "https://github.com/nxp-qoriq-yocto-sdk/auto-resp"
4SECTION = "kernel"
2LICENSE = "GPL-2.0-only & BSD" 5LICENSE = "GPL-2.0-only & BSD"
3LIC_FILES_CHKSUM = "file://COPYING;md5=b5881ecf398da8a03a3f4c501e29d287" 6LIC_FILES_CHKSUM = "file://COPYING;md5=b5881ecf398da8a03a3f4c501e29d287"
4 7
5inherit module 8inherit module
6 9
7SRC_URI = "git://github.com/nxp-qoriq-yocto-sdk/auto-resp;branch=nxp/sdk-v2.0.x;protocol=https" 10SRC_URI = "git://github.com/nxp-qoriq-yocto-sdk/auto-resp;branch=nxp/sdk-v2.0.x;protocol=https"
8SRCREV = "9a74743167dcfcfbca5056eedbff9a52337c9712" 11SRCREV = "9a74743167dcfcfbca5056eedbff9a52337c9712"
9 12
10EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} SYSROOT=${STAGING_DIR_TARGET}" 13EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} SYSROOT=${STAGING_DIR_TARGET}"
11export KERNEL_PATH 14export KERNEL_PATH
@@ -17,10 +20,10 @@ do_compile:prepend() {
17} 20}
18 21
19do_install(){ 22do_install(){
20 install -d ${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION} 23 install -d ${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}
21 install -d ${D}${bindir} 24 install -d ${D}${bindir}
22 install -m 644 ${B}/bin/ar.ko ${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}/ 25 install -m 644 ${B}/bin/ar.ko ${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}/
23 cp -f ${S}/bin/ar_* ${D}${bindir}/ 26 cp -f ${S}/bin/ar_* ${D}${bindir}/
24} 27}
25 28
26FILES:${PN} += "${bindir}/" 29FILES:${PN} += "${bindir}/"
diff --git a/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.4.11.p2.2+fslc.bb b/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.4.11.p2.2+fslc.bb
index 053239365..66889ae65 100644
--- a/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.4.11.p2.2+fslc.bb
+++ b/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.4.11.p2.2+fslc.bb
@@ -3,7 +3,9 @@
3 3
4SUMMARY = "Kernel loadable module for Vivante GPU" 4SUMMARY = "Kernel loadable module for Vivante GPU"
5DESCRIPTION = "This package uses an exact copy of the GPU kernel driver source code of \ 5DESCRIPTION = "This package uses an exact copy of the GPU kernel driver source code of \
6the same version as base and include fixes and improvements developed by FSL Community" 6 the same version as base and include fixes and improvements developed by FSL Community"
7HOMEPAGE = "https://github.com/Freescale/kernel-module-imx-gpu-viv"
8SECTION = "kernel"
7LICENSE = "GPL-2.0-only" 9LICENSE = "GPL-2.0-only"
8LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e" 10LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e"
9 11
diff --git a/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.4.11.p4.4.bb b/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.4.11.p4.4.bb
index 5dc9ab894..29697b5f7 100644
--- a/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.4.11.p4.4.bb
+++ b/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.4.11.p4.4.bb
@@ -3,7 +3,9 @@
3 3
4SUMMARY = "Kernel loadable module for Vivante GPU" 4SUMMARY = "Kernel loadable module for Vivante GPU"
5DESCRIPTION = "Builds the Vivante GPU kernel driver as a loadable kernel module, \ 5DESCRIPTION = "Builds the Vivante GPU kernel driver as a loadable kernel module, \
6allowing flexibility to use a newer graphics release with an older kernel." 6 allowing flexibility to use a newer graphics release with an older kernel."
7HOMEPAGE = "https://github.com/nxp-imx/linux-imx"
8SECTION = "kernel"
7LICENSE = "GPL-2.0-only" 9LICENSE = "GPL-2.0-only"
8LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0-only;md5=801f80980d171dd6425610833a22dbe6" 10LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0-only;md5=801f80980d171dd6425610833a22dbe6"
9 11
diff --git a/recipes-kernel/kernel-modules/kernel-module-isp-vvcam_4.2.2.26.1.bb b/recipes-kernel/kernel-modules/kernel-module-isp-vvcam_4.2.2.26.1.bb
index dfe55bc80..5276a4dea 100644
--- a/recipes-kernel/kernel-modules/kernel-module-isp-vvcam_4.2.2.26.1.bb
+++ b/recipes-kernel/kernel-modules/kernel-module-isp-vvcam_4.2.2.26.1.bb
@@ -1,6 +1,9 @@
1# Copyright 2020-2026 NXP 1# Copyright 2020-2026 NXP
2 2
3SUMMARY = "i.MX ISP kernel module"
3DESCRIPTION = "Kernel loadable module for ISP" 4DESCRIPTION = "Kernel loadable module for ISP"
5HOMEPAGE = "https://github.com/nxp-imx/isp-vvcam"
6SECTION = "kernel"
4LICENSE = "GPL-2.0-only" 7LICENSE = "GPL-2.0-only"
5LIC_FILES_CHKSUM = "file://${S}/../LICENSE;md5=64381a6ea83b48c39fe524c85f65fb44" 8LIC_FILES_CHKSUM = "file://${S}/../LICENSE;md5=64381a6ea83b48c39fe524c85f65fb44"
6 9
@@ -17,7 +20,7 @@ inherit module
17 20
18MODULES_MODULE_SYMVERS_LOCATION = "dwe" 21MODULES_MODULE_SYMVERS_LOCATION = "dwe"
19 22
20DEBUG_PREFIX_MAP:prepend = " \ 23DEBUG_PREFIX_MAP:prepend = "\
21 -fmacro-prefix-map=${UNPACKDIR}/${BP}/vvcam=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR} \ 24 -fmacro-prefix-map=${UNPACKDIR}/${BP}/vvcam=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR} \
22 -fdebug-prefix-map=${UNPACKDIR}/${BP}/vvcam=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR} " 25 -fdebug-prefix-map=${UNPACKDIR}/${BP}/vvcam=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR} "
23 26
diff --git a/recipes-kernel/kernel-modules/kernel-module-ls-debug_git.bb b/recipes-kernel/kernel-modules/kernel-module-ls-debug_git.bb
index 9c5ce8f17..4e97bfdc2 100644
--- a/recipes-kernel/kernel-modules/kernel-module-ls-debug_git.bb
+++ b/recipes-kernel/kernel-modules/kernel-module-ls-debug_git.bb
@@ -1,6 +1,7 @@
1SUMMARY = "Layerscape Debug File System Module" 1SUMMARY = "Layerscape Debug File System Module"
2DESCRIPTION = "This package is the kernel module which is used for \ 2DESCRIPTION = "This package is the kernel module which is used for \
3ls102xa targets debug." 3 ls102xa targets debug."
4HOMEPAGE = "https://github.com/nxp-qoriq-yocto-sdk/ls-dbg"
4SECTION = "ls-debug" 5SECTION = "ls-debug"
5LICENSE = "GPL-2.0-or-later" 6LICENSE = "GPL-2.0-or-later"
6LIC_FILES_CHKSUM = "file://COPYING;md5=94263f12f9416f9fd0493c8f9e8085a3" 7LIC_FILES_CHKSUM = "file://COPYING;md5=94263f12f9416f9fd0493c8f9e8085a3"
diff --git a/recipes-kernel/kernel-modules/kernel-module-nxp-wlan_git.bb b/recipes-kernel/kernel-modules/kernel-module-nxp-wlan_git.bb
index d22b643c7..7af9d3e4b 100644
--- a/recipes-kernel/kernel-modules/kernel-module-nxp-wlan_git.bb
+++ b/recipes-kernel/kernel-modules/kernel-module-nxp-wlan_git.bb
@@ -1,4 +1,7 @@
1SUMMARY = "NXP Wi-Fi driver for module 88w8801/8987/8997/9098 IW416/610/612" 1SUMMARY = "NXP Wi-Fi driver for module 88w8801/8987/8997/9098 IW416/610/612"
2DESCRIPTION = "Kernel driver for NXP 88W8801/8987/8997/9098 and IW416/610/612 Wi-Fi modules."
3HOMEPAGE = "https://github.com/nxp-imx/mwifiex"
4SECTION = "kernel"
2LICENSE = "GPL-2.0-only" 5LICENSE = "GPL-2.0-only"
3LIC_FILES_CHKSUM = "file://LICENSE;md5=ab04ac0f249af12befccb94447c08b77" 6LIC_FILES_CHKSUM = "file://LICENSE;md5=ab04ac0f249af12befccb94447c08b77"
4 7
@@ -10,7 +13,7 @@ RCONFLICTS:${PN} = "kernel-module-nxp89xx"
10KERNEL_MODULE_PROBECONF += "moal" 13KERNEL_MODULE_PROBECONF += "moal"
11module_conf_moal = "options moal mod_para=nxp/wifi_mod_para.conf" 14module_conf_moal = "options moal mod_para=nxp/wifi_mod_para.conf"
12 15
13SRC_URI = " \ 16SRC_URI = "\
14 ${MRVL_SRC};branch=${SRCBRANCH} \ 17 ${MRVL_SRC};branch=${SRCBRANCH} \
15 file://0001-mlinux-moal_main-fix-device-wakeup-capability.patch \ 18 file://0001-mlinux-moal_main-fix-device-wakeup-capability.patch \
16" 19"
diff --git a/recipes-kernel/kernel-modules/kernel-module-uio-seville_0.1.bb b/recipes-kernel/kernel-modules/kernel-module-uio-seville_0.1.bb
index e7ae8556e..e8852b9a0 100644
--- a/recipes-kernel/kernel-modules/kernel-module-uio-seville_0.1.bb
+++ b/recipes-kernel/kernel-modules/kernel-module-uio-seville_0.1.bb
@@ -1,4 +1,7 @@
1SUMMARY = "T1040 L2 switch UIO driver"
1DESCRIPTION = "UIO driver for T1040 L2 Switch" 2DESCRIPTION = "UIO driver for T1040 L2 Switch"
3HOMEPAGE = "https://github.com/nxp-qoriq-yocto-sdk/l2switch-uio"
4SECTION = "kernel"
2LICENSE = "GPL-2.0-only" 5LICENSE = "GPL-2.0-only"
3LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e" 6LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e"
4 7
diff --git a/recipes-kernel/linux/linux-fslc-imx_6.18.bb b/recipes-kernel/linux/linux-fslc-imx_6.18.bb
index 229ec1dcb..ca917f22a 100644
--- a/recipes-kernel/linux/linux-fslc-imx_6.18.bb
+++ b/recipes-kernel/linux/linux-fslc-imx_6.18.bb
@@ -5,9 +5,10 @@
5 5
6SUMMARY = "Linux Kernel provided by NXP and supported by Community" 6SUMMARY = "Linux Kernel provided by NXP and supported by Community"
7DESCRIPTION = "Linux Kernel provided by NXP as the part of release distribution. \ 7DESCRIPTION = "Linux Kernel provided by NXP as the part of release distribution. \
8Main focus is set on i.MX Family Reference Boards. \ 8 Main focus is set on i.MX Family Reference Boards. \
9It includes support for many NXP Proprietary IPs (GPU, VPU, IPU). \ 9 It includes support for many NXP Proprietary IPs (GPU, VPU, IPU). \
10Latest stable Kernel patchlevel is applied and maintained by Community." 10 Latest stable Kernel patchlevel is applied and maintained by Community."
11HOMEPAGE = "https://github.com/Freescale/linux-fslc"
11 12
12############################################################################### 13###############################################################################
13# This recipe (and corresponding kernel repository and branch) receives updates 14# This recipe (and corresponding kernel repository and branch) receives updates
diff --git a/recipes-kernel/linux/linux-fslc-lts_6.1.bb b/recipes-kernel/linux/linux-fslc-lts_6.1.bb
index ae1e71b18..e490755e7 100644
--- a/recipes-kernel/linux/linux-fslc-lts_6.1.bb
+++ b/recipes-kernel/linux/linux-fslc-lts_6.1.bb
@@ -6,9 +6,10 @@
6 6
7SUMMARY = "FSL Community BSP Linux LTS based kernel with backported features and fixes" 7SUMMARY = "FSL Community BSP Linux LTS based kernel with backported features and fixes"
8DESCRIPTION = "Linux kernel based on LTS kernel used by FSL Community BSP in order to \ 8DESCRIPTION = "Linux kernel based on LTS kernel used by FSL Community BSP in order to \
9provide support for some backported features and fixes, or because it was applied in upstream \ 9 provide support for some backported features and fixes, or because it was applied in upstream \
10and will not become part of a LTS version, or because it is not applicable for \ 10 and will not become part of a LTS version, or because it is not applicable for \
11upstreaming in any form." 11 upstreaming in any form."
12HOMEPAGE = "https://github.com/Freescale/linux-fslc"
12 13
13require linux-imx.inc 14require linux-imx.inc
14 15
diff --git a/recipes-kernel/linux/linux-fslc-lts_6.6.bb b/recipes-kernel/linux/linux-fslc-lts_6.6.bb
index cc067262a..a4d15e0cc 100644
--- a/recipes-kernel/linux/linux-fslc-lts_6.6.bb
+++ b/recipes-kernel/linux/linux-fslc-lts_6.6.bb
@@ -6,9 +6,10 @@
6 6
7SUMMARY = "FSL Community BSP Linux LTS based kernel with backported features and fixes" 7SUMMARY = "FSL Community BSP Linux LTS based kernel with backported features and fixes"
8DESCRIPTION = "Linux kernel based on LTS kernel used by FSL Community BSP in order to \ 8DESCRIPTION = "Linux kernel based on LTS kernel used by FSL Community BSP in order to \
9provide support for some backported features and fixes, or because it was applied in upstream \ 9 provide support for some backported features and fixes, or because it was applied in upstream \
10and will not become part of a LTS version, or because it is not applicable for \ 10 and will not become part of a LTS version, or because it is not applicable for \
11upstreaming in any form." 11 upstreaming in any form."
12HOMEPAGE = "https://github.com/Freescale/linux-fslc"
12 13
13require linux-imx.inc 14require linux-imx.inc
14 15
diff --git a/recipes-kernel/linux/linux-fslc-qoriq_5.4.bb b/recipes-kernel/linux/linux-fslc-qoriq_5.4.bb
index 212e7858e..7264709a4 100644
--- a/recipes-kernel/linux/linux-fslc-qoriq_5.4.bb
+++ b/recipes-kernel/linux/linux-fslc-qoriq_5.4.bb
@@ -2,9 +2,10 @@
2 2
3SUMMARY = "Mainline/LTS rebased NXP/QorIQ patches + FSLC patches." 3SUMMARY = "Mainline/LTS rebased NXP/QorIQ patches + FSLC patches."
4DESCRIPTION = "Linux kernel based on LTS kernel used by FSL Community BSP in order to \ 4DESCRIPTION = "Linux kernel based on LTS kernel used by FSL Community BSP in order to \
5provide support for some backported features and fixes, or because it was applied in linux-next \ 5 provide support for some backported features and fixes, or because it was applied in linux-next \
6and takes some time to become part of a stable version, or because it is not applicable for \ 6 and takes some time to become part of a stable version, or because it is not applicable for \
7upstreaming." 7 upstreaming."
8HOMEPAGE = "https://github.com/Freescale/linux-fslc"
8 9
9require recipes-kernel/linux/linux-qoriq.inc 10require recipes-kernel/linux/linux-qoriq.inc
10 11
diff --git a/recipes-kernel/linux/linux-fslc_6.12.bb b/recipes-kernel/linux/linux-fslc_6.12.bb
index 8b66b82d4..45db75ecf 100644
--- a/recipes-kernel/linux/linux-fslc_6.12.bb
+++ b/recipes-kernel/linux/linux-fslc_6.12.bb
@@ -6,15 +6,16 @@
6 6
7SUMMARY = "FSL Community BSP Linux mainline based kernel with backported features and fixes" 7SUMMARY = "FSL Community BSP Linux mainline based kernel with backported features and fixes"
8DESCRIPTION = "Linux kernel based on mainline kernel used by FSL Community BSP in order to \ 8DESCRIPTION = "Linux kernel based on mainline kernel used by FSL Community BSP in order to \
9provide support for some backported features and fixes, or because it was applied in linux-next \ 9 provide support for some backported features and fixes, or because it was applied in linux-next \
10and takes some time to become part of a stable version, or because it is not applicable for \ 10 and takes some time to become part of a stable version, or because it is not applicable for \
11upstreaming." 11 upstreaming."
12HOMEPAGE = "https://github.com/Freescale/linux-fslc"
12 13
13require linux-imx.inc 14require linux-imx.inc
14 15
15SRC_URI = "git://github.com/Freescale/linux-fslc.git;branch=${KBRANCH};protocol=https" 16SRC_URI = "git://github.com/Freescale/linux-fslc.git;branch=${KBRANCH};protocol=https"
16 17
17DEPENDS += " \ 18DEPENDS += "\
18 coreutils-native \ 19 coreutils-native \
19" 20"
20 21
diff --git a/recipes-kernel/linux/linux-imx-headers_6.18.bb b/recipes-kernel/linux/linux-imx-headers_6.18.bb
index b6d7f8eb8..4e4c986b1 100644
--- a/recipes-kernel/linux/linux-imx-headers_6.18.bb
+++ b/recipes-kernel/linux/linux-imx-headers_6.18.bb
@@ -3,7 +3,8 @@
3 3
4SUMMARY = "Installs i.MX-specific kernel headers" 4SUMMARY = "Installs i.MX-specific kernel headers"
5DESCRIPTION = "Installs i.MX-specific kernel headers to userspace. \ 5DESCRIPTION = "Installs i.MX-specific kernel headers to userspace. \
6New headers are installed in ${includedir}/imx." 6 New headers are installed in ${includedir}/imx."
7HOMEPAGE = "https://github.com/nxp-imx/linux-imx"
7LICENSE = "GPL-2.0-only" 8LICENSE = "GPL-2.0-only"
8LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" 9LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
9 10
@@ -16,12 +17,11 @@ LOCALVERSION = "-lts-${SRCBRANCH}"
16KBRANCH = "${SRCBRANCH}" 17KBRANCH = "${SRCBRANCH}"
17SRCREV = "f49f45233f7b10006ce7e9c826ee882bb14ac8b5" 18SRCREV = "f49f45233f7b10006ce7e9c826ee882bb14ac8b5"
18 19
19
20do_configure[noexec] = "1" 20do_configure[noexec] = "1"
21 21
22do_compile[noexec] = "1" 22do_compile[noexec] = "1"
23 23
24IMX_UAPI_HEADERS = " \ 24IMX_UAPI_HEADERS = "\
25 dma-buf.h \ 25 dma-buf.h \
26 hantrodec.h \ 26 hantrodec.h \
27 hx280enc.h \ 27 hx280enc.h \
@@ -38,7 +38,7 @@ IMX_UAPI_HEADERS = " \
38 videodev2.h \ 38 videodev2.h \
39" 39"
40 40
41IMX_UAPI_HEADERS_SOUND = " \ 41IMX_UAPI_HEADERS_SOUND = "\
42 sound/compress_offload.h \ 42 sound/compress_offload.h \
43 sound/compress_params.h \ 43 sound/compress_params.h \
44" 44"
@@ -80,7 +80,7 @@ do_install() {
80ALLOW_EMPTY:${PN} = "1" 80ALLOW_EMPTY:${PN} = "1"
81 81
82INHIBIT_DEFAULT_DEPS = "1" 82INHIBIT_DEFAULT_DEPS = "1"
83DEPENDS += "unifdef-native bison-native rsync-native" 83DEPENDS += "bison-native rsync-native unifdef-native"
84 84
85PACKAGE_ARCH = "${MACHINE_SOCARCH}" 85PACKAGE_ARCH = "${MACHINE_SOCARCH}"
86 86
diff --git a/recipes-kernel/linux/linux-imx_6.18.bb b/recipes-kernel/linux/linux-imx_6.18.bb
index 5010f66c7..769ef7677 100644
--- a/recipes-kernel/linux/linux-imx_6.18.bb
+++ b/recipes-kernel/linux/linux-imx_6.18.bb
@@ -8,7 +8,8 @@
8 8
9SUMMARY = "Linux Kernel provided and supported by NXP" 9SUMMARY = "Linux Kernel provided and supported by NXP"
10DESCRIPTION = "Linux Kernel provided and supported by NXP with focus on \ 10DESCRIPTION = "Linux Kernel provided and supported by NXP with focus on \
11i.MX Family Reference Boards. It includes support for many IPs such as GPU, VPU and IPU." 11 i.MX Family Reference Boards. It includes support for many IPs such as GPU, VPU and IPU."
12HOMEPAGE = "https://github.com/nxp-imx/linux-imx"
12 13
13require recipes-kernel/linux/linux-imx.inc 14require recipes-kernel/linux/linux-imx.inc
14 15
diff --git a/recipes-kernel/linux/linux-qoriq.inc b/recipes-kernel/linux/linux-qoriq.inc
index 8c89a33aa..5b40831fd 100644
--- a/recipes-kernel/linux/linux-qoriq.inc
+++ b/recipes-kernel/linux/linux-qoriq.inc
@@ -24,7 +24,7 @@ LOCALVERSION = ""
24 24
25KBUILD_DEFCONFIG = "${KERNEL_DEFCONFIG}" 25KBUILD_DEFCONFIG = "${KERNEL_DEFCONFIG}"
26EXTRA_KBUILD_DEFCONFIG:qoriq-arm64 = "lsdk.config" 26EXTRA_KBUILD_DEFCONFIG:qoriq-arm64 = "lsdk.config"
27EXTRA_KBUILD_DEFCONFIG:qoriq-arm = "multi_v7_lpae.config lsdk.config" 27EXTRA_KBUILD_DEFCONFIG:qoriq-arm = "multi_v7_lpae.config lsdk.config"
28 28
29do_configure() { 29do_configure() {
30 # create config with make config 30 # create config with make config
@@ -48,5 +48,5 @@ do_configure() {
48} 48}
49 49
50FILES:${KERNEL_PACKAGE_NAME}-image += "/boot/zImage*" 50FILES:${KERNEL_PACKAGE_NAME}-image += "/boot/zImage*"
51INSANE_SKIP:${PN}-src += " buildpaths" 51INSANE_SKIP:${PN}-src += "buildpaths"
52COMPATIBLE_MACHINE = "(qoriq)" 52COMPATIBLE_MACHINE = "(qoriq)"
diff --git a/recipes-kernel/linux/linux-qoriq_6.12.bb b/recipes-kernel/linux/linux-qoriq_6.12.bb
index aa7561e3e..378a5d0af 100644
--- a/recipes-kernel/linux/linux-qoriq_6.12.bb
+++ b/recipes-kernel/linux/linux-qoriq_6.12.bb
@@ -7,3 +7,4 @@ SRC_URI = "${LINUX_QORIQ_SRC};branch=${LINUX_QORIQ_BRANCH}"
7SRCREV = "df24f9428e38740256a410b983003a478e72a7c0" 7SRCREV = "df24f9428e38740256a410b983003a478e72a7c0"
8 8
9require linux-qoriq.inc 9require linux-qoriq.inc
10HOMEPAGE = "https://github.com/nxp-qoriq/linux"
diff --git a/recipes-kernel/skmm-host/skmm-host_git.bb b/recipes-kernel/skmm-host/skmm-host_git.bb
index cc226bd9a..2c3cfef32 100644
--- a/recipes-kernel/skmm-host/skmm-host_git.bb
+++ b/recipes-kernel/skmm-host/skmm-host_git.bb
@@ -1,4 +1,6 @@
1SUMMARY = "SKMM host driver"
1DESCRIPTION = "skmm host driver offload data to PCIe EP and push the data en-decrypted back to application" 2DESCRIPTION = "skmm host driver offload data to PCIe EP and push the data en-decrypted back to application"
3HOMEPAGE = "https://github.com/nxp-qoriq-yocto-sdk/skmm-host"
2SECTION = "c293-skmm-host" 4SECTION = "c293-skmm-host"
3LICENSE = "BSD & GPL-2.0-or-later" 5LICENSE = "BSD & GPL-2.0-or-later"
4LIC_FILES_CHKSUM = "file://COPYING;md5=99803d8e9a595c0bdb45ca710f353813" 6LIC_FILES_CHKSUM = "file://COPYING;md5=99803d8e9a595c0bdb45ca710f353813"
diff --git a/recipes-libraries/ethos-u-driver-stack/ethos-u-driver-stack_24.05.bb b/recipes-libraries/ethos-u-driver-stack/ethos-u-driver-stack_24.05.bb
index b3aae7d46..d83476f64 100644
--- a/recipes-libraries/ethos-u-driver-stack/ethos-u-driver-stack_24.05.bb
+++ b/recipes-libraries/ethos-u-driver-stack/ethos-u-driver-stack_24.05.bb
@@ -1,15 +1,16 @@
1SUMMARY = "The Linux driver stack for Arm(R) Ethos(TM)-U NPU" 1SUMMARY = "The Linux driver stack for Arm(R) Ethos(TM)-U NPU"
2DESCRIPTION = "The Linux driver stack for Arm(R) Ethos(TM)-U provides \ 2DESCRIPTION = "The Linux driver stack for Arm(R) Ethos(TM)-U provides \
3an example of how a rich operating system like Linux can dispatch \ 3 an example of how a rich operating system like Linux can dispatch \
4inferences to an Arm Cortex(R)-M subsystem, consisting of an Arm \ 4 inferences to an Arm Cortex(R)-M subsystem, consisting of an Arm \
5Cortex-M of choice and an Arm Ethos-U NPU." 5 Cortex-M of choice and an Arm Ethos-U NPU."
6HOMEPAGE = "https://github.com/nxp-imx/ethos-u-driver-stack-imx"
6LICENSE = "Apache-2.0" 7LICENSE = "Apache-2.0"
7LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e3fc50a88d0a364313df4b21ef20c29e" 8LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e3fc50a88d0a364313df4b21ef20c29e"
8 9
9DEPENDS = "flatbuffers python3-pybind11 python3-pybind11-native" 10DEPENDS = "flatbuffers python3-pybind11 python3-pybind11-native"
10 11
11SRC_URI = "${ETHOS_U_SRC};branch=${SRCBRANCH} \ 12SRC_URI = "${ETHOS_U_SRC};branch=${SRCBRANCH} \
12 file://0001-ethosu.hpp-Fix-gcc15-build-issues.patch \ 13 file://0001-ethosu.hpp-Fix-gcc15-build-issues.patch \
13" 14"
14 15
15ETHOS_U_SRC ?= "git://github.com/nxp-imx/ethos-u-driver-stack-imx.git;protocol=https" 16ETHOS_U_SRC ?= "git://github.com/nxp-imx/ethos-u-driver-stack-imx.git;protocol=https"
diff --git a/recipes-libraries/ethos-u-driver-stack/ethos-u-firmware_24.05.bb b/recipes-libraries/ethos-u-driver-stack/ethos-u-firmware_24.05.bb
index 7a6fb5aa7..ae7bc914e 100644
--- a/recipes-libraries/ethos-u-driver-stack/ethos-u-firmware_24.05.bb
+++ b/recipes-libraries/ethos-u-driver-stack/ethos-u-firmware_24.05.bb
@@ -1,5 +1,6 @@
1SUMMARY = "The firmware of Cortex(R)-M33 for Arm(R) Ethos(TM)-U NPU" 1SUMMARY = "The firmware of Cortex(R)-M33 for Arm(R) Ethos(TM)-U NPU"
2DESCRIPTION = "The firmware of Cortex(R)-M33 for Arm(R) Ethos(TM)-U NPU" 2DESCRIPTION = "The firmware of Cortex(R)-M33 for Arm(R) Ethos(TM)-U NPU"
3HOMEPAGE = "https://github.com/nxp-imx/ethos-u-firmware"
3LICENSE = "Apache-2.0 & GPL-2.0-only & BSD-3-Clause" 4LICENSE = "Apache-2.0 & GPL-2.0-only & BSD-3-Clause"
4LIC_FILES_CHKSUM = "\ 5LIC_FILES_CHKSUM = "\
5 file://LICENSE.txt;md5=e3fc50a88d0a364313df4b21ef20c29e \ 6 file://LICENSE.txt;md5=e3fc50a88d0a364313df4b21ef20c29e \
@@ -13,7 +14,7 @@ SRCBRANCH = "lf-6.18.2_1.0.0"
13SRCREV = "5c14790b7ed63a52afd2ba6d917070e4c7b4265e" 14SRCREV = "5c14790b7ed63a52afd2ba6d917070e4c7b4265e"
14 15
15ETHOS_U_FIRMWARE = "ethosu_firmware" 16ETHOS_U_FIRMWARE = "ethosu_firmware"
16ETHOS_U_FIRMWARE:imx93-9x9-lpddr4-qsb = "ethosu_firmware_9x9" 17ETHOS_U_FIRMWARE:imx93-9x9-lpddr4-qsb = "ethosu_firmware_9x9"
17ETHOS_U_FIRMWARE:imx93-11x11-lpddr4x-evk = "ethosu_firmware_11x11" 18ETHOS_U_FIRMWARE:imx93-11x11-lpddr4x-evk = "ethosu_firmware_11x11"
18ETHOS_U_FIRMWARE:imx93-14x14-lpddr4x-evk = "ethosu_firmware_14x14" 19ETHOS_U_FIRMWARE:imx93-14x14-lpddr4x-evk = "ethosu_firmware_14x14"
19 20
diff --git a/recipes-multimedia/alsa/alsa-lib_%.bbappend b/recipes-multimedia/alsa/alsa-lib_%.bbappend
index a8935ed51..5a69da1bd 100644
--- a/recipes-multimedia/alsa/alsa-lib_%.bbappend
+++ b/recipes-multimedia/alsa/alsa-lib_%.bbappend
@@ -1,11 +1,11 @@
1FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" 1FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
2 2
3IMX_PATCH = " \ 3IMX_PATCH = "\
4 file://0001-add-conf-for-multichannel-support-in-imx.patch \ 4 file://0001-add-conf-for-multichannel-support-in-imx.patch \
5 file://0005-add-ak4458-conf-for-multichannel-support.patch \ 5 file://0005-add-ak4458-conf-for-multichannel-support.patch \
6 file://0006-add-conf-for-iMX-XCVR-sound-card.patch \ 6 file://0006-add-conf-for-iMX-XCVR-sound-card.patch \
7 file://0007-add-conf-for-imx-cs42448-sound-card.patch \ 7 file://0007-add-conf-for-imx-cs42448-sound-card.patch \
8" 8"
9SRC_URI:append:imx-nxp-bsp = "${IMX_PATCH}" 9SRC_URI:append:imx-nxp-bsp = " ${IMX_PATCH}"
10 10
11PACKAGE_ARCH:imx-nxp-bsp = "${MACHINE_SOCARCH}" 11PACKAGE_ARCH:imx-nxp-bsp = "${MACHINE_SOCARCH}"
diff --git a/recipes-multimedia/alsa/imx-alsa-plugins_git.bb b/recipes-multimedia/alsa/imx-alsa-plugins_git.bb
index fabbbb4ff..fced1cb66 100644
--- a/recipes-multimedia/alsa/imx-alsa-plugins_git.bb
+++ b/recipes-multimedia/alsa/imx-alsa-plugins_git.bb
@@ -3,6 +3,7 @@
3# Released under the MIT license (see COPYING.MIT for the terms) 3# Released under the MIT license (see COPYING.MIT for the terms)
4 4
5DESCRIPTION = "Freescale alsa-lib plugins" 5DESCRIPTION = "Freescale alsa-lib plugins"
6HOMEPAGE = "https://github.com/nxp-imx/imx-alsa-plugins"
6LICENSE = "GPL-2.0-only" 7LICENSE = "GPL-2.0-only"
7SECTION = "multimedia" 8SECTION = "multimedia"
8DEPENDS = "alsa-lib" 9DEPENDS = "alsa-lib"
@@ -27,7 +28,7 @@ SRCREV = "18eb79b6cf13fb988de7d4eef5b22eb60f8e2533"
27CFLAGS:append = " -I${STAGING_INCDIR_IMX}" 28CFLAGS:append = " -I${STAGING_INCDIR_IMX}"
28 29
29PACKAGECONFIG ??= "${PACKAGECONFIG_SWPDM}" 30PACKAGECONFIG ??= "${PACKAGECONFIG_SWPDM}"
30PACKAGECONFIG_SWPDM = "" 31PACKAGECONFIG_SWPDM = ""
31PACKAGECONFIG_SWPDM:mx8-nxp-bsp = "swpdm" 32PACKAGECONFIG_SWPDM:mx8-nxp-bsp = "swpdm"
32 33
33PACKAGECONFIG[swpdm] = "--enable-swpdm,--disable-swpdm,imx-sw-pdm" 34PACKAGECONFIG[swpdm] = "--enable-swpdm,--disable-swpdm,imx-sw-pdm"
diff --git a/recipes-multimedia/gstreamer/gst-devtools_1.26.6.bb b/recipes-multimedia/gstreamer/gst-devtools_1.26.6.bb
index ddbe334db..fd32b0a80 100644
--- a/recipes-multimedia/gstreamer/gst-devtools_1.26.6.bb
+++ b/recipes-multimedia/gstreamer/gst-devtools_1.26.6.bb
@@ -14,7 +14,7 @@ SRC_URI = "https://gstreamer.freedesktop.org/src/gst-devtools/gst-devtools-${PV}
14 14
15SRC_URI[sha256sum] = "dec8fc56d578d65c498e65e56efe44994c5d3f4e85dbbdff0242b441b32e19b2" 15SRC_URI[sha256sum] = "dec8fc56d578d65c498e65e56efe44994c5d3f4e85dbbdff0242b441b32e19b2"
16 16
17DEPENDS = "json-glib glib-2.0 glib-2.0-native gstreamer1.0 gstreamer1.0-plugins-base" 17DEPENDS = "glib-2.0 glib-2.0-native gstreamer1.0 gstreamer1.0-plugins-base json-glib"
18RRECOMMENDS:${PN} = "git" 18RRECOMMENDS:${PN} = "git"
19 19
20FILES:${PN} += "${datadir}/gstreamer-1.0/* ${libdir}/gst-validate-launcher/* ${libdir}/gstreamer-1.0/*" 20FILES:${PN} += "${datadir}/gstreamer-1.0/* ${libdir}/gst-validate-launcher/* ${libdir}/gstreamer-1.0/*"
@@ -33,7 +33,7 @@ def gettext_oemeson(d):
33# Build GstValidateVideo 33# Build GstValidateVideo
34PACKAGECONFIG[cairo] = "-Dcairo=enabled,-Dcairo=disabled,cairo" 34PACKAGECONFIG[cairo] = "-Dcairo=enabled,-Dcairo=disabled,cairo"
35 35
36EXTRA_OEMESON += " \ 36EXTRA_OEMESON += "\
37 -Ddoc=disabled \ 37 -Ddoc=disabled \
38 -Ddebug_viewer=disabled \ 38 -Ddebug_viewer=disabled \
39 -Dtests=disabled \ 39 -Dtests=disabled \
diff --git a/recipes-multimedia/gstreamer/gst-examples_1.26.6.bb b/recipes-multimedia/gstreamer/gst-examples_1.26.6.bb
index 2b31df7df..1a606ad48 100644
--- a/recipes-multimedia/gstreamer/gst-examples_1.26.6.bb
+++ b/recipes-multimedia/gstreamer/gst-examples_1.26.6.bb
@@ -8,9 +8,9 @@ BUGTRACKER = "https://gitlab.freedesktop.org/gstreamer/gst-examples/-/issues"
8LICENSE = "LGPL-2.0-or-later" 8LICENSE = "LGPL-2.0-or-later"
9LIC_FILES_CHKSUM = "file://playback/player/gtk/gtk-play.c;beginline=1;endline=20;md5=f8c72dae3d36823ec716a9ebcae593b9" 9LIC_FILES_CHKSUM = "file://playback/player/gtk/gtk-play.c;beginline=1;endline=20;md5=f8c72dae3d36823ec716a9ebcae593b9"
10 10
11DEPENDS = "glib-2.0 gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad gtk+3 json-glib glib-2.0-native" 11DEPENDS = "glib-2.0 glib-2.0-native gstreamer1.0 gstreamer1.0-plugins-bad gstreamer1.0-plugins-base gtk+3 json-glib"
12 12
13SRC_URI = "git://gitlab.freedesktop.org/gstreamer/gstreamer.git;protocol=https;branch=1.26;tag=${PV} \ 13SRC_URI = "git://gitlab.freedesktop.org/gstreamer/gstreamer.git;protocol=https;branch=1.26 \
14 file://0001-Make-player-examples-installable.patch \ 14 file://0001-Make-player-examples-installable.patch \
15 file://gst-player.desktop \ 15 file://gst-player.desktop \
16 " 16 "
@@ -29,13 +29,13 @@ UPSTREAM_CHECK_GITTAGREGEX = "^(?P<pver>\d+\.(\d*[02468])+(\.\d+)+)"
29ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" 29ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
30 30
31do_install:append() { 31do_install:append() {
32 install -m 0644 -D ${UNPACKDIR}/gst-player.desktop ${D}${datadir}/applications/gst-player.desktop 32 install -m 0644 -D ${UNPACKDIR}/gst-player.desktop ${D}${datadir}/applications/gst-player.desktop
33} 33}
34 34
35RDEPENDS:${PN} = "gstreamer1.0-plugins-base-playback" 35RDEPENDS:${PN} = "gstreamer1.0-plugins-base-playback"
36RRECOMMENDS:${PN} = "gstreamer1.0-plugins-base-meta \ 36RRECOMMENDS:${PN} = "gstreamer1.0-plugins-base-meta \
37 gstreamer1.0-plugins-good-meta \ 37 gstreamer1.0-plugins-good-meta \
38 gstreamer1.0-plugins-bad-meta \ 38 gstreamer1.0-plugins-bad-meta \
39 ${@bb.utils.contains("LICENSE_FLAGS_ACCEPTED", "commercial", "gstreamer1.0-libav", "", d)} \ 39 ${@bb.utils.contains("LICENSE_FLAGS_ACCEPTED", "commercial", "gstreamer1.0-libav", "", d)} \
40 ${@bb.utils.contains("LICENSE_FLAGS_ACCEPTED", "commercial", "gstreamer1.0-plugins-ugly-meta", "", d)}" 40 ${@bb.utils.contains("LICENSE_FLAGS_ACCEPTED", "commercial", "gstreamer1.0-plugins-ugly-meta", "", d)}"
41RPROVIDES:${PN} += "gst-player gst-player-bin" 41RPROVIDES:${PN} += "gst-player gst-player-bin"
diff --git a/recipes-multimedia/gstreamer/gst-variable-rtsp-server_1.0.bb b/recipes-multimedia/gstreamer/gst-variable-rtsp-server_1.0.bb
index 96a7ce6ab..59fb98393 100644
--- a/recipes-multimedia/gstreamer/gst-variable-rtsp-server_1.0.bb
+++ b/recipes-multimedia/gstreamer/gst-variable-rtsp-server_1.0.bb
@@ -8,17 +8,16 @@ LICENSE = "GPL-3.0-only"
8 8
9inherit pkgconfig 9inherit pkgconfig
10 10
11DEPENDS = "gstreamer1.0 gstreamer1.0-rtsp-server glib-2.0" 11DEPENDS = "glib-2.0 gstreamer1.0 gstreamer1.0-rtsp-server"
12 12
13LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" 13LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
14 14
15SRC_URI = " \ 15SRC_URI = "\
16 git://github.com/Gateworks/gst-gateworks-apps;branch=master;protocol=https \ 16 git://github.com/Gateworks/gst-gateworks-apps;branch=master;protocol=https \
17" 17"
18 18
19SRCREV = "490564815d8049dbdd79087f546835b673ba6e88" 19SRCREV = "490564815d8049dbdd79087f546835b673ba6e88"
20 20
21
22do_install() { 21do_install() {
23 install -m 0755 -D ${S}/bin/gst-variable-rtsp-server \ 22 install -m 0755 -D ${S}/bin/gst-variable-rtsp-server \
24 ${D}/${bindir}/gst-variable-rtsp-server 23 ${D}/${bindir}/gst-variable-rtsp-server
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.26.6.bb b/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.26.6.bb
index e7a4a7dea..a19ccd93d 100644
--- a/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.26.6.bb
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.26.6.bb
@@ -1,6 +1,6 @@
1SUMMARY = "Libav-based GStreamer 1.x plugin" 1SUMMARY = "Libav-based GStreamer 1.x plugin"
2DESCRIPTION = "Contains a GStreamer plugin for using the encoders, decoders, \ 2DESCRIPTION = "Contains a GStreamer plugin for using the encoders, decoders, \
3muxers, and demuxers provided by FFmpeg." 3 muxers, and demuxers provided by FFmpeg."
4HOMEPAGE = "http://gstreamer.freedesktop.org/" 4HOMEPAGE = "http://gstreamer.freedesktop.org/"
5SECTION = "multimedia" 5SECTION = "multimedia"
6 6
@@ -20,7 +20,7 @@ DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base ffmpeg"
20 20
21inherit meson pkgconfig upstream-version-is-even 21inherit meson pkgconfig upstream-version-is-even
22 22
23EXTRA_OEMESON += " \ 23EXTRA_OEMESON += "\
24 -Dtests=disabled \ 24 -Dtests=disabled \
25" 25"
26 26
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.26.6.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.26.6.imx.bb
index 36db56eb8..8c294d92f 100644
--- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.26.6.imx.bb
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.26.6.imx.bb
@@ -11,6 +11,7 @@ require recipes-multimedia/gstreamer/gstreamer1.0-plugins-license.inc
11SUMMARY = "'Bad' GStreamer plugins and helper libraries " 11SUMMARY = "'Bad' GStreamer plugins and helper libraries "
12HOMEPAGE = "https://gstreamer.freedesktop.org/" 12HOMEPAGE = "https://gstreamer.freedesktop.org/"
13BUGTRACKER = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues" 13BUGTRACKER = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues"
14CVE_PRODUCT = "gst-plugins-bad"
14 15
15SRC_URI = "https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-${PV}.tar.xz \ 16SRC_URI = "https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-${PV}.tar.xz \
16 file://0001-fix-maybe-uninitialized-warnings-when-compiling-with.patch \ 17 file://0001-fix-maybe-uninitialized-warnings-when-compiling-with.patch \
@@ -26,7 +27,7 @@ DEPENDS += "gstreamer1.0-plugins-base"
26 27
27inherit gobject-introspection 28inherit gobject-introspection
28 29
29PACKAGECONFIG ??= " \ 30PACKAGECONFIG ??= "\
30 ${GSTREAMER_ORC} \ 31 ${GSTREAMER_ORC} \
31 ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)} \ 32 ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)} \
32 ${@bb.utils.filter('DISTRO_FEATURES', 'directfb vulkan x11', d)} \ 33 ${@bb.utils.filter('DISTRO_FEATURES', 'directfb vulkan x11', d)} \
@@ -37,74 +38,74 @@ PACKAGECONFIG ??= " \
37 ${@bb.utils.contains('TUNE_FEATURES', 'mx32', '', 'rsvg', d)} \ 38 ${@bb.utils.contains('TUNE_FEATURES', 'mx32', '', 'rsvg', d)} \
38" 39"
39 40
40PACKAGECONFIG[aom] = "-Daom=enabled,-Daom=disabled,aom" 41PACKAGECONFIG[aom] = "-Daom=enabled,-Daom=disabled,aom"
41PACKAGECONFIG[assrender] = "-Dassrender=enabled,-Dassrender=disabled,libass" 42PACKAGECONFIG[assrender] = "-Dassrender=enabled,-Dassrender=disabled,libass"
42PACKAGECONFIG[avtp] = "-Davtp=enabled,-Davtp=disabled,libavtp" 43PACKAGECONFIG[avtp] = "-Davtp=enabled,-Davtp=disabled,libavtp"
43PACKAGECONFIG[bluez] = "-Dbluez=enabled,-Dbluez=disabled,bluez5" 44PACKAGECONFIG[bluez] = "-Dbluez=enabled,-Dbluez=disabled,bluez5"
44PACKAGECONFIG[bz2] = "-Dbz2=enabled,-Dbz2=disabled,bzip2" 45PACKAGECONFIG[bz2] = "-Dbz2=enabled,-Dbz2=disabled,bzip2"
45PACKAGECONFIG[closedcaption] = "-Dclosedcaption=enabled,-Dclosedcaption=disabled,pango cairo" 46PACKAGECONFIG[closedcaption] = "-Dclosedcaption=enabled,-Dclosedcaption=disabled,pango cairo"
46PACKAGECONFIG[curl] = "-Dcurl=enabled,-Dcurl=disabled,curl" 47PACKAGECONFIG[curl] = "-Dcurl=enabled,-Dcurl=disabled,curl"
47PACKAGECONFIG[dash] = "-Ddash=enabled,-Ddash=disabled,libxml2" 48PACKAGECONFIG[dash] = "-Ddash=enabled,-Ddash=disabled,libxml2"
48PACKAGECONFIG[dc1394] = "-Ddc1394=enabled,-Ddc1394=disabled,libdc1394" 49PACKAGECONFIG[dc1394] = "-Ddc1394=enabled,-Ddc1394=disabled,libdc1394"
49PACKAGECONFIG[directfb] = "-Ddirectfb=enabled,-Ddirectfb=disabled,directfb" 50PACKAGECONFIG[directfb] = "-Ddirectfb=enabled,-Ddirectfb=disabled,directfb"
50PACKAGECONFIG[dtls] = "-Ddtls=enabled,-Ddtls=disabled,openssl" 51PACKAGECONFIG[dtls] = "-Ddtls=enabled,-Ddtls=disabled,openssl"
51PACKAGECONFIG[faac] = "-Dfaac=enabled,-Dfaac=disabled,faac" 52PACKAGECONFIG[faac] = "-Dfaac=enabled,-Dfaac=disabled,faac"
52PACKAGECONFIG[faad] = "-Dfaad=enabled,-Dfaad=disabled,faad2" 53PACKAGECONFIG[faad] = "-Dfaad=enabled,-Dfaad=disabled,faad2"
53PACKAGECONFIG[fluidsynth] = "-Dfluidsynth=enabled,-Dfluidsynth=disabled,fluidsynth" 54PACKAGECONFIG[fluidsynth] = "-Dfluidsynth=enabled,-Dfluidsynth=disabled,fluidsynth"
54PACKAGECONFIG[hls] = "-Dhls=enabled,-Dhls=disabled," 55PACKAGECONFIG[hls] = "-Dhls=enabled,-Dhls=disabled,"
55# Pick atleast one crypto backend below when enabling hls 56# Pick atleast one crypto backend below when enabling hls
56PACKAGECONFIG[nettle] = "-Dhls-crypto=nettle,,nettle" 57PACKAGECONFIG[nettle] = "-Dhls-crypto=nettle,,nettle"
57PACKAGECONFIG[openssl] = "-Dhls-crypto=openssl,,openssl" 58PACKAGECONFIG[openssl] = "-Dhls-crypto=openssl,,openssl"
58PACKAGECONFIG[gcrypt] = "-Dhls-crypto=libgcrypt,,libgcrypt" 59PACKAGECONFIG[gcrypt] = "-Dhls-crypto=libgcrypt,,libgcrypt"
59# the gl packageconfig enables OpenGL elements that haven't been ported 60# the gl packageconfig enables OpenGL elements that haven't been ported
60# to -base yet. They depend on the gstgl library in -base, so we do 61# to -base yet. They depend on the gstgl library in -base, so we do
61# not add GL dependencies here, since these are taken care of in -base. 62# not add GL dependencies here, since these are taken care of in -base.
62PACKAGECONFIG[gl] = "-Dgl=enabled,-Dgl=disabled," 63PACKAGECONFIG[gl] = "-Dgl=enabled,-Dgl=disabled,"
63PACKAGECONFIG[kms] = "-Dkms=enabled,-Dkms=disabled,libdrm" 64PACKAGECONFIG[kms] = "-Dkms=enabled,-Dkms=disabled,libdrm"
64PACKAGECONFIG[libde265] = "-Dlibde265=enabled,-Dlibde265=disabled,libde265" 65PACKAGECONFIG[libde265] = "-Dlibde265=enabled,-Dlibde265=disabled,libde265"
65PACKAGECONFIG[libssh2] = "-Dcurl-ssh2=enabled,-Dcurl-ssh2=disabled,libssh2" 66PACKAGECONFIG[libssh2] = "-Dcurl-ssh2=enabled,-Dcurl-ssh2=disabled,libssh2"
66PACKAGECONFIG[lcms2] = "-Dcolormanagement=enabled,-Dcolormanagement=disabled,lcms" 67PACKAGECONFIG[lcms2] = "-Dcolormanagement=enabled,-Dcolormanagement=disabled,lcms"
67PACKAGECONFIG[modplug] = "-Dmodplug=enabled,-Dmodplug=disabled,libmodplug" 68PACKAGECONFIG[modplug] = "-Dmodplug=enabled,-Dmodplug=disabled,libmodplug"
68PACKAGECONFIG[msdk] = "-Dmsdk=enabled -Dmfx_api=oneVPL,-Dmsdk=disabled,onevpl-intel-gpu" 69PACKAGECONFIG[msdk] = "-Dmsdk=enabled -Dmfx_api=oneVPL,-Dmsdk=disabled,onevpl-intel-gpu"
69PACKAGECONFIG[neon] = "-Dneon=enabled,-Dneon=disabled,neon" 70PACKAGECONFIG[neon] = "-Dneon=enabled,-Dneon=disabled,neon"
70PACKAGECONFIG[openal] = "-Dopenal=enabled,-Dopenal=disabled,openal-soft" 71PACKAGECONFIG[openal] = "-Dopenal=enabled,-Dopenal=disabled,openal-soft"
71PACKAGECONFIG[opencv] = "-Dopencv=enabled,-Dopencv=disabled,opencv" 72PACKAGECONFIG[opencv] = "-Dopencv=enabled,-Dopencv=disabled,opencv"
72PACKAGECONFIG[openh264] = "-Dopenh264=enabled,-Dopenh264=disabled,openh264" 73PACKAGECONFIG[openh264] = "-Dopenh264=enabled,-Dopenh264=disabled,openh264"
73PACKAGECONFIG[openjpeg] = "-Dopenjpeg=enabled,-Dopenjpeg=disabled,openjpeg" 74PACKAGECONFIG[openjpeg] = "-Dopenjpeg=enabled,-Dopenjpeg=disabled,openjpeg"
74PACKAGECONFIG[openmpt] = "-Dopenmpt=enabled,-Dopenmpt=disabled,libopenmpt" 75PACKAGECONFIG[openmpt] = "-Dopenmpt=enabled,-Dopenmpt=disabled,libopenmpt"
75# the opus encoder/decoder elements are now in the -base package, 76# the opus encoder/decoder elements are now in the -base package,
76# but the opus parser remains in -bad 77# but the opus parser remains in -bad
77PACKAGECONFIG[opusparse] = "-Dopus=enabled,-Dopus=disabled,libopus" 78PACKAGECONFIG[opusparse] = "-Dopus=enabled,-Dopus=disabled,libopus"
78PACKAGECONFIG[resindvd] = "-Dresindvd=enabled,-Dresindvd=disabled,libdvdread libdvdnav" 79PACKAGECONFIG[resindvd] = "-Dresindvd=enabled,-Dresindvd=disabled,libdvdread libdvdnav"
79PACKAGECONFIG[rsvg] = "-Drsvg=enabled,-Drsvg=disabled,librsvg" 80PACKAGECONFIG[rsvg] = "-Drsvg=enabled,-Drsvg=disabled,librsvg"
80PACKAGECONFIG[rtmp] = "-Drtmp=enabled,-Drtmp=disabled,rtmpdump" 81PACKAGECONFIG[rtmp] = "-Drtmp=enabled,-Drtmp=disabled,rtmpdump"
81PACKAGECONFIG[sbc] = "-Dsbc=enabled,-Dsbc=disabled,sbc" 82PACKAGECONFIG[sbc] = "-Dsbc=enabled,-Dsbc=disabled,sbc"
82PACKAGECONFIG[sctp] = "-Dsctp=enabled,-Dsctp=disabled" 83PACKAGECONFIG[sctp] = "-Dsctp=enabled,-Dsctp=disabled"
83PACKAGECONFIG[smoothstreaming] = "-Dsmoothstreaming=enabled,-Dsmoothstreaming=disabled,libxml2" 84PACKAGECONFIG[smoothstreaming] = "-Dsmoothstreaming=enabled,-Dsmoothstreaming=disabled,libxml2"
84PACKAGECONFIG[sndfile] = "-Dsndfile=enabled,-Dsndfile=disabled,libsndfile1" 85PACKAGECONFIG[sndfile] = "-Dsndfile=enabled,-Dsndfile=disabled,libsndfile1"
85PACKAGECONFIG[srt] = "-Dsrt=enabled,-Dsrt=disabled,srt" 86PACKAGECONFIG[srt] = "-Dsrt=enabled,-Dsrt=disabled,srt"
86PACKAGECONFIG[srtp] = "-Dsrtp=enabled,-Dsrtp=disabled,libsrtp" 87PACKAGECONFIG[srtp] = "-Dsrtp=enabled,-Dsrtp=disabled,libsrtp"
87PACKAGECONFIG[tinyalsa] = "-Dtinyalsa=enabled,-Dtinyalsa=disabled,tinyalsa" 88PACKAGECONFIG[tinyalsa] = "-Dtinyalsa=enabled,-Dtinyalsa=disabled,tinyalsa"
88PACKAGECONFIG[ttml] = "-Dttml=enabled,-Dttml=disabled,libxml2 pango cairo" 89PACKAGECONFIG[ttml] = "-Dttml=enabled,-Dttml=disabled,libxml2 pango cairo"
89PACKAGECONFIG[uvch264] = "-Duvch264=enabled,-Duvch264=disabled,libusb1 libgudev" 90PACKAGECONFIG[uvch264] = "-Duvch264=enabled,-Duvch264=disabled,libusb1 libgudev"
90# this enables support for stateless V4L2 mem2mem codecs, which is a newer form of 91# this enables support for stateless V4L2 mem2mem codecs, which is a newer form of
91# V4L2 codec; the V4L2 code in -base supports the older stateful V4L2 mem2mem codecs 92# V4L2 codec; the V4L2 code in -base supports the older stateful V4L2 mem2mem codecs
92PACKAGECONFIG[v4l2codecs] = "-Dv4l2codecs=enabled,-Dv4l2codecs=disabled,libgudev" 93PACKAGECONFIG[v4l2codecs] = "-Dv4l2codecs=enabled,-Dv4l2codecs=disabled,libgudev"
93PACKAGECONFIG[va] = "-Dva=enabled,-Dva=disabled,libva" 94PACKAGECONFIG[va] = "-Dva=enabled,-Dva=disabled,libva"
94PACKAGECONFIG[voaacenc] = "-Dvoaacenc=enabled,-Dvoaacenc=disabled,vo-aacenc" 95PACKAGECONFIG[voaacenc] = "-Dvoaacenc=enabled,-Dvoaacenc=disabled,vo-aacenc"
95PACKAGECONFIG[voamrwbenc] = "-Dvoamrwbenc=enabled,-Dvoamrwbenc=disabled,vo-amrwbenc" 96PACKAGECONFIG[voamrwbenc] = "-Dvoamrwbenc=enabled,-Dvoamrwbenc=disabled,vo-amrwbenc"
96PACKAGECONFIG[vulkan] = "-Dvulkan=enabled,-Dvulkan=disabled,vulkan-loader shaderc-native" 97PACKAGECONFIG[vulkan] = "-Dvulkan=enabled,-Dvulkan=disabled,vulkan-loader shaderc-native"
97PACKAGECONFIG[wayland] = "-Dwayland=enabled,-Dwayland=disabled,wayland-native wayland wayland-protocols libdrm" 98PACKAGECONFIG[wayland] = "-Dwayland=enabled,-Dwayland=disabled,wayland-native wayland wayland-protocols libdrm"
98PACKAGECONFIG[webp] = "-Dwebp=enabled,-Dwebp=disabled,libwebp" 99PACKAGECONFIG[webp] = "-Dwebp=enabled,-Dwebp=disabled,libwebp"
99PACKAGECONFIG[webrtc] = "-Dwebrtc=enabled,-Dwebrtc=disabled,libnice" 100PACKAGECONFIG[webrtc] = "-Dwebrtc=enabled,-Dwebrtc=disabled,libnice"
100PACKAGECONFIG[webrtcdsp] = "-Dwebrtcdsp=enabled,-Dwebrtcdsp=disabled,webrtc-audio-processing" 101PACKAGECONFIG[webrtcdsp] = "-Dwebrtcdsp=enabled,-Dwebrtcdsp=disabled,webrtc-audio-processing"
101PACKAGECONFIG[zbar] = "-Dzbar=enabled,-Dzbar=disabled,zbar" 102PACKAGECONFIG[zbar] = "-Dzbar=enabled,-Dzbar=disabled,zbar"
102PACKAGECONFIG[x11] = "-Dx11=enabled,-Dx11=disabled,libxcb libxkbcommon" 103PACKAGECONFIG[x11] = "-Dx11=enabled,-Dx11=disabled,libxcb libxkbcommon"
103PACKAGECONFIG[x265] = "-Dx265=enabled,-Dx265=disabled,x265" 104PACKAGECONFIG[x265] = "-Dx265=enabled,-Dx265=disabled,x265"
104 105
105GSTREAMER_GPL = "${@bb.utils.filter('PACKAGECONFIG', 'faad resindvd x265', d)}" 106GSTREAMER_GPL = "${@bb.utils.filter('PACKAGECONFIG', 'faad resindvd x265', d)}"
106 107
107EXTRA_OEMESON += " \ 108EXTRA_OEMESON += "\
108 -Ddoc=disabled \ 109 -Ddoc=disabled \
109 -Daes=enabled \ 110 -Daes=enabled \
110 -Dcodecalpha=enabled \ 111 -Dcodecalpha=enabled \
@@ -169,7 +170,6 @@ FILES:${PN}-opencv += "${datadir}/gst-plugins-bad/1.0/opencv*"
169FILES:${PN}-transcode += "${datadir}/gstreamer-1.0/encoding-profiles" 170FILES:${PN}-transcode += "${datadir}/gstreamer-1.0/encoding-profiles"
170FILES:${PN}-voamrwbenc += "${datadir}/gstreamer-1.0/presets/GstVoAmrwbEnc.prs" 171FILES:${PN}-voamrwbenc += "${datadir}/gstreamer-1.0/presets/GstVoAmrwbEnc.prs"
171 172
172
173########### End of OE-core copy ########### 173########### End of OE-core copy ###########
174 174
175########### i.MX overrides ################ 175########### i.MX overrides ################
@@ -179,14 +179,14 @@ DEFAULT_PREFERENCE = "-1"
179LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=69333daa044cb77e486cc36129f7a770" 179LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=69333daa044cb77e486cc36129f7a770"
180 180
181SRC_URI:remove = "https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-${PV}.tar.xz \ 181SRC_URI:remove = "https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-${PV}.tar.xz \
182 file://0001-fix-maybe-uninitialized-warnings-when-compiling-with.patch \ 182 file://0001-fix-maybe-uninitialized-warnings-when-compiling-with.patch \
183 file://0002-avoid-including-sys-poll.h-directly.patch \ 183 file://0002-avoid-including-sys-poll.h-directly.patch \
184 file://0004-opencv-resolve-missing-opencv-data-dir-in-yocto-buil.patch \ 184 file://0004-opencv-resolve-missing-opencv-data-dir-in-yocto-buil.patch \
185 " 185 "
186SRC_URI:prepend = "${GST1.0-PLUGINS-BAD_SRC};branch=${SRCBRANCH} " 186SRC_URI:prepend = "${GST1.0-PLUGINS-BAD_SRC};branch=${SRCBRANCH} "
187 187
188SRC_URI:append:mx93-nxp-bsp = "file://0001-MMFMWK-9590-gstcuda-disable-gir-build-for-cuda-plugi.patch" 188SRC_URI:append:mx93-nxp-bsp = " file://0001-MMFMWK-9590-gstcuda-disable-gir-build-for-cuda-plugi.patch"
189SRC_URI:append:mx943-nxp-bsp = "file://0001-MMFMWK-9590-gstcuda-disable-gir-build-for-cuda-plugi.patch" 189SRC_URI:append:mx943-nxp-bsp = " file://0001-MMFMWK-9590-gstcuda-disable-gir-build-for-cuda-plugi.patch"
190 190
191GST1.0-PLUGINS-BAD_SRC ?= "gitsm://github.com/nxp-imx/gst-plugins-bad.git;protocol=https" 191GST1.0-PLUGINS-BAD_SRC ?= "gitsm://github.com/nxp-imx/gst-plugins-bad.git;protocol=https"
192SRCBRANCH = "MM_04.10.03_2512_L6.18.2" 192SRCBRANCH = "MM_04.10.03_2512_L6.18.2"
@@ -197,7 +197,7 @@ inherit use-imx-headers
197PACKAGE_ARCH:imxpxp = "${MACHINE_SOCARCH}" 197PACKAGE_ARCH:imxpxp = "${MACHINE_SOCARCH}"
198PACKAGE_ARCH:mx8-nxp-bsp = "${MACHINE_SOCARCH}" 198PACKAGE_ARCH:mx8-nxp-bsp = "${MACHINE_SOCARCH}"
199 199
200PACKAGECONFIG_REMOVE ?= " \ 200PACKAGECONFIG_REMOVE ?= "\
201 dtls vulkan \ 201 dtls vulkan \
202 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', '', 'gl', d)} \ 202 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', '', 'gl', d)} \
203" 203"
@@ -207,17 +207,17 @@ PACKAGECONFIG:remove:mx943-nxp-bsp = "gl"
207PACKAGECONFIG:append:mx8-nxp-bsp = " kms tinycompress" 207PACKAGECONFIG:append:mx8-nxp-bsp = " kms tinycompress"
208 208
209PACKAGECONFIG:append = " ${PACKAGECONFIG_G2D}" 209PACKAGECONFIG:append = " ${PACKAGECONFIG_G2D}"
210PACKAGECONFIG_G2D ??= "" 210PACKAGECONFIG_G2D ??= ""
211PACKAGECONFIG_G2D:imxgpu2d ??= "g2d" 211PACKAGECONFIG_G2D:imxgpu2d ??= "g2d"
212 212
213PACKAGECONFIG[g2d] = ",,virtual/libg2d" 213PACKAGECONFIG[g2d] = ",,virtual/libg2d"
214PACKAGECONFIG[tinycompress] = "-Dtinycompress=enabled,-Dtinycompress=disabled,tinycompress" 214PACKAGECONFIG[tinycompress] = "-Dtinycompress=enabled,-Dtinycompress=disabled,tinycompress"
215 215
216EXTRA_OEMESON += " \ 216EXTRA_OEMESON += "\
217 -Dc_args="${CFLAGS} -I${STAGING_INCDIR_IMX}" \ 217 -Dc_args="${CFLAGS} -I${STAGING_INCDIR_IMX}" \
218" 218"
219 219
220EXTRA_OEMESON:remove = " \ 220EXTRA_OEMESON:remove = "\
221 -Dkate=disabled \ 221 -Dkate=disabled \
222" 222"
223 223
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.26.6.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.26.6.imx.bb
index 0cfa8c064..86790354e 100644
--- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.26.6.imx.bb
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.26.6.imx.bb
@@ -29,7 +29,7 @@ inherit gobject-introspection
29PACKAGECONFIG_X11 = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'opengl glx', '', d)}" 29PACKAGECONFIG_X11 = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'opengl glx', '', d)}"
30PACKAGECONFIG_GL ?= "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gles2 egl ${PACKAGECONFIG_X11}', '', d)}" 30PACKAGECONFIG_GL ?= "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gles2 egl ${PACKAGECONFIG_X11}', '', d)}"
31 31
32PACKAGECONFIG ??= " \ 32PACKAGECONFIG ??= "\
33 ${GSTREAMER_ORC} \ 33 ${GSTREAMER_ORC} \
34 ${PACKAGECONFIG_GL} \ 34 ${PACKAGECONFIG_GL} \
35 ${@bb.utils.filter('DISTRO_FEATURES', 'alsa x11', d)} \ 35 ${@bb.utils.filter('DISTRO_FEATURES', 'alsa x11', d)} \
@@ -44,40 +44,40 @@ X11DEPENDS = "virtual/libx11 libsm libxrender libxv"
44X11ENABLEOPTS = "-Dx11=enabled -Dxvideo=enabled -Dxshm=enabled" 44X11ENABLEOPTS = "-Dx11=enabled -Dxvideo=enabled -Dxshm=enabled"
45X11DISABLEOPTS = "-Dx11=disabled -Dxvideo=disabled -Dxshm=disabled" 45X11DISABLEOPTS = "-Dx11=disabled -Dxvideo=disabled -Dxshm=disabled"
46 46
47PACKAGECONFIG[alsa] = "-Dalsa=enabled,-Dalsa=disabled,alsa-lib" 47PACKAGECONFIG[alsa] = "-Dalsa=enabled,-Dalsa=disabled,alsa-lib"
48PACKAGECONFIG[cdparanoia] = "-Dcdparanoia=enabled,-Dcdparanoia=disabled,cdparanoia" 48PACKAGECONFIG[cdparanoia] = "-Dcdparanoia=enabled,-Dcdparanoia=disabled,cdparanoia"
49PACKAGECONFIG[graphene] = "-Dgl-graphene=enabled,-Dgl-graphene=disabled,graphene" 49PACKAGECONFIG[graphene] = "-Dgl-graphene=enabled,-Dgl-graphene=disabled,graphene"
50PACKAGECONFIG[jpeg] = "-Dgl-jpeg=enabled,-Dgl-jpeg=disabled,jpeg" 50PACKAGECONFIG[jpeg] = "-Dgl-jpeg=enabled,-Dgl-jpeg=disabled,jpeg"
51PACKAGECONFIG[ogg] = "-Dogg=enabled,-Dogg=disabled,libogg" 51PACKAGECONFIG[ogg] = "-Dogg=enabled,-Dogg=disabled,libogg"
52PACKAGECONFIG[opus] = "-Dopus=enabled,-Dopus=disabled,libopus" 52PACKAGECONFIG[opus] = "-Dopus=enabled,-Dopus=disabled,libopus"
53PACKAGECONFIG[pango] = "-Dpango=enabled,-Dpango=disabled,pango" 53PACKAGECONFIG[pango] = "-Dpango=enabled,-Dpango=disabled,pango"
54PACKAGECONFIG[png] = "-Dgl-png=enabled,-Dgl-png=disabled,libpng" 54PACKAGECONFIG[png] = "-Dgl-png=enabled,-Dgl-png=disabled,libpng"
55# This enables Qt5 QML examples in -base. The Qt5 GStreamer 55# This enables Qt5 QML examples in -base. The Qt5 GStreamer
56# qmlglsink and qmlglsrc plugins still exist in -good. 56# qmlglsink and qmlglsrc plugins still exist in -good.
57PACKAGECONFIG[qt5] = "-Dqt5=enabled,-Dqt5=disabled,qtbase qtdeclarative qtbase-native" 57PACKAGECONFIG[qt5] = "-Dqt5=enabled,-Dqt5=disabled,qtbase qtdeclarative qtbase-native"
58PACKAGECONFIG[theora] = "-Dtheora=enabled,-Dtheora=disabled,libtheora" 58PACKAGECONFIG[theora] = "-Dtheora=enabled,-Dtheora=disabled,libtheora"
59PACKAGECONFIG[tremor] = "-Dtremor=enabled,-Dtremor=disabled,tremor" 59PACKAGECONFIG[tremor] = "-Dtremor=enabled,-Dtremor=disabled,tremor"
60PACKAGECONFIG[visual] = "-Dlibvisual=enabled,-Dlibvisual=disabled,libvisual" 60PACKAGECONFIG[visual] = "-Dlibvisual=enabled,-Dlibvisual=disabled,libvisual"
61PACKAGECONFIG[vorbis] = "-Dvorbis=enabled,-Dvorbis=disabled,libvorbis" 61PACKAGECONFIG[vorbis] = "-Dvorbis=enabled,-Dvorbis=disabled,libvorbis"
62PACKAGECONFIG[x11] = "${X11ENABLEOPTS},${X11DISABLEOPTS},${X11DEPENDS}" 62PACKAGECONFIG[x11] = "${X11ENABLEOPTS},${X11DISABLEOPTS},${X11DEPENDS}"
63 63
64# OpenGL API packageconfigs 64# OpenGL API packageconfigs
65PACKAGECONFIG[opengl] = ",,virtual/libgl libglu" 65PACKAGECONFIG[opengl] = ",,virtual/libgl libglu"
66PACKAGECONFIG[gles2] = ",,virtual/libgles2" 66PACKAGECONFIG[gles2] = ",,virtual/libgles2"
67 67
68# OpenGL platform packageconfigs 68# OpenGL platform packageconfigs
69PACKAGECONFIG[egl] = ",,virtual/egl" 69PACKAGECONFIG[egl] = ",,virtual/egl"
70PACKAGECONFIG[glx] = ",,virtual/libgl" 70PACKAGECONFIG[glx] = ",,virtual/libgl"
71 71
72# OpenGL window systems (except for X11) 72# OpenGL window systems (except for X11)
73PACKAGECONFIG[gbm] = ",,virtual/libgbm libgudev libdrm" 73PACKAGECONFIG[gbm] = ",,virtual/libgbm libgudev libdrm"
74PACKAGECONFIG[wayland] = ",,wayland-native wayland wayland-protocols libdrm" 74PACKAGECONFIG[wayland] = ",,wayland-native wayland wayland-protocols libdrm"
75PACKAGECONFIG[dispmanx] = ",,virtual/libomxil" 75PACKAGECONFIG[dispmanx] = ",,virtual/libomxil"
76PACKAGECONFIG[viv-fb] = ",,virtual/libgles2 virtual/libg2d" 76PACKAGECONFIG[viv-fb] = ",,virtual/libgles2 virtual/libg2d"
77 77
78OPENGL_WINSYS = "${@bb.utils.filter('PACKAGECONFIG', 'x11 gbm wayland dispmanx egl viv-fb', d)}" 78OPENGL_WINSYS = "${@bb.utils.filter('PACKAGECONFIG', 'x11 gbm wayland dispmanx egl viv-fb', d)}"
79 79
80EXTRA_OEMESON += " \ 80EXTRA_OEMESON += "\
81 -Ddoc=disabled \ 81 -Ddoc=disabled \
82 ${@get_opengl_cmdline_list('gl_api', d.getVar('OPENGL_APIS'), d)} \ 82 ${@get_opengl_cmdline_list('gl_api', d.getVar('OPENGL_APIS'), d)} \
83 ${@get_opengl_cmdline_list('gl_platform', d.getVar('OPENGL_PLATFORMS'), d)} \ 83 ${@get_opengl_cmdline_list('gl_platform', d.getVar('OPENGL_PLATFORMS'), d)} \
@@ -108,15 +108,15 @@ DEFAULT_PREFERENCE = "-1"
108 108
109LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=69333daa044cb77e486cc36129f7a770" 109LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=69333daa044cb77e486cc36129f7a770"
110 110
111SRC_URI:remove = " \ 111SRC_URI:remove = "\
112 https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-${PV}.tar.xz \ 112 https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-${PV}.tar.xz \
113 file://0001-ENGR00312515-get-caps-from-src-pad-when-query-caps.patch \ 113 file://0001-ENGR00312515-get-caps-from-src-pad-when-query-caps.patch \
114 file://0003-viv-fb-Make-sure-config.h-is-included.patch \ 114 file://0003-viv-fb-Make-sure-config.h-is-included.patch \
115 file://0002-ssaparse-enhance-SSA-text-lines-parsing.patch" 115 file://0002-ssaparse-enhance-SSA-text-lines-parsing.patch"
116SRC_URI:prepend = "${GST1.0-PLUGINS-BASE_SRC};branch=${SRCBRANCH} " 116SRC_URI:prepend = "${GST1.0-PLUGINS-BASE_SRC};branch=${SRCBRANCH} "
117 117
118SRC_URI:append:mx93-nxp-bsp = "file://0001-MMFMWK-9590-gstgl-1.0-disable-gir-build-for-gl-plugi.patch" 118SRC_URI:append:mx93-nxp-bsp = " file://0001-MMFMWK-9590-gstgl-1.0-disable-gir-build-for-gl-plugi.patch"
119SRC_URI:append:mx943-nxp-bsp = "file://0001-MMFMWK-9590-gstgl-1.0-disable-gir-build-for-gl-plugi.patch" 119SRC_URI:append:mx943-nxp-bsp = " file://0001-MMFMWK-9590-gstgl-1.0-disable-gir-build-for-gl-plugi.patch"
120 120
121GST1.0-PLUGINS-BASE_SRC ?= "gitsm://github.com/nxp-imx/gst-plugins-base.git;protocol=https" 121GST1.0-PLUGINS-BASE_SRC ?= "gitsm://github.com/nxp-imx/gst-plugins-base.git;protocol=https"
122SRCBRANCH = "MM_04.10.03_2512_L6.18.2" 122SRCBRANCH = "MM_04.10.03_2512_L6.18.2"
@@ -128,7 +128,7 @@ PACKAGECONFIG:remove = "${PACKAGECONFIG_REMOVE}"
128PACKAGECONFIG_REMOVE ?= "jpeg" 128PACKAGECONFIG_REMOVE ?= "jpeg"
129 129
130PACKAGECONFIG:append = " ${PACKAGECONFIG_G2D}" 130PACKAGECONFIG:append = " ${PACKAGECONFIG_G2D}"
131PACKAGECONFIG_G2D ??= "" 131PACKAGECONFIG_G2D ??= ""
132PACKAGECONFIG_G2D:imxgpu2d ??= "g2d" 132PACKAGECONFIG_G2D:imxgpu2d ??= "g2d"
133 133
134PACKAGECONFIG[g2d] = ",,virtual/libg2d" 134PACKAGECONFIG[g2d] = ",,virtual/libg2d"
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.26.6.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.26.6.imx.bb
index 269761536..49ae2311f 100644
--- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.26.6.imx.bb
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.26.6.imx.bb
@@ -30,7 +30,7 @@ RDEPENDS:${PN}-soup += "${MLPREFIX}${@bb.utils.contains('PACKAGECONFIG', 'soup2'
30 30
31PACKAGECONFIG_SOUP ?= "soup3" 31PACKAGECONFIG_SOUP ?= "soup3"
32 32
33PACKAGECONFIG ??= " \ 33PACKAGECONFIG ??= "\
34 ${GSTREAMER_ORC} \ 34 ${GSTREAMER_ORC} \
35 ${PACKAGECONFIG_SOUP} \ 35 ${PACKAGECONFIG_SOUP} \
36 ${@bb.utils.filter('DISTRO_FEATURES', 'pulseaudio x11', d)} \ 36 ${@bb.utils.filter('DISTRO_FEATURES', 'pulseaudio x11', d)} \
@@ -44,33 +44,33 @@ X11DISABLEOPTS = "-Dximagesrc=disabled -Dximagesrc-xshm=disabled -Dximagesrc-xfi
44 44
45QT5WAYLANDDEPENDS = "${@bb.utils.contains("DISTRO_FEATURES", "wayland", "qtwayland", "", d)}" 45QT5WAYLANDDEPENDS = "${@bb.utils.contains("DISTRO_FEATURES", "wayland", "qtwayland", "", d)}"
46 46
47PACKAGECONFIG[asm] = "-Dasm=enabled,-Dasm=disabled,nasm-native" 47PACKAGECONFIG[asm] = "-Dasm=enabled,-Dasm=disabled,nasm-native"
48PACKAGECONFIG[bz2] = "-Dbz2=enabled,-Dbz2=disabled,bzip2" 48PACKAGECONFIG[bz2] = "-Dbz2=enabled,-Dbz2=disabled,bzip2"
49PACKAGECONFIG[cairo] = "-Dcairo=enabled,-Dcairo=disabled,cairo" 49PACKAGECONFIG[cairo] = "-Dcairo=enabled,-Dcairo=disabled,cairo"
50PACKAGECONFIG[dv1394] = "-Ddv1394=enabled,-Ddv1394=disabled,libiec61883 libavc1394 libraw1394" 50PACKAGECONFIG[dv1394] = "-Ddv1394=enabled,-Ddv1394=disabled,libiec61883 libavc1394 libraw1394"
51PACKAGECONFIG[flac] = "-Dflac=enabled,-Dflac=disabled,flac" 51PACKAGECONFIG[flac] = "-Dflac=enabled,-Dflac=disabled,flac"
52PACKAGECONFIG[gdk-pixbuf] = "-Dgdk-pixbuf=enabled,-Dgdk-pixbuf=disabled,gdk-pixbuf" 52PACKAGECONFIG[gdk-pixbuf] = "-Dgdk-pixbuf=enabled,-Dgdk-pixbuf=disabled,gdk-pixbuf"
53PACKAGECONFIG[gtk] = "-Dgtk3=enabled,-Dgtk3=disabled,gtk+3" 53PACKAGECONFIG[gtk] = "-Dgtk3=enabled,-Dgtk3=disabled,gtk+3"
54PACKAGECONFIG[gudev] = "-Dv4l2-gudev=enabled,-Dv4l2-gudev=disabled,libgudev" 54PACKAGECONFIG[gudev] = "-Dv4l2-gudev=enabled,-Dv4l2-gudev=disabled,libgudev"
55PACKAGECONFIG[jack] = "-Djack=enabled,-Djack=disabled,jack" 55PACKAGECONFIG[jack] = "-Djack=enabled,-Djack=disabled,jack"
56PACKAGECONFIG[jpeg] = "-Djpeg=enabled,-Djpeg=disabled,jpeg" 56PACKAGECONFIG[jpeg] = "-Djpeg=enabled,-Djpeg=disabled,jpeg"
57PACKAGECONFIG[lame] = "-Dlame=enabled,-Dlame=disabled,lame" 57PACKAGECONFIG[lame] = "-Dlame=enabled,-Dlame=disabled,lame"
58PACKAGECONFIG[libpng] = "-Dpng=enabled,-Dpng=disabled,libpng" 58PACKAGECONFIG[libpng] = "-Dpng=enabled,-Dpng=disabled,libpng"
59PACKAGECONFIG[libv4l2] = "-Dv4l2-libv4l2=enabled,-Dv4l2-libv4l2=disabled,v4l-utils" 59PACKAGECONFIG[libv4l2] = "-Dv4l2-libv4l2=enabled,-Dv4l2-libv4l2=disabled,v4l-utils"
60PACKAGECONFIG[mpg123] = "-Dmpg123=enabled,-Dmpg123=disabled,mpg123" 60PACKAGECONFIG[mpg123] = "-Dmpg123=enabled,-Dmpg123=disabled,mpg123"
61PACKAGECONFIG[pulseaudio] = "-Dpulse=enabled,-Dpulse=disabled,pulseaudio" 61PACKAGECONFIG[pulseaudio] = "-Dpulse=enabled,-Dpulse=disabled,pulseaudio"
62PACKAGECONFIG[qt5] = "-Dqt5=enabled,-Dqt5=disabled,qtbase qtdeclarative qtbase-native ${QT5WAYLANDDEPENDS}" 62PACKAGECONFIG[qt5] = "-Dqt5=enabled,-Dqt5=disabled,qtbase qtdeclarative qtbase-native ${QT5WAYLANDDEPENDS}"
63PACKAGECONFIG[soup2] = "-Dsoup=enabled,,libsoup-2.4,,,soup3" 63PACKAGECONFIG[soup2] = "-Dsoup=enabled,,libsoup-2.4,,,soup3"
64PACKAGECONFIG[soup3] = "-Dsoup=enabled,,libsoup,,,soup2" 64PACKAGECONFIG[soup3] = "-Dsoup=enabled,,libsoup,,,soup2"
65PACKAGECONFIG[speex] = "-Dspeex=enabled,-Dspeex=disabled,speex" 65PACKAGECONFIG[speex] = "-Dspeex=enabled,-Dspeex=disabled,speex"
66PACKAGECONFIG[rpi] = "-Drpicamsrc=enabled,-Drpicamsrc=disabled,userland" 66PACKAGECONFIG[rpi] = "-Drpicamsrc=enabled,-Drpicamsrc=disabled,userland"
67PACKAGECONFIG[taglib] = "-Dtaglib=enabled,-Dtaglib=disabled,taglib" 67PACKAGECONFIG[taglib] = "-Dtaglib=enabled,-Dtaglib=disabled,taglib"
68PACKAGECONFIG[v4l2] = "-Dv4l2=enabled -Dv4l2-probe=true,-Dv4l2=disabled -Dv4l2-probe=false" 68PACKAGECONFIG[v4l2] = "-Dv4l2=enabled -Dv4l2-probe=true,-Dv4l2=disabled -Dv4l2-probe=false"
69PACKAGECONFIG[vpx] = "-Dvpx=enabled,-Dvpx=disabled,libvpx" 69PACKAGECONFIG[vpx] = "-Dvpx=enabled,-Dvpx=disabled,libvpx"
70PACKAGECONFIG[wavpack] = "-Dwavpack=enabled,-Dwavpack=disabled,wavpack" 70PACKAGECONFIG[wavpack] = "-Dwavpack=enabled,-Dwavpack=disabled,wavpack"
71PACKAGECONFIG[x11] = "${X11ENABLEOPTS},${X11DISABLEOPTS},${X11DEPENDS}" 71PACKAGECONFIG[x11] = "${X11ENABLEOPTS},${X11DISABLEOPTS},${X11DEPENDS}"
72 72
73EXTRA_OEMESON += " \ 73EXTRA_OEMESON += "\
74 -Ddoc=disabled \ 74 -Ddoc=disabled \
75 -Daalib=disabled \ 75 -Daalib=disabled \
76 -Ddirectsound=disabled \ 76 -Ddirectsound=disabled \
@@ -93,7 +93,7 @@ FILES:${PN}-equalizer += "${datadir}/gstreamer-1.0/presets/*.prs"
93 93
94DEFAULT_PREFERENCE = "-1" 94DEFAULT_PREFERENCE = "-1"
95 95
96LIC_FILES_CHKSUM = " \ 96LIC_FILES_CHKSUM = "\
97 file://LICENSE.txt;md5=69333daa044cb77e486cc36129f7a770 \ 97 file://LICENSE.txt;md5=69333daa044cb77e486cc36129f7a770 \
98 file://gst/replaygain/rganalysis.c;beginline=1;endline=23;md5=b60ebefd5b2f5a8e0cab6bfee391a5fe \ 98 file://gst/replaygain/rganalysis.c;beginline=1;endline=23;md5=b60ebefd5b2f5a8e0cab6bfee391a5fe \
99" 99"
@@ -109,8 +109,8 @@ DEPENDS:append:mx93-nxp-bsp = " libdrm"
109DEPENDS:append:mx943-nxp-bsp = " libdrm" 109DEPENDS:append:mx943-nxp-bsp = " libdrm"
110 110
111SRC_URI:remove = "https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-${PV}.tar.xz \ 111SRC_URI:remove = "https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-${PV}.tar.xz \
112 file://0001-qt-include-ext-qt-gstqtgl.h-instead-of-gst-gl-gstglf.patch \ 112 file://0001-qt-include-ext-qt-gstqtgl.h-instead-of-gst-gl-gstglf.patch \
113 file://0001-v4l2-Define-ioctl_req_t-for-posix-linux-case.patch \ 113 file://0001-v4l2-Define-ioctl_req_t-for-posix-linux-case.patch \
114" 114"
115 115
116SRC_URI:prepend = "${GST1.0-PLUGINS-GOOD_SRC};branch=${SRCBRANCH} " 116SRC_URI:prepend = "${GST1.0-PLUGINS-GOOD_SRC};branch=${SRCBRANCH} "
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_2.2.0.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_2.2.0.bb
index b042adb94..2768c6b7e 100644
--- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_2.2.0.bb
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_2.2.0.bb
@@ -1,5 +1,6 @@
1# Copyright (C) 2018 O.S. Systems Software LTDA. 1# Copyright (C) 2018 O.S. Systems Software LTDA.
2DESCRIPTION = "GStreamer 1.0 plugins for i.MX platforms" 2DESCRIPTION = "GStreamer 1.0 plugins for i.MX platforms"
3HOMEPAGE = "https://github.com/Freescale/gstreamer-imx"
3LICENSE = "LGPL-2.0-or-later" 4LICENSE = "LGPL-2.0-or-later"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=55ca817ccb7d5b5b66355690e9abc605" 5LIC_FILES_CHKSUM = "file://LICENSE;md5=55ca817ccb7d5b5b66355690e9abc605"
5SECTION = "multimedia" 6SECTION = "multimedia"
@@ -8,7 +9,7 @@ DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base libimxdmabuffer"
8# for the uniaudio decoder, videoparsersbad for the VPU video decoder 9# for the uniaudio decoder, videoparsersbad for the VPU video decoder
9# the gstreamer1.0-plugins-imx RDEPENDS is necessary to ensure the -good recipe is 10# the gstreamer1.0-plugins-imx RDEPENDS is necessary to ensure the -good recipe is
10# built (it is not a compile-time dependency however, hence RDEPENDS and not DEPENDS) 11# built (it is not a compile-time dependency however, hence RDEPENDS and not DEPENDS)
11RDEPENDS:gstreamer1.0-plugins-imx = "gstreamer1.0-plugins-good gstreamer1.0-plugins-bad" 12RDEPENDS:gstreamer1.0-plugins-imx = "gstreamer1.0-plugins-bad gstreamer1.0-plugins-good"
12RDEPENDS:gstreamer1.0-plugins-imx-imxaudio = "gstreamer1.0-plugins-good-audioparsers" 13RDEPENDS:gstreamer1.0-plugins-imx-imxaudio = "gstreamer1.0-plugins-good-audioparsers"
13RDEPENDS:gstreamer1.0-plugins-imx-imxvpu = "gstreamer1.0-plugins-bad-videoparsersbad" 14RDEPENDS:gstreamer1.0-plugins-imx-imxvpu = "gstreamer1.0-plugins-bad-videoparsersbad"
14 15
@@ -38,16 +39,16 @@ EXTRA_OEMESON += "-Dimx-headers-path=${STAGING_INCDIR_IMX} -Dv4l2-amphion=disabl
38 39
39PACKAGECONFIG ?= "uniaudiodec" 40PACKAGECONFIG ?= "uniaudiodec"
40PACKAGECONFIG:append:imxgpu2d = " g2d" 41PACKAGECONFIG:append:imxgpu2d = " g2d"
41PACKAGECONFIG:append:imxvpu = " vpu" 42PACKAGECONFIG:append:imxvpu = " vpu"
42PACKAGECONFIG:append:imxipu = " ipu" 43PACKAGECONFIG:append:imxipu = " ipu"
43PACKAGECONFIG:append:imxpxp = " pxp" 44PACKAGECONFIG:append:imxpxp = " pxp"
44# The custom imxv4l2 source and sink elements are only 45# The custom imxv4l2 source and sink elements are only
45# available on the i.MX6. 46# available on the i.MX6.
46# The 2D blitter sinks require an MXC framebuffer, which 47# The 2D blitter sinks require an MXC framebuffer, which
47# is not available anymore on the i.MX8 (since these SoCs 48# is not available anymore on the i.MX8 (since these SoCs
48# now use KMS instead of the old Linux framebuffer). 49# now use KMS instead of the old Linux framebuffer).
49PACKAGECONFIG:append:mx6-nxp-bsp = " imx2dvideosink v4l2-mxc-source-sink" 50PACKAGECONFIG:append:mx6-nxp-bsp = " imx2dvideosink v4l2-mxc-source-sink"
50PACKAGECONFIG:append:mx7-nxp-bsp = " imx2dvideosink" 51PACKAGECONFIG:append:mx7-nxp-bsp = " imx2dvideosink"
51 52
52PACKAGECONFIG[g2d] = "-Dg2d=enabled ${LIBG2D_DPU_OPTION},-Dg2d=disabled,${LIBG2D_DEPENDENCIES}" 53PACKAGECONFIG[g2d] = "-Dg2d=enabled ${LIBG2D_DPU_OPTION},-Dg2d=disabled,${LIBG2D_DEPENDENCIES}"
53PACKAGECONFIG[pxp] = "-Dpxp=enabled,-Dpxp=disabled," 54PACKAGECONFIG[pxp] = "-Dpxp=enabled,-Dpxp=disabled,"
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.26.6.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.26.6.bb
index 71de57530..72e482247 100644
--- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.26.6.bb
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.26.6.bb
@@ -6,14 +6,14 @@ HOMEPAGE = "https://gstreamer.freedesktop.org/"
6BUGTRACKER = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/issues" 6BUGTRACKER = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/issues"
7 7
8LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \ 8LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \
9 " 9 "
10 10
11LICENSE = "LGPL-2.1-or-later & GPL-2.0-or-later" 11LICENSE = "LGPL-2.1-or-later & GPL-2.0-or-later"
12LICENSE_FLAGS = "commercial" 12LICENSE_FLAGS = "commercial"
13 13
14SRC_URI = " \ 14SRC_URI = "\
15 https://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-${PV}.tar.xz \ 15 https://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-${PV}.tar.xz \
16 " 16"
17 17
18SRC_URI[sha256sum] = "95032eee4580bb9826c008cbce5a2c3a78b980abb270c96a19b645f77255c491" 18SRC_URI[sha256sum] = "95032eee4580bb9826c008cbce5a2c3a78b980abb270c96a19b645f77255c491"
19 19
@@ -23,19 +23,19 @@ DEPENDS += "gstreamer1.0-plugins-base"
23 23
24GST_PLUGIN_SET_HAS_EXAMPLES = "0" 24GST_PLUGIN_SET_HAS_EXAMPLES = "0"
25 25
26PACKAGECONFIG ??= " \ 26PACKAGECONFIG ??= "\
27 ${GSTREAMER_ORC} \ 27 ${GSTREAMER_ORC} \
28" 28"
29 29
30PACKAGECONFIG[a52dec] = "-Da52dec=enabled,-Da52dec=disabled,liba52" 30PACKAGECONFIG[a52dec] = "-Da52dec=enabled,-Da52dec=disabled,liba52"
31PACKAGECONFIG[cdio] = "-Dcdio=enabled,-Dcdio=disabled,libcdio" 31PACKAGECONFIG[cdio] = "-Dcdio=enabled,-Dcdio=disabled,libcdio"
32PACKAGECONFIG[dvdread] = "-Ddvdread=enabled,-Ddvdread=disabled,libdvdread" 32PACKAGECONFIG[dvdread] = "-Ddvdread=enabled,-Ddvdread=disabled,libdvdread"
33PACKAGECONFIG[mpeg2dec] = "-Dmpeg2dec=enabled,-Dmpeg2dec=disabled,mpeg2dec" 33PACKAGECONFIG[mpeg2dec] = "-Dmpeg2dec=enabled,-Dmpeg2dec=disabled,mpeg2dec"
34PACKAGECONFIG[x264] = "-Dx264=enabled,-Dx264=disabled,x264" 34PACKAGECONFIG[x264] = "-Dx264=enabled,-Dx264=disabled,x264"
35 35
36GSTREAMER_GPL = "${@bb.utils.filter('PACKAGECONFIG', 'a52dec cdio dvdread mpeg2dec x264', d)}" 36GSTREAMER_GPL = "${@bb.utils.filter('PACKAGECONFIG', 'a52dec cdio dvdread mpeg2dec x264', d)}"
37 37
38EXTRA_OEMESON += " \ 38EXTRA_OEMESON += "\
39 -Ddoc=disabled \ 39 -Ddoc=disabled \
40 -Dsidplay=disabled \ 40 -Dsidplay=disabled \
41" 41"
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-python_1.26.6.bb b/recipes-multimedia/gstreamer/gstreamer1.0-python_1.26.6.bb
index 89306c928..825da8810 100644
--- a/recipes-multimedia/gstreamer/gstreamer1.0-python_1.26.6.bb
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-python_1.26.6.bb
@@ -1,6 +1,6 @@
1SUMMARY = "Python bindings for GStreamer 1.0" 1SUMMARY = "Python bindings for GStreamer 1.0"
2DESCRIPTION = "GStreamer Python binding overrides (complementing the bindings \ 2DESCRIPTION = "GStreamer Python binding overrides (complementing the bindings \
3provided by python-gi) " 3 provided by python-gi) "
4HOMEPAGE = "http://cgit.freedesktop.org/gstreamer/gst-python/" 4HOMEPAGE = "http://cgit.freedesktop.org/gstreamer/gst-python/"
5SECTION = "multimedia" 5SECTION = "multimedia"
6 6
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.26.6.bb b/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.26.6.bb
index 9c32413ae..6332145df 100644
--- a/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.26.6.bb
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.26.6.bb
@@ -12,7 +12,7 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
12 12
13SRC_URI = "https://gstreamer.freedesktop.org/src/${PNREAL}/${PNREAL}-${PV}.tar.xz \ 13SRC_URI = "https://gstreamer.freedesktop.org/src/${PNREAL}/${PNREAL}-${PV}.tar.xz \
14 file://0001-YOCIMX-9113-rtsp-examples-install-test-launch-and-te.patch \ 14 file://0001-YOCIMX-9113-rtsp-examples-install-test-launch-and-te.patch \
15 " 15 "
16 16
17SRC_URI[sha256sum] = "ce4e0b7dde7f17dc4f39ffb2dd3db64b0222d11d58be1c9820c20d30370d6f90" 17SRC_URI[sha256sum] = "ce4e0b7dde7f17dc4f39ffb2dd3db64b0222d11d58be1c9820c20d30370d6f90"
18 18
@@ -20,7 +20,7 @@ S = "${UNPACKDIR}/${PNREAL}-${PV}"
20 20
21inherit meson pkgconfig upstream-version-is-even gobject-introspection 21inherit meson pkgconfig upstream-version-is-even gobject-introspection
22 22
23EXTRA_OEMESON += " \ 23EXTRA_OEMESON += "\
24 -Ddoc=disabled \ 24 -Ddoc=disabled \
25 -Dexamples=enabled \ 25 -Dexamples=enabled \
26 -Dtests=disabled \ 26 -Dtests=disabled \
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.26.6.bb b/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.26.6.bb
index 559bac064..26cac0a7d 100644
--- a/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.26.6.bb
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.26.6.bb
@@ -1,8 +1,8 @@
1SUMMARY = "VA-API support to GStreamer" 1SUMMARY = "VA-API support to GStreamer"
2HOMEPAGE = "https://gstreamer.freedesktop.org/" 2HOMEPAGE = "https://gstreamer.freedesktop.org/"
3DESCRIPTION = "gstreamer-vaapi consists of a collection of VA-API \ 3DESCRIPTION = "gstreamer-vaapi consists of a collection of VA-API \
4based plugins for GStreamer and helper libraries: `vaapidecode', \ 4 based plugins for GStreamer and helper libraries: `vaapidecode', \
5`vaapiconvert', and `vaapisink'." 5 `vaapiconvert', and `vaapisink'."
6 6
7REALPN = "gstreamer-vaapi" 7REALPN = "gstreamer-vaapi"
8 8
@@ -14,13 +14,13 @@ SRC_URI = "https://gstreamer.freedesktop.org/src/${REALPN}/${REALPN}-${PV}.tar.x
14SRC_URI[sha256sum] = "d87c57244cecbd17bb030b698dcb67a66225de639f7c5b837391c4a8e5477667" 14SRC_URI[sha256sum] = "d87c57244cecbd17bb030b698dcb67a66225de639f7c5b837391c4a8e5477667"
15 15
16S = "${UNPACKDIR}/${REALPN}-${PV}" 16S = "${UNPACKDIR}/${REALPN}-${PV}"
17DEPENDS = "libva gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad" 17DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-bad gstreamer1.0-plugins-base libva"
18 18
19inherit meson pkgconfig features_check upstream-version-is-even 19inherit meson pkgconfig features_check upstream-version-is-even
20 20
21REQUIRED_DISTRO_FEATURES ?= "opengl" 21REQUIRED_DISTRO_FEATURES ?= "opengl"
22 22
23EXTRA_OEMESON += " \ 23EXTRA_OEMESON += "\
24 -Ddoc=disabled \ 24 -Ddoc=disabled \
25 -Dexamples=disabled \ 25 -Dexamples=disabled \
26 -Dtests=enabled \ 26 -Dtests=enabled \
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0_1.26.6.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0_1.26.6.imx.bb
index e602ff35c..c6afdd98d 100644
--- a/recipes-multimedia/gstreamer/gstreamer1.0_1.26.6.imx.bb
+++ b/recipes-multimedia/gstreamer/gstreamer1.0_1.26.6.imx.bb
@@ -7,13 +7,13 @@
7 7
8SUMMARY = "GStreamer 1.0 multimedia framework" 8SUMMARY = "GStreamer 1.0 multimedia framework"
9DESCRIPTION = "GStreamer is a multimedia framework for encoding and decoding video and sound. \ 9DESCRIPTION = "GStreamer is a multimedia framework for encoding and decoding video and sound. \
10It supports a wide range of formats including mp3, ogg, avi, mpeg and quicktime." 10 It supports a wide range of formats including mp3, ogg, avi, mpeg and quicktime."
11HOMEPAGE = "http://gstreamer.freedesktop.org/" 11HOMEPAGE = "http://gstreamer.freedesktop.org/"
12BUGTRACKER = "https://bugzilla.gnome.org/enter_bug.cgi?product=Gstreamer" 12BUGTRACKER = "https://bugzilla.gnome.org/enter_bug.cgi?product=Gstreamer"
13SECTION = "multimedia" 13SECTION = "multimedia"
14LICENSE = "LGPL-2.1-or-later" 14LICENSE = "LGPL-2.1-or-later"
15 15
16DEPENDS = "glib-2.0 glib-2.0-native libxml2 bison-native flex-native" 16DEPENDS = "bison-native flex-native glib-2.0 glib-2.0-native libxml2"
17 17
18inherit meson pkgconfig gettext upstream-version-is-even gobject-introspection ptest-gnome 18inherit meson pkgconfig gettext upstream-version-is-even gobject-introspection ptest-gnome
19 19
@@ -54,7 +54,7 @@ def gettext_oemeson(d):
54 return '-Dnls=disabled' 54 return '-Dnls=disabled'
55 return '-Dnls=enabled' 55 return '-Dnls=enabled'
56 56
57EXTRA_OEMESON += " \ 57EXTRA_OEMESON += "\
58 -Ddoc=disabled \ 58 -Ddoc=disabled \
59 -Dexamples=disabled \ 59 -Dexamples=disabled \
60 -Ddbghelp=disabled \ 60 -Ddbghelp=disabled \
@@ -84,17 +84,17 @@ PTEST_BUILD_HOST_FILES = ""
84 84
85DEFAULT_PREFERENCE = "-1" 85DEFAULT_PREFERENCE = "-1"
86 86
87LIC_FILES_CHKSUM = " \ 87LIC_FILES_CHKSUM = "\
88 file://COPYING;md5=69333daa044cb77e486cc36129f7a770 \ 88 file://COPYING;md5=69333daa044cb77e486cc36129f7a770 \
89 file://gst/gst.h;beginline=1;endline=21;md5=e059138481205ee2c6fc1c079c016d0d \ 89 file://gst/gst.h;beginline=1;endline=21;md5=e059138481205ee2c6fc1c079c016d0d \
90" 90"
91 91
92# Use i.MX fork of GST for customizations 92# Use i.MX fork of GST for customizations
93SRC_URI:remove = "https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-${PV}.tar.xz \ 93SRC_URI:remove = "https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-${PV}.tar.xz \
94 file://0001-tests-respect-the-idententaion-used-in-meson.patch \ 94 file://0001-tests-respect-the-idententaion-used-in-meson.patch \
95 file://0002-tests-add-support-for-install-the-tests.patch \ 95 file://0002-tests-add-support-for-install-the-tests.patch \
96 file://0003-tests-use-a-dictionaries-for-environment.patch;striplevel=3 \ 96 file://0003-tests-use-a-dictionaries-for-environment.patch;striplevel=3 \
97 file://0004-tests-add-helper-script-to-run-the-installed_tests.patch;striplevel=3 \ 97 file://0004-tests-add-helper-script-to-run-the-installed_tests.patch;striplevel=3 \
98" 98"
99SRC_URI:prepend = "${GST1.0_SRC};branch=${SRCBRANCH} " 99SRC_URI:prepend = "${GST1.0_SRC};branch=${SRCBRANCH} "
100GST1.0_SRC ?= "gitsm://github.com/nxp-imx/gstreamer.git;protocol=https" 100GST1.0_SRC ?= "gitsm://github.com/nxp-imx/gstreamer.git;protocol=https"
diff --git a/recipes-multimedia/gstreamer/imx-gst1.0-plugin_git.bb b/recipes-multimedia/gstreamer/imx-gst1.0-plugin_git.bb
index 48d84cead..486049d7b 100644
--- a/recipes-multimedia/gstreamer/imx-gst1.0-plugin_git.bb
+++ b/recipes-multimedia/gstreamer/imx-gst1.0-plugin_git.bb
@@ -3,11 +3,12 @@
3# Copyright (C) 2012-2015 O.S. Systems Software LTDA. 3# Copyright (C) 2012-2015 O.S. Systems Software LTDA.
4# Released under the MIT license (see COPYING.MIT for the terms) 4# Released under the MIT license (see COPYING.MIT for the terms)
5DESCRIPTION = "Gstreamer freescale plugins" 5DESCRIPTION = "Gstreamer freescale plugins"
6HOMEPAGE = "https://github.com/nxp-imx/imx-gst1.0-plugin"
6SECTION = "multimedia" 7SECTION = "multimedia"
7LICENSE = "GPL-2.0-only & LGPL-2.0-only & LGPL-2.1-only" 8LICENSE = "GPL-2.0-only & LGPL-2.0-only & LGPL-2.1-only"
8LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=fbc093901857fcd118f065f900982c24" 9LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=fbc093901857fcd118f065f900982c24"
9 10
10DEPENDS = " \ 11DEPENDS = "\
11 gstreamer1.0 \ 12 gstreamer1.0 \
12 gstreamer1.0-plugins-base \ 13 gstreamer1.0-plugins-base \
13 gstreamer1.0-plugins-bad \ 14 gstreamer1.0-plugins-bad \
@@ -23,16 +24,16 @@ DEPENDS:append:mx93-nxp-bsp = " imx-lib"
23DEPENDS:append:mx943-nxp-bsp = " imx-lib" 24DEPENDS:append:mx943-nxp-bsp = " imx-lib"
24DEPENDS:append:imxvpu = " imx-vpuwrap" 25DEPENDS:append:imxvpu = " imx-vpuwrap"
25DEPENDS:append:imxfbdev:imxgpu = " libdrm" 26DEPENDS:append:imxfbdev:imxgpu = " libdrm"
26DEPENDS_IMXGPU = "" 27DEPENDS_IMXGPU = ""
27DEPENDS_IMXGPU:imxgpu = "${DEPENDS_IMX_OPENCL_CONVERTER}" 28DEPENDS_IMXGPU:imxgpu = "${DEPENDS_IMX_OPENCL_CONVERTER}"
28DEPENDS_IMX_OPENCL_CONVERTER = "imx-opencl-converter" 29DEPENDS_IMX_OPENCL_CONVERTER = "imx-opencl-converter"
29DEPENDS_IMX_OPENCL_CONVERTER:mx6-nxp-bsp = "" 30DEPENDS_IMX_OPENCL_CONVERTER:mx6-nxp-bsp = ""
30DEPENDS_IMX_OPENCL_CONVERTER:mx7-nxp-bsp = "" 31DEPENDS_IMX_OPENCL_CONVERTER:mx7-nxp-bsp = ""
31DEPENDS_IMX_OPENCL_CONVERTER:mx8mm-nxp-bsp = "" 32DEPENDS_IMX_OPENCL_CONVERTER:mx8mm-nxp-bsp = ""
32 33
33# For backwards compatibility 34# For backwards compatibility
34RREPLACES:${PN} = "gst1.0-fsl-plugin" 35RREPLACES:${PN} = "gst1.0-fsl-plugin"
35RPROVIDES:${PN} = "gst1.0-fsl-plugin" 36RPROVIDES:${PN} = "gst1.0-fsl-plugin"
36RCONFLICTS:${PN} = "gst1.0-fsl-plugin" 37RCONFLICTS:${PN} = "gst1.0-fsl-plugin"
37 38
38PV = "4.10.3+git${SRCPV}" 39PV = "4.10.3+git${SRCPV}"
@@ -42,7 +43,6 @@ IMXGST_SRC ?= "git://github.com/nxp-imx/imx-gst1.0-plugin.git;protocol=https"
42SRCBRANCH = "MM_04.10.03_2512_L6.18.2" 43SRCBRANCH = "MM_04.10.03_2512_L6.18.2"
43SRCREV = "0565fc515612908a353e8378e24f97de17cc56a6" 44SRCREV = "0565fc515612908a353e8378e24f97de17cc56a6"
44 45
45
46inherit meson pkgconfig use-imx-headers 46inherit meson pkgconfig use-imx-headers
47 47
48PLATFORM:mx6-nxp-bsp = "MX6" 48PLATFORM:mx6-nxp-bsp = "MX6"
@@ -65,10 +65,10 @@ PACKAGES =+ "${PN}-tools ${PN}-libgstfsl"
65# Add codec list that the beep plugin run-time depended 65# Add codec list that the beep plugin run-time depended
66BEEP_RDEPENDS = "imx-codec-aac imx-codec-mp3 imx-codec-oggvorbis" 66BEEP_RDEPENDS = "imx-codec-aac imx-codec-mp3 imx-codec-oggvorbis"
67RDEPENDS:${PN} += "imx-parser ${BEEP_RDEPENDS} gstreamer1.0-plugins-good-id3demux " 67RDEPENDS:${PN} += "imx-parser ${BEEP_RDEPENDS} gstreamer1.0-plugins-good-id3demux "
68RDEPENDS:${PN}:append:mx8qm-nxp-bsp = " imx-dsp" 68RDEPENDS:${PN}:append:mx8qm-nxp-bsp = " imx-dsp"
69RDEPENDS:${PN}:append:mx8qxp-nxp-bsp = " imx-dsp" 69RDEPENDS:${PN}:append:mx8qxp-nxp-bsp = " imx-dsp"
70RDEPENDS:${PN}:append:mx8dx-nxp-bsp = " imx-dsp" 70RDEPENDS:${PN}:append:mx8dx-nxp-bsp = " imx-dsp"
71RDEPENDS:${PN}:append:mx8mp-nxp-bsp = " imx-dsp" 71RDEPENDS:${PN}:append:mx8mp-nxp-bsp = " imx-dsp"
72RDEPENDS:${PN}:append:mx8ulp-nxp-bsp = " imx-dsp" 72RDEPENDS:${PN}:append:mx8ulp-nxp-bsp = " imx-dsp"
73 73
74PACKAGECONFIG ?= "" 74PACKAGECONFIG ?= ""
diff --git a/recipes-multimedia/imx-codec/imx-codec_4.10.0.bb b/recipes-multimedia/imx-codec/imx-codec_4.10.0.bb
index 6a5c2c32c..1c6e8081c 100644
--- a/recipes-multimedia/imx-codec/imx-codec_4.10.0.bb
+++ b/recipes-multimedia/imx-codec/imx-codec_4.10.0.bb
@@ -3,9 +3,11 @@
3# Copyright 2018 (C) O.S. Systems Software LTDA. 3# Copyright 2018 (C) O.S. Systems Software LTDA.
4# Released under the MIT license (see COPYING.MIT for the terms) 4# Released under the MIT license (see COPYING.MIT for the terms)
5 5
6SUMMARY = "i.MX multimedia codec libraries"
6DESCRIPTION = "Freescale Multimedia codec libs" 7DESCRIPTION = "Freescale Multimedia codec libs"
7LICENSE = "Proprietary" 8HOMEPAGE = "https://www.nxp.com/"
8SECTION = "multimedia" 9SECTION = "multimedia"
10LICENSE = "Proprietary"
9LIC_FILES_CHKSUM = "file://COPYING;md5=a93b654673e1bc8398ed1f30e0813359" 11LIC_FILES_CHKSUM = "file://COPYING;md5=a93b654673e1bc8398ed1f30e0813359"
10 12
11# Backward compatibility 13# Backward compatibility
@@ -21,8 +23,8 @@ S = "${UNPACKDIR}/${BPN}-${PV}-${IMX_SRCREV_ABBREV}"
21 23
22PACKAGECONFIG ??= "${PACKAGECONFIG_VPU}" 24PACKAGECONFIG ??= "${PACKAGECONFIG_VPU}"
23# Support Chips&Media VPU only 25# Support Chips&Media VPU only
24PACKAGECONFIG_VPU = "" 26PACKAGECONFIG_VPU = ""
25PACKAGECONFIG_VPU:mx6q-nxp-bsp = "vpu" 27PACKAGECONFIG_VPU:mx6q-nxp-bsp = "vpu"
26PACKAGECONFIG_VPU:mx6dl-nxp-bsp = "vpu" 28PACKAGECONFIG_VPU:mx6dl-nxp-bsp = "vpu"
27PACKAGECONFIG[vpu] = "--enable-vpu,--disable-vpu,virtual/imxvpu" 29PACKAGECONFIG[vpu] = "--enable-vpu,--disable-vpu,virtual/imxvpu"
28 30
diff --git a/recipes-multimedia/imx-dsp/imx-dsp-codec-ext_2.1.8.bb b/recipes-multimedia/imx-dsp/imx-dsp-codec-ext_2.1.8.bb
index d9986456a..90c8e1a36 100644
--- a/recipes-multimedia/imx-dsp/imx-dsp-codec-ext_2.1.8.bb
+++ b/recipes-multimedia/imx-dsp/imx-dsp-codec-ext_2.1.8.bb
@@ -1,6 +1,9 @@
1# Copyright 2018-2023 NXP 1# Copyright 2018-2023 NXP
2 2
3SUMMARY = "i.MX DSP codec wrapper and library extension"
3DESCRIPTION = "i.MX DSP Codec Wrapper and Lib owned by NXP" 4DESCRIPTION = "i.MX DSP Codec Wrapper and Lib owned by NXP"
5HOMEPAGE = "https://www.nxp.com/"
6SECTION = "multimedia"
4LICENSE = "Proprietary" 7LICENSE = "Proprietary"
5LIC_FILES_CHKSUM = "file://COPYING;md5=10c0fda810c63b052409b15a5445671a" 8LIC_FILES_CHKSUM = "file://COPYING;md5=10c0fda810c63b052409b15a5445671a"
6 9
diff --git a/recipes-multimedia/imx-dsp/imx-dsp_2.1.10.bb b/recipes-multimedia/imx-dsp/imx-dsp_2.1.10.bb
index 96656f85b..f7fac1ad9 100644
--- a/recipes-multimedia/imx-dsp/imx-dsp_2.1.10.bb
+++ b/recipes-multimedia/imx-dsp/imx-dsp_2.1.10.bb
@@ -1,6 +1,9 @@
1# Copyright 2017-2022,2024 NXP 1# Copyright 2017-2022,2024 NXP
2 2
3SUMMARY = "i.MX DSP wrapper, firmware and codec libraries"
3DESCRIPTION = "i.MX DSP Wrapper, Firmware Binary, Codec Libraries" 4DESCRIPTION = "i.MX DSP Wrapper, Firmware Binary, Codec Libraries"
5HOMEPAGE = "https://www.nxp.com/"
6SECTION = "multimedia"
4LICENSE = "Proprietary" 7LICENSE = "Proprietary"
5LIC_FILES_CHKSUM = "file://COPYING;md5=c0fb372b5d7f12181de23ef480f225f3" 8LIC_FILES_CHKSUM = "file://COPYING;md5=c0fb372b5d7f12181de23ef480f225f3"
6 9
@@ -13,20 +16,20 @@ S = "${UNPACKDIR}/${BP}-${IMX_SRCREV_ABBREV}"
13 16
14SRC_URI[sha256sum] = "fc6e6a7c2417730b39eeddc26606c3d58a8f5d0a1521f44bbbd505657046858b" 17SRC_URI[sha256sum] = "fc6e6a7c2417730b39eeddc26606c3d58a8f5d0a1521f44bbbd505657046858b"
15 18
16EXTRA_OECONF = " \ 19EXTRA_OECONF = "\
17 -datadir=${base_libdir}/firmware \ 20 -datadir=${base_libdir}/firmware \
18 --bindir=/unit_tests \ 21 --bindir=/unit_tests \
19 ${@bb.utils.contains('TUNE_FEATURES', 'aarch64', '--enable-armv8', '', d)} \ 22 ${@bb.utils.contains('TUNE_FEATURES', 'aarch64', '--enable-armv8', '', d)} \
20" 23"
21 24
22HIFI4_PLATFORM ?= "HIFI4_PLATFORM_IS_UNDEFINED" 25HIFI4_PLATFORM ?= "HIFI4_PLATFORM_IS_UNDEFINED"
23HIFI4_PLATFORM:mx8qm-nxp-bsp = "imx8qmqxp" 26HIFI4_PLATFORM:mx8qm-nxp-bsp = "imx8qmqxp"
24HIFI4_PLATFORM:mx8qxp-nxp-bsp = "imx8qmqxp" 27HIFI4_PLATFORM:mx8qxp-nxp-bsp = "imx8qmqxp"
25HIFI4_PLATFORM:mx8dx-nxp-bsp = "imx8qmqxp" 28HIFI4_PLATFORM:mx8dx-nxp-bsp = "imx8qmqxp"
26HIFI4_PLATFORM:mx8mp-nxp-bsp = "imx8mp" 29HIFI4_PLATFORM:mx8mp-nxp-bsp = "imx8mp"
27HIFI4_PLATFORM:mx8ulp-nxp-bsp = "imx8ulp" 30HIFI4_PLATFORM:mx8ulp-nxp-bsp = "imx8ulp"
28 31
29UNSUPPORTED_TESTS = "dsp_tflm" 32UNSUPPORTED_TESTS = "dsp_tflm"
30UNSUPPORTED_TESTS:mx8ulp-nxp-bsp = "" 33UNSUPPORTED_TESTS:mx8ulp-nxp-bsp = ""
31 34
32do_install:append () { 35do_install:append () {
diff --git a/recipes-multimedia/imx-dspc-asrc/imx-dspc-asrc_1.0.2.bb b/recipes-multimedia/imx-dspc-asrc/imx-dspc-asrc_1.0.2.bb
index 9cf4fa968..10d7d957d 100644
--- a/recipes-multimedia/imx-dspc-asrc/imx-dspc-asrc_1.0.2.bb
+++ b/recipes-multimedia/imx-dspc-asrc/imx-dspc-asrc_1.0.2.bb
@@ -1,7 +1,9 @@
1# Copyright 2019, 2025 NXP 1# Copyright 2019, 2025 NXP
2SUMMARY = "i.MX asynchronous sample rate converter"
2DESCRIPTION = "NXP Asynchronous Sample Rate Converter" 3DESCRIPTION = "NXP Asynchronous Sample Rate Converter"
3LICENSE = "Proprietary" 4HOMEPAGE = "https://www.nxp.com/"
4SECTION = "multimedia" 5SECTION = "multimedia"
6LICENSE = "Proprietary"
5LIC_FILES_CHKSUM = "file://COPYING;md5=a93b654673e1bc8398ed1f30e0813359" 7LIC_FILES_CHKSUM = "file://COPYING;md5=a93b654673e1bc8398ed1f30e0813359"
6 8
7SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true" 9SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true"
@@ -18,7 +20,7 @@ EXTRA_OECONF = "--enable-armv8 --libdir=${libdir} --bindir=/unit_tests"
18 20
19INHIBIT_PACKAGE_STRIP = "1" 21INHIBIT_PACKAGE_STRIP = "1"
20INHIBIT_SYSROOT_STRIP = "1" 22INHIBIT_SYSROOT_STRIP = "1"
21INHIBIT_PACKAGE_DEBUG_SPLIT = "1" 23INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
22 24
23FILES:${PN} += "/unit_tests ${datadir}/imx-mm" 25FILES:${PN} += "/unit_tests ${datadir}/imx-mm"
24 26
diff --git a/recipes-multimedia/imx-opencl-converter/imx-opencl-converter_0.11.0.bb b/recipes-multimedia/imx-opencl-converter/imx-opencl-converter_0.11.0.bb
index eca003737..5745f2300 100644
--- a/recipes-multimedia/imx-opencl-converter/imx-opencl-converter_0.11.0.bb
+++ b/recipes-multimedia/imx-opencl-converter/imx-opencl-converter_0.11.0.bb
@@ -1,7 +1,9 @@
1# Copyright 2023-2025 NXP 1# Copyright 2023-2025 NXP
2SUMMARY = "i.MX multimedia OpenCL converter library"
2DESCRIPTION = "NXP Multimedia opencl converter lib" 3DESCRIPTION = "NXP Multimedia opencl converter lib"
3LICENSE = "Proprietary" 4HOMEPAGE = "https://www.nxp.com/"
4SECTION = "multimedia" 5SECTION = "multimedia"
6LICENSE = "Proprietary"
5LIC_FILES_CHKSUM = "file://COPYING;md5=bc649096ad3928ec06a8713b8d787eac" 7LIC_FILES_CHKSUM = "file://COPYING;md5=bc649096ad3928ec06a8713b8d787eac"
6DEPENDS = "virtual/libopencl1" 8DEPENDS = "virtual/libopencl1"
7 9
@@ -15,6 +17,6 @@ inherit fsl-eula-unpack autotools pkgconfig meson
15 17
16FILES:${PN} += "${datadir}/" 18FILES:${PN} += "${datadir}/"
17 19
18COMPATIBLE_MACHINE = "(^$)" 20COMPATIBLE_MACHINE = "(^$)"
19COMPATIBLE_MACHINE:imxgpu = "(mx8-nxp-bsp|mx95-nxp-bsp)" 21COMPATIBLE_MACHINE:imxgpu = "(mx8-nxp-bsp|mx95-nxp-bsp)"
20COMPATIBLE_MACHINE:mx8mm-nxp-bsp = "(^$)" 22COMPATIBLE_MACHINE:mx8mm-nxp-bsp = "(^$)"
diff --git a/recipes-multimedia/imx-parser/imx-parser_4.10.3.bb b/recipes-multimedia/imx-parser/imx-parser_4.10.3.bb
index d8f002e64..b6b631ecb 100644
--- a/recipes-multimedia/imx-parser/imx-parser_4.10.3.bb
+++ b/recipes-multimedia/imx-parser/imx-parser_4.10.3.bb
@@ -2,23 +2,25 @@
2# Copyright (C) 2012-2016 Freescale Semiconductor 2# Copyright (C) 2012-2016 Freescale Semiconductor
3# Copyright (C) 2017-2023 NXP 3# Copyright (C) 2017-2023 NXP
4# Released under the MIT license (see COPYING.MIT for the terms) 4# Released under the MIT license (see COPYING.MIT for the terms)
5SUMMARY = "i.MX multimedia parser libraries"
5DESCRIPTION = "Freescale Multimedia parser libs" 6DESCRIPTION = "Freescale Multimedia parser libs"
6LICENSE = "Proprietary" 7HOMEPAGE = "https://www.nxp.com/"
7SECTION = "multimedia" 8SECTION = "multimedia"
9LICENSE = "Proprietary"
8LIC_FILES_CHKSUM = "file://COPYING;md5=bc649096ad3928ec06a8713b8d787eac" 10LIC_FILES_CHKSUM = "file://COPYING;md5=bc649096ad3928ec06a8713b8d787eac"
9 11
10# For backwards compatibility
11PROVIDES += "libfslparser"
12RREPLACES:${PN} = "libfslparser"
13RPROVIDES:${PN} = "libfslparser"
14RCONFLICTS:${PN} = "libfslparser"
15
16SRC_URI = "${FSL_MIRROR}/${BP}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true" 12SRC_URI = "${FSL_MIRROR}/${BP}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true"
17IMX_SRCREV_ABBREV = "65603f3" 13IMX_SRCREV_ABBREV = "65603f3"
18S = "${UNPACKDIR}/${BP}-${IMX_SRCREV_ABBREV}" 14S = "${UNPACKDIR}/${BP}-${IMX_SRCREV_ABBREV}"
19 15
20SRC_URI[sha256sum] = "03079bb0fa989dc50fadb66a0fcc7cf65423833c3def04085603d4b66e8f8c70" 16SRC_URI[sha256sum] = "03079bb0fa989dc50fadb66a0fcc7cf65423833c3def04085603d4b66e8f8c70"
21 17
18# For backwards compatibility
19PROVIDES += "libfslparser"
20RREPLACES:${PN} = "libfslparser"
21RPROVIDES:${PN} = "libfslparser"
22RCONFLICTS:${PN} = "libfslparser"
23
22inherit fsl-eula-unpack autotools pkgconfig 24inherit fsl-eula-unpack autotools pkgconfig
23 25
24# Choose between 32-bit and 64-bit binaries and between Soft Float-Point and Hard Float-Point 26# Choose between 32-bit and 64-bit binaries and between Soft Float-Point and Hard Float-Point
diff --git a/recipes-multimedia/imx-sw-pdm/imx-sw-pdm_1.0.3.bb b/recipes-multimedia/imx-sw-pdm/imx-sw-pdm_1.0.3.bb
index 68919ac83..647bc7a9c 100644
--- a/recipes-multimedia/imx-sw-pdm/imx-sw-pdm_1.0.3.bb
+++ b/recipes-multimedia/imx-sw-pdm/imx-sw-pdm_1.0.3.bb
@@ -1,8 +1,10 @@
1# Copyright 2020,2023 NXP 1# Copyright 2020,2023 NXP
2 2
3SUMMARY = "i.MX PDM-to-PCM software decimation library"
3DESCRIPTION = "NXP PDM to PCM Software Decimation SIMD Library" 4DESCRIPTION = "NXP PDM to PCM Software Decimation SIMD Library"
4LICENSE = "Proprietary" 5HOMEPAGE = "https://www.nxp.com/"
5SECTION = "multimedia" 6SECTION = "multimedia"
7LICENSE = "Proprietary"
6LIC_FILES_CHKSUM = "file://COPYING;md5=63a38e9f392d8813d6f1f4d0d6fbe657" 8LIC_FILES_CHKSUM = "file://COPYING;md5=63a38e9f392d8813d6f1f4d0d6fbe657"
7 9
8SRC_URI = "${FSL_MIRROR}/${BP}.bin;fsl-eula=true" 10SRC_URI = "${FSL_MIRROR}/${BP}.bin;fsl-eula=true"
diff --git a/recipes-multimedia/imx-vpuwrap/imx-vpuwrap_git.bb b/recipes-multimedia/imx-vpuwrap/imx-vpuwrap_git.bb
index dae99cb13..76109355d 100644
--- a/recipes-multimedia/imx-vpuwrap/imx-vpuwrap_git.bb
+++ b/recipes-multimedia/imx-vpuwrap/imx-vpuwrap_git.bb
@@ -2,9 +2,11 @@
2# Copyright (C) 2017-2023,2025 NXP 2# Copyright (C) 2017-2023,2025 NXP
3# Released under the MIT license (see COPYING.MIT for the terms) 3# Released under the MIT license (see COPYING.MIT for the terms)
4 4
5SUMMARY = "i.MX VPU wrapper library"
5DESCRIPTION = "Freescale Multimedia VPU wrapper" 6DESCRIPTION = "Freescale Multimedia VPU wrapper"
6LICENSE = "Proprietary" 7HOMEPAGE = "https://github.com/NXP/imx-vpuwrap"
7SECTION = "multimedia" 8SECTION = "multimedia"
9LICENSE = "Proprietary"
8LIC_FILES_CHKSUM = "file://COPYING;md5=bc649096ad3928ec06a8713b8d787eac" 10LIC_FILES_CHKSUM = "file://COPYING;md5=bc649096ad3928ec06a8713b8d787eac"
9 11
10DEPENDS = "virtual/imxvpu" 12DEPENDS = "virtual/imxvpu"
@@ -17,7 +19,7 @@ SRCREV = "1d2136e39789edb1eff730043caf2305ee2c173e"
17 19
18inherit autotools pkgconfig 20inherit autotools pkgconfig
19 21
20CFLAGS += " -Wno-error=implicit-function-declaration" 22CFLAGS += "-Wno-error=implicit-function-declaration"
21 23
22do_install:append() { 24do_install:append() {
23 # FIXME: Drop examples for now 25 # FIXME: Drop examples for now
diff --git a/recipes-multimedia/libcamera/libcamera_0.6.0.imx.bb b/recipes-multimedia/libcamera/libcamera_0.6.0.imx.bb
index 6b811b5f1..a1cf4098b 100644
--- a/recipes-multimedia/libcamera/libcamera_0.6.0.imx.bb
+++ b/recipes-multimedia/libcamera/libcamera_0.6.0.imx.bb
@@ -6,6 +6,7 @@
6# Upstream hash: f4b9dfa0c903bc94c344c657917a3fbb229c322f 6# Upstream hash: f4b9dfa0c903bc94c344c657917a3fbb229c322f
7 7
8SUMMARY = "Linux libcamera framework" 8SUMMARY = "Linux libcamera framework"
9HOMEPAGE = "https://github.com/nxp-imx/libcamera"
9SECTION = "libs" 10SECTION = "libs"
10 11
11LICENSE = "GPL-2.0-or-later & LGPL-2.1-or-later" 12LICENSE = "GPL-2.0-or-later & LGPL-2.1-or-later"
@@ -15,8 +16,8 @@ LIC_FILES_CHKSUM = "\
15 file://LICENSES/LGPL-2.1-or-later.txt;md5=2a4f4fd2128ea2f65047ee63fbca9f68 \ 16 file://LICENSES/LGPL-2.1-or-later.txt;md5=2a4f4fd2128ea2f65047ee63fbca9f68 \
16" 17"
17 18
18SRC_URI = " \ 19SRC_URI = "\
19 git://git.libcamera.org/libcamera/libcamera.git;protocol=https;branch=master;tag=v${PV} \ 20 git://git.libcamera.org/libcamera/libcamera.git;protocol=https;branch=master \
20" 21"
21 22
22SRCREV = "3e6f5d83e397e11cccd3844e121463748f56de39" 23SRCREV = "3e6f5d83e397e11cccd3844e121463748f56de39"
@@ -44,7 +45,7 @@ LIBCAMERA_PIPELINES ??= "auto"
44LIBCAMERA_PIPELINES:arm ??= "${ARM_PIPELINES}" 45LIBCAMERA_PIPELINES:arm ??= "${ARM_PIPELINES}"
45LIBCAMERA_PIPELINES:aarch64 ??= "${ARM_PIPELINES}" 46LIBCAMERA_PIPELINES:aarch64 ??= "${ARM_PIPELINES}"
46 47
47EXTRA_OEMESON = " \ 48EXTRA_OEMESON = "\
48 -Dpipelines=${LIBCAMERA_PIPELINES} \ 49 -Dpipelines=${LIBCAMERA_PIPELINES} \
49 -Dv4l2=true \ 50 -Dv4l2=true \
50 -Dcam=enabled \ 51 -Dcam=enabled \
@@ -82,7 +83,7 @@ do_package_recalculate_ipa_signatures() {
82 ${S}/src/ipa/ipa-sign-install.sh ${B}/src/ipa-priv-key.pem "${modules}" 83 ${S}/src/ipa/ipa-sign-install.sh ${B}/src/ipa-priv-key.pem "${modules}"
83} 84}
84 85
85FILES:${PN} += " ${libexecdir}/libcamera/v4l2-compat.so" 86FILES:${PN} += "${libexecdir}/libcamera/v4l2-compat.so"
86FILES:${PN}-gst = "${libdir}/gstreamer-1.0" 87FILES:${PN}-gst = "${libdir}/gstreamer-1.0"
87FILES:${PN}-pycamera = "${PYTHON_SITEPACKAGES_DIR}/libcamera" 88FILES:${PN}-pycamera = "${PYTHON_SITEPACKAGES_DIR}/libcamera"
88 89
@@ -93,7 +94,7 @@ GLIBC_64BIT_TIME_FLAGS = ""
93 94
94########### i.MX overrides ################ 95########### i.MX overrides ################
95 96
96SRC_URI:remove = "git://git.libcamera.org/libcamera/libcamera.git;protocol=https;branch=master;tag=v${PV}" 97SRC_URI:remove = "git://git.libcamera.org/libcamera/libcamera.git;protocol=https;branch=master"
97SRC_URI:prepend = "${LIBCAMERA_SRC};branch=${SRCBRANCH} " 98SRC_URI:prepend = "${LIBCAMERA_SRC};branch=${SRCBRANCH} "
98LIBCAMERA_SRC ?= "git://github.com/nxp-imx/libcamera.git;protocol=https" 99LIBCAMERA_SRC ?= "git://github.com/nxp-imx/libcamera.git;protocol=https"
99SRCBRANCH = "lf-6.18.2_1.0.0" 100SRCBRANCH = "lf-6.18.2_1.0.0"
@@ -103,7 +104,7 @@ PACKAGECONFIG = "gst pycamera dng"
103 104
104ARM_PIPELINES .= ",nxp/neo" 105ARM_PIPELINES .= ",nxp/neo"
105 106
106EXTRA_OEMESON += " \ 107EXTRA_OEMESON += "\
107 --python.platlibdir=${PYTHON_SITEPACKAGES_DIR} \ 108 --python.platlibdir=${PYTHON_SITEPACKAGES_DIR} \
108" 109"
109 110
diff --git a/recipes-multimedia/libcamera/neo-ipa-uguzzi_0.2.6.bb b/recipes-multimedia/libcamera/neo-ipa-uguzzi_0.2.6.bb
index 88b9a1d0e..72e4d0b5a 100644
--- a/recipes-multimedia/libcamera/neo-ipa-uguzzi_0.2.6.bb
+++ b/recipes-multimedia/libcamera/neo-ipa-uguzzi_0.2.6.bb
@@ -1,12 +1,13 @@
1SUMMARY = "uGuzzi IPA for the libcamera NXP NEO pipeline" 1SUMMARY = "uGuzzi IPA for the libcamera NXP NEO pipeline"
2DESCRIPTION = "\ 2DESCRIPTION = "\
3An Image Processing Algorithm library for libcamera, for i.MX95 ISP, \ 3 An Image Processing Algorithm library for libcamera, for i.MX95 ISP, \
4based on proprietary MM Solutions EAD uGuzzi 3A library" 4 based on proprietary MM Solutions EAD uGuzzi 3A library"
5HOMEPAGE = "https://github.com/nxp-imx/neo-ipa-uguzzi"
5SECTION = "libs" 6SECTION = "libs"
6LICENSE = "Apache-2.0 & BSD-2-Clause & GPL-2.0-or-later & LGPL-2.1-or-later & MIT & Proprietary" 7LICENSE = "Apache-2.0 & BSD-2-Clause & GPL-2.0-or-later & LGPL-2.1-or-later & MIT & Proprietary"
7# Put EULA on separate line for automated recipe updates 8# Put EULA on separate line for automated recipe updates
8LIC_FILES_CHKSUM = "file://LICENSES/LA_OPT_NXP_Software_License.txt;md5=bc649096ad3928ec06a8713b8d787eac" 9LIC_FILES_CHKSUM = "file://LICENSES/LA_OPT_NXP_Software_License.txt;md5=bc649096ad3928ec06a8713b8d787eac"
9LIC_FILES_CHKSUM += " \ 10LIC_FILES_CHKSUM += "\
10 file://COPYING;md5=6462e06298403caf09a22e67a7cc551a \ 11 file://COPYING;md5=6462e06298403caf09a22e67a7cc551a \
11 file://LICENSES/Apache-2.0.txt;md5=3b83ef96387f14655fc854ddc3c6bd57 \ 12 file://LICENSES/Apache-2.0.txt;md5=3b83ef96387f14655fc854ddc3c6bd57 \
12 file://LICENSES/BSD-2-Clause.txt;md5=63d6ee386b8aaba70b1bf15a79ca50f2 \ 13 file://LICENSES/BSD-2-Clause.txt;md5=63d6ee386b8aaba70b1bf15a79ca50f2 \
@@ -20,7 +21,6 @@ NEO_IPA_UGUZZI_SRC ?= "git://github.com/nxp-imx/neo-ipa-uguzzi;protocol=https"
20SRCBRANCH = "lf-6.18.2_1.0.0" 21SRCBRANCH = "lf-6.18.2_1.0.0"
21SRCREV = "3c3b18e397a81fac2babe14dca01f4ada1ecc8b2" 22SRCREV = "3c3b18e397a81fac2babe14dca01f4ada1ecc8b2"
22 23
23
24inherit meson pkgconfig 24inherit meson pkgconfig
25 25
26FILES:${PN} += "${libdir}/libcamera ${datadir}/libcamera" 26FILES:${PN} += "${libdir}/libcamera ${datadir}/libcamera"
diff --git a/recipes-multimedia/libimxvpuapi/libimxvpuapi2_2.3.1.bb b/recipes-multimedia/libimxvpuapi/libimxvpuapi2_2.3.1.bb
index cce4e56ad..119131ec0 100644
--- a/recipes-multimedia/libimxvpuapi/libimxvpuapi2_2.3.1.bb
+++ b/recipes-multimedia/libimxvpuapi/libimxvpuapi2_2.3.1.bb
@@ -1,9 +1,10 @@
1SUMMARY = "i.MX VPU API library (v2)"
1DESCRIPTION = "frontend for the i.MX6 / i.MX8 VPU hardware video engines" 2DESCRIPTION = "frontend for the i.MX6 / i.MX8 VPU hardware video engines"
2HOMEPAGE = "https://github.com/Freescale/libimxvpuapi" 3HOMEPAGE = "https://github.com/Freescale/libimxvpuapi"
4SECTION = "multimedia"
3LICENSE = "LGPL-2.1-only" 5LICENSE = "LGPL-2.1-only"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=38fa42a5a6425b26d2919b17b1527324" 6LIC_FILES_CHKSUM = "file://LICENSE;md5=38fa42a5a6425b26d2919b17b1527324"
5SECTION = "multimedia" 7DEPENDS = "libimxdmabuffer virtual/imxvpu"
6DEPENDS = "virtual/imxvpu libimxdmabuffer"
7# Add imx-vpu-hantro-vc as dependency for being 8# Add imx-vpu-hantro-vc as dependency for being
8# able to encode video using the VC8000E encoder 9# able to encode video using the VC8000E encoder
9DEPENDS:append:mx8mp-nxp-bsp = " imx-vpu-hantro-vc" 10DEPENDS:append:mx8mp-nxp-bsp = " imx-vpu-hantro-vc"
@@ -11,8 +12,8 @@ DEPENDS:append:mx8mp-nxp-bsp = " imx-vpu-hantro-vc"
11PV .= "+git${SRCPV}" 12PV .= "+git${SRCPV}"
12 13
13SRCBRANCH ?= "master" 14SRCBRANCH ?= "master"
14SRCREV = "37095a854aa176bb763a25ce98ceb6a787501271"
15SRC_URI = "git://github.com/Freescale/libimxvpuapi.git;branch=${SRCBRANCH};protocol=https" 15SRC_URI = "git://github.com/Freescale/libimxvpuapi.git;branch=${SRCBRANCH};protocol=https"
16SRCREV = "37095a854aa176bb763a25ce98ceb6a787501271"
16 17
17inherit waf pkgconfig use-imx-headers python3native 18inherit waf pkgconfig use-imx-headers python3native
18 19
diff --git a/recipes-multimedia/libimxvpuapi/libimxvpuapi_git.bb b/recipes-multimedia/libimxvpuapi/libimxvpuapi_git.bb
index 55063db18..e00a968a2 100644
--- a/recipes-multimedia/libimxvpuapi/libimxvpuapi_git.bb
+++ b/recipes-multimedia/libimxvpuapi/libimxvpuapi_git.bb
@@ -1,16 +1,17 @@
1# Copyright 2018 (C) O.S. Systems Software LTDA. 1# Copyright 2018 (C) O.S. Systems Software LTDA.
2SUMMARY = "i.MX VPU API library (v1)"
2DESCRIPTION = "frontend for the i.MX6 VPU hardware video engine" 3DESCRIPTION = "frontend for the i.MX6 VPU hardware video engine"
3HOMEPAGE = "https://github.com/Freescale/libimxvpuapi" 4HOMEPAGE = "https://github.com/Freescale/libimxvpuapi"
5SECTION = "multimedia"
4LICENSE = "LGPL-2.1-only" 6LICENSE = "LGPL-2.1-only"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=38fa42a5a6425b26d2919b17b1527324" 7LIC_FILES_CHKSUM = "file://LICENSE;md5=38fa42a5a6425b26d2919b17b1527324"
6SECTION = "multimedia"
7DEPENDS = "imx-vpu" 8DEPENDS = "imx-vpu"
8 9
9PV = "0.10.3+${SRCPV}" 10PV = "0.10.3+${SRCPV}"
10 11
11SRCBRANCH ?= "v1" 12SRCBRANCH ?= "v1"
12SRCREV = "3a1ee3a54fe93813868d38c3d32ea065b59e227e"
13SRC_URI = "git://github.com/Freescale/libimxvpuapi.git;branch=${SRCBRANCH};protocol=https" 13SRC_URI = "git://github.com/Freescale/libimxvpuapi.git;branch=${SRCBRANCH};protocol=https"
14SRCREV = "3a1ee3a54fe93813868d38c3d32ea065b59e227e"
14 15
15inherit waf pkgconfig python3native 16inherit waf pkgconfig python3native
16 17
diff --git a/recipes-multimedia/nxp-afe/nxp-afe-voiceseeker_git.bb b/recipes-multimedia/nxp-afe/nxp-afe-voiceseeker_git.bb
index f29011601..f21fdb472 100644
--- a/recipes-multimedia/nxp-afe/nxp-afe-voiceseeker_git.bb
+++ b/recipes-multimedia/nxp-afe/nxp-afe-voiceseeker_git.bb
@@ -1,6 +1,8 @@
1# Copyright 2025 NXP 1# Copyright 2025 NXP
2 2
3DESCRIPTION = "NXP RetuneDSP Voice Seeker Libraries" 3SUMMARY = "NXP RetuneDSP Voice Seeker libraries"
4DESCRIPTION = "NXP RetuneDSP Voice Seeker far-field voice pickup libraries."
5HOMEPAGE = "https://github.com/nxp-imx/imx-voiceui"
4SECTION = "multimedia" 6SECTION = "multimedia"
5LICENSE = "Proprietary" 7LICENSE = "Proprietary"
6LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=ca53281cc0caa7e320d4945a896fb837" 8LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=ca53281cc0caa7e320d4945a896fb837"
diff --git a/recipes-multimedia/nxp-afe/nxp-afe_git.bb b/recipes-multimedia/nxp-afe/nxp-afe_git.bb
index 5ac5d374a..4b45d3b45 100644
--- a/recipes-multimedia/nxp-afe/nxp-afe_git.bb
+++ b/recipes-multimedia/nxp-afe/nxp-afe_git.bb
@@ -1,6 +1,9 @@
1# Copyright 2025 NXP 1# Copyright 2025 NXP
2 2
3SUMMARY = "NXP Audio Front End (AFE)"
3DESCRIPTION = "NXP Audio Front End (AFE) for incorporating Voice Assistants" 4DESCRIPTION = "NXP Audio Front End (AFE) for incorporating Voice Assistants"
5HOMEPAGE = "https://github.com/nxp-imx/nxp-afe"
6SECTION = "multimedia"
4LICENSE = "BSD-3-Clause" 7LICENSE = "BSD-3-Clause"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=7bdef19938f3503cfc4c586461f99012" 8LIC_FILES_CHKSUM = "file://LICENSE;md5=7bdef19938f3503cfc4c586461f99012"
6 9
@@ -8,11 +11,11 @@ PV = "1.0+git"
8 11
9SRCBRANCH = "MM_04.10.03_2512_L6.18.2" 12SRCBRANCH = "MM_04.10.03_2512_L6.18.2"
10NXPAFE_SRC ?= "git://github.com/nxp-imx/nxp-afe.git;protocol=https" 13NXPAFE_SRC ?= "git://github.com/nxp-imx/nxp-afe.git;protocol=https"
11SRC_URI = " ${NXPAFE_SRC};branch=${SRCBRANCH}" 14DEPENDS += "alsa-lib"
12 15
13SRCREV = "7d518eb0b18f7c7faadeb3c3397f8b73f0012f3e" 16SRC_URI = "${NXPAFE_SRC};branch=${SRCBRANCH}"
14 17
15DEPENDS += "alsa-lib" 18SRCREV = "7d518eb0b18f7c7faadeb3c3397f8b73f0012f3e"
16 19
17TARGET_CC_ARCH += "${LDFLAGS}" 20TARGET_CC_ARCH += "${LDFLAGS}"
18 21
diff --git a/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend b/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend
index 7f5a7ffbe..cf318b4f7 100644
--- a/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend
+++ b/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend
@@ -1,17 +1,17 @@
1FILESEXTRAPATHS:prepend:imx-nxp-bsp := "${THISDIR}/${PN}/imx-nxp-bsp:" 1FILESEXTRAPATHS:prepend:imx-nxp-bsp := "${THISDIR}/${PN}/imx-nxp-bsp:"
2 2
3SRC_URI:append:imx-nxp-bsp = " ${SRC_URI_IMX}" 3SRC_URI:append:imx-nxp-bsp = " ${SRC_URI_IMX}"
4SRC_URI_IMX = "" 4SRC_URI_IMX = ""
5SRC_URI_IMX:mx6-nxp-bsp = " \ 5SRC_URI_IMX:mx6-nxp-bsp = "\
6 file://0001-Fix-pulseaudio-mutex-issue-when-do-pause-in-gstreame.patch \ 6 file://0001-Fix-pulseaudio-mutex-issue-when-do-pause-in-gstreame.patch \
7 file://daemon.conf \ 7 file://daemon.conf \
8 file://default.pa" 8 file://default.pa"
9SRC_URI_IMX:mx7-nxp-bsp = " \ 9SRC_URI_IMX:mx7-nxp-bsp = "\
10 ${SRC_URI_IMX:mx6-nxp-bsp} \ 10 ${SRC_URI_IMX:mx6-nxp-bsp} \
11 file://0100-pulseaudio-remove-the-control-for-speaker-headphone-widge.patch" 11 file://0100-pulseaudio-remove-the-control-for-speaker-headphone-widge.patch"
12SRC_URI_IMX:mx8-nxp-bsp = " \ 12SRC_URI_IMX:mx8-nxp-bsp = "\
13 ${SRC_URI_IMX:mx6-nxp-bsp}" 13 ${SRC_URI_IMX:mx6-nxp-bsp}"
14SRC_URI_IMX:mx9-nxp-bsp = " \ 14SRC_URI_IMX:mx9-nxp-bsp = "\
15 ${SRC_URI_IMX:mx6-nxp-bsp}" 15 ${SRC_URI_IMX:mx6-nxp-bsp}"
16 16
17CACHED_CONFIGUREVARS:append:mx6-nxp-bsp = " ax_cv_PTHREAD_PRIO_INHERIT=no" 17CACHED_CONFIGUREVARS:append:mx6-nxp-bsp = " ax_cv_PTHREAD_PRIO_INHERIT=no"
diff --git a/recipes-multimedia/tinycompress/tinycompress_1.2.5.bb b/recipes-multimedia/tinycompress/tinycompress_1.2.5.bb
index 48edf0769..bffe15c87 100644
--- a/recipes-multimedia/tinycompress/tinycompress_1.2.5.bb
+++ b/recipes-multimedia/tinycompress/tinycompress_1.2.5.bb
@@ -1,4 +1,5 @@
1DESCRIPTION = "A library to handle compressed formats like MP3 etc." 1DESCRIPTION = "A library to handle compressed formats like MP3 etc."
2HOMEPAGE = "https://github.com/alsa-project/tinycompress"
2LICENSE = "LGPL-2.1-only | BSD-3-Clause" 3LICENSE = "LGPL-2.1-only | BSD-3-Clause"
3LIC_FILES_CHKSUM = "file://COPYING;md5=cf9105c1a2d4405cbe04bbe3367373a0" 4LIC_FILES_CHKSUM = "file://COPYING;md5=cf9105c1a2d4405cbe04bbe3367373a0"
4DEPENDS = "alsa-lib" 5DEPENDS = "alsa-lib"
diff --git a/recipes-security/optee-imx/optee-client-fslc.inc b/recipes-security/optee-imx/optee-client-fslc.inc
index ab7c8bc69..61629209d 100644
--- a/recipes-security/optee-imx/optee-client-fslc.inc
+++ b/recipes-security/optee-imx/optee-client-fslc.inc
@@ -10,14 +10,14 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=69663ab153298557a59c67a60a743e5b"
10 10
11inherit systemd update-rc.d cmake useradd 11inherit systemd update-rc.d cmake useradd
12 12
13SRC_URI = " \ 13SRC_URI = "\
14 git://github.com/OP-TEE/optee_client.git;branch=master;protocol=https \ 14 git://github.com/OP-TEE/optee_client.git;branch=master;protocol=https \
15 file://tee-supplicant.sh \ 15 file://tee-supplicant.sh \
16" 16"
17 17
18UPSTREAM_CHECK_GITTAGREGEX = "^(?P<pver>\d+(\.\d+)+)$" 18UPSTREAM_CHECK_GITTAGREGEX = "^(?P<pver>\d+(\.\d+)+)$"
19 19
20EXTRA_OECMAKE = " \ 20EXTRA_OECMAKE = "\
21 -DBUILD_SHARED_LIBS=ON \ 21 -DBUILD_SHARED_LIBS=ON \
22 -DCFG_USE_PKGCONFIG=ON \ 22 -DCFG_USE_PKGCONFIG=ON \
23" 23"
@@ -25,9 +25,9 @@ EXTRA_OECMAKE = " \
25# libts uses /dev/tee devices too. Add a common variable to allow configuring the same group. 25# libts uses /dev/tee devices too. Add a common variable to allow configuring the same group.
26TEE_GROUP_NAME ?= "tee" 26TEE_GROUP_NAME ?= "tee"
27 27
28EXTRA_OECMAKE += " -DCFG_ENABLE_SYSTEMD=On -DSYSTEMD_UNIT_DIR=${systemd_system_unitdir}/" 28EXTRA_OECMAKE += "-DCFG_ENABLE_SYSTEMD=On -DSYSTEMD_UNIT_DIR=${systemd_system_unitdir}/"
29EXTRA_OECMAKE += " -DCFG_ENABLE_UDEV=On -DUDEV_UDEV_DIR=${nonarch_base_libdir}/udev/rules.d/" 29EXTRA_OECMAKE += "-DCFG_ENABLE_UDEV=On -DUDEV_UDEV_DIR=${nonarch_base_libdir}/udev/rules.d/"
30EXTRA_OECMAKE += " -DCFG_TEE_GROUP=${TEE_GROUP_NAME} -DCFG_TEEPRIV_GROUP=teepriv" 30EXTRA_OECMAKE += "-DCFG_TEE_GROUP=${TEE_GROUP_NAME} -DCFG_TEEPRIV_GROUP=teepriv"
31 31
32EXTRA_OECMAKE:append:toolchain-clang = " -DCFG_WERROR=0" 32EXTRA_OECMAKE:append:toolchain-clang = " -DCFG_WERROR=0"
33 33
diff --git a/recipes-security/optee-imx/optee-fslc.inc b/recipes-security/optee-imx/optee-fslc.inc
index dadbfa802..906001d24 100644
--- a/recipes-security/optee-imx/optee-fslc.inc
+++ b/recipes-security/optee-imx/optee-fslc.inc
@@ -28,7 +28,7 @@ EXTRA_OEMAKE += "V=1 \
28 COMPILER=${TOOLCHAIN} \ 28 COMPILER=${TOOLCHAIN} \
29 OPTEE_CLIENT_EXPORT=${STAGING_DIR_HOST}${prefix} \ 29 OPTEE_CLIENT_EXPORT=${STAGING_DIR_HOST}${prefix} \
30 TEEC_EXPORT=${STAGING_DIR_HOST}${prefix} \ 30 TEEC_EXPORT=${STAGING_DIR_HOST}${prefix} \
31 " 31 "
32# python3-cryptography needs the legacy provider, so set OPENSSL_MODULES to the 32# python3-cryptography needs the legacy provider, so set OPENSSL_MODULES to the
33# right path until this is relocated automatically. 33# right path until this is relocated automatically.
34export OPENSSL_MODULES = "${STAGING_LIBDIR_NATIVE}/ossl-modules" 34export OPENSSL_MODULES = "${STAGING_LIBDIR_NATIVE}/ossl-modules"
diff --git a/recipes-security/optee-imx/optee-os-common-fslc-imx.inc b/recipes-security/optee-imx/optee-os-common-fslc-imx.inc
index 16ed8cea7..ed11d0ca6 100644
--- a/recipes-security/optee-imx/optee-os-common-fslc-imx.inc
+++ b/recipes-security/optee-imx/optee-os-common-fslc-imx.inc
@@ -2,7 +2,7 @@
2# See: https://github.com/nxp-imx/imx-manifest/blob/imx-linux-whinlatter/imx-6.18.2-1.0.0.xml#L39 2# See: https://github.com/nxp-imx/imx-manifest/blob/imx-linux-whinlatter/imx-6.18.2-1.0.0.xml#L39
3require optee-os-fslc.inc 3require optee-os-fslc.inc
4 4
5DEPENDS:append:arm = "u-boot-mkimage-native" 5DEPENDS:append:arm = " u-boot-mkimage-native"
6 6
7FILESEXTRAPATHS:prepend := "${THISDIR}/optee-os:" 7FILESEXTRAPATHS:prepend := "${THISDIR}/optee-os:"
8 8
@@ -18,26 +18,26 @@ inherit features_check
18 18
19REQUIRED_MACHINE_FEATURES = "optee" 19REQUIRED_MACHINE_FEATURES = "optee"
20 20
21OPTEEMACHINE = "imx-${@d.getVar('MACHINE')[1:]}" 21OPTEEMACHINE = "imx-${@d.getVar('MACHINE')[1:]}"
22OPTEEMACHINE:imx6qpdlsolox = "imx-mx6qsabresd" 22OPTEEMACHINE:imx6qpdlsolox = "imx-mx6qsabresd"
23OPTEEMACHINE:mx6ul-nxp-bsp = "imx-mx6ulevk" 23OPTEEMACHINE:mx6ul-nxp-bsp = "imx-mx6ulevk"
24OPTEEMACHINE:mx6ull-nxp-bsp = "imx-mx6ullevk" 24OPTEEMACHINE:mx6ull-nxp-bsp = "imx-mx6ullevk"
25OPTEEMACHINE:mx6ulz-nxp-bsp = "imx-mx6ulzevk" 25OPTEEMACHINE:mx6ulz-nxp-bsp = "imx-mx6ulzevk"
26OPTEEMACHINE:mx8mq-nxp-bsp = "imx-mx8mqevk" 26OPTEEMACHINE:mx8mq-nxp-bsp = "imx-mx8mqevk"
27OPTEEMACHINE:mx8mm-nxp-bsp = "imx-mx8mmevk" 27OPTEEMACHINE:mx8mm-nxp-bsp = "imx-mx8mmevk"
28OPTEEMACHINE:mx8mn-nxp-bsp = "imx-mx8mnevk" 28OPTEEMACHINE:mx8mn-nxp-bsp = "imx-mx8mnevk"
29OPTEEMACHINE:mx8mp-nxp-bsp = "imx-mx8mpevk" 29OPTEEMACHINE:mx8mp-nxp-bsp = "imx-mx8mpevk"
30OPTEEMACHINE:mx8mpul-nxp-bsp = "imx-mx8mpevk" 30OPTEEMACHINE:mx8mpul-nxp-bsp = "imx-mx8mpevk"
31OPTEEMACHINE:mx8qm-nxp-bsp = "imx-mx8qmmek" 31OPTEEMACHINE:mx8qm-nxp-bsp = "imx-mx8qmmek"
32OPTEEMACHINE:mx8qxp-nxp-bsp = "imx-mx8qxpmek" 32OPTEEMACHINE:mx8qxp-nxp-bsp = "imx-mx8qxpmek"
33OPTEEMACHINE:mx8dx-nxp-bsp = "imx-mx8dxmek" 33OPTEEMACHINE:mx8dx-nxp-bsp = "imx-mx8dxmek"
34OPTEEMACHINE:mx8dxl-nxp-bsp = "imx-mx8dxlevk" 34OPTEEMACHINE:mx8dxl-nxp-bsp = "imx-mx8dxlevk"
35OPTEEMACHINE:mx8mnul-nxp-bsp = "imx-mx8mnevk" 35OPTEEMACHINE:mx8mnul-nxp-bsp = "imx-mx8mnevk"
36OPTEEMACHINE:mx8ulp-nxp-bsp = "imx-mx8ulpevk" 36OPTEEMACHINE:mx8ulp-nxp-bsp = "imx-mx8ulpevk"
37OPTEEMACHINE:mx91-nxp-bsp = "imx-mx91evk" 37OPTEEMACHINE:mx91-nxp-bsp = "imx-mx91evk"
38OPTEEMACHINE:mx93-nxp-bsp = "imx-mx93evk" 38OPTEEMACHINE:mx93-nxp-bsp = "imx-mx93evk"
39OPTEEMACHINE:mx943-nxp-bsp = "imx-mx943evk" 39OPTEEMACHINE:mx943-nxp-bsp = "imx-mx943evk"
40OPTEEMACHINE:mx95-nxp-bsp = "imx-mx95evk" 40OPTEEMACHINE:mx95-nxp-bsp = "imx-mx95evk"
41 41
42# Strip the leading imx- 42# Strip the leading imx-
43PLATFORM_FLAVOR = "${@d.getVar('OPTEEMACHINE')[4:]}" 43PLATFORM_FLAVOR = "${@d.getVar('OPTEEMACHINE')[4:]}"
diff --git a/recipes-security/optee-imx/optee-os-fslc.inc b/recipes-security/optee-imx/optee-os-fslc.inc
index febdd2c73..b36810c60 100644
--- a/recipes-security/optee-imx/optee-os-fslc.inc
+++ b/recipes-security/optee-imx/optee-os-fslc.inc
@@ -13,7 +13,7 @@ require optee-fslc.inc
13 13
14CVE_PRODUCT = "linaro:op-tee op-tee:op-tee_os" 14CVE_PRODUCT = "linaro:op-tee op-tee:op-tee_os"
15 15
16DEPENDS = "python3-pyelftools-native python3-cryptography-native" 16DEPENDS = "python3-cryptography-native python3-pyelftools-native"
17 17
18DEPENDS:append:toolchain-clang = " lld-native compiler-rt" 18DEPENDS:append:toolchain-clang = " lld-native compiler-rt"
19 19
@@ -21,7 +21,7 @@ SRC_URI = "git://github.com/OP-TEE/optee_os.git;branch=master;protocol=https"
21 21
22B = "${WORKDIR}/build" 22B = "${WORKDIR}/build"
23 23
24EXTRA_OEMAKE += " \ 24EXTRA_OEMAKE += "\
25 PLATFORM=${OPTEEMACHINE} \ 25 PLATFORM=${OPTEEMACHINE} \
26 CFG_${OPTEE_CORE}_core=y \ 26 CFG_${OPTEE_CORE}_core=y \
27 CROSS_COMPILE_core=${HOST_PREFIX} \ 27 CROSS_COMPILE_core=${HOST_PREFIX} \
@@ -30,8 +30,8 @@ EXTRA_OEMAKE += " \
30 ta-targets=ta_${OPTEE_ARCH} \ 30 ta-targets=ta_${OPTEE_ARCH} \
31 O=${B} \ 31 O=${B} \
32" 32"
33EXTRA_OEMAKE += " HOST_PREFIX=${HOST_PREFIX}" 33EXTRA_OEMAKE += "HOST_PREFIX=${HOST_PREFIX}"
34EXTRA_OEMAKE += " CROSS_COMPILE64=${HOST_PREFIX}" 34EXTRA_OEMAKE += "CROSS_COMPILE64=${HOST_PREFIX}"
35 35
36# Enable BTI in optee 36# Enable BTI in optee
37EXTRA_OEMAKE += "${@bb.utils.contains('MACHINE_FEATURES', 'arm-branch-protection', ' CFG_TA_BTI=1 CFG_CORE_PAUTH=y CFG_TA_PAUTH=y', '', d)}" 37EXTRA_OEMAKE += "${@bb.utils.contains('MACHINE_FEATURES', 'arm-branch-protection', ' CFG_TA_BTI=1 CFG_CORE_PAUTH=y CFG_TA_PAUTH=y', '', d)}"
@@ -74,7 +74,6 @@ PACKAGES += "${PN}-ta"
74FILES:${PN} = "${nonarch_base_libdir}/firmware/" 74FILES:${PN} = "${nonarch_base_libdir}/firmware/"
75FILES:${PN}-ta = "${nonarch_base_libdir}/optee_armtz/*" 75FILES:${PN}-ta = "${nonarch_base_libdir}/optee_armtz/*"
76 76
77
78# note: "textrel" is not triggered on all archs 77# note: "textrel" is not triggered on all archs
79INSANE_SKIP:${PN} = "textrel" 78INSANE_SKIP:${PN} = "textrel"
80INSANE_SKIP:${PN}-dev = "staticdev" 79INSANE_SKIP:${PN}-dev = "staticdev"
diff --git a/recipes-security/optee-imx/optee-os-tadevkit-fslc-imx.inc b/recipes-security/optee-imx/optee-os-tadevkit-fslc-imx.inc
index 68918414c..0fac7771f 100644
--- a/recipes-security/optee-imx/optee-os-tadevkit-fslc-imx.inc
+++ b/recipes-security/optee-imx/optee-os-tadevkit-fslc-imx.inc
@@ -18,7 +18,7 @@ do_install() {
18} 18}
19 19
20do_deploy() { 20do_deploy() {
21 echo "Do not inherit do_deploy from optee-os." 21 echo "Do not inherit do_deploy from optee-os."
22} 22}
23 23
24FILES:${PN} = "${includedir}/optee/" 24FILES:${PN} = "${includedir}/optee/"
diff --git a/recipes-security/optee-imx/optee-test-fslc-imx.inc b/recipes-security/optee-imx/optee-test-fslc-imx.inc
index b7d3a34e6..23e22bc9f 100644
--- a/recipes-security/optee-imx/optee-test-fslc-imx.inc
+++ b/recipes-security/optee-imx/optee-test-fslc-imx.inc
@@ -17,6 +17,6 @@ OPTEE_TEST_SRC ?= "git://github.com/nxp-imx/imx-optee-test.git;protocol=https"
17 17
18EXTRA_OEMAKE:append:libc-musl = " OPTEE_OPENSSL_EXPORT=${STAGING_INCDIR}" 18EXTRA_OEMAKE:append:libc-musl = " OPTEE_OPENSSL_EXPORT=${STAGING_INCDIR}"
19CFLAGS:append:libc-musl = " -Wno-error=deprecated-declarations" 19CFLAGS:append:libc-musl = " -Wno-error=deprecated-declarations"
20CFLAGS += " -Wno-error=unterminated-string-initialization" 20CFLAGS += "-Wno-error=unterminated-string-initialization"
21 21
22COMPATIBLE_MACHINE = "(imx-nxp-bsp)" 22COMPATIBLE_MACHINE = "(imx-nxp-bsp)"
diff --git a/recipes-security/optee-imx/optee-test-fslc.inc b/recipes-security/optee-imx/optee-test-fslc.inc
index a5183b7e1..66683b613 100644
--- a/recipes-security/optee-imx/optee-test-fslc.inc
+++ b/recipes-security/optee-imx/optee-test-fslc.inc
@@ -11,12 +11,12 @@ inherit python3native ptest
11inherit deploy 11inherit deploy
12require optee-fslc.inc 12require optee-fslc.inc
13 13
14DEPENDS = "optee-client optee-os-tadevkit python3-cryptography-native openssl" 14DEPENDS = "openssl optee-client optee-os-tadevkit python3-cryptography-native"
15DEPENDS:append:toolchain-clang = " lld-native" 15DEPENDS:append:toolchain-clang = " lld-native"
16 16
17SRC_URI = "git://github.com/OP-TEE/optee_test.git;branch=master;protocol=https \ 17SRC_URI = "git://github.com/OP-TEE/optee_test.git;branch=master;protocol=https \
18 file://run-ptest \ 18 file://run-ptest \
19 " 19 "
20 20
21B = "${WORKDIR}/build" 21B = "${WORKDIR}/build"
22 22
@@ -25,7 +25,7 @@ EXTRA_OEMAKE += "TA_DEV_KIT_DIR=${TA_DEV_KIT_DIR} \
25 CROSS_COMPILE_HOST=${HOST_PREFIX} \ 25 CROSS_COMPILE_HOST=${HOST_PREFIX} \
26 CROSS_COMPILE_TA=${HOST_PREFIX} \ 26 CROSS_COMPILE_TA=${HOST_PREFIX} \
27 O=${B} \ 27 O=${B} \
28 " 28 "
29 29
30CFLAGS += "-Wno-error=deprecated-declarations" 30CFLAGS += "-Wno-error=deprecated-declarations"
31 31
@@ -43,9 +43,9 @@ do_install () {
43 43
44 # install path should match the value set in optee-client/tee-supplicant 44 # install path should match the value set in optee-client/tee-supplicant
45 # default TEEC_LOAD_PATH is /lib 45 # default TEEC_LOAD_PATH is /lib
46 mkdir -p ${D}${nonarch_base_libdir}/optee_armtz/ 46 install -d ${D}${nonarch_base_libdir}/optee_armtz/
47 install -D -p -m0444 ${B}/ta/*/*.ta ${D}${nonarch_base_libdir}/optee_armtz/ 47 install -D -p -m0444 ${B}/ta/*/*.ta ${D}${nonarch_base_libdir}/optee_armtz/
48 mkdir -p ${D}${libdir}/tee-supplicant/plugins 48 install -d ${D}${libdir}/tee-supplicant/plugins
49 install -D -p -m0444 ${B}/supp_plugin/*.plugin ${D}${libdir}/tee-supplicant/plugins/ 49 install -D -p -m0444 ${B}/supp_plugin/*.plugin ${D}${libdir}/tee-supplicant/plugins/
50} 50}
51 51
@@ -58,7 +58,7 @@ addtask deploy before do_build after do_install
58 58
59FILES:${PN} += "${nonarch_base_libdir}/optee_armtz/ \ 59FILES:${PN} += "${nonarch_base_libdir}/optee_armtz/ \
60 ${libdir}/tee-supplicant/plugins/ \ 60 ${libdir}/tee-supplicant/plugins/ \
61 " 61 "
62 62
63# Imports machine specific configs from staging to build 63# Imports machine specific configs from staging to build
64PACKAGE_ARCH = "${MACHINE_ARCH}" 64PACKAGE_ARCH = "${MACHINE_ARCH}"
diff --git a/recipes-security/optee-imx/optee-test_4.8.0.imx.bb b/recipes-security/optee-imx/optee-test_4.8.0.imx.bb
index 2f2b40e09..42d525855 100644
--- a/recipes-security/optee-imx/optee-test_4.8.0.imx.bb
+++ b/recipes-security/optee-imx/optee-test_4.8.0.imx.bb
@@ -8,6 +8,5 @@ LIC_FILES_CHKSUM = "file://LICENSE.md;md5=a8fa504109e4cd7ea575bc49ea4be560 \
8 file://LICENSE-BSD;md5=dca16d6efa93b55d0fd662ae5cd6feeb \ 8 file://LICENSE-BSD;md5=dca16d6efa93b55d0fd662ae5cd6feeb \
9 file://LICENSE-GPL;md5=10e86b5d2a6cb0e2b9dcfdd26a9ac58d" 9 file://LICENSE-GPL;md5=10e86b5d2a6cb0e2b9dcfdd26a9ac58d"
10 10
11
12SRCBRANCH = "lf-6.18.2_1.0.0" 11SRCBRANCH = "lf-6.18.2_1.0.0"
13SRCREV = "3383a744a5997fdb3457b3cbe95aea3ce27879b3" 12SRCREV = "3383a744a5997fdb3457b3cbe95aea3ce27879b3"
diff --git a/recipes-security/optee-qoriq/optee-os-qoriq-tadevkit_4.8.0.bb b/recipes-security/optee-qoriq/optee-os-qoriq-tadevkit_4.8.0.bb
index 491817ef1..93a049001 100644
--- a/recipes-security/optee-qoriq/optee-os-qoriq-tadevkit_4.8.0.bb
+++ b/recipes-security/optee-qoriq/optee-os-qoriq-tadevkit_4.8.0.bb
@@ -18,7 +18,7 @@ do_install() {
18} 18}
19 19
20do_deploy() { 20do_deploy() {
21 echo "Do not inherit do_deploy from optee-os." 21 echo "Do not inherit do_deploy from optee-os."
22} 22}
23 23
24FILES:${PN} = "${includedir}/optee/" 24FILES:${PN} = "${includedir}/optee/"
diff --git a/recipes-security/optee-qoriq/optee-os-qoriq_4.8.0.bb b/recipes-security/optee-qoriq/optee-os-qoriq_4.8.0.bb
index 3241ab8c4..64c666286 100644
--- a/recipes-security/optee-qoriq/optee-os-qoriq_4.8.0.bb
+++ b/recipes-security/optee-qoriq/optee-os-qoriq_4.8.0.bb
@@ -4,18 +4,18 @@ OPTEE_OS_BRANCH = "lf-6.12.49_2.2.0"
4SRCREV = "b3883a773a9d15ec6439f9229e48f540c37e0d00" 4SRCREV = "b3883a773a9d15ec6439f9229e48f540c37e0d00"
5 5
6do_install:append () { 6do_install:append () {
7 install -d ${D}${nonarch_base_libdir}/firmware/ 7 install -d ${D}${nonarch_base_libdir}/firmware/
8 install -m 644 ${B}/core/*.bin ${D}${nonarch_base_libdir}/firmware/ 8 install -m 644 ${B}/core/*.bin ${D}${nonarch_base_libdir}/firmware/
9 install -m 644 ${B}/core/tee-raw.bin ${D}${nonarch_base_libdir}/firmware/tee_${MACHINE}.bin 9 install -m 644 ${B}/core/tee-raw.bin ${D}${nonarch_base_libdir}/firmware/tee_${MACHINE}.bin
10 10
11 # Install embedded TAs 11 # Install embedded TAs
12 install -d ${D}${base_libdir}/optee_armtz/ 12 install -d ${D}${base_libdir}/optee_armtz/
13 install -m 444 ${B}/ta/*/*.ta ${D}${base_libdir}/optee_armtz/ 13 install -m 444 ${B}/ta/*/*.ta ${D}${base_libdir}/optee_armtz/
14} 14}
15 15
16do_deploy:append () { 16do_deploy:append () {
17 install -d ${DEPLOYDIR}/optee 17 install -d ${DEPLOYDIR}/optee
18 install -m 644 ${D}${nonarch_base_libdir}/firmware/* ${DEPLOYDIR}/optee/ 18 install -m 644 ${D}${nonarch_base_libdir}/firmware/* ${DEPLOYDIR}/optee/
19} 19}
20 20
21FILES:${PN} = "${nonarch_base_libdir}/optee_armtz/ ${nonarch_base_libdir}/firmware/" 21FILES:${PN} = "${nonarch_base_libdir}/optee_armtz/ ${nonarch_base_libdir}/firmware/"
diff --git a/recipes-security/optee-qoriq/optee-os.nxp.inc b/recipes-security/optee-qoriq/optee-os.nxp.inc
index 1a837d54a..270d23c3b 100644
--- a/recipes-security/optee-qoriq/optee-os.nxp.inc
+++ b/recipes-security/optee-qoriq/optee-os.nxp.inc
@@ -17,9 +17,9 @@ REQUIRED_MACHINE_FEATURES = "optee"
17inherit features_check 17inherit features_check
18 18
19OPTEEMACHINE = "ls-${MACHINE}" 19OPTEEMACHINE = "ls-${MACHINE}"
20OPTEEMACHINE:ls1088ardb-pb = "ls-ls1088ardb" 20OPTEEMACHINE:ls1088ardb-pb = "ls-ls1088ardb"
21OPTEEMACHINE:ls1046afrwy = "ls-ls1046ardb" 21OPTEEMACHINE:ls1046afrwy = "ls-ls1046ardb"
22OPTEEMACHINE:lx2162aqds = "ls-lx2160aqds" 22OPTEEMACHINE:lx2162aqds = "ls-lx2160aqds"
23OPTEEMACHINE:lx2160ardb-rev2 = "ls-lx2160ardb" 23OPTEEMACHINE:lx2160ardb-rev2 = "ls-lx2160ardb"
24 24
25EXTRA_OEMAKE:append = " \ 25EXTRA_OEMAKE:append = " \
diff --git a/recipes-security/optee-qoriq/optee-test.nxp.inc b/recipes-security/optee-qoriq/optee-test.nxp.inc
index 75ed4d0c9..acbc2068d 100644
--- a/recipes-security/optee-qoriq/optee-test.nxp.inc
+++ b/recipes-security/optee-qoriq/optee-test.nxp.inc
@@ -2,7 +2,7 @@
2require recipes-security/optee-imx/optee-test-fslc.inc 2require recipes-security/optee-imx/optee-test-fslc.inc
3 3
4DEPENDS:remove = "optee-client optee-os-tadevkit" 4DEPENDS:remove = "optee-client optee-os-tadevkit"
5DEPENDS:append = "optee-client-qoriq optee-os-qoriq-tadevkit openssl" 5DEPENDS:append = " optee-client-qoriq optee-os-qoriq-tadevkit openssl"
6 6
7SRC_URI:remove = "git://github.com/OP-TEE/optee_test.git;branch=master;protocol=https" 7SRC_URI:remove = "git://github.com/OP-TEE/optee_test.git;branch=master;protocol=https"
8SRC_URI:remove = "file://run-ptest" 8SRC_URI:remove = "file://run-ptest"
diff --git a/recipes-security/smw/crypto-af-alg_git.bb b/recipes-security/smw/crypto-af-alg_git.bb
index 4101776a5..3ec485b3b 100644
--- a/recipes-security/smw/crypto-af-alg_git.bb
+++ b/recipes-security/smw/crypto-af-alg_git.bb
@@ -2,6 +2,7 @@
2 2
3SUMMARY = "NXP i.MX CRYPTO AF_ALG" 3SUMMARY = "NXP i.MX CRYPTO AF_ALG"
4DESCRIPTION = "NXP i.MX crypto af alg tool to perform symmetric operation" 4DESCRIPTION = "NXP i.MX crypto af alg tool to perform symmetric operation"
5HOMEPAGE = "https://github.com/nxp-imx/crypto_af_alg"
5SECTION = "base" 6SECTION = "base"
6LICENSE = "BSD-3-Clause" 7LICENSE = "BSD-3-Clause"
7LIC_FILES_CHKSUM = "file://LICENSE;md5=4ef68f113b9400b1140be9b69208a816" 8LIC_FILES_CHKSUM = "file://LICENSE;md5=4ef68f113b9400b1140be9b69208a816"
@@ -15,7 +16,7 @@ SRCREV = "2fb11a600af90c80b8bb23368d1d6831c5deb973"
15TARGET_CC_ARCH += "${LDFLAGS}" 16TARGET_CC_ARCH += "${LDFLAGS}"
16 17
17do_install () { 18do_install () {
18 oe_runmake DESTDIR=${D} install 19 oe_runmake DESTDIR=${D} install
19} 20}
20 21
21COMPATIBLE_MACHINE = "(imx-nxp-bsp)" 22COMPATIBLE_MACHINE = "(imx-nxp-bsp)"
diff --git a/recipes-security/smw/itest_git.bb b/recipes-security/smw/itest_git.bb
index 7885edc30..442f5fb89 100644
--- a/recipes-security/smw/itest_git.bb
+++ b/recipes-security/smw/itest_git.bb
@@ -1,6 +1,7 @@
1# Copyright 2026 NXP 1# Copyright 2026 NXP
2SUMMARY = "NXP i.MX Itest" 2SUMMARY = "NXP i.MX Itest"
3DESCRIPTION = "NXP i.MX Itest" 3DESCRIPTION = "NXP i.MX Itest"
4HOMEPAGE = "https://github.com/nxp-imx/itest"
4SECTION = "base" 5SECTION = "base"
5LICENSE = "BSD-3-Clause" 6LICENSE = "BSD-3-Clause"
6LIC_FILES_CHKSUM = "file://LICENSE;md5=8636bd68fc00cc6a3809b7b58b45f982" 7LIC_FILES_CHKSUM = "file://LICENSE;md5=8636bd68fc00cc6a3809b7b58b45f982"
@@ -14,19 +15,19 @@ inherit cmake
14 15
15PACKAGECONFIG:mx8dxl-nxp-bsp ??= "ele-seco" 16PACKAGECONFIG:mx8dxl-nxp-bsp ??= "ele-seco"
16PACKAGECONFIG:mx8ulp-nxp-bsp ??= "ele" 17PACKAGECONFIG:mx8ulp-nxp-bsp ??= "ele"
17PACKAGECONFIG:mx91-nxp-bsp ??= "ele" 18PACKAGECONFIG:mx91-nxp-bsp ??= "ele"
18PACKAGECONFIG:mx93-nxp-bsp ??= "ele" 19PACKAGECONFIG:mx93-nxp-bsp ??= "ele"
19PACKAGECONFIG:mx943-nxp-bsp ??= "ele ele-seco prime" 20PACKAGECONFIG:mx943-nxp-bsp ??= "ele ele-seco prime"
20PACKAGECONFIG:mx95-nxp-bsp ??= "ele ele-seco" 21PACKAGECONFIG:mx95-nxp-bsp ??= "ele ele-seco"
21PACKAGECONFIG:mx952-nxp-bsp ??= "ele ele-seco prime" 22PACKAGECONFIG:mx952-nxp-bsp ??= "ele ele-seco prime"
22 23
23PACKAGECONFIG[ele] = "-DELE=1,,imx-secure-enclave" 24PACKAGECONFIG[ele] = "-DELE=1,,imx-secure-enclave"
24PACKAGECONFIG[ele-seco] = "-DV2X=1,,imx-secure-enclave-seco" 25PACKAGECONFIG[ele-seco] = "-DV2X=1,,imx-secure-enclave-seco"
25PACKAGECONFIG[prime] = "-DPRIME=1,,imx-secure-enclave-prime" 26PACKAGECONFIG[prime] = "-DPRIME=1,,imx-secure-enclave-prime"
26 27
27EXTRA_OECMAKE = " \ 28EXTRA_OECMAKE = "\
28 -DOPENSSL_PATH="${STAGING_DIR_HOST}/usr" \ 29 -DOPENSSL_PATH="${STAGING_DIR_HOST}/usr"\
29 -DELE_LIB_PATH="${STAGING_DIR_HOST}/usr" \ 30 -DELE_LIB_PATH="${STAGING_DIR_HOST}/usr"\
30 -DLIB_PATH="${STAGING_DIR_HOST}${libdir}"" 31 -DLIB_PATH="${STAGING_DIR_HOST}${libdir}""
31 32
32PACKAGE_ARCH = "${MACHINE_SOCARCH}" 33PACKAGE_ARCH = "${MACHINE_SOCARCH}"
diff --git a/recipes-security/smw/keyctl-caam_git.bb b/recipes-security/smw/keyctl-caam_git.bb
index 13202326b..cfa1b80c4 100644
--- a/recipes-security/smw/keyctl-caam_git.bb
+++ b/recipes-security/smw/keyctl-caam_git.bb
@@ -2,6 +2,7 @@
2 2
3SUMMARY = "NXP i.MX CAAM Keyctl" 3SUMMARY = "NXP i.MX CAAM Keyctl"
4DESCRIPTION = "NXP i.MX keyctl tool to manage CAAM Keys" 4DESCRIPTION = "NXP i.MX keyctl tool to manage CAAM Keys"
5HOMEPAGE = "https://github.com/nxp-imx/keyctl_caam"
5SECTION = "base" 6SECTION = "base"
6LICENSE = "BSD-3-Clause" 7LICENSE = "BSD-3-Clause"
7LIC_FILES_CHKSUM = "file://LICENSE;md5=8636bd68fc00cc6a3809b7b58b45f982" 8LIC_FILES_CHKSUM = "file://LICENSE;md5=8636bd68fc00cc6a3809b7b58b45f982"
@@ -11,14 +12,14 @@ SRC_URI = "git://github.com/nxp-imx/keyctl_caam.git;protocol=https;branch=${SRCB
11 12
12SRCREV = "71cb18f17d766145217a5517748e37e250b055bf" 13SRCREV = "71cb18f17d766145217a5517748e37e250b055bf"
13 14
14DEPENDS = " openssl" 15DEPENDS = "openssl"
15 16
16TARGET_CC_ARCH += "${LDFLAGS}" 17TARGET_CC_ARCH += "${LDFLAGS}"
17 18
18EXTRA_OEMAKE = " OPENSSL_PATH=${STAGING_INCDIR}" 19EXTRA_OEMAKE = "OPENSSL_PATH=${STAGING_INCDIR}"
19 20
20do_install () { 21do_install () {
21 oe_runmake DESTDIR=${D} install 22 oe_runmake DESTDIR=${D} install
22} 23}
23 24
24COMPATIBLE_MACHINE = "(imx-generic-bsp|qoriq)" 25COMPATIBLE_MACHINE = "(imx-generic-bsp|qoriq)"
diff --git a/recipes-security/smw/smw_5.3.bb b/recipes-security/smw/smw_5.3.bb
index 46155978e..37452720a 100644
--- a/recipes-security/smw/smw_5.3.bb
+++ b/recipes-security/smw/smw_5.3.bb
@@ -2,6 +2,7 @@
2require recipes-security/optee-imx/optee-fslc.inc 2require recipes-security/optee-imx/optee-fslc.inc
3 3
4SUMMARY = "NXP i.MX Security Middleware Library" 4SUMMARY = "NXP i.MX Security Middleware Library"
5HOMEPAGE = "https://github.com/nxp-imx/imx-smw"
5DESCRIPTION = "NXP i.MX Security Middleware Library" 6DESCRIPTION = "NXP i.MX Security Middleware Library"
6SECTION = "base" 7SECTION = "base"
7LICENSE = "BSD-3-Clause" 8LICENSE = "BSD-3-Clause"
@@ -9,11 +10,11 @@ LICENSE = "Apache-2.0 & BSD-3-Clause & Zlib"
9LIC_FILES_CHKSUM = "file://LICENSE;md5=ff20c8e51b28869d9cdec70a818d163f \ 10LIC_FILES_CHKSUM = "file://LICENSE;md5=ff20c8e51b28869d9cdec70a818d163f \
10 file://${PSA_ARCH_TESTS_SRC_PATH}/LICENSE.md;md5=2a944942e1496af1886903d274dedb13" 11 file://${PSA_ARCH_TESTS_SRC_PATH}/LICENSE.md;md5=2a944942e1496af1886903d274dedb13"
11 12
12DEPENDS = " \ 13DEPENDS = "\
13 python3-cryptography-native \
14 json-c \ 14 json-c \
15 optee-client \ 15 optee-client \
16 optee-os-tadevkit \ 16 optee-os-tadevkit \
17 python3-cryptography-native \
17 sqlite3 \ 18 sqlite3 \
18" 19"
19 20
@@ -35,15 +36,15 @@ inherit cmake features_check python3native
35REQUIRED_MACHINE_FEATURES = "optee" 36REQUIRED_MACHINE_FEATURES = "optee"
36 37
37PACKAGECONFIG ??= "${PACKAGECONFIG_DRIVERS} ${PACKAGECONFIG_FEATURES}" 38PACKAGECONFIG ??= "${PACKAGECONFIG_DRIVERS} ${PACKAGECONFIG_FEATURES}"
38PACKAGECONFIG_DRIVERS = "" 39PACKAGECONFIG_DRIVERS = ""
39PACKAGECONFIG_DRIVERS:mx8x-nxp-bsp = "ele-seco" 40PACKAGECONFIG_DRIVERS:mx8x-nxp-bsp = "ele-seco"
40PACKAGECONFIG_DRIVERS:mx8ulp-nxp-bsp = "ele" 41PACKAGECONFIG_DRIVERS:mx8ulp-nxp-bsp = "ele"
41PACKAGECONFIG_DRIVERS:mx91-nxp-bsp = "ele" 42PACKAGECONFIG_DRIVERS:mx91-nxp-bsp = "ele"
42PACKAGECONFIG_DRIVERS:mx93-nxp-bsp = "ele" 43PACKAGECONFIG_DRIVERS:mx93-nxp-bsp = "ele"
43PACKAGECONFIG_DRIVERS:mx943-nxp-bsp = "ele" 44PACKAGECONFIG_DRIVERS:mx943-nxp-bsp = "ele"
44PACKAGECONFIG_DRIVERS:mx95-nxp-bsp = "ele" 45PACKAGECONFIG_DRIVERS:mx95-nxp-bsp = "ele"
45 46
46PACKAGECONFIG_FEATURES = "" 47PACKAGECONFIG_FEATURES = ""
47PACKAGECONFIG_FEATURES:mx91-nxp-bsp = "tls" 48PACKAGECONFIG_FEATURES:mx91-nxp-bsp = "tls"
48PACKAGECONFIG_FEATURES:mx93-nxp-bsp = "tls" 49PACKAGECONFIG_FEATURES:mx93-nxp-bsp = "tls"
49PACKAGECONFIG_FEATURES:mx943-nxp-bsp = "tls" 50PACKAGECONFIG_FEATURES:mx943-nxp-bsp = "tls"
@@ -61,11 +62,11 @@ LD[unexport] = "1"
61# setting the linker options 62# setting the linker options
62TARGET_LDFLAGS:remove = "${DEBUG_PREFIX_MAP}" 63TARGET_LDFLAGS:remove = "${DEBUG_PREFIX_MAP}"
63 64
64EXTRA_OECMAKE = " \ 65EXTRA_OECMAKE = "\
65 -DYOCTO_BUILD=ON \ 66 -DYOCTO_BUILD=ON \
66 -DTA_DEV_KIT_ROOT=${TA_DEV_KIT_DIR} \ 67 -DTA_DEV_KIT_ROOT=${TA_DEV_KIT_DIR} \
67 -DTEEC_ROOT=${STAGING_DIR_HOST} \ 68 -DTEEC_ROOT=${STAGING_DIR_HOST} \
68 -DJSONC_ROOT="${COMPONENTS_DIR}/${TARGET_ARCH}/json-c/usr" \ 69 -DJSONC_ROOT="${COMPONENTS_DIR}/${TARGET_ARCH}/json-c/usr"\
69 -DPSA_ARCH_TESTS_SRC_PATH=${PSA_ARCH_TESTS_SRC_PATH} \ 70 -DPSA_ARCH_TESTS_SRC_PATH=${PSA_ARCH_TESTS_SRC_PATH} \
70 -DTEE_TA_DESTDIR=${nonarch_base_libdir} \ 71 -DTEE_TA_DESTDIR=${nonarch_base_libdir} \
71" 72"