├── meta-imx-bsp ├── recipes-core │ ├── psplash │ │ ├── files │ │ │ ├── mx7-generic-bsp │ │ │ ├── imx.conf │ │ │ ├── mx6-generic-bsp │ │ │ │ └── imx.conf │ │ │ └── mx8ulp-generic-bsp │ │ │ │ └── imx.conf │ │ └── psplash_git.bbappend │ ├── udev │ │ ├── udev-rules-imx.bbappend │ │ ├── udev-extraconf │ │ │ ├── imx-nxp-bsp │ │ │ │ └── blacklist.conf │ │ │ └── mx6sx-nxp-bsp │ │ │ │ └── blacklist.conf │ │ └── udev-extraconf_%.bbappend │ ├── busybox │ │ ├── busybox │ │ │ └── ftpget.cfg │ │ └── busybox_%.bbappend │ ├── systemd │ │ ├── systemd_%.bbappend │ │ └── systemd-gpuconfig │ │ │ ├── gpuconfig.service │ │ │ └── gpuconfig │ ├── initscripts │ │ ├── arm │ │ │ └── imx-nxp-bsp │ │ │ │ └── alignment.sh │ │ └── initscripts_%.bbappend │ └── sysvinit │ │ ├── sysvinit-inittab │ │ └── imxgpu2d │ │ │ ├── rc_mxc.S │ │ │ └── rc_gpu.S │ │ └── sysvinit-inittab_2.88dsf.bbappend ├── classes │ ├── fsl-eula.bbclass │ ├── fsl-eula-unpack2.bbclass │ ├── fsl-eula-recent.bbclass │ ├── fsl-eula-graphics.bbclass │ ├── fsl-eula2-package-arch.bbclass │ └── fsl-eula2.bbclass ├── recipes-support │ ├── hwdata │ │ └── hwdata_%.bbappend │ ├── gnutls │ │ └── gnutls_%.bbappend │ ├── opencv │ │ └── opencv │ │ │ └── 0001-Dont-use-isystem.patch │ └── vtest │ │ ├── files │ │ └── 0001-LF-12809-Use-standard-linux-build-assumptions.patch │ │ └── vtest_git.bb ├── recipes-bsp │ ├── gnu-efi │ │ └── gnu-efi_%.bbappend │ ├── alsa-state │ │ └── alsa-state.bbappend │ ├── imx-uuc │ │ └── imx-uuc_git.bbappend │ ├── efitools │ │ ├── efitools-native_1.9.2.bb │ │ ├── efitools_1.9.2.bb │ │ └── efitools │ │ │ └── 0003-Fix-the-wrong-dependency-for-blacklist.esl.patch │ ├── u-boot │ │ ├── u-boot-imx-tools_2025.04.bb │ │ └── u-boot-imx-common_2025.04.inc │ ├── imx-vpu-hantro-vc │ │ └── imx-vpu-hantro-vc_1.10.3.bb │ ├── imx-lib │ │ └── imx-lib_git.bbappend │ ├── imx-mkimage │ │ ├── imx-mkimage_git.inc │ │ └── imx-mkimage_git.bb │ ├── imx-secure-enclave │ │ ├── imx-secure-enclave_git.bb │ │ ├── imx-secure-enclave-seco_git.bb │ │ └── imx-secure-enclave.inc │ ├── imx-test │ │ └── imx-test_git.bbappend │ ├── isp-imx │ │ └── basler-camera_4.2.2.25.3.bb │ ├── firmware-imx │ │ └── firmware-imx-8.29.inc │ ├── firmware-upower │ │ └── firmware-upower_1.3.1.bb │ ├── imx-seco │ │ ├── imx-seco_5.9.4.1.bb │ │ ├── imx-seco-libs │ │ │ └── 0001-Makefile-Fix-LIBDIR-for-multilib.patch │ │ └── imx-seco-libs_git.bb │ └── imx-vpu │ │ └── imx-vpu_5.4.39.3.bb ├── recipes-extended │ ├── cronie │ │ └── cronie_%.bbappend │ ├── libmnl │ │ └── libmnl_%.bbappend │ ├── jailhouse │ │ ├── jailhouse-imx_git.bbappend │ │ └── files │ │ │ └── 0001-Revert-driver-sysfs-Update-bin_attribute-version-che.patch │ ├── libdisplay-info │ │ └── libdisplay-info_git.bb │ └── libcli │ │ ├── libcli_1.9.8.bb │ │ └── files │ │ └── 0001-support-cross-toolchain.patch ├── recipes-gnome │ └── gtk+3 │ │ └── gtk+3_%.bbappend ├── recipes-devtools │ ├── cmake │ │ ├── cmake_%.bbappend │ │ ├── cmake-native_%.bbappend │ │ ├── extra-cmake-modules_5.82.0.bb │ │ └── cmake │ │ │ └── OEToolchainConfig.cmake │ ├── clang │ │ └── clang_git.bbappend │ ├── python │ │ ├── python3-appdirs_%.bbappend │ │ └── python3-pyelftools_%.bbappend │ ├── qemu │ │ ├── qemu │ │ │ ├── qemu-guest-agent.udev │ │ │ └── 0001-fix-missing-meson.patch │ │ ├── qemu-native.inc │ │ └── qemu-native_9.0.2.imx.bb │ ├── pkgconfig │ │ └── pkgconfig_%.bbappend │ ├── pugixml │ │ └── pugixml_1.13.0.bb │ ├── aemu │ │ └── libaemu_0.1.2.bb │ ├── file │ │ └── files │ │ │ └── print_c.patch │ ├── patrace │ │ └── patrace │ │ │ └── 0001-CMakeLists.txt-Switch-to-python3.patch │ ├── sbsigntool │ │ └── sbsigntool │ │ │ └── 0002-docs-Don-t-build-man-pages.patch │ └── external-arm-toolchain │ │ └── arm-binary-toolchain.inc ├── recipes-multimedia │ ├── gstreamer │ │ ├── gstreamer1.0-plugins-ugly_1.26.0.bbappend │ │ ├── gstreamer1.0-python_1.26.0.bbappend │ │ ├── gstreamer1.0 │ │ │ └── run-ptest │ │ ├── gstreamer1.0-plugins-license.inc │ │ └── gstreamer1.0-plugins-base_1.26.0.imx.bbappend │ ├── x264 │ │ └── x264_%.bbappend │ ├── alsa │ │ ├── alsa-lib_%.bbappend │ │ └── alsa-utils_%.bbappend │ ├── wireplumber │ │ ├── files │ │ │ └── imx-nxp-bsp │ │ │ │ ├── 80-disable-logind.conf │ │ │ │ └── 51-bluez-imx.conf │ │ └── wireplumber_%.bbappend │ ├── imx-parser │ │ └── imx-parser_4.10.1.bb │ ├── liblc3 │ │ └── liblc3_1.0.4.bb │ ├── v4l2apps │ │ └── v4l-utils_%.bbappend │ ├── tinycompress │ │ └── tinycompress_1.2.5.bb │ ├── imx-codec │ │ └── imx-codec_4.10.0.bb │ ├── pulseaudio │ │ └── pulseaudio_%.bbappend │ ├── imx-sw-pdm │ │ └── imx-sw-pdm_1.0.3.bb │ ├── imx-dspc-asrc │ │ ├── imx-dspc-asrc_1.0.1.bb │ │ └── imx-dspc-asrc_1.0.2.bb │ ├── imx-opencl-converter │ │ └── imx-opencl-converter_0.9.0.bb │ └── imx-vpuwrap │ │ └── imx-vpuwrap_git.bb ├── recipes-graphics │ ├── wayland │ │ ├── weston │ │ │ ├── weston.png │ │ │ ├── xwayland.weston-start │ │ │ ├── weston.desktop │ │ │ └── systemd-notify.weston-start │ │ ├── required-distro-features.inc │ │ ├── weston-init │ │ │ └── imx-nxp-bsp │ │ │ │ └── weston.ini │ │ └── wayland │ │ │ ├── 0001-Revert-util-simplify-wl_fixed_to_double.patch │ │ │ └── 0002-Revert-util-simplify-wl_fixed_from_double.patch │ ├── xorg-xserver │ │ ├── xserver-xf86-config_%.bbappend │ │ ├── xserver-xorg_%.bbappend │ │ └── xserver-xf86-config │ │ │ ├── imxdrm │ │ │ └── xorg.conf │ │ │ ├── imx-nxp-bsp │ │ │ └── xorg.conf │ │ │ └── imxfbdev │ │ │ └── xorg.conf │ ├── xinput-calibrator │ │ └── xinput-calibrator_%.bbappend │ ├── imx-gpu-viv │ │ ├── imx-gpu-viv_6.4.11.p4.0-aarch64.bb │ │ └── imx-gpu-viv_6.4.11.p4.0-aarch32.bb │ ├── vulkan │ │ ├── vulkan-samples-viv │ │ │ └── Fix-gcc-13.patch │ │ ├── vulkan-loader_1.4.309.0.bbappend │ │ ├── vulkan-samples_viv.bbappend │ │ ├── vulkan-samples_%.bbappend │ │ ├── vulkan-demos │ │ │ └── 0002-Modify-parameter-in-vulkan-demo-computenbody.patch │ │ └── vkmark │ │ │ └── 0002-src-meson.build-Prepend-sysroot-for-the-includedir.patch │ ├── mali │ │ └── mali-imx_r54p1.0.bb │ ├── clblast │ │ └── clblast_1.6.1.bb │ ├── gfxstream │ │ └── gfxstream_0.1.2.bb │ ├── xwayland │ │ └── xwayland_24.1.%.bbappend │ ├── mesa │ │ ├── mesa-rvgpu-emu_2.0.0.bb │ │ └── mesa.bbappend │ ├── rutabaga-gfx │ │ └── rutabaga-gfx_0.1.3.bb │ ├── piglit │ │ └── piglit_%.bbappend │ └── imx-g2d │ │ └── imx-pxp-g2d_git.bb ├── recipes-security │ ├── optee │ │ ├── optee-os_4.6.0.imx.bb │ │ ├── optee-client_4.6.0.imx.bb │ │ ├── optee-os-tadevkit_4.6.0.imx.bb │ │ ├── optee-client │ │ │ ├── tee-supplicant@.service │ │ │ └── optee-udev.rules │ │ ├── optee-test_4.6.0.imx.bb │ │ ├── optee-test-imx.inc │ │ ├── optee-client-imx.inc │ │ ├── optee-os-tadevkit-imx.inc │ │ └── optee-os-imx.inc │ ├── smw │ │ ├── keyctl-caam_git.bbappend │ │ └── crypto-af-alg_git.bb │ ├── parsec-service │ │ └── parsec-service_1.4.1.bbappend │ ├── edge-lock │ │ └── plug-and-trust-ecc_git.bb │ ├── ecdsa-lib-imx │ │ └── ecdsa-lib-imx_3.3.4.bb │ └── v2xsehsm │ │ └── v2xsehsm_git.bb ├── conf │ └── machine │ │ ├── imx8mnddr3levk.conf │ │ ├── imx6ulz14x14evk.conf │ │ ├── imx8dxmek.conf │ │ ├── imx8qxpmek.conf │ │ ├── imx8qxpc0lpddr4arm2.conf │ │ ├── imx8dxla1-ddr3l-evk.conf │ │ ├── imx8dxlb0-ddr3l-evk.conf │ │ ├── imx8dxla1-lpddr4-evk.conf │ │ ├── imx8dxlb0-lpddr4-evk.conf │ │ ├── imx8dxlb0-fips-lpddr4-evk.conf │ │ ├── include │ │ ├── imx6sabreauto-common.inc │ │ └── imx6sabresd-common.inc │ │ ├── imx95-a1-19x19-verdin.conf │ │ ├── imx8qxp-b0-mek.conf │ │ ├── imx95-a1-19x19-lpddr5-evk.conf │ │ ├── imx95-a1-15x15-lpddr4x-evk.conf │ │ ├── imx8dxlevk.conf │ │ ├── imx8mnul-ddr3l-ab2.conf │ │ ├── imx943-19x19-lpddr5-evk.conf │ │ ├── imx943-15x15-lpddr4-evk.conf │ │ ├── imx943-19x19-lpddr4-evk.conf │ │ ├── imx8mn-lpddr4-ab2.conf │ │ ├── imx8mn-ddr4-ab2.conf │ │ ├── imx8mm-ddr4-ab2.conf │ │ ├── imx8mm-lpddr4-ab2.conf │ │ ├── imx8mqevk.conf │ │ ├── imx6solosabresd.conf │ │ ├── imx6ul9x9evk.conf │ │ ├── imx6qpsabresd.conf │ │ ├── imx91-11x11-lpddr4-frdm.conf │ │ ├── imx6ull9x9evk.conf │ │ ├── imx8qmmek.conf │ │ ├── imx95a1evk.conf │ │ ├── imx8ulp-9x9-lpddr4x-evk.conf │ │ ├── imx6qsabresd.conf │ │ └── imx6dlsabresd.conf ├── recipes-kernel │ ├── cryptodev │ │ └── cryptodev-linux_1.14.bbappend │ ├── kernel-modules │ │ ├── kernel-module-nxp-wlan_git.bbappend │ │ ├── kernel-module-dpdk-extras_git.bb │ │ ├── kernel-module-isp-vvcam_4.2.2.25.3.bb │ │ └── kernel-module-imx-gpu-viv_6.4.11.p4.0.bb │ ├── kernel-tests │ │ └── kernel-tools-pci.bb │ └── linux-firmware │ │ └── zephyr-demo-imx_4.2.0.bb ├── recipes-fsl │ ├── mcore-demos │ │ ├── imx-mcore-demos_25.09.00.bb │ │ ├── imx-m33-demos_25.06.00.bb │ │ ├── imx-m33-demos_25.03.00.bb │ │ ├── README │ │ └── imx-m4-demos_25.09.00.bb │ ├── packagegroup │ │ └── packagegroup-fsl-optee-imx.bb │ └── images │ │ └── imx-image-crrm-initramfs.bb ├── recipes-connectivity │ ├── bluez5 │ │ ├── bluez5_5.%.bbappend │ │ └── files │ │ │ └── 0006-gobex-increase-the-obex-default-abort-timeout-value.patch │ ├── openssl │ │ ├── openssl_3.4.%.bbappend │ │ └── openssl │ │ │ └── openssl-3.0-add-Kernel-TLS-configuration.patch │ └── avahi │ │ └── avahi_%.bbappend └── recipes-utils │ └── simg2img │ └── simg2img_git.bb ├── meta-imx-sdk ├── dynamic-layers │ ├── qt6-layer │ │ ├── recipes-qt │ │ │ └── qt6 │ │ │ │ ├── qtpdf_%.bbappend │ │ │ │ ├── qtmultimedia_%.bbappend │ │ │ │ ├── qtquick3d_git.bbappend │ │ │ │ ├── qtbase │ │ │ │ └── qt-linuxfb.sh │ │ │ │ ├── qtwebengine_%.bbappend │ │ │ │ └── qtwebengine │ │ │ │ └── 0002-minigbm-Suppress-gcc-14-errors.patch │ │ ├── recipes-fsl │ │ │ ├── images │ │ │ │ ├── fsl-image-qt6-validation-imx.bb │ │ │ │ ├── imx-image-full-dev.bb │ │ │ │ └── fsl-image-qt6.bb │ │ │ └── packagegroup │ │ │ │ └── packagegroup-qt6-webengine.bb │ │ ├── recipes-python │ │ │ └── pyside6 │ │ │ │ ├── python3-pyside6_git.bbappend │ │ │ │ └── python3-shiboken6_git.bbappend │ │ └── recipes-graphics │ │ │ └── mesa │ │ │ └── mesa.bbappend │ ├── virtualization-layer │ │ ├── recipes-containers │ │ │ └── docker │ │ │ │ └── docker-moby_%.bbappend │ │ ├── recipes-extended │ │ │ └── xen │ │ │ │ ├── xen-common.inc │ │ │ │ ├── xen-tools_4.19.imx.bb │ │ │ │ └── xen_4.19.imx.bb │ │ └── recipes-fsl │ │ │ └── packagegroup │ │ │ └── packagegroup-fsl-tools-testapps.bbappend │ ├── flutter-layer │ │ └── recipes-flutter │ │ │ ├── images │ │ │ └── app-container-user.bbappend │ │ │ ├── flutter-apps │ │ │ └── flutter-super-dash-super-dash_%.bbappend │ │ │ ├── packagegroup │ │ │ ├── packagegroup-flutter-samples.bbappend │ │ │ ├── packagegroup-imx-flutter.bb │ │ │ └── packagegroup-flutter-packages.bbappend │ │ │ └── flutter-engine │ │ │ └── flutter-engine_git.bbappend │ ├── openembedded-layer │ │ ├── recipes-fsl │ │ │ └── packagegroups │ │ │ │ └── packagegroup-fsl-tools-gpu-external.bbappend │ │ ├── recipes-devtools │ │ │ └── rapidjson │ │ │ │ └── rapidjson_git.bbappend │ │ ├── recipes-graphics │ │ │ ├── vk-gl-cts │ │ │ │ ├── opengl-es-cts_%.bbappend │ │ │ │ ├── opengl-es-cts_3.2.11.0.bbappend │ │ │ │ └── opengl-es-cts_3.2.9.3.bbappend │ │ │ └── renderdoc │ │ │ │ └── renderdoc │ │ │ │ ├── 0006-Fix-compilation-for-iMX.patch │ │ │ │ └── 0010-renderdoc-CMakeLists.txt-Fix-multilib-case.patch │ │ ├── recipes-downgrade │ │ │ └── vk-gl-cts │ │ │ │ └── files │ │ │ │ ├── fix-clang-private-operator.patch │ │ │ │ └── fix-musl.patch │ │ ├── recipes-multimedia │ │ │ └── dvb-apps │ │ │ │ └── dvb-apps_%.bbappend │ │ ├── recipes-connectivity │ │ │ └── hostapd │ │ │ │ └── hostapd_%.bbappend │ │ └── recipes-core │ │ │ └── opencl │ │ │ ├── opencl-headers_2024.10.24.bb │ │ │ └── opencl-icd-loader_%.bbappend │ ├── clang-layer │ │ ├── recipes-fsl │ │ │ └── packagegroup │ │ │ │ └── packagegroup-fsl-tools-testapps.bbappend │ │ └── recipes-extended │ │ │ └── xdp │ │ │ └── xdp-fp_1.0.0.bb │ ├── matter-layer │ │ └── recipes-fsl │ │ │ └── packagegroup │ │ │ └── packagegroup-fsl-tools-testapps.bbappend │ └── multimedia-layer │ │ └── recipes-multimedia │ │ └── libpisp │ │ └── libpisp_1.2.0.bb ├── recipes-extended │ ├── procps │ │ └── procps_%.bbappend │ └── dpdk │ │ └── dpdk-fpr_22.11.bb ├── recipes-connectivity │ ├── nfs-utils │ │ └── nfs-utils_%.bbappend │ ├── connman │ │ ├── connman-conf │ │ │ └── mx943-nxp-bsp │ │ │ │ └── main.conf │ │ └── connman-conf.bbappend │ ├── avahi │ │ └── avahi_%.bbappend │ ├── sigma-dut │ │ ├── sigma-dut_git.bb │ │ └── files │ │ │ ├── 0001-Add-handling-of-DYN_BW_SGNL-command-for-DRIVER_LINUX.patch │ │ │ └── 0001-Add-handling-of-DYN_BW_SGNL-command-for-AP-mode.patch │ └── wpa-supplicant │ │ └── wpa-supplicant_%.bbappend ├── recipes-core │ ├── systemd │ │ └── systemd-conf │ │ │ ├── imx-logind.conf │ │ │ ├── imx943-eth0.network │ │ │ ├── imx-wait-online.conf │ │ │ ├── imx943-dsa.network │ │ │ ├── imx-unmanage.network │ │ │ └── imx-touchscreen.rules │ └── packagegroup │ │ └── nativesdk-packagegroup-sdk-host.bbappend ├── recipes-graphics │ ├── intel-gpu-tools │ │ └── intel-gpu-tools_1.22.bbappend │ ├── devil │ │ └── devil_%.bbappend │ ├── mesa │ │ └── mesa.bbappend │ ├── rapidvulkan │ │ └── rapidvulkan_1.3.250.0.bb │ ├── libgpuperfcnt │ │ ├── libgpuperfcnt_r54p1.0.bb │ │ └── libgpuperfcnt_6.4.11.p4.0.bb │ ├── gli │ │ └── gli_git.bb │ └── ttf-fonts │ │ └── ttf-dejavu_2.%.bbappend ├── recipes-fsl │ ├── packagegroup │ │ ├── packagegroup-fsl-tools-benchmark.bbappend │ │ ├── packagegroup-core-tools-profile.bbappend │ │ ├── packagegroup-fsl-mfgtool.bbappend │ │ ├── packagegroup-fsl-gstreamer1.0.bbappend │ │ ├── packagegroup-core-x11-sato.bbappend │ │ ├── packagegroup-imx-v2x.bb │ │ ├── packagegroup-core-full-cmdline.bbappend │ │ ├── packagegroup-core-tools-testapps.bbappend │ │ ├── packagegroup-imx-isp.bb │ │ └── packagegroup-fsl-pulseaudio.bb │ ├── fsl-rc-local │ │ ├── fsl-rc-local.bbappend │ │ └── files │ │ │ └── rc.local.etc │ └── images │ │ ├── fsl-image-gui.bb │ │ ├── fsl-image-validation-imx.bb │ │ ├── fsl-image-mfgtool-initramfs.bbappend │ │ ├── fsl-image-machine-test.bbappend │ │ └── fsl-image-multimedia.bbappend ├── recipes-filter │ ├── libnfnetlink │ │ └── libnfnetlink_%.bbappend │ └── libnetfilter │ │ ├── libnetfilter-conntrack_%.bbappend │ │ └── files │ │ └── 0002-cmm-socket_buffer_size.patch ├── conf │ └── distro │ │ ├── fsl-imx-fb.conf │ │ ├── fsl-imx-wayland.conf │ │ ├── fsl-imx-xwayland.conf │ │ └── fsl-imx-x11.conf ├── recipes-security │ ├── stmm-imx │ │ ├── edk2-firmware_202202.bb │ │ └── stmm-imx_git.bb │ └── oem-prov-app │ │ └── oem-prov-app_git.bb ├── recipes-sato │ └── matchbox-sato │ │ └── matchbox-session-sato_%.bbappend └── recipes-bsp │ └── imx-atf │ └── imx-atf_%.bbappend ├── meta-imx-ml ├── recipes-nnstreamer │ ├── ssat │ │ ├── ssat_1.2.0.bb │ │ └── ssat.inc │ └── nnstreamer-edge │ │ └── nnstreamer-edge_0.2.6.bb ├── recipes-multimedia │ └── gstreamer │ │ └── gstreamer1.0_%.imx.bbappend ├── recipes-libraries │ ├── tvm │ │ └── files │ │ │ ├── tvm_runtime.pc.in │ │ │ └── 0001-tvm-CMakeLists.txt-Use-CMAKE-variables-for-libs-inst.patch │ ├── litert │ │ └── litert-1.2.0.inc │ ├── tensorflow-lite │ │ ├── tensorflow-lite │ │ │ └── tensorflow-lite.pc.in │ │ ├── tensorflow-lite-2.19.0.inc │ │ ├── tensorflow-lite_2.%.bbappend │ │ └── tensorflow-lite-host-tools_2.19.0.bb │ └── pytorch │ │ └── pytorch_git.bb ├── recipes-devtools │ └── flatbuffers │ │ ├── files │ │ └── flatbuffers.pc.in │ │ ├── flatbuffers_24.%.bbappend │ │ ├── python3-flatbuffers_24.3.25.bb │ │ └── flatbuffers_24.3.25.bb └── conf │ └── layer.conf ├── meta-imx-v2x ├── recipes-kernel │ └── linux │ │ ├── linux-imx_%.bbappend │ │ └── linux-imx │ │ └── 0010-Add-FTRACE-support.patch ├── recipes-fsl │ └── images │ │ └── core-image-v2x-imx.bb └── conf │ └── layer.conf └── meta-imx-cockpit ├── recipes-kernel └── linux │ └── linux-imx_%.bbappend ├── recipes-bsp ├── imx-sc-firmware │ └── imx-sc-firmware_%.bbappend └── imx-atf │ └── imx-atf_%.bbappend ├── recipes-security └── optee-os │ └── optee-os_%.imx.bbappend ├── conf ├── layer.conf └── machine │ └── imx8qm-cockpit-mek.conf └── README /meta-imx-bsp/recipes-core/psplash/files/mx7-generic-bsp: -------------------------------------------------------------------------------- 1 | mx6-generic-bsp -------------------------------------------------------------------------------- /meta-imx-bsp/classes/fsl-eula.bbclass: -------------------------------------------------------------------------------- 1 | inherit fsl-eula2 fsl-eula2-package-arch 2 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-support/hwdata/hwdata_%.bbappend: -------------------------------------------------------------------------------- 1 | BBCLASSEXTEND += "native" 2 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-bsp/gnu-efi/gnu-efi_%.bbappend: -------------------------------------------------------------------------------- 1 | BBCLASSEXTEND = "native nativesdk" 2 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-extended/cronie/cronie_%.bbappend: -------------------------------------------------------------------------------- 1 | INSANE_SKIP:${PN} += "buildpaths" 2 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-extended/libmnl/libmnl_%.bbappend: -------------------------------------------------------------------------------- 1 | EXTRA_OECONF = "--without-doxygen" 2 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-gnome/gtk+3/gtk+3_%.bbappend: -------------------------------------------------------------------------------- 1 | PACKAGECONFIG:remove:imxgpu = "x11" 2 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-support/gnutls/gnutls_%.bbappend: -------------------------------------------------------------------------------- 1 | PACKAGECONFIG:append = " p11-kit" 2 | -------------------------------------------------------------------------------- /meta-imx-sdk/dynamic-layers/qt6-layer/recipes-qt/qt6/qtpdf_%.bbappend: -------------------------------------------------------------------------------- 1 | DEPENDS += "drm" 2 | -------------------------------------------------------------------------------- /meta-imx-bsp/classes/fsl-eula-unpack2.bbclass: -------------------------------------------------------------------------------- 1 | inherit fsl-eula2-unpack2 fsl-eula2-package-arch 2 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-devtools/cmake/cmake_%.bbappend: -------------------------------------------------------------------------------- 1 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" 2 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-bsp/alsa-state/alsa-state.bbappend: -------------------------------------------------------------------------------- 1 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" 2 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-devtools/clang/clang_git.bbappend: -------------------------------------------------------------------------------- 1 | INSANE_SKIP:${MLPREFIX}liblldb += "buildpaths" 2 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-devtools/python/python3-appdirs_%.bbappend: -------------------------------------------------------------------------------- 1 | 2 | BBCLASSEXTEND = "nativesdk native" 3 | -------------------------------------------------------------------------------- /meta-imx-sdk/dynamic-layers/qt6-layer/recipes-fsl/images/fsl-image-qt6-validation-imx.bb: -------------------------------------------------------------------------------- 1 | imx-image-full.bb -------------------------------------------------------------------------------- /meta-imx-sdk/recipes-extended/procps/procps_%.bbappend: -------------------------------------------------------------------------------- 1 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" 2 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-bsp/imx-uuc/imx-uuc_git.bbappend: -------------------------------------------------------------------------------- 1 | SRCREV = "11e2f62dd81bd1540b27ea0cc43dfa785a43d82d" 2 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-devtools/cmake/cmake-native_%.bbappend: -------------------------------------------------------------------------------- 1 | FILESEXTRAPATHS:prepend := "${THISDIR}/${BPN}:" 2 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-devtools/python/python3-pyelftools_%.bbappend: -------------------------------------------------------------------------------- 1 | 2 | BBCLASSEXTEND = "native nativesdk" 3 | -------------------------------------------------------------------------------- /meta-imx-sdk/recipes-connectivity/nfs-utils/nfs-utils_%.bbappend: -------------------------------------------------------------------------------- 1 | SYSTEMD_AUTO_ENABLE:${PN}-client ??= "disable" 2 | -------------------------------------------------------------------------------- /meta-imx-sdk/recipes-core/systemd/systemd-conf/imx-logind.conf: -------------------------------------------------------------------------------- 1 | # i.MX-specific 2 | [Login] 3 | HandlePowerKey=ignore 4 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.26.0.bbappend: -------------------------------------------------------------------------------- 1 | PACKAGECONFIG:remove = "a52dec mpeg2dec" 2 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-multimedia/gstreamer/gstreamer1.0-python_1.26.0.bbappend: -------------------------------------------------------------------------------- 1 | DEPENDS:append = " gstreamer1.0-plugins-bad" 2 | -------------------------------------------------------------------------------- /meta-imx-sdk/recipes-graphics/intel-gpu-tools/intel-gpu-tools_1.22.bbappend: -------------------------------------------------------------------------------- 1 | COMPATIBLE_HOST:imxgpu = "aarch64-poky-linux" 2 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-multimedia/gstreamer/gstreamer1.0/run-ptest: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | gnome-desktop-testing-runner gstreamer 3 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-core/udev/udev-rules-imx.bbappend: -------------------------------------------------------------------------------- 1 | # Update 10-imx.rules 2 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" 3 | 4 | -------------------------------------------------------------------------------- /meta-imx-sdk/recipes-fsl/packagegroup/packagegroup-fsl-tools-benchmark.bbappend: -------------------------------------------------------------------------------- 1 | RDEPENDS:${PN}:append = " \ 2 | iperf2 \ 3 | " 4 | -------------------------------------------------------------------------------- /meta-imx-sdk/recipes-connectivity/connman/connman-conf/mx943-nxp-bsp/main.conf: -------------------------------------------------------------------------------- 1 | [General] 2 | NetworkInterfaceBlacklist=eth0,swp0,swp1,swp2 3 | -------------------------------------------------------------------------------- /meta-imx-sdk/dynamic-layers/qt6-layer/recipes-fsl/images/imx-image-full-dev.bb: -------------------------------------------------------------------------------- 1 | require imx-image-full.bb 2 | 3 | IMAGE_FEATURES += "dev-pkgs" 4 | -------------------------------------------------------------------------------- /meta-imx-sdk/recipes-fsl/fsl-rc-local/fsl-rc-local.bbappend: -------------------------------------------------------------------------------- 1 | #Provide our own rc.local file 2 | FILESEXTRAPATHS:prepend := "${THISDIR}/files:" 3 | -------------------------------------------------------------------------------- /meta-imx-sdk/dynamic-layers/virtualization-layer/recipes-containers/docker/docker-moby_%.bbappend: -------------------------------------------------------------------------------- 1 | SYSTEMD_SERVICE:${PN}:remove = "docker.service" 2 | -------------------------------------------------------------------------------- /meta-imx-sdk/recipes-core/systemd/systemd-conf/imx943-eth0.network: -------------------------------------------------------------------------------- 1 | [Match] 2 | Name=eth0 3 | 4 | [Network] 5 | DHCP=no 6 | LinkLocalAddressing=no 7 | -------------------------------------------------------------------------------- /meta-imx-ml/recipes-nnstreamer/ssat/ssat_1.2.0.bb: -------------------------------------------------------------------------------- 1 | require ssat.inc 2 | 3 | SRCREV = "163516897314d6e0c437a84272e348f278038be3" 4 | PV .= "+git${SRCPV}" 5 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-graphics/wayland/weston/weston.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nxp-imx/meta-imx/HEAD/meta-imx-bsp/recipes-graphics/wayland/weston/weston.png -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-multimedia/x264/x264_%.bbappend: -------------------------------------------------------------------------------- 1 | LDFLAGS:append:mx6-nxp-bsp = " -Wl,-z,noexecstack" 2 | LDFLAGS:append:mx7-nxp-bsp = " -Wl,-z,noexecstack" 3 | -------------------------------------------------------------------------------- /meta-imx-sdk/recipes-core/systemd/systemd-conf/imx-wait-online.conf: -------------------------------------------------------------------------------- 1 | [Service] 2 | ExecStart= 3 | ExecStart=/usr/lib/systemd/systemd-networkd-wait-online --any 4 | -------------------------------------------------------------------------------- /meta-imx-sdk/dynamic-layers/qt6-layer/recipes-python/pyside6/python3-pyside6_git.bbappend: -------------------------------------------------------------------------------- 1 | EXTRA_OECMAKE += "-DQFP_PYTHON_SITE_PACKAGES=${PYTHON_SITEPACKAGES_DIR}" 2 | -------------------------------------------------------------------------------- /meta-imx-sdk/dynamic-layers/qt6-layer/recipes-python/pyside6/python3-shiboken6_git.bbappend: -------------------------------------------------------------------------------- 1 | EXTRA_OECMAKE += "-DQFP_PYTHON_SITE_PACKAGES=${PYTHON_SITEPACKAGES_DIR}" 2 | -------------------------------------------------------------------------------- /meta-imx-sdk/recipes-fsl/images/fsl-image-gui.bb: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "Freescale Image" 2 | LICENSE = "MIT" 3 | 4 | require recipes-fsl/images/fsl-image-validation-imx.bb 5 | -------------------------------------------------------------------------------- /meta-imx-sdk/recipes-fsl/images/fsl-image-validation-imx.bb: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "NXP Image" 2 | LICENSE = "MIT" 3 | 4 | require recipes-fsl/images/imx-image-multimedia.bb 5 | -------------------------------------------------------------------------------- /meta-imx-ml/recipes-multimedia/gstreamer/gstreamer1.0_%.imx.bbappend: -------------------------------------------------------------------------------- 1 | PACKAGECONFIG:append:mx8-nxp-bsp = " tracer-hooks" 2 | PACKAGECONFIG:append:mx9-nxp-bsp = " tracer-hooks" 3 | -------------------------------------------------------------------------------- /meta-imx-sdk/recipes-core/systemd/systemd-conf/imx943-dsa.network: -------------------------------------------------------------------------------- 1 | [Match] 2 | Name=swp* 3 | 4 | [Network] 5 | DHCP=yes 6 | LinkLocalAddressing=no 7 | KeepConfiguration=no 8 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-security/optee/optee-os_4.6.0.imx.bb: -------------------------------------------------------------------------------- 1 | require optee-os-imx.inc 2 | 3 | SRCBRANCH = "lf-6.12.34_2.1.0" 4 | SRCREV = "788dc101b05ae47bfaa1a9e66ec620d6c0d9be19" 5 | -------------------------------------------------------------------------------- /meta-imx-sdk/dynamic-layers/qt6-layer/recipes-qt/qt6/qtmultimedia_%.bbappend: -------------------------------------------------------------------------------- 1 | DEPENDS += " \ 2 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libxrandr', '', d)} \ 3 | " 4 | -------------------------------------------------------------------------------- /meta-imx-sdk/recipes-core/systemd/systemd-conf/imx-unmanage.network: -------------------------------------------------------------------------------- 1 | [Match] 2 | Name=* 3 | KernelCommandLine=nfsroot 4 | KernelCommandLine=ip 5 | 6 | [Link] 7 | Unmanaged=yes 8 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-core/busybox/busybox/ftpget.cfg: -------------------------------------------------------------------------------- 1 | CONFIG_FTPGET=y 2 | CONFIG_FEATURE_FTPGETPUT_LONG_OPTIONS=y 3 | CONFIG_FEATURE_DD_IBS_OBS=y 4 | CONFIG_FEATURE_HEXDUMP_REVERSE=y 5 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-graphics/xorg-xserver/xserver-xf86-config_%.bbappend: -------------------------------------------------------------------------------- 1 | # Append path for freescale layer to include bsp xorg.conf 2 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" 3 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-core/busybox/busybox_%.bbappend: -------------------------------------------------------------------------------- 1 | 2 | # look for files in the layer first 3 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" 4 | 5 | SRC_URI += "file://ftpget.cfg" 6 | 7 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-security/optee/optee-client_4.6.0.imx.bb: -------------------------------------------------------------------------------- 1 | require optee-client-imx.inc 2 | 3 | SRCBRANCH = "lf-6.12.34_2.1.0" 4 | SRCREV = "1d91b8933a899fe50d6e650bd9a47603598e22ff" 5 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-core/psplash/files/imx.conf: -------------------------------------------------------------------------------- 1 | [Service] 2 | ExecStart= 3 | ExecStart=/bin/sh -c 'FB_NUM=$(echo %i | sed "s/[^0-9]*//g"); /usr/bin/psplash --fbdev $FB_NUM --no-console-switch' 4 | -------------------------------------------------------------------------------- /meta-imx-sdk/recipes-fsl/images/fsl-image-mfgtool-initramfs.bbappend: -------------------------------------------------------------------------------- 1 | # Replace linux-mfgtool with virtual/kernel 2 | 3 | DEPENDS:remove = "linux-mfgtool" 4 | DEPENDS:append = " virtual/kernel" 5 | -------------------------------------------------------------------------------- /meta-imx-sdk/recipes-graphics/devil/devil_%.bbappend: -------------------------------------------------------------------------------- 1 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" 2 | 3 | SRC_URI += "file://0001-CMakeLists-Use-CMAKE_INSTALL_LIBDIR-for-install-libs.patch" 4 | -------------------------------------------------------------------------------- /meta-imx-bsp/conf/machine/imx8mnddr3levk.conf: -------------------------------------------------------------------------------- 1 | # DEPRECATED: Machine is renamed, please use imx8mnul-ddr3l-evk 2 | MACHINEOVERRIDES =. "imx8mnul-ddr3l-evk:" 3 | require conf/machine/imx8mnul-ddr3l-evk.conf -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-core/udev/udev-extraconf/imx-nxp-bsp/blacklist.conf: -------------------------------------------------------------------------------- 1 | # blacklist 2 | # Users can manually load it with modprobe later after booting. 3 | blacklist evbug 4 | blacklist btnxpuart 5 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-devtools/qemu/qemu/qemu-guest-agent.udev: -------------------------------------------------------------------------------- 1 | SUBSYSTEM=="virtio-ports", ATTR{name}=="org.qemu.guest_agent.0", \ 2 | TAG+="systemd", ENV{SYSTEMD_WANTS}="qemu-guest-agent.service" 3 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-security/optee/optee-os-tadevkit_4.6.0.imx.bb: -------------------------------------------------------------------------------- 1 | require optee-os-tadevkit-imx.inc 2 | 3 | SRCBRANCH = "lf-6.12.34_2.1.0" 4 | SRCREV = "788dc101b05ae47bfaa1a9e66ec620d6c0d9be19" 5 | -------------------------------------------------------------------------------- /meta-imx-bsp/conf/machine/imx6ulz14x14evk.conf: -------------------------------------------------------------------------------- 1 | # DEPRECATED: Machine is renamed, please use imx6ulz-14x14-evk 2 | MACHINEOVERRIDES =. "imx6ulz-14x14-evk:" 3 | require conf/machine/imx6ulz-14x14-evk.conf 4 | -------------------------------------------------------------------------------- /meta-imx-ml/recipes-libraries/tvm/files/tvm_runtime.pc.in: -------------------------------------------------------------------------------- 1 | Name: tvm 2 | Description: tvm library 3 | Version: @version@ 4 | Requires: 5 | Libs: -L@libdir@ -ltvm_runtime 6 | Cflags: -I@includedir@ 7 | -------------------------------------------------------------------------------- /meta-imx-sdk/dynamic-layers/flutter-layer/recipes-flutter/images/app-container-user.bbappend: -------------------------------------------------------------------------------- 1 | # FIXME: Drop this when meta-flutter is migrated to Styhead 2 | S = "${WORKDIR}/sources" 3 | UNPACKDIR = "${S}" 4 | -------------------------------------------------------------------------------- /meta-imx-sdk/recipes-connectivity/avahi/avahi_%.bbappend: -------------------------------------------------------------------------------- 1 | # Disable switch port management 2 | DENY_INTERFACES:mx943-nxp-bsp ??= "eth0,swp0,swp1,swp2" 3 | PACKAGE_ARCH:mx943-nxp-bsp = "${MACHINE_SOCARCH}" 4 | -------------------------------------------------------------------------------- /meta-imx-sdk/recipes-core/packagegroup/nativesdk-packagegroup-sdk-host.bbappend: -------------------------------------------------------------------------------- 1 | RDEPENDS:${PN} += " \ 2 | nativesdk-glslang \ 3 | nativesdk-python3-pyelftools \ 4 | nativesdk-efitools \ 5 | " 6 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-kernel/cryptodev/cryptodev-linux_1.14.bbappend: -------------------------------------------------------------------------------- 1 | FILESEXTRAPATHS:prepend := "${THISDIR}/${BPN}:" 2 | 3 | SRC_URI += "file://0001-add-support-for-RSA-public-and-private-key-operation.patch" 4 | -------------------------------------------------------------------------------- /meta-imx-sdk/recipes-graphics/mesa/mesa.bbappend: -------------------------------------------------------------------------------- 1 | SRC_URI:append:mx943-nxp-bsp = " file://0001-MGS-7673-egl-dri2-fix-video-showing-wrong-frame.patch" 2 | 3 | PACKAGE_ARCH:imx-nxp-bsp = "${MACHINE_SOCARCH}" 4 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-graphics/wayland/weston/xwayland.weston-start: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | if type Xwayland >/dev/null 2>/dev/null; then 4 | mkdir -m 775 -p /tmp/.X11-unix 5 | chown root:video /tmp/.X11-unix 6 | fi 7 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-multimedia/alsa/alsa-lib_%.bbappend: -------------------------------------------------------------------------------- 1 | # override meta-freescale/recipes-multimedia/alsa/alsa-lib_%.bbappend 2 | GLIBC_64BIT_TIME_FLAGS:arm:imx-nxp-bsp = " -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64" 3 | -------------------------------------------------------------------------------- /meta-imx-bsp/classes/fsl-eula-recent.bbclass: -------------------------------------------------------------------------------- 1 | # fsl-eula-recent.bbclass extends the naming scheme in fsl-eula.bbclass 2 | # to allow for source-specific archives. 3 | IMX_PACKAGE_NAME:append = "-${IMX_SRCREV_ABBREV}" 4 | -------------------------------------------------------------------------------- /meta-imx-sdk/dynamic-layers/flutter-layer/recipes-flutter/flutter-apps/flutter-super-dash-super-dash_%.bbappend: -------------------------------------------------------------------------------- 1 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" 2 | 3 | SRC_URI += "file://0001-ordered_set-6.1.1.patch" 4 | -------------------------------------------------------------------------------- /meta-imx-sdk/dynamic-layers/qt6-layer/recipes-qt/qt6/qtquick3d_git.bbappend: -------------------------------------------------------------------------------- 1 | PACKAGECONFIG:class-target:append = " openxr" 2 | 3 | PACKAGECONFIG[openxr] = "-DFEATURE_quick3dxr_openxr=ON,-DFEATURE_quick3dxr_openxr=OFF" 4 | -------------------------------------------------------------------------------- /meta-imx-sdk/recipes-filter/libnfnetlink/libnfnetlink_%.bbappend: -------------------------------------------------------------------------------- 1 | FILESEXTRAPATHS:prepend := "${THISDIR}/files:" 2 | SRC_URI:append:imx-nxp-bsp = " file://0001-libnfnetlink-1.0.2-add-non-blocking-mode-and-missing.patch" 3 | -------------------------------------------------------------------------------- /meta-imx-bsp/conf/machine/imx8dxmek.conf: -------------------------------------------------------------------------------- 1 | # DEPRECATED: Machine is renamed, please use imx8dx-mek 2 | MACHINEOVERRIDES =. "imx8dx-mek:" 3 | require conf/machine/imx8dx-mek.conf 4 | KERNEL_DEVICETREE_BASENAME = "imx8dx-mek" 5 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-core/udev/udev-extraconf/mx6sx-nxp-bsp/blacklist.conf: -------------------------------------------------------------------------------- 1 | # blacklist 2 | # Users can manually load it with modprobe later after booting. 3 | blacklist evbug 4 | blacklist mxc_vadc 5 | blacklist btnxpuart 6 | -------------------------------------------------------------------------------- /meta-imx-sdk/dynamic-layers/qt6-layer/recipes-graphics/mesa/mesa.bbappend: -------------------------------------------------------------------------------- 1 | PACKAGECONFIG:remove = "${PACKAGECONFIG_REMOVALS}" 2 | PACKAGECONFIG_REMOVALS ?= "" 3 | PACKAGECONFIG_REMOVALS:mx8mm-nxp-bsp ?= "vulkan" 4 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-core/systemd/systemd_%.bbappend: -------------------------------------------------------------------------------- 1 | FILESEXTRAPATHS:prepend := "${THISDIR}/${BPN}:" 2 | 3 | SRC_URI += "file://0001-units-systemd-udevd-Set-PrivateMounts-to-no.patch" 4 | 5 | PACKAGECONFIG:append = " sysvinit" 6 | -------------------------------------------------------------------------------- /meta-imx-sdk/dynamic-layers/openembedded-layer/recipes-fsl/packagegroups/packagegroup-fsl-tools-gpu-external.bbappend: -------------------------------------------------------------------------------- 1 | WAYLAND_TOOLS:append = " \ 2 | ${@bb.utils.contains("DISTRO_FEATURES", "x11", "renderdoc", "", d)} \ 3 | " 4 | -------------------------------------------------------------------------------- /meta-imx-sdk/dynamic-layers/qt6-layer/recipes-fsl/images/fsl-image-qt6.bb: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "Freescale Image - Adds Qt6" 2 | LICENSE = "MIT" 3 | 4 | require dynamic-layers/qt6-layer/recipes-fsl/images/fsl-image-qt6-validation-imx.bb 5 | -------------------------------------------------------------------------------- /meta-imx-sdk/recipes-fsl/packagegroup/packagegroup-core-tools-profile.bbappend: -------------------------------------------------------------------------------- 1 | # Disable lttng-tools temporarily as there's build break based on k5.5 rebase 2 | LTTNGTOOLS:imx-nxp-bsp = "" 3 | 4 | VALGRIND += "valgrind-callgrind" 5 | -------------------------------------------------------------------------------- /meta-imx-bsp/conf/machine/imx8qxpmek.conf: -------------------------------------------------------------------------------- 1 | # DEPRECATED: Machine is renamed, please use imx8qxp-b0-mek 2 | MACHINEOVERRIDES =. "imx8qxp-b0-mek:" 3 | require conf/machine/imx8qxp-b0-mek.conf 4 | KERNEL_DEVICETREE_BASENAME = "imx8qxp-mek" 5 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-core/systemd/systemd-gpuconfig/gpuconfig.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Configuration for i.MX GPU (Former rc_gpu.S) 3 | 4 | [Service] 5 | ExecStart=/etc/gpuconfig 6 | 7 | [Install] 8 | WantedBy=multi-user.target 9 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-devtools/qemu/qemu-native.inc: -------------------------------------------------------------------------------- 1 | require qemu.inc 2 | 3 | inherit_defer native 4 | 5 | EXTRA_OEMAKE:append = " LD='${LD}' AR='${AR}' OBJCOPY='${OBJCOPY}' LDFLAGS='${LDFLAGS}'" 6 | 7 | LDFLAGS:append = " -fuse-ld=bfd" 8 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend: -------------------------------------------------------------------------------- 1 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" 2 | 3 | SRC_URI:append:imxgpu = " \ 4 | file://0001-glamor-Fix-fbo-pixmap-format-with-GL_BGRA_EXT.patch \ 5 | " 6 | 7 | -------------------------------------------------------------------------------- /meta-imx-sdk/dynamic-layers/openembedded-layer/recipes-devtools/rapidjson/rapidjson_git.bbappend: -------------------------------------------------------------------------------- 1 | FILESEXTRAPATHS:prepend := "${THISDIR}/files:" 2 | 3 | SRC_URI += "file://0001-CMakeLists.txt-Fix-lib-path-to-work-in-multilib-env.patch" 4 | -------------------------------------------------------------------------------- /meta-imx-ml/recipes-devtools/flatbuffers/files/flatbuffers.pc.in: -------------------------------------------------------------------------------- 1 | Name: flatbuffers 2 | Description: memory efficient serialization library 3 | Version: @version@ 4 | Requires: 5 | Libs: -L@libdir@ -lflatbuffers 6 | Cflags: -I@includedir@ 7 | 8 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-graphics/wayland/weston/weston.desktop: -------------------------------------------------------------------------------- 1 | [Desktop Entry] 2 | Encoding=UTF-8 3 | Type=Application 4 | Name=Weston 5 | Comment=Wayland Compostitor 6 | Exec=weston 7 | Icon=weston 8 | Terminal=false 9 | Categories=Utility; 10 | -------------------------------------------------------------------------------- /meta-imx-bsp/conf/machine/imx8qxpc0lpddr4arm2.conf: -------------------------------------------------------------------------------- 1 | #@TYPE: Machine 2 | #@NAME: i.MX 8QXP MEK 3 | #@DESCRIPTION: i.MX 8QXP C0 LPDDR4 ARM2 Development board 4 | 5 | require conf/machine/imx8qxplpddr4arm2.conf 6 | 7 | MACHINE_FEATURES:remove = "soc-revb0" 8 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-kernel/kernel-modules/kernel-module-nxp-wlan_git.bbappend: -------------------------------------------------------------------------------- 1 | # Use latest NXP Wi-Fi kernel module 2 | SRC_URI = "${MRVL_SRC};branch=${SRCBRANCH}" 3 | SRCBRANCH = "lf-6.12.34_2.1.0" 4 | SRCREV = "1e1f69bf38369807443e8f567cac63e26fe80881" 5 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-multimedia/wireplumber/files/imx-nxp-bsp/80-disable-logind.conf: -------------------------------------------------------------------------------- 1 | # Disabling seat monitoring via logind in the BlueZ monitor 2 | wireplumber.profiles = { 3 | main = { 4 | monitor.bluez.seat-monitoring = disabled 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /meta-imx-ml/recipes-libraries/litert/litert-1.2.0.inc: -------------------------------------------------------------------------------- 1 | # Copyright 2025 NXP 2 | 3 | LITERT_SRC ?= "gitsm://github.com/nxp-imx/litert-imx.git;protocol=https" 4 | SRCBRANCH_litert = "lf-6.12.34_2.1.0" 5 | SRCREV_litert = "93beb1f762fde4f8958430637cb0207b575d657d" 6 | -------------------------------------------------------------------------------- /meta-imx-sdk/dynamic-layers/qt6-layer/recipes-qt/qt6/qtbase/qt-linuxfb.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | if test -z $XDG_RUNTIME_DIR; then 3 | export XDG_RUNTIME_DIR=/run/user/$(id -u) 4 | if [ ! -d $XDG_RUNTIME_DIR ]; then 5 | mkdir -m 700 -p $XDG_RUNTIME_DIR 6 | fi 7 | fi 8 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-core/initscripts/arm/imx-nxp-bsp/alignment.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | ### BEGIN INIT INFO 3 | # Provides: alignment 4 | # Required-Start: mountkernfs 5 | # Required-Stop: mountkernfs 6 | # Default-Start: S 7 | # Default-Stop: 8 | ### END INIT INFO 9 | -------------------------------------------------------------------------------- /meta-imx-ml/recipes-libraries/tensorflow-lite/tensorflow-lite/tensorflow-lite.pc.in: -------------------------------------------------------------------------------- 1 | Name: tensorflow lite 2 | Description: tensorflow lite static library 3 | Version: @version@ 4 | Requires: 5 | Libs: -L@libdir@ -ltensorflow-lite -lrt 6 | Cflags: -I@includedir@ 7 | -------------------------------------------------------------------------------- /meta-imx-sdk/recipes-connectivity/connman/connman-conf.bbappend: -------------------------------------------------------------------------------- 1 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" 2 | 3 | do_install:append:mx943-nxp-bsp() { 4 | mkdir -p ${D}${sysconfdir}/connman 5 | cp ${S}/main.conf ${D}${sysconfdir}/connman/main.conf 6 | } 7 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-core/initscripts/initscripts_%.bbappend: -------------------------------------------------------------------------------- 1 | # Append to remove /proc/cpu/aligntment from alignmnet script 2 | FILESEXTRAPATHS:prepend := "${THISDIR}/arm:" 3 | 4 | SRC_URI:append:imx-nxp-bsp = " file://alignment.sh " 5 | 6 | PACKAGE_ARCH = "${MACHINE_ARCH}" 7 | -------------------------------------------------------------------------------- /meta-imx-sdk/dynamic-layers/flutter-layer/recipes-flutter/packagegroup/packagegroup-flutter-samples.bbappend: -------------------------------------------------------------------------------- 1 | # Not supported on Linux 2 | RDEPENDS:${PN}:remove:imx-nxp-bsp = " \ 3 | flutter-samples-flutter-maps-firestore \ 4 | flutter-samples-pedometer-example \ 5 | " 6 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-core/psplash/files/mx6-generic-bsp/imx.conf: -------------------------------------------------------------------------------- 1 | [Service] 2 | ExecCondition=/bin/sh -c '! /usr/sbin/fbset -i -fb /dev/%i | grep -Eq \'epdc|Name *: FG\'' 3 | ExecStart= 4 | ExecStart=/bin/sh -c 'FB_NUM=$(echo %i | sed "s/[^0-9]*//g"); /usr/bin/psplash --fbdev $FB_NUM' 5 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-multimedia/alsa/alsa-utils_%.bbappend: -------------------------------------------------------------------------------- 1 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" 2 | 3 | SRC_URI += "file://0001-alsa-utils-alsactl-Enable-no-lock-flag-for-service.patch \ 4 | file://0001-Revert-aplay-fix-S24_LE-wav-header.patch \ 5 | " 6 | -------------------------------------------------------------------------------- /meta-imx-ml/recipes-libraries/tensorflow-lite/tensorflow-lite-2.19.0.inc: -------------------------------------------------------------------------------- 1 | # Copyright 2020-2025 NXP 2 | 3 | TENSORFLOW_LITE_SRC ?= "git://github.com/nxp-imx/tensorflow-imx.git;protocol=https" 4 | SRCBRANCH_tf = "lf-6.12.34_2.1.0" 5 | SRCREV_tf = "b1efee535703aa620b542fc9a3cd1fea23ea8baa" 6 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-core/psplash/files/mx8ulp-generic-bsp/imx.conf: -------------------------------------------------------------------------------- 1 | [Service] 2 | ExecCondition=/bin/sh -c '! /usr/sbin/fbset -i -fb /dev/%i | grep -q epdc' 3 | ExecStart= 4 | ExecStart=/bin/sh -c 'FB_NUM=$(echo %i | sed "s/[^0-9]*//g"); /usr/bin/psplash --fbdev $FB_NUM --no-console-switch' 5 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-multimedia/imx-parser/imx-parser_4.10.1.bb: -------------------------------------------------------------------------------- 1 | include imx-parser.inc 2 | 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=bc649096ad3928ec06a8713b8d787eac" 4 | 5 | SRC_URI[sha256sum] = "fe62a30d0a682d611577e6a3d8732810cca6cf30ef45e95762774cefc4fd6dae" 6 | IMX_SRCREV_ABBREV = "ac58c04" 7 | -------------------------------------------------------------------------------- /meta-imx-sdk/dynamic-layers/flutter-layer/recipes-flutter/flutter-engine/flutter-engine_git.bbappend: -------------------------------------------------------------------------------- 1 | DEPENDS:append = " ninja-native" 2 | 3 | do_configure:prepend() { 4 | # FIXME: Drop this when meta-flutter is migrated to Styhead 5 | ln -sf ${UNPACKDIR}/BUILD.gn.in ${WORKDIR}/BUILD.gn.in 6 | } 7 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-graphics/wayland/weston/systemd-notify.weston-start: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # SPDX-FileCopyrightText: Huawei Inc. 4 | # SPDX-License-Identifier: Apache-2.0 5 | 6 | 7 | if [[ -x "/usr/lib/weston/systemd-notify.so" ]]; then 8 | add_weston_module "systemd-notify.so" 9 | fi 10 | -------------------------------------------------------------------------------- /meta-imx-sdk/dynamic-layers/openembedded-layer/recipes-graphics/vk-gl-cts/opengl-es-cts_%.bbappend: -------------------------------------------------------------------------------- 1 | PACKAGECONFIG ?= "egl ${@bb.utils.filter('DISTRO_FEATURES', 'wayland x11', d)}" 2 | 3 | PACKAGECONFIG[egl] = ",,virtual/egl" 4 | PACKAGECONFIG[x11] = ",,libxcb libx11 libxrandr" 5 | 6 | CTSDIR = "/opt/${BPN}" 7 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-security/optee/optee-client/tee-supplicant@.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=TEE Supplicant on %i 3 | 4 | [Service] 5 | User=root 6 | EnvironmentFile=-@sysconfdir@/default/tee-supplicant 7 | ExecStart=@sbindir@/tee-supplicant $OPTARGS 8 | 9 | [Install] 10 | WantedBy=basic.target 11 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-graphics/xinput-calibrator/xinput-calibrator_%.bbappend: -------------------------------------------------------------------------------- 1 | # FIXME: Here it can avoid xinput_calibrator run under background 2 | # when Desktop shows 3 | do_install:append() { 4 | # Remove the xinput_calibrator.desktop from xdg/autostart 5 | rm -rf ${D}${sysconfdir}/xdg/autostart 6 | } 7 | 8 | -------------------------------------------------------------------------------- /meta-imx-sdk/recipes-fsl/packagegroup/packagegroup-fsl-mfgtool.bbappend: -------------------------------------------------------------------------------- 1 | RDEPENDS:${PN}-base += " \ 2 | gptfdisk \ 3 | hdparm \ 4 | iproute2 \ 5 | nfs-utils \ 6 | simg2img \ 7 | tar \ 8 | zstd \ 9 | " 10 | 11 | RDEPENDS:${PN}-extfs += " \ 12 | e2fsprogs \ 13 | f2fs-tools \ 14 | " 15 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-graphics/wayland/required-distro-features.inc: -------------------------------------------------------------------------------- 1 | # distro features required by weston recipes 2 | 3 | inherit features_check 4 | 5 | # requires pam enabled if started via systemd 6 | # 7 | REQUIRED_DISTRO_FEATURES = "wayland opengl ${@oe.utils.conditional('VIRTUAL-RUNTIME_init_manager', 'systemd', 'pam', '', d)}" 8 | 9 | -------------------------------------------------------------------------------- /meta-imx-sdk/conf/distro/fsl-imx-fb.conf: -------------------------------------------------------------------------------- 1 | # i.MX DISTRO for the FrameBuffer graphical backend. 2 | 3 | include conf/distro/include/fsl-imx-base.inc 4 | include conf/distro/include/fsl-imx-preferred-env.inc 5 | 6 | DISTRO = "fsl-imx-fb" 7 | 8 | # Remove conflicting backends. 9 | DISTRO_FEATURES:remove = "x11 wayland directfb " 10 | -------------------------------------------------------------------------------- /meta-imx-sdk/dynamic-layers/openembedded-layer/recipes-graphics/vk-gl-cts/opengl-es-cts_3.2.11.0.bbappend: -------------------------------------------------------------------------------- 1 | FILESEXTRAPATHS:prepend := "${THISDIR}/${BP}:" 2 | 3 | SRC_URI += " \ 4 | file://0001-MGS-4031-Report-NotSupported-for-OpenVG-tests-on-non.patch \ 5 | file://0002-CL489625-escts-3.2.8-Fix-escts3.2.8-fail-on-8mm-boar.patch" 6 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-graphics/xorg-xserver/xserver-xf86-config/imxdrm/xorg.conf: -------------------------------------------------------------------------------- 1 | Section "Module" 2 | Load "dri2" 3 | Load "glamoregl" 4 | EndSection 5 | 6 | Section "ServerFlags" 7 | Option "BlankTime" "0" 8 | Option "StandbyTime" "0" 9 | Option "SuspendTime" "0" 10 | Option "OffTime" "0" 11 | EndSection 12 | -------------------------------------------------------------------------------- /meta-imx-sdk/dynamic-layers/virtualization-layer/recipes-extended/xen/xen-common.inc: -------------------------------------------------------------------------------- 1 | SRCBRANCH = "lf-6.12.34_2.1.0" 2 | XEN_SRC ?= "git://github.com/nxp-imx/imx-xen.git;protocol=https" 3 | SRC_URI = " ${XEN_SRC};branch=${SRCBRANCH}" 4 | SRCREV = "cdc97866e2f6c819a677770f17dffbdc70a03c08" 5 | XEN_REL = "4.19.imx" 6 | PV = "${XEN_REL}+stable" 7 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-devtools/qemu/qemu-native_9.0.2.imx.bb: -------------------------------------------------------------------------------- 1 | BPN = "qemu" 2 | 3 | DEPENDS += "glib-2.0-native zlib-native" 4 | 5 | require qemu-native.inc 6 | 7 | EXTRA_OECONF:append = " --target-list=${@get_qemu_usermode_target_list(d)} --disable-tools --disable-install-blobs --disable-guest-agent" 8 | 9 | PACKAGECONFIG ??= "pie" 10 | -------------------------------------------------------------------------------- /meta-imx-sdk/recipes-fsl/images/fsl-image-machine-test.bbappend: -------------------------------------------------------------------------------- 1 | IMAGE_FEATURES:remove = "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'x11-base', '', d)}" 2 | 3 | CORE_IMAGE_EXTRA_INSTALL += "${@bb.utils.contains('DISTRO_FEATURES', 'x11 wayland', \ 4 | 'weston-xwayland weston-init xterm', '', d)}" 5 | -------------------------------------------------------------------------------- /meta-imx-v2x/recipes-kernel/linux/linux-imx_%.bbappend: -------------------------------------------------------------------------------- 1 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" 2 | 3 | SRC_URI:append:mx8dxl-nxp-bsp = " \ 4 | file://0010-Add-FTRACE-support.patch \ 5 | file://0011-Add-definition-of-v2x_kernel_event-and-V2x_LOG_EVENT.patch \ 6 | file://0012-Add-example-use-of-V2x_LOG_EVENT-in-seco_mu.c.patch \ 7 | " 8 | -------------------------------------------------------------------------------- /meta-imx-sdk/recipes-fsl/packagegroup/packagegroup-fsl-gstreamer1.0.bbappend: -------------------------------------------------------------------------------- 1 | RDEPENDS:${PN} += " gstreamer1.0-rtsp-server" 2 | RDEPENDS:${PN}-base:remove = " \ 3 | gstreamer1.0-plugins-base-videoconvert \ 4 | gstreamer1.0-plugins-base-videoscale \ 5 | " 6 | RDEPENDS:${PN}-base:append = " \ 7 | gstreamer1.0-plugins-base-videoconvertscale \ 8 | " 9 | -------------------------------------------------------------------------------- /meta-imx-bsp/conf/machine/imx8dxla1-ddr3l-evk.conf: -------------------------------------------------------------------------------- 1 | #@TYPE: Machine 2 | #@NAME: i.MX 8DXL A1 EVK with DDR3L 3 | #@SOC: i.MX8DXL A1 4 | #@DESCRIPTION: Machine configuration for NXP i.MX 8DualXLite A1 Evaluation Kit with DDR3L 5 | #@MAINTAINER: Lauren Post 6 | 7 | MACHINEOVERRIDES =. "imx8dxl-a1-ddr3l-evk:" 8 | require conf/machine/imx8dxl-a1-ddr3l-evk.conf 9 | -------------------------------------------------------------------------------- /meta-imx-bsp/conf/machine/imx8dxlb0-ddr3l-evk.conf: -------------------------------------------------------------------------------- 1 | #@TYPE: Machine 2 | #@NAME: i.MX 8DXL B0 EVK with DDR3L 3 | #@SOC: i.MX8DXL B0 4 | #@DESCRIPTION: Machine configuration for NXP i.MX 8DualXLite B0 Evaluation Kit with DDR3L 5 | #@MAINTAINER: Lauren Post 6 | 7 | MACHINEOVERRIDES =. "imx8dxl-b0-ddr3l-evk:" 8 | require conf/machine/imx8dxl-b0-ddr3l-evk.conf 9 | -------------------------------------------------------------------------------- /meta-imx-sdk/conf/distro/fsl-imx-wayland.conf: -------------------------------------------------------------------------------- 1 | # i.MX DISTRO for Wayland without X11 2 | 3 | include conf/distro/include/fsl-imx-base.inc 4 | include conf/distro/include/fsl-imx-preferred-env.inc 5 | 6 | DISTRO = "fsl-imx-wayland" 7 | 8 | # Remove conflicting backends 9 | DISTRO_FEATURES:remove = "directfb x11 " 10 | DISTRO_FEATURES:append = " wayland pam systemd" 11 | -------------------------------------------------------------------------------- /meta-imx-bsp/conf/machine/imx8dxla1-lpddr4-evk.conf: -------------------------------------------------------------------------------- 1 | #@TYPE: Machine 2 | #@NAME: i.MX 8DXL A1 EVK with LPDDR4 3 | #@SOC: i.MX8DXL A1 4 | #@DESCRIPTION: Machine configuration for NXP i.MX 8DualXLite A1 Evaluation Kit with LPDDR4 5 | #@MAINTAINER: Lauren Post 6 | 7 | MACHINEOVERRIDES =. "imx8dxl-a1-lpddr4-evk:" 8 | require conf/machine/imx8dxl-a1-lpddr4-evk.conf 9 | -------------------------------------------------------------------------------- /meta-imx-bsp/conf/machine/imx8dxlb0-lpddr4-evk.conf: -------------------------------------------------------------------------------- 1 | #@TYPE: Machine 2 | #@NAME: i.MX 8DXL B0 EVK with LPDDR4 3 | #@SOC: i.MX8DXL B0 4 | #@DESCRIPTION: Machine configuration for NXP i.MX 8DualXLite B0 Evaluation Kit with LPDDR4 5 | #@MAINTAINER: Lauren Post 6 | 7 | MACHINEOVERRIDES =. "imx8dxl-b0-lpddr4-evk:" 8 | require conf/machine/imx8dxl-b0-lpddr4-evk.conf 9 | -------------------------------------------------------------------------------- /meta-imx-sdk/dynamic-layers/virtualization-layer/recipes-fsl/packagegroup/packagegroup-fsl-tools-testapps.bbappend: -------------------------------------------------------------------------------- 1 | # Install vhost-user back ends 2 | # https://www.qemu.org/docs/master/system/devices/vhost-user.html 3 | 4 | VHOST_USER_TOOLS ?= "" 5 | VHOST_USER_TOOLS:mx95-nxp-bsp = "vhost-device-vsock" 6 | 7 | RDEPENDS:${PN} += " \ 8 | ${VHOST_USER_TOOLS} \ 9 | " 10 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.4.11.p4.0-aarch64.bb: -------------------------------------------------------------------------------- 1 | require imx-gpu-viv-6-overrides.inc 2 | 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=bc649096ad3928ec06a8713b8d787eac" 4 | 5 | IMX_SRCREV_ABBREV = "032324a" 6 | 7 | SRC_URI[sha256sum] = "3ae1d186509fb44e75b00599d29bd3fb069a485eebfb53acc40cd7fee7d46b03" 8 | 9 | COMPATIBLE_MACHINE = "(mx8-nxp-bsp)" 10 | -------------------------------------------------------------------------------- /meta-imx-sdk/dynamic-layers/flutter-layer/recipes-flutter/packagegroup/packagegroup-imx-flutter.bb: -------------------------------------------------------------------------------- 1 | inherit packagegroup 2 | 3 | # Currently broken and removed from this list: packagegroup-flutter-super-dash 4 | RDEPENDS:${PN} = " \ 5 | flutter-wayland-client \ 6 | packagegroup-flutter-packages \ 7 | packagegroup-flutter-samples \ 8 | packagegroup-google-generative-ai-dart" 9 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-devtools/pkgconfig/pkgconfig_%.bbappend: -------------------------------------------------------------------------------- 1 | do_install:append:class-nativesdk () { 2 | sed -e "s|@PATH_NATIVE@|\$OECORE_NATIVE_SYSROOT|" \ 3 | -e "s|@LIBDIR_NATIVE@|\$OECORE_NATIVE_SYSROOT/usr/lib/pkgconfig|" \ 4 | < ${UNPACKDIR}/pkg-config-native.in > ${B}/pkg-config-native 5 | install -m755 ${B}/pkg-config-native ${D}${bindir}/pkg-config-native 6 | } 7 | -------------------------------------------------------------------------------- /meta-imx-bsp/conf/machine/imx8dxlb0-fips-lpddr4-evk.conf: -------------------------------------------------------------------------------- 1 | #@TYPE: Machine 2 | #@NAME: i.MX 8DXL B0 FIPS EVK with LPDDR4 3 | #@SOC: i.MX8DXL B0 4 | #@DESCRIPTION: Machine configuration for NXP i.MX 8DualXLite B0 with FIPS Evaluation Kit with LPDDR4 5 | #@MAINTAINER: Lauren Post 6 | 7 | MACHINEOVERRIDES =. "imx8dxl-b0-lpddr4-evk:" 8 | require conf/machine/imx8dxl-b0-lpddr4-evk.conf 9 | -------------------------------------------------------------------------------- /meta-imx-sdk/recipes-filter/libnetfilter/libnetfilter-conntrack_%.bbappend: -------------------------------------------------------------------------------- 1 | FILESEXTRAPATHS:prepend := "${THISDIR}/files:" 2 | 3 | SRC_URI:append:imx-nxp-bsp = " \ 4 | file://0001-cmm-ips_status_definitions.patch \ 5 | file://0002-cmm-socket_buffer_size.patch \ 6 | file://0003-cmm-comcerto_fp_info.patch \ 7 | file://0004-cmm-do_not_deprecate_nfct_maxsize.patch \ 8 | " 9 | 10 | -------------------------------------------------------------------------------- /meta-imx-bsp/conf/machine/include/imx6sabreauto-common.inc: -------------------------------------------------------------------------------- 1 | # Provides the i.MX6 SABRE AUTO common settings 2 | 3 | require conf/machine/include/imx-base.inc 4 | require conf/machine/include/arm/armv7a/tune-cortexa9.inc 5 | 6 | SERIAL_CONSOLES = "115200;ttymxc3" 7 | 8 | MACHINE_FIRMWARE:append:mx6-nxp-bsp = " linux-firmware-ath6k" 9 | 10 | MACHINE_FEATURES += " pci wifi bluetooth nxp8987-sdio" 11 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-bsp/efitools/efitools-native_1.9.2.bb: -------------------------------------------------------------------------------- 1 | require efitools.inc 2 | 3 | inherit native 4 | 5 | EXTRA_OEMAKE:append = " \ 6 | INCDIR_PREFIX='${STAGING_DIR_NATIVE}' \ 7 | CRTPATH_PREFIX='${STAGING_DIR_NATIVE}' \ 8 | " 9 | 10 | do_compile() { 11 | oe_runmake binaries 12 | } 13 | 14 | do_install() { 15 | oe_runmake install-binaries DESTDIR='${D}${base_prefix}' 16 | } 17 | -------------------------------------------------------------------------------- /meta-imx-bsp/conf/machine/imx95-a1-19x19-verdin.conf: -------------------------------------------------------------------------------- 1 | #@TYPE: Machine 2 | #@NAME: Toradex i.MX 95 A1 19x19 Verdin board 3 | #@SOC: i.MX95 4 | #@DESCRIPTION: Machine configuration for Toradex i.MX 95 Rev A1 19x19 Verdin board 5 | #@MAINTAINER: Flora Hu 6 | 7 | require imx95-19x19-verdin.conf 8 | IMX_SOC_REV:${MACHINE} = "A0" 9 | OEI_DDRCONFIG = "XIMX95LPD5EVK19_6400mbps_train_timing_a1" 10 | -------------------------------------------------------------------------------- /meta-imx-bsp/conf/machine/imx8qxp-b0-mek.conf: -------------------------------------------------------------------------------- 1 | #@TYPE: Machine 2 | #@NAME: i.MX 8QXP B0 MEK 3 | #@DESCRIPTION: i.MX 8QuadXPlus B0 Multisensory Enablement Kit board 4 | 5 | # Re-use imx8qxp-mek.conf, which is for rev C0. 6 | MACHINEOVERRIDES =. "imx8qxp-mek:" 7 | require conf/machine/imx8qxp-mek.conf 8 | KERNEL_DEVICETREE_BASENAME = "imx8qxp-mek" 9 | 10 | # Make it Rev B0 11 | MACHINE_FEATURES += "soc-revb0" 12 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-graphics/xorg-xserver/xserver-xf86-config/imx-nxp-bsp/xorg.conf: -------------------------------------------------------------------------------- 1 | Section "Device" 2 | Identifier "Kernel Framebuffer Device" 3 | Driver "fbdev" 4 | Option "fbdev" "/dev/fb0" 5 | EndSection 6 | 7 | Section "ServerFlags" 8 | Option "BlankTime" "0" 9 | Option "StandbyTime" "0" 10 | Option "SuspendTime" "0" 11 | Option "OffTime" "0" 12 | EndSection 13 | -------------------------------------------------------------------------------- /meta-imx-sdk/dynamic-layers/clang-layer/recipes-fsl/packagegroup/packagegroup-fsl-tools-testapps.bbappend: -------------------------------------------------------------------------------- 1 | RDEPENDS_XDP_FP = "" 2 | RDEPENDS_XDP_FP:mx95-nxp-bsp = "xdp-fp" 3 | RDEPENDS_XDP_FP:mx943-nxp-bsp = "xdp-fp" 4 | 5 | RDEPENDS_CMM = "" 6 | RDEPENDS_CMM:mx95-nxp-bsp = "cmm" 7 | RDEPENDS_CMM:mx943-nxp-bsp = "cmm" 8 | 9 | RDEPENDS:${PN} += " \ 10 | ${RDEPENDS_XDP_FP} \ 11 | ${RDEPENDS_CMM} \ 12 | " 13 | -------------------------------------------------------------------------------- /meta-imx-bsp/conf/machine/include/imx6sabresd-common.inc: -------------------------------------------------------------------------------- 1 | # Provides the i.MX6 SABRE SD common settings 2 | 3 | require conf/machine/include/imx-base.inc 4 | require conf/machine/include/arm/armv7a/tune-cortexa9.inc 5 | 6 | SERIAL_CONSOLES = "115200;ttymxc0" 7 | 8 | MACHINE_FIRMWARE:append:mx6-nxp-bsp = " linux-firmware-ath6k" 9 | 10 | MACHINE_FEATURES += " pci wifi bluetooth bcm4339 bcm43455 nxpwifi-all-sdio" 11 | -------------------------------------------------------------------------------- /meta-imx-sdk/dynamic-layers/matter-layer/recipes-fsl/packagegroup/packagegroup-fsl-tools-testapps.bbappend: -------------------------------------------------------------------------------- 1 | # Add needed Freescale packages and definitions 2 | 3 | # Install matter related tools 4 | NXP_MATTER_TOOLS ?= "" 5 | NXP_MATTER_TOOLS:imx-nxp-bsp = " \ 6 | packagegroup-nxp-matter-baseline \ 7 | packagegroup-nxp-openthread \ 8 | " 9 | 10 | RDEPENDS:${PN} += " \ 11 | ${NXP_MATTER_TOOLS} \ 12 | " 13 | -------------------------------------------------------------------------------- /meta-imx-bsp/conf/machine/imx95-a1-19x19-lpddr5-evk.conf: -------------------------------------------------------------------------------- 1 | #@TYPE: Machine 2 | #@NAME: NXP i.MX 95 A1 19x19 Evaluation Kit with LPDDR5 3 | #@SOC: i.MX95 4 | #@DESCRIPTION: Machine configuration for NXP i.MX 95 Rev A1 19x19 EVK with LPDDR5 5 | #@MAINTAINER: Jun Zhu 6 | 7 | require imx95-19x19-lpddr5-evk.conf 8 | IMX_SOC_REV:${MACHINE} = "A0" 9 | OEI_DDRCONFIG = "XIMX95LPD5EVK19_6400mbps_train_timing_a1" 10 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-security/optee/optee-client/optee-udev.rules: -------------------------------------------------------------------------------- 1 | KERNEL=="tee[0-9]*", MODE="0660", OWNER="root", GROUP="teeclnt", TAG+="systemd" 2 | 3 | # If a /dev/teepriv[0-9]* device is detected, start an instance of 4 | # tee-supplicant.service with the device name as parameter 5 | KERNEL=="teepriv[0-9]*", MODE="0660", OWNER="root", GROUP="teeclnt", \ 6 | TAG+="systemd", ENV{SYSTEMD_WANTS}+="tee-supplicant@%k.service" 7 | -------------------------------------------------------------------------------- /meta-imx-bsp/conf/machine/imx95-a1-15x15-lpddr4x-evk.conf: -------------------------------------------------------------------------------- 1 | #@TYPE: Machine 2 | #@NAME: NXP i.MX 95 A1 15x15 Evaluation Kit with LPDDR4x 3 | #@SOC: i.MX95 4 | #@DESCRIPTION: Machine configuration for NXP i.MX 95 Rev A1 15x15 EVK with LPDDR4x 5 | ##@MAINTAINER: Jun Zhu 6 | 7 | require imx95-15x15-lpddr4x-evk.conf 8 | IMX_SOC_REV:${MACHINE} = "A0" 9 | OEI_DDRCONFIG = "XIMX95LPD4XCPU15_4000mbps_train_timing_a1" 10 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.4.11.p4.0-aarch32.bb: -------------------------------------------------------------------------------- 1 | require imx-gpu-viv-6-overrides.inc 2 | 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=bc649096ad3928ec06a8713b8d787eac" 4 | 5 | IMX_SRCREV_ABBREV = "032324a" 6 | 7 | SRC_URI[sha256sum] = "a6804e046d40e25751537f62ed83c5bfc3c3d31ac63eaee70039a12b75fa6405" 8 | 9 | COMPATIBLE_MACHINE = "(mx6q-nxp-bsp|mx6dl-nxp-bsp|mx6sx-nxp-bsp|mx6sl-nxp-bsp|mx7ulp-nxp-bsp)" 10 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-fsl/mcore-demos/imx-mcore-demos_25.09.00.bb: -------------------------------------------------------------------------------- 1 | # Copyright 2025 NXP 2 | # Released under the MIT license (see COPYING.MIT for the terms) 3 | 4 | require imx-mcore-demos.inc 5 | 6 | LIC_FILES_CHKSUM:mx943-nxp-bsp = "file://COPYING;md5=bc649096ad3928ec06a8713b8d787eac" 7 | 8 | SRC_URI[imx943.sha256sum] = "ca18926237f4d2cdc0d560cb9613e07a945c80027ce7c98a0bff537448e4c1a7" 9 | 10 | COMPATIBLE_MACHINE = "(mx943-nxp-bsp)" 11 | -------------------------------------------------------------------------------- /meta-imx-sdk/recipes-fsl/images/fsl-image-multimedia.bbappend: -------------------------------------------------------------------------------- 1 | IMAGE_FEATURES:remove = "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'x11-base', '', d)}" 2 | 3 | CORE_IMAGE_EXTRA_INSTALL += "${@bb.utils.contains('DISTRO_FEATURES', 'x11 wayland', \ 4 | 'weston-xwayland weston-init weston-examples \ 5 | gtk+3-demo clutter-1.0-examples xterm', '', d)}" 6 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-fsl/mcore-demos/imx-m33-demos_25.06.00.bb: -------------------------------------------------------------------------------- 1 | # Copyright 2023-2025 NXP 2 | # Released under the MIT license (see COPYING.MIT for the terms) 3 | 4 | require imx-mcore-demos.inc 5 | 6 | LIC_FILES_CHKSUM:mx93-nxp-bsp = "file://COPYING;md5=a93b654673e1bc8398ed1f30e0813359" 7 | 8 | SRC_URI[imx93.sha256sum] = "275256ab9a7aca0b72dbd2ddb4f237f2ad9b02a83ae63242b2d9e6804a918b93" 9 | 10 | COMPATIBLE_MACHINE = "(mx93-nxp-bsp)" 11 | 12 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-fsl/mcore-demos/imx-m33-demos_25.03.00.bb: -------------------------------------------------------------------------------- 1 | # Copyright 2023-2025 NXP 2 | # Released under the MIT license (see COPYING.MIT for the terms) 3 | 4 | require imx-mcore-demos.inc 5 | 6 | LIC_FILES_CHKSUM:mx8ulp-nxp-bsp = "file://COPYING;md5=a93b654673e1bc8398ed1f30e0813359" 7 | 8 | SRC_URI[imx8ulp.sha256sum] = "8147efc6b1da5aa9bbda8cc06c8aa0d03455f74d8c85a988db5e3f839717e190" 9 | 10 | COMPATIBLE_MACHINE = "(mx8ulp-nxp-bsp)" 11 | 12 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-security/smw/keyctl-caam_git.bbappend: -------------------------------------------------------------------------------- 1 | LIC_FILES_CHKSUM = "file://LICENSE;md5=8636bd68fc00cc6a3809b7b58b45f982" 2 | 3 | DEPENDS = " openssl" 4 | 5 | SRCBRANCH = "lf-6.1.36_2.1.0" 6 | KEYCTL_CAAM_SRC ?= "git://github.com/nxp-imx/keyctl_caam.git;protocol=https" 7 | SRC_URI = "${KEYCTL_CAAM_SRC};branch=${SRCBRANCH}" 8 | 9 | SRCREV = "8dba6d3cac24b5a6c8daaaf1eda70fa18d488139" 10 | 11 | EXTRA_OEMAKE = " OPENSSL_PATH=${STAGING_INCDIR}" 12 | -------------------------------------------------------------------------------- /meta-imx-ml/recipes-devtools/flatbuffers/flatbuffers_24.%.bbappend: -------------------------------------------------------------------------------- 1 | FILESEXTRAPATHS:prepend := "${THISDIR}/files:" 2 | 3 | SRC_URI:append = " file://flatbuffers.pc.in" 4 | 5 | do_install:append() { 6 | install -D -m 0644 ${UNPACKDIR}/flatbuffers.pc.in ${D}${libdir}/pkgconfig/flatbuffers.pc 7 | sed -i 's:@version@:${PV}:g 8 | s:@libdir@:${libdir}:g 9 | s:@includedir@:${includedir}:g' ${D}${libdir}/pkgconfig/flatbuffers.pc 10 | } 11 | 12 | -------------------------------------------------------------------------------- /meta-imx-sdk/conf/distro/fsl-imx-xwayland.conf: -------------------------------------------------------------------------------- 1 | # i.MX DISTRO for Wayland with X11 2 | 3 | include conf/distro/include/fsl-imx-base.inc 4 | include conf/distro/include/fsl-imx-preferred-env.inc 5 | 6 | DISTRO = "fsl-imx-xwayland" 7 | 8 | # Remove conflicting backends 9 | DISTRO_FEATURES:remove = "directfb " 10 | DISTRO_FEATURES:append = " x11 wayland pam" 11 | 12 | PACKAGECONFIG:append:pn-weston = " rdp" 13 | PACKAGECONFIG:append:pn-weston-init = " rdp" 14 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-graphics/vulkan/vulkan-samples-viv/Fix-gcc-13.patch: -------------------------------------------------------------------------------- 1 | Upstream-Status: Pending 2 | 3 | Index: git/framework/platform/parser.h 4 | =================================================================== 5 | --- git.orig/framework/platform/parser.h 6 | +++ git/framework/platform/parser.h 7 | @@ -18,6 +18,7 @@ 8 | #pragma once 9 | 10 | #include 11 | +#include 12 | #include 13 | #include 14 | #include 15 | -------------------------------------------------------------------------------- /meta-imx-cockpit/recipes-kernel/linux/linux-imx_%.bbappend: -------------------------------------------------------------------------------- 1 | 2 | do_copy_defconfig:append:imx8qm-cockpit () { 3 | 4 | sed -i "/CONFIG_IMX_SHMEM_NET[ =]/d" ${B}/.config 5 | sed -i "/CONFIG_GIC_GENTLE_CONFIG[ =]/d" ${B}/.config 6 | sed -i "/CONFIG_PANIC_TIMEOUT[ =]/d" ${B}/.config 7 | 8 | echo "CONFIG_IMX_SHMEM_NET=y" >> ${B}/.config 9 | echo "CONFIG_GIC_GENTLE_CONFIG=y" >> ${B}/.config 10 | echo "CONFIG_PANIC_TIMEOUT=-1" >> ${B}/.config 11 | } 12 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-bsp/u-boot/u-boot-imx-tools_2025.04.bb: -------------------------------------------------------------------------------- 1 | require recipes-bsp/u-boot/u-boot-tools.inc 2 | require u-boot-imx-common_${PV}.inc 3 | 4 | DEPENDS += " python3-setuptools-native" 5 | 6 | PROVIDES:append:class-target = " ${MLPREFIX}u-boot-tools" 7 | PROVIDES:append:class-native = " u-boot-tools-native" 8 | PROVIDES:append:class-nativesdk = " nativesdk-u-boot-tools" 9 | 10 | PACKAGE_ARCH = "${MACHINE_ARCH}" 11 | COMPATIBLE_MACHINE:class-target = "(imx-generic-bsp)" 12 | -------------------------------------------------------------------------------- /meta-imx-cockpit/recipes-bsp/imx-sc-firmware/imx-sc-firmware_%.bbappend: -------------------------------------------------------------------------------- 1 | do_deploy:append:imx8qm-cockpit () { 2 | install -Dm 0644 ${S}/mx8qm-mek_cockpit-nospl-scfw-tcm.bin ${DEPLOYDIR}/${BOOT_TOOLS} 3 | install -Dm 0644 ${S}/mx8qm-mek_cockpit-scfw-tcm.bin ${DEPLOYDIR}/${BOOT_TOOLS} 4 | 5 | ln -sf mx8qm-mek_cockpit-scfw-tcm.bin ${DEPLOYDIR}/${BOOT_TOOLS}/${symlink_name} 6 | ln -sf mx8qm-mek_cockpit-nospl-scfw-tcm.bin ${DEPLOYDIR}/${BOOT_TOOLS}/${symlink_name}_nospl 7 | } 8 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-bsp/imx-vpu-hantro-vc/imx-vpu-hantro-vc_1.10.3.bb: -------------------------------------------------------------------------------- 1 | # Copyright 2019-2024 NXP 2 | 3 | DESCRIPTION = "i.MX VC8000E encoder library" 4 | LICENSE = "Proprietary" 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=bc649096ad3928ec06a8713b8d787eac" 6 | 7 | SRC_URI[sha256sum] = "2ab93f2e62edee1de540e840ff852037ee3dd7b31ab5506b7f58cbc136b93210" 8 | IMX_SRCREV_ABBREV = "0eec750" 9 | 10 | inherit fsl-eula2-unpack2 fsl-eula-recent 11 | 12 | COMPATIBLE_MACHINE = "(mx8mp-nxp-bsp)" 13 | -------------------------------------------------------------------------------- /meta-imx-cockpit/recipes-security/optee-os/optee-os_%.imx.bbappend: -------------------------------------------------------------------------------- 1 | OPTEEMACHINE:imx8qm-cockpit = "imx-mx8qmmekcockpita72" 2 | 3 | do_compile:imx8qm-cockpit() { 4 | PLAT_LIBGCC_PATH=$(${CC} -print-libgcc-file-name) 5 | oe_runmake -C ${S} PLATFORM=imx-mx8qmmekcockpita53 6 | cp ${B}/core/tee-raw.bin ${B}/core/tee-a53.bin 7 | oe_runmake -C ${S} clean 8 | oe_runmake -C ${S} PLATFORM=imx-mx8qmmekcockpita72 9 | cp ${B}/core/tee-raw.bin ${B}/core/tee-a72.bin 10 | } 11 | -------------------------------------------------------------------------------- /meta-imx-sdk/recipes-security/stmm-imx/edk2-firmware_202202.bb: -------------------------------------------------------------------------------- 1 | SRCREV_edk2 ?= "b24306f15daa2ff8510b06702114724b33895d3c" 2 | SRCREV_edk2-platforms ?= "c9e377b00fc086fcb5a5b41663a0149bde9bcc2e" 3 | 4 | require edk2-firmware.inc 5 | 6 | SRC_URI:append:imx-nxp-bsp = " file://0001-BaseTools-fix-gcc12-warning-GenFfs.patch" 7 | SRC_URI:append:imx-nxp-bsp = " file://0002-BaseTools-fix-gcc12-warning.patch" 8 | SRC_URI:append:imx-nxp-bsp = " file://0003-Basetools-turn-off-gcc12-warning.patch" 9 | -------------------------------------------------------------------------------- /meta-imx-sdk/dynamic-layers/qt6-layer/recipes-fsl/packagegroup/packagegroup-qt6-webengine.bb: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2015 Freescale Semiconductor 2 | # Copyright 2017-2018, 2020-2021 NXP 3 | # Released under the MIT license (see COPYING.MIT for the terms) 4 | 5 | DESCRIPTION = "Package group for Qt6 webengine and examples" 6 | LICENSE = "MIT" 7 | 8 | inherit packagegroup 9 | 10 | RDEPENDS:${PN} += " \ 11 | qtwebengine \ 12 | qtwebengine-qmlplugins \ 13 | qtwebengine-examples \ 14 | " 15 | -------------------------------------------------------------------------------- /meta-imx-sdk/dynamic-layers/qt6-layer/recipes-qt/qt6/qtwebengine_%.bbappend: -------------------------------------------------------------------------------- 1 | DEPENDS += " \ 2 | libdrm \ 3 | virtual/libgl \ 4 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xdamage', '', d)}" 5 | 6 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" 7 | SRC_URI += "file://0001-Disable-Intel-backend-by-default.patch;patchdir=src/3rdparty" 8 | SRC_URI += "file://0002-minigbm-Suppress-gcc-14-errors.patch;patchdir=src/3rdparty" 9 | 10 | CFLAGS += "-Wno-error=implicit-function-declaration" 11 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-graphics/xorg-xserver/xserver-xf86-config/imxfbdev/xorg.conf: -------------------------------------------------------------------------------- 1 | Section "Device" 2 | Identifier "i.MX Accelerated Framebuffer Device" 3 | Driver "vivante" 4 | Option "fbdev" "/dev/fb0" 5 | Option "vivante_fbdev" "/dev/fb0" 6 | Option "HWcursor" "false" 7 | EndSection 8 | 9 | Section "ServerFlags" 10 | Option "BlankTime" "0" 11 | Option "StandbyTime" "0" 12 | Option "SuspendTime" "0" 13 | Option "OffTime" "0" 14 | EndSection 15 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-multimedia/liblc3/liblc3_1.0.4.bb: -------------------------------------------------------------------------------- 1 | SUMMARY = "Low Complexity Communication Codec (LC3)" 2 | HOMEPAGE = "https://github.com/google/liblc3" 3 | LICENSE = "Apache-2.0" 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" 5 | 6 | SRC_URI = "git://github.com/google/liblc3.git;protocol=https;branch=main" 7 | 8 | S = "${WORKDIR}/git" 9 | SRCREV = "1a5938ebaca4f13fe79ce074f5dee079783aa29f" 10 | 11 | inherit pkgconfig meson 12 | 13 | BBCLASSEXTEND = "native nativesdk" 14 | 15 | -------------------------------------------------------------------------------- /meta-imx-bsp/conf/machine/imx8dxlevk.conf: -------------------------------------------------------------------------------- 1 | #@TYPE: Machine 2 | #@NAME: i.MX 8DXL B0 EVK with LPDDR4 3 | #@SOC: i.MX8DXL B0 4 | #@DESCRIPTION: Machine configuration for NXP i.MX 8DualXLite B0 Evaluation Kit with LPDDR4 5 | #@MAINTAINER: Lauren Post 6 | 7 | MACHINEOVERRIDES =. "imx8dxl-b0-lpddr4-evk:" 8 | require conf/machine/imx8dxl-b0-lpddr4-evk.conf 9 | 10 | # DEVICETREE of i.MX 8DXL DDR3 EVK Board 11 | KERNEL_DEVICETREE += "freescale/imx8dxl-ddr3l-evk.dtb freescale/imx8dxl-ddr3l-evk-rpmsg.dtb" 12 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-extended/jailhouse/jailhouse-imx_git.bbappend: -------------------------------------------------------------------------------- 1 | FILESEXTRAPATHS:prepend := "${THISDIR}/files:" 2 | 3 | SRC_URI += "file://0001-Revert-driver-sysfs-Update-bin_attribute-version-che.patch" 4 | SRCBRANCH = "lf-6.12.34_2.1.0" 5 | SRCREV = "f64de0b8f61b45b42f197c8212b6c0fe887e5c19" 6 | 7 | PV = "2023.03+git${SRCPV}" 8 | 9 | ERROR_QA:remove = "buildpaths" 10 | WARN_QA:append = " buildpaths" 11 | 12 | INSANE_SKIP:${PN}:remove = "ldflags" 13 | ERROR_QA:remove = "ldflags" 14 | WARN_QA:append = " ldflags" 15 | -------------------------------------------------------------------------------- /meta-imx-cockpit/conf/layer.conf: -------------------------------------------------------------------------------- 1 | # We have a conf and classes directory, add to BBPATH 2 | BBPATH .= ":${LAYERDIR}" 3 | 4 | # We have a packages directory, add to BBFILES 5 | BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \ 6 | ${LAYERDIR}/recipes-*/*/*.bbappend" 7 | 8 | BBFILE_COLLECTIONS += "meta-imx-cockpit" 9 | BBFILE_PATTERN_meta-imx-cockpit := "^${LAYERDIR}/" 10 | BBFILE_PRIORITY_meta-imx-cockpit = "8" 11 | LAYERSERIES_COMPAT_meta-imx-cockpit = "langdale mickledore nanbield scarthgap styhead walnascar" 12 | -------------------------------------------------------------------------------- /meta-imx-sdk/conf/distro/fsl-imx-x11.conf: -------------------------------------------------------------------------------- 1 | # i.MX DISTRO for X11 with no wayland 2 | 3 | include conf/distro/include/fsl-imx-base.inc 4 | include conf/distro/include/fsl-imx-preferred-env.inc 5 | 6 | DISTRO = "fsl-imx-x11" 7 | 8 | # Remove conflicting backends. 9 | DISTRO_FEATURES:remove = "wayland" 10 | 11 | # These are X11 specific 12 | DISTRO_FEATURES:append = " x11" 13 | 14 | RDEPENDS:packagegroup-core-tools-testapps:remove = "mesa-demos" 15 | RDEPENDS:packagegroup-fsl-tools-gpu-external:remove = "mesa-demos" 16 | -------------------------------------------------------------------------------- /meta-imx-v2x/recipes-fsl/images/core-image-v2x-imx.bb: -------------------------------------------------------------------------------- 1 | # Copyright 2020-2021 NXP 2 | 3 | DESCRIPTION = "This is the basic core image for V2X with internal HSM" 4 | 5 | inherit core-image 6 | 7 | IMAGE_FEATURES += " ssh-server-openssh \ 8 | debug-tweaks \ 9 | " 10 | 11 | IMAGE_INSTALL:append = " packagegroup-imx-v2x" 12 | 13 | # Add 128 MB in root file system 14 | IMAGE_ROOTFS_EXTRA_SPACE = "131072" 15 | 16 | export IMAGE_BASENAME = "core-image-v2x-imx" 17 | 18 | COMPATIBLE_MACHINE = "(mx8dxl-nxp-bsp)" 19 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-bsp/imx-lib/imx-lib_git.bbappend: -------------------------------------------------------------------------------- 1 | LIC_FILES_CHKSUM = "file://LICENSE;md5=fbc093901857fcd118f065f900982c24" 2 | 3 | SRC_URI = "${IMXLIB_SRC};branch=${SRCBRANCH}" 4 | IMXLIB_SRC ?= "git://github.com/nxp-imx/imx-lib.git;protocol=https" 5 | SRCBRANCH = "lf-6.12.34_2.1.0" 6 | SRCREV = "8c2207a6990a333b47fb38a351c04280dd2b4def" 7 | 8 | PLATFORM:mx93-nxp-bsp = "IMX8ULP" 9 | PLATFORM:mx943-nxp-bsp = "IMX8ULP" 10 | 11 | COMPATIBLE_MACHINE = "(mx6-nxp-bsp|mx7-nxp-bsp|mx8ulp-nxp-bsp|mx93-nxp-bsp|mx943-nxp-bsp)" 12 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-multimedia/v4l2apps/v4l-utils_%.bbappend: -------------------------------------------------------------------------------- 1 | # Disable v4l-wrappers on 32-bit to avoid Y2038 bug 2 | PACKAGECONFIG:append = " ${PACKAGECONFIG_V4L2_WRAP}" 3 | PACKAGECONFIG_V4L2_WRAP = "v4l-wrappers" 4 | PACKAGECONFIG_V4L2_WRAP:arm:imx-nxp-bsp = "" 5 | PACKAGECONFIG[v4l-wrappers] = "-Dv4l-wrappers=true,-Dv4l-wrappers=false" 6 | 7 | GLIBC_64BIT_TIME_FLAGS:arm:imx-nxp-bsp = " \ 8 | ${@bb.utils.contains('PACKAGECONFIG', 'v4l-wrappers', '', ' -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64', d)} \ 9 | " 10 | -------------------------------------------------------------------------------- /meta-imx-ml/recipes-libraries/tensorflow-lite/tensorflow-lite_2.%.bbappend: -------------------------------------------------------------------------------- 1 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" 2 | 3 | SRC_URI:append = " file://tensorflow-lite.pc.in" 4 | 5 | do_install:append() { 6 | install -d ${D}${libdir}/pkgconfig 7 | install -m 0644 ${UNPACKDIR}/tensorflow-lite.pc.in ${D}${libdir}/pkgconfig/tensorflow2-lite.pc 8 | 9 | sed -i 's:@version@:${PV}:g 10 | s:@libdir@:${libdir}:g 11 | s:@includedir@:${includedir}:g' ${D}${libdir}/pkgconfig/tensorflow2-lite.pc 12 | } 13 | -------------------------------------------------------------------------------- /meta-imx-sdk/recipes-graphics/rapidvulkan/rapidvulkan_1.3.250.0.bb: -------------------------------------------------------------------------------- 1 | SUMMARY = "Low level header only C++11 RAII wrapper classes for the Vulkan API" 2 | LICENSE = "BSD-3-Clause" 3 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b98f636daed34d12d11e25f3185c0204" 4 | 5 | DEPENDS = "vulkan-loader" 6 | 7 | SRC_URI = "git://github.com/Unarmed1000/RapidVulkan;protocol=https;branch=master" 8 | SRCREV = "186a85bea780414f55baec2b6c803002080b4ac8" 9 | 10 | S = "${WORKDIR}/git" 11 | 12 | inherit cmake 13 | 14 | ALLOW_EMPTY:${PN} = "1" 15 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-fsl/packagegroup/packagegroup-fsl-optee-imx.bb: -------------------------------------------------------------------------------- 1 | # Copyright 2017-2020 NXP 2 | # Released under the MIT license (see COPYING.MIT for the terms) 3 | 4 | DESCRIPTION = "Add extra packages for optee build" 5 | LICENSE = "MIT" 6 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302 \ 7 | file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" 8 | 9 | inherit packagegroup 10 | 11 | RDEPENDS:${PN} += "optee-client optee-os optee-test" 12 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-devtools/cmake/extra-cmake-modules_5.82.0.bb: -------------------------------------------------------------------------------- 1 | SUMMARY = "Extra modules and scripts for CMake" 2 | LICENSE = "BSD" 3 | LIC_FILES_CHKSUM = "file://COPYING-CMAKE-SCRIPTS;md5=54c7042be62e169199200bc6477f04d1" 4 | 5 | SRCREV = "77e9318d5245c6782e4381699d6f485876e8e9cd" 6 | 7 | SRC_URI = " \ 8 | git://github.com/KDE/extra-cmake-modules;protocol=https;branch=master \ 9 | " 10 | S = "${WORKDIR}/git" 11 | 12 | EXTRA_OECMAKE += "-DBUILD_TESTING=off" 13 | 14 | inherit cmake 15 | 16 | FILES:${PN} += "${datadir}/ECM" 17 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-fsl/mcore-demos/README: -------------------------------------------------------------------------------- 1 | The M4 demo app version of each SoCs are followed: 2 | * 2.16.000 -- i.MX 7ULP 3 | * 25.09.00 -- i.MX 8MQ, 8MM 4 | * 2.9.0 -- i.MX 8DXL, 8QM, 8QXP 5 | * 1.0.1 -- i.MX 7D 6 | 7 | The M7 demo app version of each SoCs are followed: 8 | * 25.09.00 -- i.MX 8MP , 8MNULite, 8MN, i.MX95 9 | 10 | The M33 demo app version of each SoCs are followed: 11 | * 25.03.00 -- i.MX 8ULP 12 | * 25.06.00 -- i.MX 93 13 | 14 | The MCore demo app version of each SoCs are followed: 15 | * 25.09.00 -- i.MX 943 16 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-connectivity/bluez5/bluez5_5.%.bbappend: -------------------------------------------------------------------------------- 1 | FILESEXTRAPATHS:prepend := "${THISDIR}/files:" 2 | 3 | # Do not start the service during system boot up 4 | INITSCRIPT_PARAMS:${PN} = "stop 20 0 1 6 ." 5 | 6 | # Add patch for module bcm43xx 7 | SRC_URI += " \ 8 | file://0006-gobex-increase-the-obex-default-abort-timeout-value.patch \ 9 | file://0007-MLK-23858-profiles-audio-increased-the-MTU-size-to-M.patch \ 10 | file://0008-gobex-add-a-workaround-patch-for-canceling-obex-tran.patch \ 11 | " 12 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-bsp/imx-mkimage/imx-mkimage_git.inc: -------------------------------------------------------------------------------- 1 | # Copyright 2017-2024 NXP 2 | 3 | DEPENDS = "zlib-native openssl-native" 4 | 5 | SRC_URI = "${IMX_MKIMAGE_SRC};branch=${SRCBRANCH} \ 6 | file://0001-iMX8M-soc.mak-use-native-mkimage-from-sysroot.patch \ 7 | " 8 | IMX_MKIMAGE_SRC ?= "git://github.com/nxp-imx/imx-mkimage.git;protocol=https" 9 | SRCBRANCH = "lf-6.12.34_2.1.0" 10 | SRCREV = "8737dc3604e430c902c455da344975e22a594ffe" 11 | 12 | S = "${WORKDIR}/git" 13 | 14 | BOOT_TOOLS = "imx-boot-tools" 15 | SYSROOT_DIRS += "/boot" 16 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-connectivity/openssl/openssl_3.4.%.bbappend: -------------------------------------------------------------------------------- 1 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" 2 | 3 | SRC_URI += "file://openssl-3.0-add-Kernel-TLS-configuration.patch \ 4 | file://0001-e_devcrypto-add-func-ptr-for-init-do-ctrl.patch \ 5 | file://0002-e_devcrypto-add-support-for-TLS1.2-algorithms-offloa.patch \ 6 | file://0003-Set-algorithm-id-before-generating-the-EC-key.patch \ 7 | " 8 | 9 | PACKAGECONFIG:append:imx-nxp-bsp = " cryptodev-linux" 10 | 11 | EXTRA_OECONF:append = " enable-ktls" 12 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-multimedia/tinycompress/tinycompress_1.2.5.bb: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "A library to handle compressed formats like MP3 etc." 2 | LICENSE = "LGPL-2.1-only | BSD-3-Clause" 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=cf9105c1a2d4405cbe04bbe3367373a0" 4 | DEPENDS = "alsa-lib" 5 | 6 | PV .= "+git${SRCPV}" 7 | 8 | SRC_URI = "git://github.com/alsa-project/tinycompress.git;protocol=https;branch=master" 9 | SRCREV = "f3ba6e5c2126f2fb07e3d890f990d50c3e204e67" 10 | S = "${WORKDIR}/git" 11 | 12 | inherit autotools pkgconfig 13 | 14 | EXTRA_OECONF = "--enable-pcm" 15 | -------------------------------------------------------------------------------- /meta-imx-v2x/conf/layer.conf: -------------------------------------------------------------------------------- 1 | # We have a conf and classes directory, add to BBPATH 2 | BBPATH .= ":${LAYERDIR}" 3 | 4 | # We have a packages directory, add to BBFILES 5 | BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \ 6 | ${LAYERDIR}/recipes-*/*/*.bbappend" 7 | 8 | BBFILE_COLLECTIONS += "v2x-imx" 9 | BBFILE_PATTERN_v2x-imx := "^${LAYERDIR}" 10 | BBFILE_PRIORITY_v2x-imx = "9" 11 | LAYERSERIES_COMPAT_v2x-imx = "mickledore nanbield scarthgap styhead walnascar" 12 | 13 | # MASK append recipes to disable profiling 14 | BBMASK += "meta-imx-v2x/recipes-kernel/" 15 | -------------------------------------------------------------------------------- /meta-imx-sdk/recipes-graphics/libgpuperfcnt/libgpuperfcnt_r54p1.0.bb: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "A library to retrieve i.MX GPU performance data" 2 | LICENSE = "Proprietary" 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=bc649096ad3928ec06a8713b8d787eac" 4 | DEPENDS = "mali-imx" 5 | 6 | IMX_SRCREV_ABBREV = "e0a132a" 7 | 8 | SRC_URI[aarch64-wayland-mali.sha256sum] = "c13f87a73ea94c783943e015c6209450c672d3ade62d6f5ea7a5f6554aa8d10f" 9 | 10 | inherit fsl-eula-unpack2 fsl-eula-graphics fsl-eula-recent 11 | 12 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" 13 | 14 | COMPATIBLE_MACHINE = "(imxmali)" 15 | -------------------------------------------------------------------------------- /meta-imx-ml/recipes-devtools/flatbuffers/python3-flatbuffers_24.3.25.bb: -------------------------------------------------------------------------------- 1 | SUMMARY = "Memory Efficient Serialization Library - Python3 Modules" 2 | HOMEPAGE = "https://github.com/google/flatbuffers" 3 | SECTION = "console/tools" 4 | LICENSE = "Apache-2.0" 5 | 6 | LIC_FILES_CHKSUM = "file://../LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" 7 | 8 | SRCREV = "e6463926479bd6b330cbcf673f7e917803fd5831" 9 | SRC_URI = "git://github.com/google/flatbuffers.git;branch=master;protocol=https" 10 | S = "${WORKDIR}/git/python" 11 | 12 | RDEPENDS:${PN} = "flatbuffers" 13 | 14 | inherit setuptools3 15 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-graphics/vulkan/vulkan-loader_1.4.309.0.bbappend: -------------------------------------------------------------------------------- 1 | FILESEXTRAPATHS:prepend:imx-nxp-bsp := "${THISDIR}/${PN}:" 2 | 3 | SRC_URI:append:imx-nxp-bsp = " \ 4 | file://0001-LF-11869-change-mali-wsi-layer-activating-order.patch \ 5 | " 6 | 7 | PACKAGE_ARCH:imxvulkan = "${MACHINE_SOCARCH}" 8 | 9 | # libvulkan.so is loaded dynamically, so put it in the main package 10 | SOLIBS = ".so*" 11 | FILES_SOLIBSDEV = "" 12 | INSANE_SKIP:${PN} += "dev-so" 13 | 14 | # Override default mesa drivers with i.MX GPU drivers 15 | RRECOMMENDS:${PN}:imxmali = "mali-imx-libvulkan" 16 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-security/optee/optee-test_4.6.0.imx.bb: -------------------------------------------------------------------------------- 1 | require optee-test-imx.inc 2 | 3 | # The BSD and GPL license files are now included in the source 4 | # https://github.com/OP-TEE/optee_test/commit/a748f5fcd9ec8a574dc86a5aa56d05bc6ac174e7 5 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=a8fa504109e4cd7ea575bc49ea4be560 \ 6 | file://LICENSE-BSD;md5=dca16d6efa93b55d0fd662ae5cd6feeb \ 7 | file://LICENSE-GPL;md5=10e86b5d2a6cb0e2b9dcfdd26a9ac58d" 8 | 9 | 10 | SRCBRANCH = "lf-6.12.34_2.1.0" 11 | SRCREV = "1d4c43094c2c76207249f9750910ec834dfb6d1f" 12 | -------------------------------------------------------------------------------- /meta-imx-ml/conf/layer.conf: -------------------------------------------------------------------------------- 1 | # We have a conf and classes directory, add to BBPATH 2 | BBPATH .= ":${LAYERDIR}" 3 | 4 | # We have a packages directory, add to BBFILES 5 | BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \ 6 | ${LAYERDIR}/recipes-*/*/*.bbappend" 7 | 8 | BBFILE_COLLECTIONS += "imx-machine-learning" 9 | BBFILE_PATTERN_imx-machine-learning := "^${LAYERDIR}/" 10 | BBFILE_PRIORITY_imx-machine-learning = "8" 11 | 12 | LAYERDEPENDS_imx-machine-learning = "core freescale-layer" 13 | 14 | LAYERSERIES_COMPAT_imx-machine-learning = "mickledore nanbield scarthgap styhead walnascar" 15 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-bsp/imx-secure-enclave/imx-secure-enclave_git.bb: -------------------------------------------------------------------------------- 1 | require imx-secure-enclave.inc 2 | 3 | DEPENDS:append:mx95-nxp-bsp = " imx-secure-enclave-seco" 4 | 5 | inherit systemd 6 | 7 | SYSTEMD_AUTO_ENABLE = "disable" 8 | SYSTEMD_SERVICE:${PN} = "nvm_daemon.service" 9 | 10 | PLAT = "ele" 11 | 12 | PACKAGES =+ "${PN}-crrm" 13 | 14 | RDEPENDS:${PN} = "${@bb.utils.contains('UBOOT_CONFIG', 'crrm', '${PN}-crrm', '', d)}" 15 | 16 | FILES:${PN}-crrm = " \ 17 | ${bindir}/ele_crrm_test \ 18 | ${libdir}/lib*crrm${SOLIBS}" 19 | 20 | COMPATIBLE_MACHINE = "(mx8ulp-nxp-bsp|mx9-nxp-bsp)" 21 | -------------------------------------------------------------------------------- /meta-imx-sdk/recipes-fsl/packagegroup/packagegroup-core-x11-sato.bbappend: -------------------------------------------------------------------------------- 1 | 2 | 3 | matchbox-base = "${@bb.utils.contains('DISTRO_FEATURES', 'x11 wayland', ' \ 4 | matchbox-desktop matchbox-session-sato matchbox-keyboard matchbox-keyboard-applet matchbox-keyboard-im matchbox-config-gtk', '', d)}" 5 | matchbox-apps = "${@bb.utils.contains('DISTRO_FEATURES', 'x11 wayland', 'matchbox-terminal', '', d)}" 6 | 7 | RDEPENDS:${PN}-base:remove = "${matchbox-base}" 8 | RDEPENDS:${PN}-apps:remove = "${matchbox-apps} \ 9 | gst-player-bin \ 10 | " 11 | -------------------------------------------------------------------------------- /meta-imx-sdk/recipes-fsl/packagegroup/packagegroup-imx-v2x.bb: -------------------------------------------------------------------------------- 1 | # Copyright 2021 NXP 2 | # Released under the MIT license (see COPYING.MIT for the terms) 3 | 4 | DESCRIPTION = "Add packages for Vehicle-to-Everything (V2X) technology" 5 | LICENSE = "MIT" 6 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 7 | 8 | PACKAGE_ARCH = "${MACHINE_ARCH}" 9 | 10 | inherit packagegroup 11 | 12 | RDEPENDS:${PN} = " \ 13 | e2fsprogs-resize2fs \ 14 | util-linux-fdisk \ 15 | util-linux-rtcwake \ 16 | vtest \ 17 | " 18 | 19 | COMPATIBLE_MACHINE = "(mx8dxl-nxp-bsp)" 20 | -------------------------------------------------------------------------------- /meta-imx-sdk/dynamic-layers/openembedded-layer/recipes-graphics/vk-gl-cts/opengl-es-cts_3.2.9.3.bbappend: -------------------------------------------------------------------------------- 1 | FILESEXTRAPATHS:prepend := "${THISDIR}/${BP}:" 2 | 3 | SRC_URI += " \ 4 | file://0001-MGS-4031-Report-NotSupported-for-OpenVG-tests-on-non.patch \ 5 | file://0002-CL489625-escts-3.2.8-Fix-escts3.2.8-fail-on-8mm-boar.patch \ 6 | file://0003-Fix-transform-feedback-issue.patch" 7 | SRC_URI:append:imxgpu = " ${GPU_PATCHES}" 8 | GPU_PATCHES = "" 9 | GPU_PATCHES:mx6-nxp-bsp = "file://0004-LF-4977-imx-2949-Add-patch-to-change-the-precison-re.patch" 10 | GPU_PATCHES:mx7-nxp-bsp = "${GPU_PATCHES:mx6-nxp-bsp}" 11 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-connectivity/avahi/avahi_%.bbappend: -------------------------------------------------------------------------------- 1 | # Allow to set allow-interfaces and/or deny-interfaces in avahi-daemon.conf 2 | ALLOW_INTERFACES ??= "" 3 | DENY_INTERFACES ??= "" 4 | 5 | do_install:append() { 6 | if [ "${ALLOW_INTERFACES}" != "" ]; then 7 | sed -i -E "s/#?allow-interfaces=.*/allow-interfaces=${ALLOW_INTERFACES}/g" \ 8 | ${D}${sysconfdir}/avahi/avahi-daemon.conf 9 | fi 10 | if [ "${DENY_INTERFACES}" != "" ]; then 11 | sed -i -E "s/#?deny-interfaces=.*/deny-interfaces=${DENY_INTERFACES}/g" \ 12 | ${D}${sysconfdir}/avahi/avahi-daemon.conf 13 | fi 14 | } 15 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-security/optee/optee-test-imx.inc: -------------------------------------------------------------------------------- 1 | require recipes-security/optee/optee-test.inc 2 | 3 | DEPENDS += "openssl" 4 | 5 | FILESEXTRAPATHS:prepend := "${THISDIR}/optee-test:" 6 | 7 | SRC_URI:remove = "git://github.com/OP-TEE/optee_test.git;branch=master;protocol=https" 8 | SRC_URI:prepend = "${OPTEE_TEST_SRC};branch=${SRCBRANCH} " 9 | 10 | OPTEE_TEST_SRC ?= "git://github.com/nxp-imx/imx-optee-test.git;protocol=https" 11 | 12 | EXTRA_OEMAKE:append:libc-musl = " OPTEE_OPENSSL_EXPORT=${STAGING_INCDIR}" 13 | CFLAGS:append:libc-musl = " -Wno-error=deprecated-declarations" 14 | 15 | COMPATIBLE_MACHINE = "(imx-nxp-bsp)" 16 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-kernel/kernel-tests/kernel-tools-pci.bb: -------------------------------------------------------------------------------- 1 | # Copyright 2025 NXP 2 | # Released under the MIT license (see COPYING.MIT for the terms) 3 | 4 | SUMMARY = "Kernel test PCI tools for Linux" 5 | DESCRIPTION = "Kernel test PCI tools for Linux" 6 | LICENSE = "GPL-2.0-only" 7 | 8 | require kernel-tools.inc 9 | 10 | KERNEL_PCITEST_SRC = "tools/pci" 11 | 12 | KERNEL_TOOLS_SRC:append = " ${KERNEL_PCITEST_SRC}" 13 | 14 | do_compile() { 15 | unset CFLAGS 16 | oe_runmake -C ${S}/${KERNEL_PCITEST_SRC} 17 | } 18 | 19 | do_install() { 20 | unset CFLAGS 21 | oe_runmake -C ${S}/${KERNEL_PCITEST_SRC} install 22 | } 23 | 24 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-fsl/mcore-demos/imx-m4-demos_25.09.00.bb: -------------------------------------------------------------------------------- 1 | # Copyright 2017-2025 NXP 2 | # Released under the MIT license (see COPYING.MIT for the terms) 3 | 4 | require imx-mcore-demos.inc 5 | 6 | LIC_FILES_CHKSUM:mx8mm-nxp-bsp = "file://COPYING;md5=bc649096ad3928ec06a8713b8d787eac" 7 | LIC_FILES_CHKSUM:mx8mq-nxp-bsp = "file://COPYING;md5=bc649096ad3928ec06a8713b8d787eac" 8 | 9 | SRC_URI[imx8mm.sha256sum] = "b2a08b5d5aeb23ffb9d30f915a551c891c997d6ed55f12a9e21103b6153752cc" 10 | SRC_URI[imx8mq.sha256sum] = "9cd1e2e1f328911ea7fb13cd4da213a2ca0d08108963ca501c694edad100ec3f" 11 | 12 | COMPATIBLE_MACHINE = "(mx8mm-nxp-bsp|mx8mq-nxp-bsp)" 13 | 14 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-bsp/imx-test/imx-test_git.bbappend: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2012-2016 O.S. Systems Software LTDA. 2 | # Copyright (C) 2013-2016 Freescale Semiconductor 3 | # Copyright 2017-2025 NXP 4 | 5 | FILESEXTRAPATHS:prepend := "${THISDIR}/imx-test:" 6 | 7 | DEPENDS:append:mx943-nxp-bsp = " imx-lib" 8 | 9 | SRC_URI = "${IMXTEST_SRC};branch=${SRCBRANCH} \ 10 | file://memtool_profile" 11 | 12 | IMXTEST_SRC ?= "git://github.com/nxp-imx/imx-test.git;protocol=https" 13 | SRCBRANCH = "lf-6.12.34_2.1.0" 14 | SRCREV = "88a4f07772d75aed9b53fdc0cd7ceb80f76f75d3" 15 | 16 | PLATFORM:mx91-nxp-bsp = "IMX8" 17 | PLATFORM:mx943-nxp-bsp = "IMX8ULP" 18 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-security/optee/optee-client-imx.inc: -------------------------------------------------------------------------------- 1 | require recipes-security/optee/optee-client.inc 2 | 3 | DEPENDS += "util-linux-libuuid" 4 | 5 | FILESEXTRAPATHS:prepend := "${THISDIR}/optee-client:" 6 | SRC_URI:remove = "git://github.com/OP-TEE/optee_client.git;branch=master;protocol=https" 7 | SRC_URI:prepend = "${OPTEE_CLIENT_SRC};branch=${SRCBRANCH} " 8 | OPTEE_CLIENT_SRC ?= "git://github.com/nxp-imx/imx-optee-client.git;protocol=https" 9 | 10 | SRC_URI += "file://0001-tee-supplicant-Fix-non-arch-service-unit-install-pat.patch" 11 | 12 | inherit pkgconfig 13 | 14 | EXTRA_OECMAKE += "-DCFG_TEE_CLIENT_LOAD_PATH=${nonarch_base_libdir}" 15 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-multimedia/imx-codec/imx-codec_4.10.0.bb: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2013-2016 Freescale Semiconductor 2 | # Copyright 2017-2021,2024 NXP 3 | # Released under the MIT license (see COPYING.MIT for the terms) 4 | 5 | require imx-codec.inc 6 | inherit fsl-eula-unpack fsl-eula2 fsl-eula-recent 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=a93b654673e1bc8398ed1f30e0813359" 8 | 9 | IMX_SRCREV_ABBREV = "464e9d8" 10 | IMX_PACKAGE_VERSION = "${PV}" 11 | 12 | SRC_URI = "${FSL_MIRROR}/${IMX_PACKAGE_NAME}.bin;fsl-eula=true" 13 | SRC_URI[sha256sum] = "82242219e0d3536aeff31d9c215543bfe5541540bdb4fa8d61e83067b015e31f" 14 | 15 | S = "${WORKDIR}/${IMX_PACKAGE_NAME}" 16 | -------------------------------------------------------------------------------- /meta-imx-bsp/conf/machine/imx8mnul-ddr3l-ab2.conf: -------------------------------------------------------------------------------- 1 | #@TYPE: Machine 2 | #@NAME: NXP i.MX 8M Nano UltraLite Audio Board 2.0 with DDR3L 3 | #@SOC: i.MX8MN 4 | #@DESCRIPTION: Machine configuration for NXP i.MX 8M Nano UltraLite AB2 with DDR3L 5 | #@MAINTAINER: Adrian Alonso 6 | 7 | require include/imx8mnul-ab2.inc 8 | 9 | KERNEL_DEVICETREE_BASENAME = "imx8mn-ddr3l-ab2" 10 | UBOOT_CONFIG_BASENAME = "imx8mn_ddr3l_ab2" 11 | 12 | DDR_FIRMWARE_VERSION = "201810" 13 | DDR_FIRMWARE_NAME = " \ 14 | ddr3_imem_1d_${DDR_FIRMWARE_VERSION}.bin \ 15 | ddr3_dmem_1d_${DDR_FIRMWARE_VERSION}.bin \ 16 | " 17 | IMXBOOT_TARGETS_BASENAME = "flash_ddr3l_evk" 18 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-bsp/imx-secure-enclave/imx-secure-enclave-seco_git.bb: -------------------------------------------------------------------------------- 1 | require imx-secure-enclave.inc 2 | 3 | SUMMARY += "SECO" 4 | DESCRIPTION += "SECO" 5 | 6 | PLAT = "seco" 7 | 8 | EXTRA_OEMAKE:append:mx8x-nxp-bsp = " COMPATIBLE_MACHINE=mx8dxl-nxp-bsp" 9 | 10 | do_install:append:mx9-nxp-bsp() { 11 | # Remove common content that is to be installed by imx-secure-enclave 12 | for i in common hsm nvm.h; do 13 | rm -rf ${D}${includedir}/$i 14 | done 15 | rm ${D}${datadir}/se/README 16 | rm ${D}${bindir}/nvmd_conf_setup.sh 17 | rm ${D}${bindir}/se_tools 18 | } 19 | 20 | COMPATIBLE_MACHINE = "(mx8x-nxp-bsp|mx943-nxp-bsp|mx95-nxp-bsp)" 21 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-extended/libdisplay-info/libdisplay-info_git.bb: -------------------------------------------------------------------------------- 1 | SUMMARY = "EDID and DisplayID library." 2 | HOMEPAGE = "https://gitlab.freedesktop.org/emersion/libdisplay-info" 3 | LICENSE = "MIT" 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=e4426409957080ee0352128354cea2de" 5 | 6 | SRC_URI = "git://gitlab.freedesktop.org/emersion/libdisplay-info.git;branch=main;protocol=https" 7 | 8 | DEPENDS = "hwdata-native" 9 | 10 | S = "${WORKDIR}/git" 11 | PV = "0.1.1" 12 | SRCREV = "92b031749c0fe84ef5cdf895067b84a829920e25" 13 | 14 | inherit meson pkgconfig 15 | 16 | PACKAGECONFIG ?= "" 17 | PACKAGECONFIG[test] = ",,edid-decode-native" 18 | 19 | BBCLASSEXTEND = "native" 20 | -------------------------------------------------------------------------------- /meta-imx-sdk/dynamic-layers/openembedded-layer/recipes-downgrade/vk-gl-cts/files/fix-clang-private-operator.patch: -------------------------------------------------------------------------------- 1 | Upstream-Status: Pending 2 | 3 | --- a/external/glslang/src/glslang/Include/PoolAlloc.h 4 | +++ b/external/glslang/src/glslang/Include/PoolAlloc.h 5 | @@ -240,8 +240,9 @@ protected: 6 | 7 | int numCalls; // just an interesting statistic 8 | size_t totalBytes; // just an interesting statistic 9 | -private: 10 | +public: 11 | TPoolAllocator& operator=(const TPoolAllocator&); // don't allow assignment operator 12 | +private: 13 | TPoolAllocator(const TPoolAllocator&); // don't allow default copy constructor 14 | }; 15 | 16 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-kernel/kernel-modules/kernel-module-dpdk-extras_git.bb: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "Kernel module for dpdk" 2 | LICENSE = "GPL-2.0-only" 3 | LIC_FILES_CHKSUM = "file://${S}/../LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263" 4 | 5 | SRC_URI = "${DPDK_EXTRAS_SRC};branch=${SRCBRANCH}" 6 | DPDK_EXTRAS_SRC ?= "git://github.com/nxp-qoriq/dpdk-extras.git;protocol=https" 7 | SRCBRANCH = "main" 8 | SRCREV = "e9e32e999c3c0d6b3edead9ad51746e900572f75" 9 | 10 | S = "${WORKDIR}/git/linux" 11 | 12 | inherit module 13 | 14 | EXTRA_OEMAKE += " -C ${STAGING_KERNEL_BUILDDIR} M=${S}" 15 | 16 | PACKAGE_ARCH = "${MACHINE_ARCH}" 17 | COMPATIBLE_MACHINE = "(mx8-nxp-bsp|mx9-nxp-bsp)" 18 | 19 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-security/parsec-service/parsec-service_1.4.1.bbappend: -------------------------------------------------------------------------------- 1 | PACKAGECONFIG[ALL] = "-F all-providers -F cryptoki/generate-bindings -F tss-esapi/generate-bindings,,tpm2-tss libts,tpm2-tss libtss2-tcti-device libts" 2 | PACKAGECONFIG[TPM] = "-F tpm-provider -F tss-esapi/generate-bindings,,tpm2-tss,tpm2-tss libtss2-tcti-device" 3 | PACKAGECONFIG[PKCS11] = "-F pkcs11-provider -F cryptoki/generate-bindings," 4 | PACKAGECONFIG[MBED-CRYPTO] = "-F mbed-crypto-provider," 5 | PACKAGECONFIG[CRYPTOAUTHLIB] = "-F cryptoauthlib-provider," 6 | PACKAGECONFIG[TS] = "-F trusted-service-provider,,libts,libts" 7 | 8 | PARSEC_FEATURES = "" 9 | CARGO_BUILD_FLAGS:remove = "--features" 10 | -------------------------------------------------------------------------------- /meta-imx-sdk/dynamic-layers/openembedded-layer/recipes-multimedia/dvb-apps/dvb-apps_%.bbappend: -------------------------------------------------------------------------------- 1 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" 2 | 3 | SRC_URI:append = " file://0001-test_dvr_play-changed-to-output-TS.patch \ 4 | " 5 | # Enable static lib as test build needs it 6 | export enable_static="yes" 7 | 8 | do_compile () { 9 | # Build test to generate test_dvr_play 10 | cd ${S} 11 | oe_runmake -C lib 12 | oe_runmake -C util 13 | oe_runmake -C test 14 | } 15 | 16 | do_install:append() { 17 | install -d ${D}${bindir} 18 | if [ -e ${S}/test/test_dvr_play ]; then 19 | cp ${S}/test/test_dvr_play ${D}${bindir} 20 | fi 21 | } 22 | 23 | -------------------------------------------------------------------------------- /meta-imx-sdk/dynamic-layers/openembedded-layer/recipes-connectivity/hostapd/hostapd_%.bbappend: -------------------------------------------------------------------------------- 1 | FILESEXTRAPATHS:prepend:imx-nxp-bsp := "${THISDIR}/${PN}:" 2 | 3 | # Use NXP customized version 4 | SRC_URI:remove:imx-nxp-bsp = "http://w1.fi/releases/hostapd-${PV}.tar.gz" 5 | SRC_URI:append:imx-nxp-bsp = " ${FSL_MIRROR}/${BP}-${IMX_SRCREV_ABBREV}.tar.gz" 6 | 7 | IMX_SRCREV_ABBREV = "aaa7ec2f" 8 | 9 | SRC_URI[sha256sum] = "ab676882b4b6915b006c18c105d90b053c18bb74e606ba6aab167d6c3667239c" 10 | 11 | S = "${WORKDIR}/${BP}-${IMX_SRCREV_ABBREV}" 12 | 13 | do_configure:append() { 14 | # Use NXP defconfig 15 | install -m 0644 ${B}/hostapd/defconfig ${B}/hostapd/.config 16 | } 17 | -------------------------------------------------------------------------------- /meta-imx-bsp/conf/machine/imx943-19x19-lpddr5-evk.conf: -------------------------------------------------------------------------------- 1 | #@TYPE: Machine 2 | #@NAME: NXP i.MX 943 19x19 Evaluation Kit with LPDDR5 3 | #@SOC: i.MX943 4 | #@DESCRIPTION: Machine configuration for NXP i.MX 943 19x19 EVK with LPDDR5 5 | #@MAINTAINER: Jun Zhu 6 | 7 | require conf/machine/include/imx943-evk.inc 8 | 9 | KERNEL_DEVICETREE:append:use-nxp-bsp = " \ 10 | " 11 | 12 | UBOOT_CONFIG_BASENAME = "imx943_evk" 13 | 14 | OEI_BOARD ?= "mx943lp5-19" 15 | 16 | DDR_TYPE = "lpddr5" 17 | 18 | DDR_FIRMWARE_NAME = " \ 19 | lpddr5_dmem_v202409.bin \ 20 | lpddr5_dmem_qb_v202409.bin \ 21 | lpddr5_imem_v202409.bin \ 22 | lpddr5_imem_qb_v202409.bin \ 23 | " 24 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-graphics/vulkan/vulkan-samples_viv.bbappend: -------------------------------------------------------------------------------- 1 | SRC_URI:remove = "gitsm://github.com/KhronosGroup/Vulkan-Samples.git;branch=main;protocol=https;lfs=0" 2 | SRC_URI += " \ 3 | gitsm://github.com/KhronosGroup/Vulkan-Samples.git;branch=main;protocol=https;lfs=0;name=main \ 4 | git://github.com/glfw/glfw.git;branch=master;protocol=https;name=glfw;destsuffix=git/third_party/glfw" 5 | SRC_URI:remove = "file://32bit.patch" 6 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" 7 | SRC_URI += "file://Fix-gcc-13.patch" 8 | SRCREV_FORMAT = "main_glfw" 9 | SRCREV_main = "8b945bebf8b2fd987dcf0eeca048068adf4ea44d" 10 | SRCREV_glfw = "8f470597d625ae28758c16b4293dd42d63e8a83a" 11 | -------------------------------------------------------------------------------- /meta-imx-bsp/conf/machine/imx943-15x15-lpddr4-evk.conf: -------------------------------------------------------------------------------- 1 | #@TYPE: Machine 2 | #@NAME: NXP i.MX 943 15x15 Evaluation Kit with LPDDR4 3 | #@SOC: i.MX943 4 | #@DESCRIPTION: Machine configuration for NXP i.MX 943 15x15 EVK with LPDDR4 5 | #@MAINTAINER: Jun Zhu 6 | 7 | require conf/machine/include/imx943-evk.inc 8 | 9 | KERNEL_DEVICETREE:append:use-nxp-bsp = " \ 10 | " 11 | 12 | UBOOT_CONFIG_BASENAME = "imx943_evk" 13 | 14 | OEI_BOARD ?= "mx943lp4-15" 15 | 16 | DDR_TYPE = "lpddr4x" 17 | 18 | DDR_FIRMWARE_NAME = " \ 19 | lpddr4x_dmem_v202409.bin \ 20 | lpddr4x_dmem_qb_v202409.bin \ 21 | lpddr4x_imem_v202409.bin \ 22 | lpddr4x_imem_qb_v202409.bin \ 23 | " 24 | -------------------------------------------------------------------------------- /meta-imx-bsp/conf/machine/imx943-19x19-lpddr4-evk.conf: -------------------------------------------------------------------------------- 1 | #@TYPE: Machine 2 | #@NAME: NXP i.MX 943 19x19 Evaluation Kit with LPDDR4 3 | #@SOC: i.MX943 4 | #@DESCRIPTION: Machine configuration for NXP i.MX 943 19x19 EVK with LPDDR4 5 | #@MAINTAINER: Jun Zhu 6 | 7 | require conf/machine/include/imx943-evk.inc 8 | 9 | KERNEL_DEVICETREE:append:use-nxp-bsp = " \ 10 | " 11 | 12 | UBOOT_CONFIG_BASENAME = "imx943_evk" 13 | 14 | OEI_BOARD ?= "mx943lp4-19" 15 | 16 | DDR_TYPE = "lpddr4x" 17 | 18 | DDR_FIRMWARE_NAME = " \ 19 | lpddr4x_dmem_v202409.bin \ 20 | lpddr4x_dmem_qb_v202409.bin \ 21 | lpddr4x_imem_v202409.bin \ 22 | lpddr4x_imem_qb_v202409.bin \ 23 | " 24 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-graphics/wayland/weston-init/imx-nxp-bsp/weston.ini: -------------------------------------------------------------------------------- 1 | [core] 2 | #enable-overlay-view=1 3 | 4 | [shell] 5 | 6 | [libinput] 7 | touchscreen_calibrator=true 8 | 9 | #[output] 10 | #name=HDMI-A-1 11 | #mode=1920x1080@60 12 | #transform=rotate-90 13 | 14 | #[output] 15 | #name=HDMI-A-2 16 | #mode=off 17 | # WIDTHxHEIGHT Resolution size width and height in pixels 18 | # off Disables the output 19 | # preferred Uses the preferred mode 20 | # current Uses the current crt controller mode 21 | #transform=rotate-90 22 | 23 | [screen-share] 24 | command=@bindir@/weston --backend=rdp-backend.so --shell=fullscreen-shell.so --no-resizeable 25 | #start-on-startup=true 26 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-devtools/pugixml/pugixml_1.13.0.bb: -------------------------------------------------------------------------------- 1 | SUMMARY = "pugixml is a C++ XML processing library" 2 | HOMEPAGE = "http://pugixml.org/" 3 | SECTION = "libs" 4 | LICENSE = "MIT" 5 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=297dbdec580de5365d8b69c3250629eb" 6 | 7 | SRC_URI = "git://github.com/zeux/pugixml.git;branch=master;protocol=https" 8 | 9 | SRCREV = "a0e064336317c9347a91224112af9933598714e9" 10 | 11 | S = "${WORKDIR}/git" 12 | 13 | inherit cmake 14 | 15 | # pugixml generates only a static library, so the main package is empty, 16 | # and the dev package depends on staticdev 17 | ALLOW_EMPTY:${PN} = "1" 18 | RDEPENDS:${PN}-dev = "${PN}-staticdev" 19 | 20 | BBCLASSEXTEND = "native nativesdk" 21 | -------------------------------------------------------------------------------- /meta-imx-bsp/conf/machine/imx8mn-lpddr4-ab2.conf: -------------------------------------------------------------------------------- 1 | #@TYPE: Machine 2 | #@NAME: NXP i.MX 8M Nano Audio Board 2.0 with LPDDR4 3 | #@SOC: i.MX8MN 4 | #@DESCRIPTION: Machine configuration for NXP i.MX 8M Nano AB2 with LPDDR4 5 | #@MAINTAINER: Adrian Alonso 6 | 7 | require include/imx8mn-ab2.inc 8 | 9 | # The device tree name is implicit for LPDDR4, so can't use MACHINE here 10 | KERNEL_DEVICETREE_BASENAME = "imx8mn-ab2" 11 | 12 | UBOOT_CONFIG_BASENAME = "imx8mn_ab2" 13 | DDR_FIRMWARE_NAME = " \ 14 | lpddr4_pmu_train_1d_imem.bin \ 15 | lpddr4_pmu_train_1d_dmem.bin \ 16 | lpddr4_pmu_train_2d_imem.bin \ 17 | lpddr4_pmu_train_2d_dmem.bin \ 18 | " 19 | IMXBOOT_TARGETS_BASENAME = "flash_evk" 20 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-graphics/mali/mali-imx_r54p1.0.bb: -------------------------------------------------------------------------------- 1 | require mali-imx.inc 2 | 3 | LICENSE = "Proprietary" 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=bc649096ad3928ec06a8713b8d787eac" 5 | 6 | SRC_URI[sha256sum] = "ea008ca66e9b7cdc01fadbd0a85336f494dfed10595527482f450f4e74d16d08" 7 | IMX_SRCREV_ABBREV = "ddd1ced" 8 | 9 | S = "${WORKDIR}/git" 10 | 11 | inherit fsl-eula2-unpack2 fsl-eula-recent 12 | 13 | do_install:append() { 14 | # Move firmware to nonarch_base_libdir 15 | if [ "${base_libdir}" != "${nonarch_base_libdir}" ]; then 16 | install -d ${D}${nonarch_base_libdir} 17 | mv ${D}${base_libdir}/firmware ${D}${nonarch_base_libdir} 18 | fi 19 | } 20 | 21 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" 22 | -------------------------------------------------------------------------------- /meta-imx-sdk/dynamic-layers/virtualization-layer/recipes-extended/xen/xen-tools_4.19.imx.bb: -------------------------------------------------------------------------------- 1 | # Copyright 2024 NXP 2 | HOMEPAGE = "http://xen.org" 3 | LICENSE = "GPL-2.0-only" 4 | SECTION = "console/tools" 5 | LIC_FILES_CHKSUM ?= "file://COPYING;md5=d1a1e216f80b6d8da95fec897d0dbec9" 6 | 7 | FILESEXTRAPATHS:prepend := "${BSPDIR}/sources/meta-virtualization/recipes-extended/xen/files:" 8 | S = "${WORKDIR}/git" 9 | 10 | DEFAULT_PREFERENCE ??= "-1" 11 | 12 | require xen-common.inc 13 | require recipes-extended/xen/xen.inc 14 | require recipes-extended/xen/xen-tools.inc 15 | 16 | RDEPENDS:remove = "${PN}-net-conf" 17 | 18 | FILES:${PN}:append = " \ 19 | ${sysconfdir}/xen/*.conf \ 20 | ${libdir}/xen/bin/xen-9pfsd \ 21 | " 22 | -------------------------------------------------------------------------------- /meta-imx-bsp/conf/machine/imx8mn-ddr4-ab2.conf: -------------------------------------------------------------------------------- 1 | #@TYPE: Machine 2 | #@NAME: NXP i.MX 8M Nano Audio Board 2.0 with DDR4 3 | #@SOC: i.MX8MM 4 | #@DESCRIPTION: Machine configuration for NXP i.MX 8M Nano AB2 with DDR4 5 | #@MAINTAINER: Adrian Alonso 6 | 7 | require include/imx8mn-ab2.inc 8 | 9 | KERNEL_DEVICETREE_BASENAME = "${MACHINE}" 10 | UBOOT_CONFIG_BASENAME = "imx8mn_ddr4_ab2" 11 | 12 | DDR_FIRMWARE_VERSION = "201810" 13 | DDR_FIRMWARE_NAME = " \ 14 | ddr4_imem_1d_${DDR_FIRMWARE_VERSION}.bin \ 15 | ddr4_dmem_1d_${DDR_FIRMWARE_VERSION}.bin \ 16 | ddr4_imem_2d_${DDR_FIRMWARE_VERSION}.bin \ 17 | ddr4_dmem_2d_${DDR_FIRMWARE_VERSION}.bin \ 18 | " 19 | IMXBOOT_TARGETS_BASENAME = "flash_ddr4_evk" 20 | -------------------------------------------------------------------------------- /meta-imx-cockpit/conf/machine/imx8qm-cockpit-mek.conf: -------------------------------------------------------------------------------- 1 | #@TYPE: Machine 2 | #@NAME: i.MX 8QM MEK 3 | #@DESCRIPTION: i.MX 8QuadMax Multisensory Enablement Kit board, rev B0 Ecockpit machine 4 | #@MAINTAINER: Lauren Post 5 | 6 | MACHINEOVERRIDES =. "imx8qm-mek:imx8qm-cockpit:" 7 | require conf/machine/imx8qm-mek.conf 8 | KERNEL_DEVICETREE_BASENAME = "imx8qm-mek" 9 | 10 | # Include device trees for other boards for internal test 11 | KERNEL_DEVICETREE = " \ 12 | freescale/imx8qm-mek-cockpit-a53.dtb \ 13 | freescale/imx8qm-mek-cockpit-a72.dtb \ 14 | " 15 | 16 | UBOOT_CONFIG ??= "a53 a72" 17 | UBOOT_CONFIG[a53] = "imx8qm_mek_cockpit_a53_defconfig" 18 | UBOOT_CONFIG[a72] = "imx8qm_mek_cockpit_a72_defconfig" 19 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-graphics/clblast/clblast_1.6.1.bb: -------------------------------------------------------------------------------- 1 | LICENSE = "Apache-2.0" 2 | LIC_FILES_CHKSUM = "file://LICENSE;md5=aeb40f7c58956a1eb8441f0b51f900bb" 3 | DEPENDS = "virtual/opencl-icd" 4 | 5 | SRC_URI = "git://github.com/CNugteren/CLBlast.git;protocol=https;branch=master \ 6 | file://0001-Disable-OpenCL-kernel-preprocessor-optimization.patch" 7 | 8 | SRCREV = "e3ce21bb937f07b8282dccf4823e2acbdf286d17" 9 | 10 | S = "${WORKDIR}/git" 11 | 12 | inherit cmake 13 | 14 | do_install:append() { 15 | sed -i -e 's:${RECIPE_SYSROOT}::g' \ 16 | ${D}/${libdir}/cmake/CLBlast/CLBlastConfig.cmake \ 17 | ${D}/${libdir}/cmake/CLBlast/CLBlastConfig-noconfig.cmake 18 | } 19 | 20 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" 21 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend: -------------------------------------------------------------------------------- 1 | SRC_URI_IMX:mx9-nxp-bsp = " \ 2 | ${SRC_URI_IMX:mx6-nxp-bsp}" 3 | 4 | EXTRA_OEMESON += "-Denable-smoother-2=false" 5 | 6 | PACKAGE_ARCH:mx9-nxp-bsp = "${MACHINE_SOCARCH}" 7 | 8 | # Disable oss-output on 32-bit to avoid Y2038 bug 9 | PACKAGECONFIG:append = " ${PACKAGECONFIG_OSS}" 10 | PACKAGECONFIG_OSS = "oss-output" 11 | PACKAGECONFIG_OSS:arm:imx-nxp-bsp = "" 12 | PACKAGECONFIG[oss-output] = "-Doss-output=enabled,-Doss-output=disabled" 13 | 14 | GLIBC_64BIT_TIME_FLAGS:arm:imx-nxp-bsp = " \ 15 | ${@bb.utils.contains('PACKAGECONFIG', 'oss-output', '', ' -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64', d)}" 16 | INSANE_SKIP:remove:imx-nxp-bsp = "32bit-time" 17 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-graphics/gfxstream/gfxstream_0.1.2.bb: -------------------------------------------------------------------------------- 1 | # Copyright 2025 NXP 2 | 3 | SUMMARY = "gfxstream for graphics" 4 | DESCRIPTION = "Graphics Streaming Kit is a code generator that makes \ 5 | it easier to serialize and forward graphics API calls from one place to another" 6 | 7 | LICENSE = "Apache-2.0" 8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=8c18bc94001e6e45c4727758ff462348" 9 | 10 | DEPENDS = "libaemu libdrm virtual/libx11 virtual/egl virtual/libgl" 11 | 12 | SRC_URI = "git://android.googlesource.com/platform/hardware/google/gfxstream;protocol=https;branch=main" 13 | SRCREV = "23d05703b94035ac045df60823fb1fc4be0fdf1c" 14 | S = "${WORKDIR}/git" 15 | 16 | inherit meson pkgconfig 17 | 18 | BBCLASSEXTEND = " native nativesdk" 19 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-security/optee/optee-os-tadevkit-imx.inc: -------------------------------------------------------------------------------- 1 | require optee-os-common-imx.inc 2 | 3 | SUMMARY = "OP-TEE Trusted OS TA devkit" 4 | DESCRIPTION = "OP-TEE TA devkit for build TAs" 5 | HOMEPAGE = "https://www.op-tee.org/" 6 | 7 | DEPENDS += "python3-pycryptodome-native" 8 | 9 | do_install() { 10 | #install TA devkit 11 | install -d ${D}${includedir}/optee/export-user_ta/ 12 | for f in ${B}/export-ta_${OPTEE_ARCH}/* ; do 13 | cp -aR $f ${D}${includedir}/optee/export-user_ta/ 14 | done 15 | } 16 | 17 | do_deploy() { 18 | echo "Do not inherit do_deploy from optee-os." 19 | } 20 | 21 | FILES:${PN} = "${includedir}/optee/" 22 | 23 | # Build paths are currently embedded 24 | INSANE_SKIP:${PN}-dev += "buildpaths" 25 | -------------------------------------------------------------------------------- /meta-imx-sdk/recipes-fsl/packagegroup/packagegroup-core-full-cmdline.bbappend: -------------------------------------------------------------------------------- 1 | RDEPENDS:packagegroup-core-full-cmdline-extended:append = "${RDEPENDS_IMX_EXTENDED_APPEND}" 2 | RDEPENDS_IMX_EXTENDED_APPEND ??= " \ 3 | iproute2-bridge \ 4 | iproute2-tc \ 5 | ${RDEPENDS_IMX_EXTENDED_APPEND_SOC} \ 6 | " 7 | RDEPENDS_IMX_EXTENDED_APPEND_SOC ??= "" 8 | RDEPENDS_IMX_EXTENDED_APPEND_SOC:mx95-nxp-bsp ??= "iproute2-devlink" 9 | 10 | # The default i.MX kernel config doesn't include NFS server support, but 11 | # packagegroup-core-full-cmdline-sys-services includes it in the userspace. 12 | RDEPENDS:packagegroup-core-full-cmdline-sys-services:remove = "${RDEPENDS_IMX_REMOVE_NFS_SERVER}" 13 | RDEPENDS_IMX_REMOVE_NFS_SERVER ??= "nfs-utils" 14 | -------------------------------------------------------------------------------- /meta-imx-sdk/dynamic-layers/flutter-layer/recipes-flutter/packagegroup/packagegroup-flutter-packages.bbappend: -------------------------------------------------------------------------------- 1 | # Not supported on Linux 2 | RDEPENDS:${PN}:remove:imx-nxp-bsp = " \ 3 | flutter-packages-in-app-purchase-in-app-purchase-in-app-purchase-example \ 4 | flutter-packages-interactive-media-ads-interactive-media-ads-example \ 5 | flutter-packages-webview-flutter-webview-flutter-android-webview-flutter-android-example \ 6 | flutter-packages-webview-flutter-webview-flutter-webview-flutter-example \ 7 | " 8 | 9 | # Currently broken 10 | RDEPENDS:${PN}:remove:imx-nxp-bsp = " \ 11 | flutter-packages-google-adsense-google-adsense-example \ 12 | flutter-packages-shared-preferences-shared-preferences-shared-preferences-tool \ 13 | " 14 | -------------------------------------------------------------------------------- /meta-imx-sdk/dynamic-layers/openembedded-layer/recipes-core/opencl/opencl-headers_2024.10.24.bb: -------------------------------------------------------------------------------- 1 | SUMMARY = "OpenCL API Headers" 2 | DESCRIPTION = "OpenCL compute API headers from Khronos Group" 3 | LICENSE = "Apache-2.0" 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" 5 | SECTION = "base" 6 | 7 | S = "${WORKDIR}/git" 8 | SRCREV = "4ea6df132107e3b4b9407f903204b5522fdffcd6" 9 | SRC_URI = "git://github.com/KhronosGroup/OpenCL-Headers.git;branch=main;protocol=https" 10 | 11 | do_configure[noexec] = "1" 12 | do_compile[noexec] = "1" 13 | ALLOW_EMPTY:${PN} = "1" 14 | 15 | do_install () { 16 | install -d ${D}${includedir}/CL/ 17 | install -m 0644 ${S}/CL/*.h ${D}${includedir}/CL 18 | } 19 | BBCLASSEXTEND = "native nativesdk" 20 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-bsp/isp-imx/basler-camera_4.2.2.25.3.bb: -------------------------------------------------------------------------------- 1 | # Copyright 2020-2024 NXP 2 | 3 | DESCRIPTION = "Basler camera binary drivers" 4 | LICENSE = "Proprietary" 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=bc649096ad3928ec06a8713b8d787eac" 6 | 7 | IMX_SRCREV_ABBREV = "dd86758" 8 | 9 | inherit fsl-eula2-unpack2 fsl-eula-recent 10 | 11 | SRC_URI[sha256sum] = "67620782467a1e1aee887bba6f7fc1137bb661a90e61474274008dac7c27c052" 12 | 13 | do_compile[noexec] = "1" 14 | 15 | do_install() { 16 | oe_runmake install INSTALL_DIR=${D} 17 | } 18 | 19 | SYSTEMD_AUTO_ENABLE = "enable" 20 | 21 | FILES:${PN} = "${libdir} /opt" 22 | INSANE_SKIP:${PN} = "already-stripped" 23 | RDEPENDS:${PN} += "isp-imx" 24 | 25 | 26 | COMPATIBLE_MACHINE = "(mx8mp-nxp-bsp)" 27 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-multimedia/imx-sw-pdm/imx-sw-pdm_1.0.3.bb: -------------------------------------------------------------------------------- 1 | # Copyright 2020 NXP Semiconductors 2 | 3 | DESCRIPTION = "NXP PDM to PCM Software Decimation SIMD Library" 4 | LICENSE = "Proprietary" 5 | SECTION = "multimedia" 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=63a38e9f392d8813d6f1f4d0d6fbe657" 7 | 8 | SRC_URI = "${FSL_MIRROR}/${BP}.bin;fsl-eula=true" 9 | SRC_URI[sha256sum] = "f778a7b785fc500df5573f5b810a190ddc561267b47ca54b9ddf4ae12571cfe3" 10 | 11 | inherit fsl-eula-unpack autotools pkgconfig 12 | 13 | INSANE_SKIP:${PN} = "already-stripped" 14 | 15 | FILES:${PN} += "${datadir}/imx-mm" 16 | 17 | COMPATIBLE_MACHINE = "(mx8-nxp-bsp)" 18 | 19 | INSANE_SKIP:append:libc-musl = " file-rdeps" 20 | 21 | RDEPENDS:${PN}:append:libc-musl = " gcompat" 22 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-core/psplash/psplash_git.bbappend: -------------------------------------------------------------------------------- 1 | FILESEXTRAPATHS:prepend := "${THISDIR}/files:" 2 | 3 | SRC_URI:append:imx-generic-bsp = " file://imx.conf" 4 | 5 | PACKAGECONFIG:remove:imx-generic-bsp = "${PACKAGECONFIG_REMOVE}" 6 | PACKAGECONFIG_REMOVE ?= " \ 7 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'progress-bar', '', d)}" 8 | 9 | do_install:append:imx-generic-bsp() { 10 | if [ "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" ]; then 11 | install -Dm 0644 ${UNPACKDIR}/imx.conf ${D}${systemd_system_unitdir}/psplash-start@.service.d/imx.conf 12 | fi 13 | } 14 | 15 | PACKAGE_ARCH:imx-generic-bsp = "${MACHINE_SOCARCH}" 16 | 17 | FILES:${PN}:append:imx-generic-bsp = " ${systemd_system_unitdir}/psplash-start@.service.d" 18 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-security/smw/crypto-af-alg_git.bb: -------------------------------------------------------------------------------- 1 | # Copyright 2021, 2023 NXP 2 | 3 | SUMMARY = "NXP i.MX CRYPTO AF_ALG" 4 | DESCRIPTION = "NXP i.MX crypto af alg tool to perform symmetric operation" 5 | SECTION = "base" 6 | LICENSE = "BSD-3-Clause" 7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=4ef68f113b9400b1140be9b69208a816" 8 | 9 | SRCBRANCH = "lf-6.1.36_2.1.0" 10 | CRYPTO_AF_ALG_SRC ?= "git://github.com/nxp-imx/crypto_af_alg.git;protocol=https" 11 | SRC_URI = "${CRYPTO_AF_ALG_SRC};branch=${SRCBRANCH}" 12 | 13 | SRCREV = "0be7a9fe7f0e8333f5469b19da94c2fca2998ffc" 14 | 15 | S = "${WORKDIR}/git" 16 | 17 | TARGET_CC_ARCH += "${LDFLAGS}" 18 | 19 | do_install () { 20 | oe_runmake DESTDIR=${D} install 21 | } 22 | 23 | COMPATIBLE_MACHINE = "(imx-nxp-bsp)" 24 | 25 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-graphics/xwayland/xwayland_24.1.%.bbappend: -------------------------------------------------------------------------------- 1 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" 2 | 3 | SRC_URI:append:imxgpu = " \ 4 | file://0001-Prefer-to-create-GLES2-context-for-glamor-EGL.patch \ 5 | " 6 | 7 | OPENGL_PKGCONFIGS:remove:imxgpu = "${OPENGL_PKGCONFIGS_REMOVE_IMXGPU}" 8 | OPENGL_PKGCONFIGS_REMOVE_IMXGPU = "" 9 | OPENGL_PKGCONFIGS_REMOVE_IMXGPU:imx-nxp-bsp = "glamor glx" 10 | OPENGL_PKGCONFIGS_REMOVE_IMXGPU:mx8-nxp-bsp = "glx" 11 | 12 | # links with imx-gpu libs which are pre-built for glibc 13 | # gcompat will address it during runtime 14 | LDFLAGS:append:imxgpu:libc-musl = " -Wl,--allow-shlib-undefined" 15 | 16 | RDEPENDS:${PN}:append:imxgpu:libc-musl = " gcompat" 17 | 18 | PACKAGE_ARCH:imxgpu = "${MACHINE_SOCARCH}" 19 | -------------------------------------------------------------------------------- /meta-imx-cockpit/README: -------------------------------------------------------------------------------- 1 | To add the Digital Cockpit to the Linux Yocto Project build, follow the commands below 2 | 3 | - Setup the machine 4 | 5 | $ MACHINE=imx8qmmek-cockpit-mek DISTRO=fsl-imx-xwayland . ./imx-setup-release.sh -b build-cockpit 6 | 7 | - Hook in the meta-imx-cockpit layer 8 | $ hook_in_layer meta-imx/meta-imx-cockpit 9 | 10 | 11 | Before building add the following line to the local.conf 12 | UBOOT_CONFIG = "a72 a53" 13 | 14 | When using the new machine configuration imx8qmmek-cockpit-mek this will automation include the chnages for the 15 | kernel, arm trusted firmware, imx-boot, system controller firmware and optee into any image that is built. 16 | 17 | For more details on integration follow the i.MX Digital Cockpit User's Guide as a reference. 18 | -------------------------------------------------------------------------------- /meta-imx-bsp/classes/fsl-eula-graphics.bbclass: -------------------------------------------------------------------------------- 1 | # fsl-eula-graphics.bbclass extends the naming scheme in fsl-eula.bbclass 2 | # to allow for graphics-backend-specific archives. 3 | IMX_PACKAGE_NAME:append:class-target = "${IMX_PACKAGE_NAME_APPEND}${IMX_PACKAGE_NAME_APPEND_MALI}" 4 | SRC_URI_NAME:append:class-target = "${IMX_PACKAGE_NAME_APPEND}${IMX_PACKAGE_NAME_APPEND_MALI}" 5 | IMX_PACKAGE_NAME_APPEND = "" 6 | IMX_PACKAGE_NAME_APPEND:class-target = \ 7 | "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', '-wayland', \ 8 | bb.utils.contains('DISTRO_FEATURES', 'x11', '-x11', \ 9 | '-fb', d), d)}" 10 | IMX_PACKAGE_NAME_APPEND_MALI = "" 11 | IMX_PACKAGE_NAME_APPEND_MALI:imxmali = "-mali" 12 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-bsp/firmware-imx/firmware-imx-8.29.inc: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2012-2016 Freescale Semiconductor 2 | # Copyright 2017-2025 NXP 3 | # Copyright (C) 2018 O.S. Systems Software LTDA. 4 | SECTION = "base" 5 | LICENSE = "Proprietary" 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=bc649096ad3928ec06a8713b8d787eac" 7 | 8 | # Note: This .inc file is used from differently named recipes, so the package 9 | # name must be hard-coded, i.e., ${BPN} cannot be used. 10 | SRC_URI = "${FSL_MIRROR}/firmware-imx-${PV}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true" 11 | IMX_SRCREV_ABBREV = "8741a3b" 12 | SRC_URI[sha256sum] = "5be89eb8162c84eb45121192e69b73079a466ee6cabdabf3d874188fed60bb85" 13 | 14 | S = "${WORKDIR}/firmware-imx-${PV}-${IMX_SRCREV_ABBREV}" 15 | 16 | inherit fsl-eula-unpack 17 | -------------------------------------------------------------------------------- /meta-imx-sdk/dynamic-layers/openembedded-layer/recipes-core/opencl/opencl-icd-loader_%.bbappend: -------------------------------------------------------------------------------- 1 | do_install() { 2 | DESTDIR='${D}' cmake_runcmake_install 3 | install -m 0755 ${B}/icd_loader_test ${D}${bindir}/ 4 | chrpath -d ${D}${bindir}/icd_loader_test 5 | install -m 0644 ${B}/libIcdLog.so ${D}${libdir}/ 6 | install -m 0644 ${B}/libOpenCLDriverStub.so ${D}${libdir}/ 7 | chrpath -d ${D}${libdir}/libOpenCLDriverStub.so 8 | } 9 | 10 | FILES:${PN} += " \ 11 | ${bindir}/* \ 12 | " 13 | 14 | FILES:${PN}-dev += " \ 15 | ${libdir}/pkgconfig \ 16 | ${libdir}/cmake \ 17 | ${datadir}/cmake \ 18 | " 19 | 20 | # Enable mali-imx ICD implementation 21 | RDEPENDS:${PN}:append:imxmali = " mali-imx-opencl-icd" 22 | 23 | RDEPENDS:${PN} += "opencl-headers" 24 | -------------------------------------------------------------------------------- /meta-imx-sdk/recipes-graphics/gli/gli_git.bb: -------------------------------------------------------------------------------- 1 | SUMMARY = "OpenGL Image Library" 2 | DESCRIPTION = "OpenGL Image (GLI) is a header only C++ \ 3 | image library for graphics software." 4 | HOMEPAGE = "http://gli.g-truc.net" 5 | BUGTRACKER = "https://github.com/g-truc/gli/issues" 6 | 7 | SECTION = "libs" 8 | 9 | LICENSE = "MIT" 10 | LIC_FILES_CHKSUM = "file://readme.md;beginline=19;endline=20;md5=ab03b667ee630c1abb1add70365a50fb" 11 | 12 | PV = "0.8.2.0+git${SRCPV}" 13 | SRC_URI = "git://github.com/g-truc/gli;protocol=https;branch=master" 14 | SRCREV = "0c171ee87fcfe35a7e0e0445adef06f92e0b6a91" 15 | S = "${WORKDIR}/git" 16 | 17 | inherit cmake 18 | 19 | # This is a header-only library, so the main package will be empty. 20 | ALLOW_EMPTY:${PN} = "1" 21 | 22 | BBCLASSEXTEND = "native" 23 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-multimedia/imx-dspc-asrc/imx-dspc-asrc_1.0.1.bb: -------------------------------------------------------------------------------- 1 | # Copyright 2019 NXP 2 | DESCRIPTION = "NXP Asynchronous Sample Rate Converter" 3 | LICENSE = "Proprietary" 4 | SECTION = "multimedia" 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=72c0f70181bb6e83eee6aab8de12a9f3" 6 | 7 | SRC_URI = "${FSL_MIRROR}/${BP}.bin;fsl-eula=true" 8 | 9 | SRC_URI[sha256sum] = "e79cbf4788a86a0068bbe80c37317e3332ae76e3d5c3ff2eabd71f03121fab6a" 10 | 11 | inherit fsl-eula-unpack autotools pkgconfig 12 | 13 | EXTRA_OECONF = "--enable-armv8 --libdir=${libdir} --bindir=/unit_tests" 14 | 15 | INHIBIT_PACKAGE_STRIP = "1" 16 | INHIBIT_SYSROOT_STRIP = "1" 17 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" 18 | 19 | FILES:${PN} += "/unit_tests ${datadir}/imx-mm" 20 | 21 | COMPATIBLE_MACHINE = "(mx8-nxp-bsp|mx9-nxp-bsp)" 22 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-multimedia/wireplumber/files/imx-nxp-bsp/51-bluez-imx.conf: -------------------------------------------------------------------------------- 1 | monitor.bluez.properties = { 2 | ## These features do not work on all headsets, so they are enabled 3 | ## by default based on the hardware database. They can also be 4 | ## forced on/off for all devices by the following options: 5 | bluez5.enable-msbc = true 6 | 7 | ## HFP/HSP backend (default: native). 8 | ## Available values: any, none, hsphfpd, ofono, native 9 | bluez5.hfphsp-backend = "ofono" 10 | 11 | ## HFP/HSP hardware offload SCO support (default: false). 12 | ## Using this feature requires a custom WirePlumber script that 13 | ## handles audio routing in a platform-specific way. See 14 | ## tests/examples/bt-pinephone.lua for an example. 15 | bluez5.hw-offload-sco = true 16 | } 17 | -------------------------------------------------------------------------------- /meta-imx-sdk/recipes-connectivity/sigma-dut/sigma-dut_git.bb: -------------------------------------------------------------------------------- 1 | SUMMARY = "Tools for WFA Sigma DUT/CA" 2 | LICENSE = "BSD-3-Clause-Clear & BSD-3-Clause & MIT" 3 | LIC_FILES_CHKSUM = "file://README;md5=cb7b88c5098324bb9a20d2a79d76327e" 4 | SECTION = "base" 5 | 6 | SRC_URI = "git://git.codelinaro.org/clo/la/platform/vendor/qcom-opensource/wlan/utils/sigma-dut;protocol=https;branch=github-qca/master; \ 7 | file://0001-Add-handling-of-DYN_BW_SGNL-command-for-AP-mode.patch \ 8 | file://0001-Add-handling-of-DYN_BW_SGNL-command-for-DRIVER_LINUX.patch \ 9 | " 10 | 11 | SRCREV = "fd7359aed6aaba745e31dd0a9fed80578372d554" 12 | 13 | S = "${WORKDIR}/git" 14 | 15 | do_install() { 16 | install -d ${D}${sbindir} 17 | install -m 0755 ${S}/sigma_dut ${D}${sbindir}/ 18 | } 19 | -------------------------------------------------------------------------------- /meta-imx-bsp/conf/machine/imx8mm-ddr4-ab2.conf: -------------------------------------------------------------------------------- 1 | #@TYPE: Machine 2 | #@NAME: NXP i.MX 8M Mini Audio Board 2.0 with DDR4 3 | #@SOC: i.MX8MM 4 | #@DESCRIPTION: Machine configuration for NXP i.MX 8M Mini AB2 with DDR4 5 | #@MAINTAINER: Adrian Alonso 6 | 7 | require include/imx8mm-ab2.inc 8 | 9 | KERNEL_DEVICETREE_BASENAME = "${MACHINE}" 10 | KERNEL_DEVICETREE:append:use-nxp-bsp = " \ 11 | freescale/imx8mm-ddr4-ab2-m4.dtb \ 12 | freescale/imx8mm-ddr4-ab2-revb.dtb \ 13 | freescale/imx8mm-ddr4-ab2-m4-revb.dtb \ 14 | " 15 | 16 | UBOOT_CONFIG_BASENAME = "imx8mm_ddr4_ab2" 17 | 18 | DDR_FIRMWARE_NAME = " \ 19 | ddr4_imem_1d.bin \ 20 | ddr4_dmem_1d.bin \ 21 | ddr4_imem_2d.bin \ 22 | ddr4_dmem_2d.bin \ 23 | " 24 | IMXBOOT_TARGETS_BASENAME = "flash_ddr4_evk" 25 | -------------------------------------------------------------------------------- /meta-imx-bsp/conf/machine/imx8mm-lpddr4-ab2.conf: -------------------------------------------------------------------------------- 1 | #@TYPE: Machine 2 | #@NAME: NXP i.MX 8M Mini Audio Board 2.0 with LPDDR4 3 | #@SOC: i.MX8MM 4 | #@DESCRIPTION: Machine configuration for NXP i.MX 8M Mini AB2 with LPDDR4 5 | #@MAINTAINER: Adrian Alonso 6 | 7 | require include/imx8mm-ab2.inc 8 | 9 | # The device tree name is implicit for LPDDR4, so can't use MACHINE here 10 | KERNEL_DEVICETREE_BASENAME = "imx8mm-ab2" 11 | 12 | UBOOT_CONFIG_BASENAME = "imx8mm_ab2" 13 | UBOOT_CONFIG[fspi] = "${UBOOT_CONFIG_BASENAME}_fspi_defconfig" 14 | 15 | DDR_FIRMWARE_NAME = " \ 16 | lpddr4_pmu_train_1d_imem.bin \ 17 | lpddr4_pmu_train_1d_dmem.bin \ 18 | lpddr4_pmu_train_2d_imem.bin \ 19 | lpddr4_pmu_train_2d_dmem.bin \ 20 | " 21 | 22 | IMXBOOT_TARGETS_BASENAME = "flash_evk" 23 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-core/systemd/systemd-gpuconfig/gpuconfig: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | CPUREV=$(cat /sys/devices/soc0/soc_id) 3 | FILEVG=/usr/lib/libOpenVG.so 4 | FILEVGLIB=/usr/lib/libOpenVG.so.1 5 | FILEVG3D=/usr/lib/libOpenVG.3d.so.1.1.0 6 | FILEVG355=/usr/lib/libOpenVG.2d.so.1.1.0 7 | 8 | if [ -e $FILEVG3D ] && [ -e $FILEVG355 ] 9 | then 10 | if [ -e $FILEVG ] 11 | then 12 | rm -f $FILEVG 13 | fi 14 | if [ -e $FILEVGLIB ] 15 | then 16 | rm -f $FILEVGLIB 17 | fi 18 | 19 | if [ $CPUREV == "i.MX6QP" ] || [ $CPUREV == "i.MX6Q" ] || [ $CPUREV == "i.MX6SL" ] 20 | then 21 | # Use GC355 VG 22 | ln -s $FILEVG355 $FILEVG 23 | ln -s $FILEVG355 $FILEVGLIB 24 | else 25 | ln -s $FILEVG3D $FILEVG 26 | ln -s $FILEVG3D $FILEVGLIB 27 | fi 28 | fi 29 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-core/sysvinit/sysvinit-inittab/imxgpu2d/rc_mxc.S: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | if grep -sq ttymxc0 /proc/cmdline; then 4 | /sbin/getty -L ttymxc0 115200 vt100 5 | elif grep -sq ttymxc1 /proc/cmdline; then 6 | /sbin/getty -L ttymxc1 115200 vt100 7 | elif grep -sq ttymxc2 /proc/cmdline; then 8 | /sbin/getty -L ttymxc2 115200 vt100 9 | elif grep -sq ttymxc3 /proc/cmdline; then 10 | /sbin/getty -L ttymxc3 115200 vt100 11 | elif grep -sq ttyLP0 /proc/cmdline; then 12 | /sbin/getty -L ttyLP0 115200 vt100 13 | elif grep -sq ttyLP1 /proc/cmdline; then 14 | /sbin/getty -L ttyLP1 115200 vt100 15 | elif grep -sq ttyLP2 /proc/cmdline; then 16 | /sbin/getty -L ttyLP2 115200 vt100 17 | elif grep -sq ttyLP3 /proc/cmdline; then 18 | /sbin/getty -L ttyLP3 115200 vt100 19 | else 20 | sleep 100000 21 | fi 22 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-core/sysvinit/sysvinit-inittab/imxgpu2d/rc_gpu.S: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | CPUREV=$(cat /sys/devices/soc0/soc_id) 3 | FILEVG=/usr/lib/libOpenVG.so 4 | FILEVGLIB=/usr/lib/libOpenVG.so.1 5 | FILEVG3D=/usr/lib/libOpenVG.3d.so.1.1.0 6 | FILEVG355=/usr/lib/libOpenVG.2d.so.1.1.0 7 | 8 | if [ -e $FILEVG3D ] && [ -e $FILEVG355 ] 9 | then 10 | if [ -e $FILEVG ] 11 | then 12 | rm -f $FILEVG 13 | fi 14 | if [ -e $FILEVGLIB ] 15 | then 16 | rm -f $FILEVGLIB 17 | fi 18 | 19 | if [ $CPUREV == "i.MX6QP" ] || [ $CPUREV == "i.MX6Q" ] || [ $CPUREV == "i.MX6SL" ] 20 | then 21 | # Use GC355 VG 22 | ln -s $FILEVG355 $FILEVG 23 | ln -s $FILEVG355 $FILEVGLIB 24 | else 25 | ln -s $FILEVG3D $FILEVG 26 | ln -s $FILEVG3D $FILEVGLIB 27 | fi 28 | fi 29 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-core/udev/udev-extraconf_%.bbappend: -------------------------------------------------------------------------------- 1 | # Freescale i.MX SOC extra configuration udev rules 2 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" 3 | 4 | SRC_URI:append:mx6-nxp-bsp = " file://blacklist.conf " 5 | SRC_URI:append:mx7-nxp-bsp = " file://blacklist.conf" 6 | SRC_URI:append:mx8-nxp-bsp = " file://blacklist.conf" 7 | SRC_URI:append:mx9-nxp-bsp = " file://blacklist.conf" 8 | 9 | do_install:prepend () { 10 | if [ -e "${UNPACKDIR}/blacklist.conf" ]; then 11 | install -d ${D}${sysconfdir}/modprobe.d 12 | install -m 0644 ${UNPACKDIR}/blacklist.conf ${D}${sysconfdir}/modprobe.d 13 | fi 14 | } 15 | 16 | 17 | FILES:${PN}:append = " ${sysconfdir}/modprobe.d" 18 | 19 | PACKAGE_ARCH:mx6-nxp-bsp = "${MACHINE_SOCARCH}" 20 | PACKAGE_ARCH:mx7-nxp-bsp = "${MACHINE_SOCARCH}" 21 | -------------------------------------------------------------------------------- /meta-imx-sdk/recipes-graphics/libgpuperfcnt/libgpuperfcnt_6.4.11.p4.0.bb: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "A library to retrieve i.MX GPU performance data" 2 | LICENSE = "Proprietary" 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=bc649096ad3928ec06a8713b8d787eac" 4 | DEPENDS = "imx-gpu-viv" 5 | 6 | IMX_SRCREV_ABBREV = "e0a132a" 7 | 8 | SRC_URI[arm-fb.sha256sum] = "8187d1021ffe5571abc3fa3c0edbc64b2bd66f8f5bf1a11c50d23de127d0a0e4" 9 | SRC_URI[arm-wayland.sha256sum] = "03d09fc6e39c6864c497d5fdd99328e8aaeeddaab856826d4c7b4cd375c03c6f" 10 | SRC_URI[aarch64-wayland.sha256sum] = "43484825f8355edfef101a1ffb6bbb7d5b03552596354dc6074b3080989a3098" 11 | 12 | inherit fsl-eula-unpack2 fsl-eula-graphics fsl-eula-recent 13 | 14 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" 15 | 16 | COMPATIBLE_MACHINE = "(imxgpu)" 17 | COMPATIBLE_MACHINE:imxmali = "(^$)" 18 | -------------------------------------------------------------------------------- /meta-imx-bsp/classes/fsl-eula2-package-arch.bbclass: -------------------------------------------------------------------------------- 1 | # fsl-eula-package_arch.bbclass extends the package naming scheme to allow 2 | # a single software package to create multiple archives based on the 3 | # combinations of a) target versus native/nativesdk components, and b) the 4 | # target or native architecture. 5 | 6 | IMX_PACKAGE_NAME:append = "-${TARGET_ARCH}" 7 | IMX_PACKAGE_NAME:class-native:append = "-${BUILD_ARCH}" 8 | IMX_PACKAGE_NAME:class-nativesdk:append = "-${BUILD_ARCH}" 9 | 10 | SRC_URI:append = ";name=${SRC_URI_NAME}" 11 | SRC_URI_NAME = "${TARGET_ARCH}" 12 | SRC_URI_NAME:class-native = "${BUILD_ARCH}-native" 13 | SRC_URI_NAME:class-nativesdk = "${BUILD_ARCH}-nativesdk" 14 | 15 | INSANE_SKIP:${PN}:remove = "arch" 16 | INSANE_SKIP:${PN}-dbg:remove = "arch" 17 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-security/optee/optee-os-imx.inc: -------------------------------------------------------------------------------- 1 | require optee-os-common-imx.inc 2 | 3 | do_compile:arm() { 4 | oe_runmake -C ${S} all uTee 5 | } 6 | 7 | do_install:append () { 8 | # Install embedded TAs 9 | install -d ${D}${nonarch_base_libdir}/optee_armtz/ 10 | install -m 444 ${B}/ta/*/*.ta ${D}${nonarch_base_libdir}/optee_armtz/ 11 | } 12 | 13 | do_deploy:append() { 14 | cp ${B}/core/tee-raw.bin ${DEPLOYDIR}/${MLPREFIX}optee/tee.${PLATFORM_FLAVOR}.bin 15 | ln -sf ${MLPREFIX}optee/tee.${PLATFORM_FLAVOR}.bin ${DEPLOYDIR}/tee.bin 16 | } 17 | 18 | do_deploy:append:arm() { 19 | cp ${B}/core/uTee ${DEPLOYDIR}/${MLPREFIX}optee/uTee-${OPTEE_BIN_EXT} 20 | ln -sf ${MLPREFIX}optee/uTee-${OPTEE_BIN_EXT} ${DEPLOYDIR}/uTee-${OPTEE_BIN_EXT} 21 | } 22 | 23 | FILES:${PN} += "${nonarch_base_libdir}/optee_armtz" 24 | -------------------------------------------------------------------------------- /meta-imx-sdk/recipes-connectivity/wpa-supplicant/wpa-supplicant_%.bbappend: -------------------------------------------------------------------------------- 1 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" 2 | 3 | DEPENDS:append:imx-nxp-bsp = " readline" 4 | 5 | SRC_URI:remove:imx-nxp-bsp = "http://w1.fi/releases/wpa_supplicant-${PV}.tar.gz \ 6 | file://0001-macsec_linux-Hardware-offload-requires-Linux-headers.patch \ 7 | " 8 | 9 | SRC_URI:append:imx-nxp-bsp = " ${FSL_MIRROR}/wpa_supplicant-${PV}-${IMX_SRCREV_ABBREV}.tar.gz" 10 | 11 | IMX_SRCREV_ABBREV = "aaa7ec2f" 12 | 13 | SRC_URI[sha256sum] = "10d31e37d6d08a7d383e907aac252895d42518e9cd53d122d6591e08f0f1cd87" 14 | 15 | S = "${WORKDIR}/wpa_supplicant-${PV}-${IMX_SRCREV_ABBREV}" 16 | 17 | do_configure:append:imx-nxp-bsp () { 18 | # Use NXP version of defconfig 19 | cp wpa_supplicant/defconfig wpa_supplicant/.config 20 | } 21 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-multimedia/gstreamer/gstreamer1.0-plugins-license.inc: -------------------------------------------------------------------------------- 1 | # This .inc file contains functionality for automatically setting 2 | # the the license of all plugins according to the GSTREAMER_GPL. 3 | 4 | PACKAGESPLITFUNCS += "set_gstreamer_license" 5 | 6 | python set_gstreamer_license () { 7 | import oe.utils 8 | pn = d.getVar('PN') + '-' 9 | gpl_plugins_names = [pn+plugin for plugin in d.getVar('GSTREAMER_GPL').split()] 10 | for pkg in oe.utils.packages_filter_out_system(d): 11 | if pkg in gpl_plugins_names: 12 | d.setVar('LICENSE:' + pkg, 'GPL-2.0-or-later') 13 | else: 14 | d.setVar('LICENSE:' + pkg, 'LGPL-2.1-or-later') 15 | } 16 | 17 | EXTRA_OEMESON += " \ 18 | ${@bb.utils.contains_any('PACKAGECONFIG', "${GSTREAMER_GPL}", '-Dgpl=enabled', '-Dgpl=disabled', d)} \ 19 | " 20 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-multimedia/imx-opencl-converter/imx-opencl-converter_0.9.0.bb: -------------------------------------------------------------------------------- 1 | # Copyright 2023-2024 NXP 2 | DESCRIPTION = "NXP Multimedia opencl converter lib" 3 | LICENSE = "Proprietary" 4 | SECTION = "multimedia" 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=bc649096ad3928ec06a8713b8d787eac" 6 | DEPENDS = "virtual/opencl-icd" 7 | 8 | SRC_URI = "${FSL_MIRROR}/${BP}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true" 9 | IMX_SRCREV_ABBREV = "6097ede" 10 | 11 | SRC_URI[sha256sum] = "79ca39d292cf5ade5d160cee93fb1cf27e624a75093987da7eac81ff92c6c8fc" 12 | 13 | S = "${WORKDIR}/${BP}-${IMX_SRCREV_ABBREV}" 14 | inherit fsl-eula-unpack autotools pkgconfig meson 15 | 16 | FILES:${PN} += "${datadir}/" 17 | 18 | COMPATIBLE_MACHINE = "(^$)" 19 | COMPATIBLE_MACHINE:imxgpu = "(mx8-nxp-bsp|mx95-nxp-bsp)" 20 | COMPATIBLE_MACHINE:mx8mm-nxp-bsp = "(^$)" 21 | -------------------------------------------------------------------------------- /meta-imx-sdk/dynamic-layers/qt6-layer/recipes-qt/qt6/qtwebengine/0002-minigbm-Suppress-gcc-14-errors.patch: -------------------------------------------------------------------------------- 1 | Upstream-Status: Inappropriate [workaround] 2 | 3 | Index: 3rdparty/chromium/build/config/compiler/BUILD.gn 4 | =================================================================== 5 | --- 3rdparty.orig/chromium/build/config/compiler/BUILD.gn 6 | +++ 3rdparty/chromium/build/config/compiler/BUILD.gn 7 | @@ -449,10 +449,12 @@ config("compiler") { 8 | "-Wno-psabi", # skia 9 | "-Wno-multichar", # crashpad 10 | "-Wno-format-zero-length", # user_agent.cc 11 | + "-Wno-error=implicit-function-declaration", 12 | ] 13 | cflags_cc += [ 14 | "-Wno-deprecated-copy", 15 | "-Wno-expansion-to-defined", 16 | + "-Wno-error=implicit-function-declaration", 17 | ] 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /meta-imx-sdk/recipes-core/systemd/systemd-conf/imx-touchscreen.rules: -------------------------------------------------------------------------------- 1 | # There are a number of modifiers that are allowed to be used in some 2 | # of the different fields. They provide the following subsitutions: 3 | # 4 | # %n the "kernel number" of the device. 5 | # For example, 'sda3' has a "kernel number" of '3' 6 | # %e the smallest number for that name which does not matches an existing node 7 | # %k the kernel name for the device 8 | # %M the kernel major number for the device 9 | # %m the kernel minor number for the device 10 | # %b the bus id for the device 11 | # %c the string returned by the PROGRAM 12 | # %s{filename} the content of a sysfs attribute 13 | # %% the '%' char itself 14 | # 15 | 16 | # i.MX specific touchscreen rules 17 | SUBSYSTEM=="input", KERNEL=="event[0-9]*", ENV{ID_INPUT_TOUCHSCREEN}=="1", SYMLINK+="input/touchscreen0" 18 | -------------------------------------------------------------------------------- /meta-imx-sdk/recipes-sato/matchbox-sato/matchbox-session-sato_%.bbappend: -------------------------------------------------------------------------------- 1 | # Freescale specific patch 2 | 3 | # This is the ugly patch to set matchbox-window-manager always to show cursor 4 | do_install:append:mx6ul-nxp-bsp () { 5 | if [ -e ${D}/${sysconfdir}/matchbox/session ]; then 6 | sed -e 's/SHOWCURSOR=\"no\"/SHOWCURSOR=\"yes\"/' -i ${D}/${sysconfdir}/matchbox/session 7 | fi 8 | } 9 | 10 | do_install:append:mx6sll-nxp-bsp () { 11 | if [ -e ${D}/${sysconfdir}/matchbox/session ]; then 12 | sed -e 's/SHOWCURSOR=\"no\"/SHOWCURSOR=\"yes\"/' -i ${D}/${sysconfdir}/matchbox/session 13 | fi 14 | } 15 | 16 | do_install:append:mx7d-nxp-bsp () { 17 | if [ -e ${D}/${sysconfdir}/matchbox/session ]; then 18 | sed -e 's/SHOWCURSOR=\"no\"/SHOWCURSOR=\"yes\"/' -i ${D}/${sysconfdir}/matchbox/session 19 | fi 20 | } 21 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-graphics/mesa/mesa-rvgpu-emu_2.0.0.bb: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2025 NXP 2 | SUMMARY = "Mesa emulated RISC-V GPU renderer" 3 | DESCRIPTION = "Mesa graphics renderer providing improved software-based performance via emulated RISC-V GPU" 4 | LICENSE = "Proprietary" 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=bc649096ad3928ec06a8713b8d787eac" 6 | 7 | SRC_URI[sha256sum] = "e686f49402efc0fc2c00f5e53b691e8be0be7b63f632c8af063eb5d761e40fea" 8 | 9 | IMX_SRCREV_ABBREV = "e4480a4" 10 | 11 | inherit fsl-eula2-unpack2 fsl-eula-recent 12 | 13 | # Libraries are unversioned 14 | SOLIBS = ".so" 15 | FILES_SOLIBSDEV = "" 16 | 17 | # Install includes RISC-V firmware 18 | FILES:${PN} += "${nonarch_base_libdir}/firmware" 19 | INSANE_SKIP:${PN} += "arch" 20 | 21 | BBCLASSEXTEND = "native nativesdk" 22 | 23 | COMPATIBLE_MACHINE = "(mx93-nxp-bsp|mx943-nxp-bsp)" 24 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-multimedia/imx-dspc-asrc/imx-dspc-asrc_1.0.2.bb: -------------------------------------------------------------------------------- 1 | # Copyright 2019,2025 NXP 2 | DESCRIPTION = "NXP Asynchronous Sample Rate Converter" 3 | LICENSE = "Proprietary" 4 | SECTION = "multimedia" 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=a93b654673e1bc8398ed1f30e0813359" 6 | 7 | IMX_SRCREV_ABBREV = "ce4ae5a" 8 | 9 | SRC_URI[sha256sum] = "6382e46e5c60c844fc6a7a05876e19eed690c587300337624c66fa9cb20a3b7c" 10 | 11 | inherit fsl-eula-recent fsl-eula2-unpack2 autotools pkgconfig 12 | 13 | EXTRA_OECONF = "--enable-armv8 --libdir=${libdir} --bindir=/unit_tests" 14 | 15 | INHIBIT_PACKAGE_STRIP = "1" 16 | INHIBIT_SYSROOT_STRIP = "1" 17 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" 18 | 19 | do_install () { 20 | autotools_do_install 21 | } 22 | 23 | FILES:${PN} += "/unit_tests ${datadir}/imx-mm" 24 | 25 | COMPATIBLE_MACHINE = "(mx8-nxp-bsp|mx9-nxp-bsp)" 26 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-security/edge-lock/plug-and-trust-ecc_git.bb: -------------------------------------------------------------------------------- 1 | SUMMARY = "Plug & Trust ECC example for SE050" 2 | DESCRIPTION = "\ 3 | This example demonstrates Elliptic Curve Cryptography sign and verify \ 4 | operation using NXP Plug & Trust middleware for EdgeLock SE050 secure \ 5 | element family." 6 | 7 | SECTION = "apps" 8 | LICENSE = "BSD-3-Clause" 9 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=25d592776b78ef09663409514483b8c9" 10 | DEPENDS = "" 11 | 12 | SRC_URI = "git://github.com/NXP/plug-and-trust.git;protocol=https;branch=master" 13 | SRCREV = "abc6557eb0f7a703384065026b659d1166473b48" 14 | 15 | S = "${WORKDIR}/git" 16 | 17 | PV = "4.7.0+git${SRCPV}" 18 | 19 | inherit cmake 20 | 21 | OECMAKE_SOURCEPATH = "${S}/ecc_example" 22 | 23 | do_install() { 24 | install -d ${D}${bindir} 25 | install -m 0755 ${B}/ex_ecc ${D}${bindir} 26 | } 27 | -------------------------------------------------------------------------------- /meta-imx-sdk/dynamic-layers/openembedded-layer/recipes-downgrade/vk-gl-cts/files/fix-musl.patch: -------------------------------------------------------------------------------- 1 | Upstream-Status: Pending 2 | 3 | --- a/framework/delibs/dethread/CMakeLists.txt 4 | +++ b/framework/delibs/dethread/CMakeLists.txt 5 | @@ -42,6 +42,7 @@ if (DE_OS_IS_UNIX) 6 | add_definitions(-D__BSD_VISIBLE) 7 | add_definitions(-D_XOPEN_SOURCE=600) 8 | endif () 9 | + add_definitions(-D_XOPEN_SOURCE=600) 10 | add_definitions(-D_GNU_SOURCE) 11 | 12 | set(DETHREAD_LIBS ${DETHREAD_LIBS} pthread) 13 | --- a/framework/qphelper/CMakeLists.txt 14 | +++ b/framework/qphelper/CMakeLists.txt 15 | @@ -28,6 +28,7 @@ set(QPHELPER_LIBS 16 | if (DE_OS_IS_UNIX OR DE_OS_IS_QNX) 17 | # For vsnprintf() 18 | add_definitions(-D_XOPEN_SOURCE=600) 19 | + set(QPHELPER_LIBS ${QPHELPER_LIBS} execinfo) 20 | endif () 21 | 22 | if (DE_OS_IS_WIN32 AND DE_COMPILER_IS_MSC) 23 | -------------------------------------------------------------------------------- /meta-imx-bsp/classes/fsl-eula2.bbclass: -------------------------------------------------------------------------------- 1 | # fsl-eula2.bbclass defines a common naming scheme used by the 2 | # packing and unpacking mechanisms defined in fsl-eula-pack.bbclass 3 | # and fsl-eula2-unpack2.bbclass. 4 | # 5 | # Note that it is not necessary to inherit this class directly. It is 6 | # already inherited from fsl-eula-pack.bbclass and fsl-eula2-unpack2.bbclass. 7 | # 8 | # The naming scheme can be extended through regular bitbake means to allow 9 | # configuration-specific archives, as can be seen in fsl-eula-graphics.bbclass 10 | # and fsl-eula2-package-arch.bbclass. 11 | IMX_PACKAGE_NAME = "${BPN}-${IMX_PACKAGE_VERSION}" 12 | IMX_PACKAGE_NAME:class-native = "${PN}-${IMX_PACKAGE_VERSION}" 13 | IMX_PACKAGE_NAME:class-nativesdk = "${PN}-${IMX_PACKAGE_VERSION}" 14 | 15 | INSANE_SKIP:${PN} += "arch" 16 | INSANE_SKIP:${PN}-dbg += "arch" 17 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-bsp/efitools/efitools_1.9.2.bb: -------------------------------------------------------------------------------- 1 | require efitools.inc 2 | 3 | DEPENDS += "efitools-native gnu-efi openssl" 4 | 5 | EXTRA_OEMAKE:append = " \ 6 | INCDIR_PREFIX='${STAGING_DIR_TARGET}' \ 7 | CRTPATH_PREFIX='${STAGING_DIR_TARGET}' \ 8 | SIGN_EFI_SIG_LIST='${STAGING_BINDIR_NATIVE}/sign-efi-sig-list' \ 9 | CERT_TO_EFI_SIG_LIST='${STAGING_BINDIR_NATIVE}/cert-to-efi-sig-list' \ 10 | CERT_TO_EFI_HASH_LIST='${STAGING_BINDIR_NATIVE}/cert-to-efi-hash-list' \ 11 | HASH_TO_EFI_SIG_LIST='${STAGING_BINDIR_NATIVE}/hash-to-efi-sig-list' \ 12 | " 13 | 14 | RDEPENDS:${PN} = " \ 15 | parted mtools coreutils util-linux openssl libcrypto \ 16 | " 17 | 18 | EXTRA_OEMAKE:append:class-nativesdk = " \ 19 | INCDIR_PREFIX='${STAGING_DIR_NATIVE}' \ 20 | CRTPATH_PREFIX='${STAGING_DIR_NATIVE}' \ 21 | " 22 | 23 | BBCLASSEXTEND = "nativesdk" 24 | 25 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-bsp/u-boot/u-boot-imx-common_2025.04.inc: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "i.MX U-Boot suppporting i.MX reference boards." 2 | 3 | LICENSE = "GPL-2.0-or-later" 4 | LIC_FILES_CHKSUM = "file://Licenses/gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263" 5 | 6 | SRC_URI = "${UBOOT_SRC};branch=${SRCBRANCH}" 7 | 8 | UBOOT_SRC ?= "git://github.com/nxp-imx/uboot-imx.git;protocol=https" 9 | SRCBRANCH = "lf_v2025.04" 10 | LOCALVERSION ?= "-${SRCBRANCH}" 11 | SRCREV = "44898b9f3cfe5ff881c11ab1c44b714041f2b4ac" 12 | 13 | DEPENDS += " \ 14 | bc-native \ 15 | bison-native \ 16 | dtc-native \ 17 | flex-native \ 18 | gnutls-native \ 19 | efitools-native \ 20 | python3-setuptools-native \ 21 | xxd-native \ 22 | " 23 | 24 | S = "${WORKDIR}/git" 25 | B = "${WORKDIR}/build" 26 | 27 | inherit fsl-u-boot-localversion 28 | 29 | BOOT_TOOLS = "imx-boot-tools" 30 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-fsl/images/imx-image-crrm-initramfs.bb: -------------------------------------------------------------------------------- 1 | SUMMARY = "Initramfs for NXP CRRM" 2 | DESCRIPTION = "Initramfs designed for NXP Cyber Resilient Recovery Module support" 3 | LICENSE = "MIT" 4 | 5 | INITRAMFS_SCRIPTS ?= "initramfs-framework-base initramfs-module-udev" 6 | 7 | PACKAGE_INSTALL = " \ 8 | ${INITRAMFS_SCRIPTS} \ 9 | base-passwd \ 10 | bash \ 11 | busybox \ 12 | firmware-ele-imx \ 13 | imx-secure-enclave-crrm \ 14 | imx-uuc \ 15 | libssl \ 16 | " 17 | 18 | # Ensure the initramfs only contains the bare minimum 19 | IMAGE_FEATURES = "" 20 | IMAGE_LINGUAS = "" 21 | 22 | # Don't allow the initramfs to contain a kernel 23 | PACKAGE_EXCLUDE = "kernel-image-*" 24 | 25 | IMAGE_FSTYPES = "cpio.zst.u-boot" 26 | IMAGE_NAME_SUFFIX ?= "" 27 | IMAGE_ROOTFS_SIZE = "8192" 28 | IMAGE_ROOTFS_EXTRA_SPACE = "0" 29 | 30 | inherit image 31 | -------------------------------------------------------------------------------- /meta-imx-sdk/dynamic-layers/multimedia-layer/recipes-multimedia/libpisp/libpisp_1.2.0.bb: -------------------------------------------------------------------------------- 1 | SUMMARY = "Run-time configuration for the Raspberry Pi ISP (PiSP)" 2 | DESCRIPTION = "\ 3 | A helper library to generate run-time configuration for the \ 4 | Raspberry Pi Image Signal Processor (PiSP), consisting of the \ 5 | Frontend and Backend hardware components" 6 | HOMEPAGE = "https://github.com/raspberrypi/libpisp" 7 | SECTION = "libs/devel" 8 | LICENSE = "BSD-2-Clause" 9 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3417a46e992fdf62e5759fba9baef7a7" 10 | 11 | DEPENDS = "nlohmann-json" 12 | 13 | SRC_URI = "git://github.com/raspberrypi/libpisp.git;branch=main;protocol=https" 14 | SRCREV = "50426319aa1a9ba4672f91977429365ad4e335a2" 15 | 16 | S = "${WORKDIR}/git" 17 | 18 | inherit meson pkgconfig 19 | 20 | EXTRA_OEMESON = "-Dlogging=disabled" 21 | 22 | INSANE_SKIP:${PN} = "buildpaths" 23 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-extended/libcli/libcli_1.9.8.bb: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "shared library for including a Cisco-like command-line interface into other software" 2 | HOMEPAGE = "https://github.com/dparrish/libcli" 3 | SECTION = "devel" 4 | LICENSE = "GPL-2.0-or-later" 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=cb8aedd3bced19bd8026d96a8b6876d7" 6 | 7 | DEPENDS = "libxcrypt" 8 | 9 | SRC_URI = "git://github.com/dparrish/libcli;protocol=https;branch=stable \ 10 | file://0001-support-cross-toolchain.patch \ 11 | file://0001-Account-for-multilib.patch \ 12 | " 13 | SRCREV = "96c4e40d374d67bd789ff2d9f8a2a2f87ee311ba" 14 | S = "${WORKDIR}/git" 15 | 16 | inherit pkgconfig 17 | 18 | CFLAGS += " -Wno-error=calloc-transposed-args" 19 | 20 | EXTRA_OEMAKE = "PREFIX=${prefix} DESTDIR=${D} BASELIB=${baselib}" 21 | 22 | do_install() { 23 | oe_runmake install 24 | } 25 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-bsp/firmware-upower/firmware-upower_1.3.1.bb: -------------------------------------------------------------------------------- 1 | # Copyright 2021-2023 NXP 2 | DESCRIPTION = "NXP i.MX uPower firmware" 3 | LICENSE = "Proprietary" 4 | SECTION = "BSP" 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=db4762b09b6bda63da103963e6e081de" 6 | 7 | inherit fsl-eula2-unpack2 pkgconfig deploy 8 | 9 | SRC_URI[sha256sum] = "1df3a03d69feb38a450ee63abc7713d78cf6339988476e4c9f95ebbf63790f66" 10 | 11 | do_configure[noexec] = "1" 12 | 13 | do_compile[noexec] = "1" 14 | 15 | do_install[noexec] = "1" 16 | 17 | BOOT_TOOLS = "imx-boot-tools" 18 | 19 | do_deploy () { 20 | # Deploy the related firmware to be package by imx-boot 21 | install -d ${DEPLOYDIR}/${BOOT_TOOLS} 22 | install -m 0644 ${S}/${UPOWER_FIRMWARE_NAME} ${DEPLOYDIR}/${BOOT_TOOLS}/upower.bin 23 | } 24 | addtask deploy after do_install before do_build 25 | 26 | COMPATIBLE_MACHINE = "(mx8ulp-nxp-bsp)" 27 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-devtools/aemu/libaemu_0.1.2.bb: -------------------------------------------------------------------------------- 1 | # Copyright 2025 NXP 2 | 3 | SUMMARY = "Android Emulator utility library" 4 | DESCRIPTION = "This is a utility library for common functions used in the Android Emulator. External projects (gfxstream, QEMU) may use to perform C++ functions." 5 | HOMEPAGE = "https://android.googlesource.com/platform/hardware/google/aemu" 6 | LICENSE = "Apache-2.0" 7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=ff39be111c2cce0426721beaa1211c63" 8 | 9 | SRC_URI = "git://android.googlesource.com/platform/hardware/google/aemu;protocol=https;branch=main" 10 | SRCREV = "dd8b929c247ce9872c775e0e5ddc4300011d0e82" 11 | S = "${WORKDIR}/git" 12 | 13 | inherit cmake pkgconfig 14 | 15 | EXTRA_OECMAKE = " \ 16 | -DAEMU_COMMON_GEN_PKGCONFIG=ON \ 17 | -DENABLE_VKCEREAL_TESTS=OFF \ 18 | -DAEMU_COMMON_BUILD_CONFIG=gfxstream" 19 | 20 | BBCLASSEXTEND = "native nativesdk" 21 | -------------------------------------------------------------------------------- /meta-imx-sdk/dynamic-layers/clang-layer/recipes-extended/xdp/xdp-fp_1.0.0.bb: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "eXpress Data Path FastPath Networking Application" 2 | LICENSE = "GPL-2.0-or-later" 3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=94fa01670a2a8f2d3ab2de15004e0848" 4 | 5 | DEPENDS = "clang-cross-${TARGET_ARCH} elfutils libbpf zlib zstd" 6 | 7 | SRC_URI = "${DPDK_XDP_SRC};branch=${SRCBRANCH}" 8 | DPDK_XDP_SRC ?= "git://github.com/nxp-imx/imx-xdp-fp;protocol=https" 9 | SRCBRANCH = "fpr" 10 | SRCREV = "b3222000ba4d8a19d680ca9b07270309f364802a" 11 | 12 | S = "${WORKDIR}/git" 13 | 14 | export SDKTARGETSYSROOT = "${STAGING_DIR_TARGET}" 15 | 16 | do_install() { 17 | oe_runmake install INSTALLDIR=${D}/opt/xdp 18 | install -m 0644 ${S}/app/input.txt ${D}/opt/xdp 19 | } 20 | 21 | FILES:${PN} = "/opt" 22 | INSANE_SKIP:${PN} = "buildpaths" 23 | 24 | COMPATIBLE_MACHINE = "(mx943-nxp-bsp|mx95-nxp-bsp)" 25 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-kernel/kernel-modules/kernel-module-isp-vvcam_4.2.2.25.3.bb: -------------------------------------------------------------------------------- 1 | # Copyright 2020-2023 NXP 2 | 3 | DESCRIPTION = "Kernel loadable module for ISP" 4 | LICENSE = "GPL-2.0-only" 5 | LIC_FILES_CHKSUM = "file://${S}/../LICENSE;md5=64381a6ea83b48c39fe524c85f65fb44" 6 | 7 | SRC_URI = "${ISP_KERNEL_SRC};branch=${SRCBRANCH}" 8 | ISP_KERNEL_SRC ?= "git://github.com/nxp-imx/isp-vvcam.git;protocol=https" 9 | SRCBRANCH = "lf-6.12.y_2.1.0" 10 | SRCREV = "9c0303a5243f1f576dd1ebfb47fa3906a24b2748" 11 | 12 | S = "${WORKDIR}/git/vvcam/v4l2" 13 | 14 | inherit module 15 | 16 | MODULES_MODULE_SYMVERS_LOCATION = "dwe" 17 | 18 | DEBUG_PREFIX_MAP:prepend = " \ 19 | -fmacro-prefix-map=${WORKDIR}/git/vvcam=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR} \ 20 | -fdebug-prefix-map=${WORKDIR}/git/vvcam=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR} " 21 | 22 | COMPATIBLE_MACHINE = "(mx8mp-nxp-bsp)" 23 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-bsp/imx-mkimage/imx-mkimage_git.bb: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2016 Freescale Semiconductor 2 | # Copyright 2017-2022 NXP 3 | 4 | require imx-mkimage_git.inc 5 | 6 | DESCRIPTION = "i.MX make image" 7 | LICENSE = "GPL-2.0-only" 8 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0-only;md5=801f80980d171dd6425610833a22dbe6" 9 | SECTION = "BSP" 10 | 11 | inherit deploy native 12 | 13 | EXTRA_OEMAKE = "SOC=iMX8M mkimage_imx8" 14 | 15 | CFLAGS = "-O2 -Wall -std=c99 -I ${STAGING_INCDIR} -L ${STAGING_LIBDIR}" 16 | 17 | do_install() { 18 | install -d ${D}${bindir} 19 | install -m 0755 iMX8M/mkimage_imx8 ${D}${bindir}/mkimage_imx8m 20 | install -m 0755 iMX8M/mkimage_fit_atf.sh ${D}${bindir}/mkimage_fit_atf.sh 21 | install -m 0755 iMX8M/print_fit_hab.sh ${D}${bindir}/print_fit_hab.sh 22 | install -m 0755 mkimage_imx8 ${D}${bindir}/mkimage_imx8 23 | } 24 | -------------------------------------------------------------------------------- /meta-imx-bsp/conf/machine/imx8mqevk.conf: -------------------------------------------------------------------------------- 1 | #@TYPE: Machine 2 | #@NAME: i.MX 8MQ Consolidated Machine 3 | #@DESCRIPTION: A consolidated machine configuration for i.MX 8MQ LPDDR4 EVK and WEVK, see Important Note below 4 | #@MAINTAINER: Jun Zhu 5 | 6 | # ** Important Note ** 7 | # This machine generates an image contain the bootloader of LPDDR4 EVK, Kernel, and rootfs, plus the DTBs of 8 | # both LPDDR4 WEVKs. The resulting image can be used for LPDDR4 EVK directly, and it can 9 | # be manually converted for LPDDR4 WEVK following the instructions in the User Guide - Consolidated Machines section. 10 | # For users of both EVK variants, this can save build time and space. For most users, the dedicated machines 11 | # imx8mq-lpddr4-wevk.conf and imx8mq-evk.conf should be used for simplicity. 12 | 13 | MACHINEOVERRIDES =. "imx8mq-lpddr4-wevk:" 14 | require conf/machine/imx8mq-lpddr4-wevk.conf -------------------------------------------------------------------------------- /meta-imx-ml/recipes-nnstreamer/ssat/ssat.inc: -------------------------------------------------------------------------------- 1 | SUMMARY = "Shell Script Automated Tester (unit testing executable files)" 2 | DESCRIPTION = "Shell Script Automated Tester (unit testing executable files)" 3 | 4 | SECTION = "Development" 5 | LICENSE = "Apache-2.0" 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327 \ 7 | file://debian/copyright;md5=9ad9849cc2d52d5b8200d053d510e7d2" 8 | 9 | SRCBRANCH = "main" 10 | SRC_URI = "git://github.com/myungjoo/SSAT;protocol=https;branch=${SRCBRANCH}" 11 | 12 | S = "${WORKDIR}/git" 13 | 14 | do_install () { 15 | install -d ${D}${bindir} 16 | install -p -m 0755 ${S}/ssat.sh ${D}${bindir}/ 17 | install -p -m 0644 ${S}/ssat-api.sh ${D}${bindir}/ 18 | cd ${D}${bindir} 19 | ln -s ssat.sh ssat 20 | } 21 | 22 | FILES:${PN} += "${bindir}/ssat \ 23 | ${bindir}/ssat.sh \ 24 | ${bindir}/ssat-api.sh" 25 | -------------------------------------------------------------------------------- /meta-imx-sdk/recipes-filter/libnetfilter/files/0002-cmm-socket_buffer_size.patch: -------------------------------------------------------------------------------- 1 | From 7e96edab86ee5e879d5476c12424b169a84193dd Mon Sep 17 00:00:00 2001 2 | From: Gagandeep Singh 3 | Date: Wed, 27 Nov 2024 15:12:08 +0530 4 | Subject: [PATCH 2/4] cmm-socket_buffer_size 5 | 6 | Upstream-Status: Inappropriate [i.MX-specific] 7 | Signed-off-by: Gagandeep Singh 8 | --- 9 | src/main.c | 2 ++ 10 | 1 file changed, 2 insertions(+) 11 | 12 | diff --git a/src/main.c b/src/main.c 13 | index 4011ad6..0ba2067 100644 14 | --- a/src/main.c 15 | +++ b/src/main.c 16 | @@ -89,6 +89,8 @@ struct nfct_handle *nfct_open(uint8_t subsys_id, unsigned subscriptions) 17 | if (!nfnlh) 18 | return NULL; 19 | 20 | + nfnl_rcvbufsiz(nfnlh, 10000000); 21 | + 22 | nfcth = nfct_open_nfnl(nfnlh, subsys_id, subscriptions); 23 | if (!nfcth) 24 | nfnl_close(nfnlh); 25 | -- 26 | 2.40.1 27 | 28 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-multimedia/wireplumber/wireplumber_%.bbappend: -------------------------------------------------------------------------------- 1 | FILESEXTRAPATHS:prepend := "${THISDIR}/files:" 2 | 3 | SRC_URI:append:imx-nxp-bsp = " file://51-bluez-imx.conf \ 4 | file://80-disable-logind.conf \ 5 | file://0001-wpctl-fix-set-default-Segmentation-fault-on-32bit-pl.patch \ 6 | " 7 | 8 | do_install:append:imx-nxp-bsp () { 9 | 10 | install -d ${D}${datadir} 11 | 12 | # Install nxp configure file to /usr/share/wireplumber/wireplumber.conf.d 13 | install -d ${D}${datadir}/wireplumber/wireplumber.conf.d 14 | install -m 0644 ${UNPACKDIR}/51-bluez-imx.conf ${D}${datadir}/wireplumber/wireplumber.conf.d 15 | install -m 0644 ${UNPACKDIR}/80-disable-logind.conf ${D}${datadir}/wireplumber/wireplumber.conf.d 16 | } 17 | 18 | FILES:${PN}:append = " ${datadir}/wireplumber/wireplumber.conf.d" 19 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-bsp/imx-seco/imx-seco_5.9.4.1.bb: -------------------------------------------------------------------------------- 1 | # Copyright 2019-2022,2024 NXP 2 | 3 | SUMMARY = "NXP i.MX SECO firmware" 4 | DESCRIPTION = "Firmware for i.MX Security Controller Subsystem" 5 | SECTION = "base" 6 | LICENSE = "Proprietary" 7 | 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=ca53281cc0caa7e320d4945a896fb837" 9 | 10 | SRC_URI[sha256sum] = "bd8dc01966076836aabff53f2463295294166595006e1db430db21b6ffa6b667" 11 | IMX_SRCREV_ABBREV = "0333596" 12 | 13 | inherit fsl-eula2-unpack2 fsl-eula-recent use-imx-security-controller-firmware deploy 14 | 15 | do_compile[noexec] = "1" 16 | 17 | do_install() { 18 | } 19 | 20 | addtask deploy after do_install 21 | do_deploy () { 22 | # Deploy i.MX8 SECO firmware files 23 | install -m 0644 ${S}/firmware/seco/${SECO_FIRMWARE_NAME} ${DEPLOYDIR} 24 | } 25 | 26 | COMPATIBLE_MACHINE = "(mx8qm-generic-bsp|mx8qxp-generic-bsp|mx8dxl-generic-bsp|mx8dx-generic-bsp)" 27 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-utils/simg2img/simg2img_git.bb: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2015 Freescale Semiconductor 2 | # Copyright 2017,2023-2024 NXP 3 | # Released under the MIT license (see COPYING.MIT for the terms) 4 | DESCRIPTION = "A tool to convert Android sparse images to raw images" 5 | LICENSE = "Apache-2.0" 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=b433a746dd6fe8862028b1d7fc412a4d" 7 | 8 | DEPENDS = "zlib" 9 | 10 | SIMG2IMG_SRC ?= "git://github.com/nxp-imx/simg2img.git;protocol=https" 11 | SRC_BRANCH = "master" 12 | 13 | SRC_URI = "${SIMG2IMG_SRC};branch=${SRC_BRANCH}" 14 | SRCREV = "7fa7e281c6b681497be29ba442ed0c9ab45304e9" 15 | S = "${WORKDIR}/git" 16 | 17 | EXTRA_OEMAKE += 'CC="${CC}"' 18 | 19 | do_install() { 20 | install -d ${D}${bindir} 21 | cp ${S}/simg2img ${D}${bindir}/ 22 | chmod a+x ${D}${bindir}/simg2img 23 | } 24 | 25 | INSANE_SKIP:${PN} = "ldflags" 26 | INSANE_SKIP:${PN}-dbg += "buildpaths" 27 | -------------------------------------------------------------------------------- /meta-imx-sdk/recipes-fsl/packagegroup/packagegroup-core-tools-testapps.bbappend: -------------------------------------------------------------------------------- 1 | # gst-player has been integrated into gstreamer1.0-plugin-bad-v1.8.0 with version 1.0, 2 | # need to remove the old one 3 | RDEPENDS:${PN}:remove = " ${@bb.utils.contains('DISTRO_FEATURES', 'x11', "gst-player-bin", "", d)} \ 4 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', "gst-player-bin", "", d)} \ 5 | " 6 | 7 | IMX_CORE_TOOLS = "" 8 | IMX_CORE_TOOLS:imxgpu2d = " tslib" 9 | IMX_CORE_TOOLS:imxpxp = " tslib" 10 | 11 | PIPEWIRE_TOOLS = " \ 12 | pipewire \ 13 | pipewire-pulse \ 14 | pipewire-spa-tools \ 15 | pipewire-tools \ 16 | ${PIPEWIRE_V4L2} \ 17 | " 18 | PIPEWIRE_V4L2 = "pipewire-v4l2" 19 | PIPEWIRE_V4L2:mx6-nxp-bsp = "" 20 | PIPEWIRE_V4L2:mx7-nxp-bsp = "" 21 | 22 | RDEPENDS:${PN} += " \ 23 | ${IMX_CORE_TOOLS} \ 24 | libgpiod-tools \ 25 | ${PIPEWIRE_TOOLS} \ 26 | " 27 | -------------------------------------------------------------------------------- /meta-imx-cockpit/recipes-bsp/imx-atf/imx-atf_%.bbappend: -------------------------------------------------------------------------------- 1 | do_configure:imx8qm-cockpit() { 2 | oe_runmake clean BUILD_BASE=a53 3 | oe_runmake clean BUILD_BASE=a72 4 | } 5 | 6 | do_compile:imx8qm-cockpit() { 7 | unset ${CLEAR_FLAGS} COCKPIT_A72 LDFLAGS 8 | oe_runmake BUILD_BASE=a53 COCKPIT_A53=1 SPD=none 9 | unset ${CLEAR_FLAGS} COCKPIT_A53 10 | oe_runmake BUILD_BASE=a72 COCKPIT_A72=1 SPD=none 11 | } 12 | 13 | ANNOTATED_NAME:imx8qm-cockpit = "bl31-${ATF_PLATFORM}-cockpit.bin" 14 | 15 | do_deploy:imx8qm-cockpit() { 16 | OUTPUT_FOLDER="${@bb.utils.contains('PACKAGECONFIG', 'debug', 'debug', 'release', d)}" 17 | for core in a53 a72; do 18 | for deploydir in ${DEPLOYDIR} ${DEPLOYDIR}/imx-boot-tools; do 19 | install -Dm 0644 ${S}/$core/${ATF_PLATFORM}/${OUTPUT_FOLDER}/bl31.bin \ 20 | $deploydir/${ANNOTATED_NAME}-$core 21 | done 22 | done 23 | } 24 | -------------------------------------------------------------------------------- /meta-imx-bsp/conf/machine/imx6solosabresd.conf: -------------------------------------------------------------------------------- 1 | #@TYPE: Machine 2 | #@NAME: NXP i.MX6Solo SABRE Smart Device 3 | #@SOC: i.MX6S 4 | #@DESCRIPTION: Machine configuration for NXP i.MX6Solo SABRE Smart Device 5 | #@MAINTAINER: Otavio Salvador 6 | 7 | MACHINEOVERRIDES =. "mx6:mx6dl:" 8 | 9 | require conf/machine/include/imx6sabresd-common.inc 10 | 11 | KERNEL_DEVICETREE = " \ 12 | nxp/imx/imx6dl-sabresd.dtb \ 13 | nxp/imx/imx6dl-sabresd-ldo.dtb \ 14 | " 15 | 16 | PREFERRED_PROVIDER_u-boot = "u-boot-imx" 17 | PREFERRED_PROVIDER_virtual/bootloader = "u-boot-imx" 18 | KERNEL_IMAGETYPE = "zImage" 19 | 20 | MACHINE_FEATURES:append = " optee" 21 | 22 | UBOOT_CONFIG ??= "${@bb.utils.contains('MACHINE_FEATURES', 'optee', 'sd-optee', 'sd', d)}" 23 | UBOOT_CONFIG[sd] = "mx6solosabresd_config,sdcard" 24 | UBOOT_CONFIG[sd-optee] = "mx6solosabresd_optee_config,sdcard" 25 | 26 | OPTEE_BIN_EXT = "6solosdb" 27 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-devtools/cmake/cmake/OEToolchainConfig.cmake: -------------------------------------------------------------------------------- 1 | set( CMAKE_SYSTEM_NAME Linux ) 2 | set( CMAKE_C_FLAGS $ENV{CFLAGS} CACHE STRING "" FORCE ) 3 | set( CMAKE_CXX_FLAGS $ENV{CXXFLAGS} CACHE STRING "" FORCE ) 4 | set( CMAKE_SYSROOT $ENV{OECORE_TARGET_SYSROOT} ) 5 | 6 | set( CMAKE_FIND_ROOT_PATH $ENV{OECORE_TARGET_SYSROOT} ) 7 | set( CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER ) 8 | set( CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY ) 9 | set( CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY ) 10 | set( CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY ) 11 | 12 | set(CMAKE_FIND_LIBRARY_CUSTOM_LIB_SUFFIX "$ENV{OE_CMAKE_FIND_LIBRARY_CUSTOM_LIB_SUFFIX}") 13 | 14 | set( CMAKE_SYSTEM_PROCESSOR $ENV{OECORE_TARGET_ARCH} ) 15 | 16 | # Include the toolchain configuration subscripts 17 | file( GLOB toolchain_config_files "${CMAKE_CURRENT_LIST_FILE}.d/*.cmake" ) 18 | foreach(config ${toolchain_config_files}) 19 | include(${config}) 20 | endforeach() 21 | -------------------------------------------------------------------------------- /meta-imx-bsp/conf/machine/imx6ul9x9evk.conf: -------------------------------------------------------------------------------- 1 | #@TYPE: Machine 2 | #@NAME: NXP i.MX6UL 9x9 Evaluation Kit 3 | #@SOC: i.MX6UL 4 | #@DESCRIPTION: Machine configuration for NXP i.MX6UL EVK 9x9 5 | #@MAINTAINER: Lauren Post 6 | 7 | MACHINEOVERRIDES =. "mx6:mx6ul:" 8 | 9 | include conf/machine/include/imx-base.inc 10 | include conf/machine/include/arm/armv7a/tune-cortexa7.inc 11 | 12 | KERNEL_DEVICETREE = " \ 13 | nxp/imx/imx6ul-9x9-evk.dtb \ 14 | nxp/imx/imx6ul-9x9-evk-btwifi.dtb \ 15 | nxp/imx/imx6ul-9x9-evk-ldo.dtb \ 16 | " 17 | 18 | UBOOT_CONFIG ??= "${@bb.utils.contains('MACHINE_FEATURES', 'optee', 'sd-optee', 'sd', d)}" 19 | UBOOT_CONFIG[sd] = "mx6ul_9x9_evk_config,sdcard" 20 | UBOOT_CONFIG[qspi1] = "mx6ul_9x9_evk_qspi1_config" 21 | UBOOT_CONFIG[sd-optee] = "mx6ul_9x9_evk_optee_config,sdcard" 22 | 23 | OPTEE_BIN_EXT = "6ul9x9evk" 24 | 25 | MACHINE_FEATURES += "wifi bluetooth optee bcm4339 bcm43455" 26 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-kernel/linux-firmware/zephyr-demo-imx_4.2.0.bb: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2022-2024 NXP 2 | DESCRIPTION = "Zephyr Demo for i.MX" 3 | HOMEPAGE = "https://github.com/zephyrproject-rtos/zephyr" 4 | SECTION = "kernel" 5 | LICENSE = "Apache-2.0" 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=fa818a259cbed7ce8bc2a22d35a464fc" 7 | 8 | SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}-${IMX_SRCREV_ABBREV}.tar.gz" 9 | SRC_URI[sha256sum] = "071fb188c0414b1596e28c868d33e94aad5855059ef8d88cd50396a597487740" 10 | IMX_SRCREV_ABBREV = "413b789" 11 | 12 | S = "${WORKDIR}/${BP}-${IMX_SRCREV_ABBREV}" 13 | 14 | inherit allarch 15 | 16 | do_install() { 17 | # Install zephyr hello world sample 18 | install -d ${D}${nonarch_base_libdir}/firmware/imx/zephyr 19 | cp -r *.elf ${D}${nonarch_base_libdir}/firmware/imx/zephyr 20 | } 21 | 22 | INSANE_SKIP:${PN} = "arch already-stripped" 23 | 24 | FILES:${PN} += "${nonarch_base_libdir}/firmware/imx/zephyr/*.elf" 25 | -------------------------------------------------------------------------------- /meta-imx-sdk/dynamic-layers/virtualization-layer/recipes-extended/xen/xen_4.19.imx.bb: -------------------------------------------------------------------------------- 1 | # Copyright 2024 NXP 2 | HOMEPAGE = "http://xen.org" 3 | LICENSE = "GPL-2.0-only" 4 | SECTION = "console/tools" 5 | LIC_FILES_CHKSUM ?= "file://COPYING;md5=d1a1e216f80b6d8da95fec897d0dbec9" 6 | 7 | require xen-common.inc 8 | require recipes-extended/xen/xen.inc 9 | require recipes-extended/xen/xen-hypervisor.inc 10 | 11 | DEPENDS:append = " qemu" 12 | 13 | S = "${WORKDIR}/git" 14 | 15 | do_deploy:append (){ 16 | cd ${DEPLOYDIR} 17 | if [ -f ${DEPLOYDIR}/xen-${MACHINE} ]; then 18 | ln -sf xen-${MACHINE} xen 19 | fi 20 | 21 | if [ -f ${DEPLOYDIR}/xen-${MACHINE}.gz ]; then 22 | ln -sf xen-${MACHINE}.gz xen.gz 23 | fi 24 | 25 | if [ -f ${DEPLOYDIR}/xen-${MACHINE}.efi ]; then 26 | ln -sf xen-${MACHINE}.efi xen.efi 27 | fi 28 | } 29 | 30 | DEFAULT_PREFERENCE ??= "-1" 31 | COMPATIBLE_MACHINE = "(mx95-nxp-bsp)" 32 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-bsp/imx-seco/imx-seco-libs/0001-Makefile-Fix-LIBDIR-for-multilib.patch: -------------------------------------------------------------------------------- 1 | From 9e89d173a7fab97c913960344ae01dfa409b6258 Mon Sep 17 00:00:00 2001 2 | From: Cristinel Panfir 3 | Date: Mon, 27 Jul 2020 18:55:30 +0000 4 | Subject: [PATCH] Makefile: Fix LIBDIR for multilib 5 | 6 | Upstream-Status: Pending 7 | Signed-off-by: Cristinel Panfir 8 | --- 9 | Makefile | 3 ++- 10 | 1 file changed, 2 insertions(+), 1 deletion(-) 11 | 12 | diff --git a/Makefile b/Makefile 13 | index b16cebf..492d700 100644 14 | --- a/Makefile 15 | +++ b/Makefile 16 | @@ -4,7 +4,8 @@ all: she_test hsm_test v2x_test she_lib.a seco_nvm_manager.a hsm_lib.a 17 | CFLAGS = -O1 -Werror -fPIC 18 | DESTDIR ?= export 19 | BINDIR ?= /usr/bin 20 | -LIBDIR ?= /usr/lib 21 | +base_libdir ?= /lib 22 | +LIBDIR ?= /usr/$(base_libdir) 23 | INCLUDEDIR ?= /usr/include 24 | 25 | ifdef COVERAGE 26 | -- 27 | 2.7.4 28 | 29 | -------------------------------------------------------------------------------- /meta-imx-bsp/conf/machine/imx6qpsabresd.conf: -------------------------------------------------------------------------------- 1 | #@TYPE: Machine 2 | #@NAME: NXP i.MX6Q Plus SABRE Smart Device 3 | #@SOC: i.MX6QP 4 | #@DESCRIPTION: Machine configuration for NXP i.MX6QP SABRE Smart Device 5 | #@MAINTAINER: Lauren Post 6 | 7 | MACHINEOVERRIDES =. "mx6:mx6q:" 8 | 9 | include conf/machine/include/imx6sabresd-common.inc 10 | 11 | KERNEL_DEVICETREE = " \ 12 | nxp/imx/imx6qp-sabresd.dtb \ 13 | nxp/imx/imx6qp-sabresd-btwifi.dtb \ 14 | nxp/imx/imx6qp-sabresd-hdcp.dtb \ 15 | nxp/imx/imx6qp-sabresd-ldo.dtb \ 16 | nxp/imx/imx6qp-sabresd-pcie-ep.dtb \ 17 | " 18 | 19 | MACHINE_FEATURES:append = " optee" 20 | 21 | UBOOT_CONFIG ??= "${@bb.utils.contains('MACHINE_FEATURES', 'optee', 'sd-optee', 'sd', d)}" 22 | UBOOT_CONFIG[sd] = "mx6qpsabresd_config,sdcard" 23 | UBOOT_CONFIG[sata] = "mx6qpsabresd_sata_config" 24 | UBOOT_CONFIG[sd-optee] = "mx6qpsabresd_optee_config,sdcard" 25 | 26 | OPTEE_BIN_EXT = "6qpsdb" 27 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-bsp/efitools/efitools/0003-Fix-the-wrong-dependency-for-blacklist.esl.patch: -------------------------------------------------------------------------------- 1 | From 2d9f8f766278c092426c9c0f1db5a5fd77dfed8c Mon Sep 17 00:00:00 2001 2 | From: Lans Zhang 3 | Date: Tue, 15 Mar 2016 21:07:31 +0800 4 | Subject: [PATCH] Fix the wrong dependency for %-blacklist.esl 5 | 6 | Upstream-Status: Pending 7 | 8 | Signed-off-by: Lans Zhang 9 | --- 10 | Make.rules | 2 +- 11 | 1 file changed, 1 insertion(+), 1 deletion(-) 12 | 13 | diff --git a/Make.rules b/Make.rules 14 | index 66d63f0..fed93b9 100644 15 | --- a/Make.rules 16 | +++ b/Make.rules 17 | @@ -75,7 +75,7 @@ endif 18 | %.hash: %.efi hash-to-efi-sig-list 19 | ./hash-to-efi-sig-list $< $@ 20 | 21 | -%-blacklist.esl: %.crt cert-to-efi-hash-list 22 | +%-blacklist.esl: %.crt cert-to-efi-sig-list 23 | ./cert-to-efi-sig-list $< $@ 24 | 25 | %-hash-blacklist.esl: %.crt cert-to-efi-hash-list 26 | -- 27 | 2.25.1 28 | 29 | -------------------------------------------------------------------------------- /meta-imx-bsp/conf/machine/imx91-11x11-lpddr4-frdm.conf: -------------------------------------------------------------------------------- 1 | #@TYPE: Machine 2 | #@NAME: NXP i.MX 91 11x11 FRDM with LPDDR4 3 | #@SOC: i.MX91 4 | #@DESCRIPTION: Machine configuration for NXP i.MX 91 11x11 FRDM with LPDDR4 5 | #@MAINTAINER: Lei Xu 6 | 7 | MACHINEOVERRIDES =. "mx91:" 8 | 9 | require conf/machine/include/imx91-evk.inc 10 | 11 | KERNEL_DEVICETREE_BASENAME = "imx91-11x11-frdm" 12 | 13 | KERNEL_DEVICETREE:append:use-nxp-bsp = " \ 14 | freescale/${KERNEL_DEVICETREE_BASENAME}-8mic-reve.dtb \ 15 | freescale/${KERNEL_DEVICETREE_BASENAME}-aud-hat.dtb \ 16 | freescale/${KERNEL_DEVICETREE_BASENAME}-mt9m114.dtb \ 17 | freescale/${KERNEL_DEVICETREE_BASENAME}-tianma-wvga-panel.dtb \ 18 | " 19 | 20 | UBOOT_CONFIG_BASENAME = "imx91_11x11_frdm" 21 | 22 | DDR_FIRMWARE_NAME = " \ 23 | lpddr4_dmem_1d_v202201.bin \ 24 | lpddr4_dmem_2d_v202201.bin \ 25 | lpddr4_imem_1d_v202201.bin \ 26 | lpddr4_imem_2d_v202201.bin \ 27 | " 28 | -------------------------------------------------------------------------------- /meta-imx-sdk/recipes-security/stmm-imx/stmm-imx_git.bb: -------------------------------------------------------------------------------- 1 | # NXP i.MX StandAlomeMM build 2 | require edk2-firmware_202202.bb 3 | SUMMARY = "i.MX StandAlomeMM binary produced by EDK2" 4 | DESCRIPTION = "StandAlomeMM is a PE/COFF binary produced by EDK2 for i.MX platforms" 5 | 6 | # To prevent a collision with u-boot-imx, remove virtual/bootloader provides 7 | PROVIDES:remove:imx-nxp-bsp = "virtual/bootloader" 8 | 9 | SRC_URI:append:imx-nxp-bsp = " file://iMXStandaloneMmRpmb.dsc" 10 | 11 | EDK2_PLATFORM:imx-nxp-bsp = "MmStandaloneRpmb" 12 | EDK2_PLATFORM_DSC:imx-nxp-bsp = "${UNPACKDIR}/iMXStandaloneMmRpmb.dsc" 13 | EDK2_BIN_NAME:imx-nxp-bsp = "BL32_AP_MM.fd" 14 | 15 | do_install:imx-nxp-bsp() { 16 | install -d ${D}/firmware 17 | install ${B}/Build/${EDK2_PLATFORM}/${EDK2_BUILD_MODE}_${EDK_COMPILER}/FV/${EDK2_BIN_NAME} ${D}/firmware/ 18 | } 19 | 20 | COMPATIBLE_MACHINE:imx-nxp-bsp = "(mx8-nxp-bsp|mx9-nxp-bsp)" 21 | PACKAGE_ARCH:imx-nxp-bsp = "${TUNE_PKGARCH}" 22 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bbappend: -------------------------------------------------------------------------------- 1 | # Freescale imx extra configuration 2 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" 3 | 4 | RDEPENDS:${PN} += " bash " 5 | 6 | SYSVINIT-GPU = " file://rc_mxc.S file://rc_gpu.S" 7 | 8 | SRC_URI:append:imxgpu2d = " ${SYSVINIT-GPU}" 9 | 10 | do_install:append:imxgpu2d() { 11 | # Install rc_mxc.S to /etc/init.d 12 | install -d ${D}${sysconfdir} ${D}${sysconfdir}/init.d 13 | install -m 0755 ${UNPACKDIR}/rc_mxc.S ${D}${sysconfdir}/init.d 14 | 15 | echo "mxc::respawn:/etc/init.d/rc_mxc.S" >> ${D}${sysconfdir}/inittab 16 | 17 | # Install rc_gpu.S to /etc/init.d 18 | install -m 0755 ${UNPACKDIR}/rc_gpu.S ${D}${sysconfdir}/init.d 19 | 20 | echo "gpu::sysinit:/etc/init.d/rc_gpu.S" >> ${D}${sysconfdir}/inittab 21 | } 22 | 23 | FILES:${PN}:append:imxgpu2d = " ${sysconfdir}/init.d/rc_mxc.S ${sysconfdir}/init.d/rc_gpu.S" 24 | 25 | PACKAGE_ARCH:imxgpu2d = "${MACHINE_ARCH}" 26 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-devtools/file/files/print_c.patch: -------------------------------------------------------------------------------- 1 | From e329257b8e22362b62e6c930447ef6feadd63f32 Mon Sep 17 00:00:00 2001 2 | From: Joe Slater 3 | Date: Mon, 7 Aug 2023 22:37:19 +0000 4 | Subject: [PATCH] print.c: initialize timezone data for localtime_r() 5 | 6 | The man page for localtime() points out that while it acts 7 | like tzset() has been called, localtime_r() might not. We 8 | have a local version of localtime_r() that avoids this, but 9 | we do not compile it. 10 | 11 | Upstream-Status: Submitted [file@astron.com] 12 | 13 | Signed-off-by: Joe Slater 14 | --- 15 | src/print.c | 1 + 16 | 1 file changed, 1 insertion(+) 17 | 18 | --- git.orig/src/print.c 19 | +++ git/src/print.c 20 | @@ -289,6 +289,7 @@ file_fmtdatetime(char *buf, size_t bsize 21 | goto out; 22 | 23 | if (flags & FILE_T_LOCAL) { 24 | + tzset(); 25 | tm = localtime_r(&t, &tmz); 26 | } else { 27 | tm = gmtime_r(&t, &tmz); 28 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-graphics/rutabaga-gfx/rutabaga-gfx_0.1.3.bb: -------------------------------------------------------------------------------- 1 | # Copyright 2025 NXP 2 | 3 | SUMMARY = "rutabaga_gfx" 4 | DESCRIPTION = "Handling virtio-gpu protocols with C API" 5 | HOMEPAGE = "https://github.com/google/crosvm/tree/main/rutabaga_gfx" 6 | 7 | LICENSE = "BSD-3-Clause" 8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=03dbda889fc4ff3d6d2981a1504ea88b" 9 | 10 | DEPENDS = "gfxstream" 11 | 12 | SRC_URI = "crate://crates.io/rutabaga_gfx/0.1.3 \ 13 | file://rutabaga-gfx-Cargo.lock \ 14 | " 15 | 16 | require ${BPN}-crates.inc 17 | 18 | SRC_URI[rutabaga_gfx-0.1.3.sha256sum] = "fe2630cf42077f1d55dbf6ce76578c89ed3fc8b9717864d09faf875d00d1a0c2" 19 | S = "${UNPACKDIR}/cargo_home/bitbake/rutabaga_gfx-0.1.3" 20 | 21 | inherit cargo pkgconfig cargo-update-recipe-crates 22 | 23 | CARGO_BUILD_FLAGS += "--features=gfxstream" 24 | 25 | do_configure:prepend() { 26 | cp ${UNPACKDIR}/rutabaga-gfx-Cargo.lock ${S}/Cargo.lock 27 | } 28 | 29 | do_install[noexec]="1" 30 | -------------------------------------------------------------------------------- /meta-imx-sdk/recipes-graphics/ttf-fonts/ttf-dejavu_2.%.bbappend: -------------------------------------------------------------------------------- 1 | # Fix up the fonts to the right location 2 | # Install the ttf files into /usr/lib/fonts directory 3 | 4 | PATH_TTF_FONTS="${libdir}/fonts" 5 | do_install:append() { 6 | if [ ! -d ${D}/${PATH_TTF_FONTS} ]; then 7 | mkdir -p ${D}/${PATH_TTF_FONTS} 8 | cp -d ${S}/* ${D}/${PATH_TTF_FONTS} 9 | chown -R root:root ${D}/${PATH_TTF_FONTS} 10 | fi 11 | } 12 | 13 | FILES:${PN}-sans += "${PATH_TTF_FONTS}/DejaVuSans.ttf ${PATH_TTF_FONTS}/DejaVuSans-*.ttf" 14 | FILES:${PN}-sans-mono += "${PATH_TTF_FONTS}/DejaVuSansMono*.ttf" 15 | FILES:${PN}-sans-condensed += "${PATH_TTF_FONTS}/DejaVuSansCondensed*.ttf" 16 | FILES:${PN}-serif += "${PATH_TTF_FONTS}/DejaVuSerif.ttf ${PATH_TTF_FONTS}/DejaVuSerif-*.ttf" 17 | FILES:${PN}-serif-condensed += "${PATH_TTF_FONTS}/DejaVuSerifCondensed*.ttf" 18 | FILES:${PN}-mathtexgyre += "${PATH_TTF_FONTS}/DejaVuMathTeXGyre.ttf" 19 | 20 | 21 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-bsp/imx-vpu/imx-vpu_5.4.39.3.bb: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2013-2018 O.S. Systems Software LTDA. 2 | # Copyright (C) 2013-2016 Freescale Semiconductor 3 | # Copyright 2017-2020 NXP 4 | 5 | DESCRIPTION = "Freescale VPU library for Chips&Media VPU" 6 | LICENSE = "Proprietary" 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=228c72f2a91452b8a03c4cab30f30ef9" 8 | 9 | PROVIDES = "virtual/imxvpu" 10 | 11 | PE = "1" 12 | 13 | SRC_URI = "${FSL_MIRROR}/${BP}.bin;fsl-eula=true" 14 | SRC_URI[sha256sum] = "87cb799a57df654db29403cb74a75ca5185a1517022d3a4a16b8d69056c36127" 15 | 16 | inherit fsl-eula-unpack use-imx-headers 17 | 18 | PLATFORM = "IMX6Q" 19 | 20 | do_compile() { 21 | INCLUDE_DIR="-I${STAGING_INCDIR_IMX}" 22 | oe_runmake CROSS_COMPILE="${HOST_PREFIX}" PLATFORM="${PLATFORM}" INCLUDE="${INCLUDE_DIR}" all 23 | } 24 | 25 | do_install() { 26 | oe_runmake PLATFORM="${PLATFORM}" DEST_DIR="${D}" install 27 | } 28 | 29 | COMPATIBLE_MACHINE = "(mx6q-nxp-bsp|mx6dl-nxp-bsp)" 30 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-support/opencv/opencv/0001-Dont-use-isystem.patch: -------------------------------------------------------------------------------- 1 | From 467b6b4eb328b62254083a77d3eb58c51e848dd2 Mon Sep 17 00:00:00 2001 2 | From: Khem Raj 3 | Date: Tue, 11 Sep 2018 00:21:18 -0700 4 | Subject: [PATCH] Dont use isystem 5 | 6 | clang really does not like it 7 | 8 | Upstream-Status: Pending 9 | 10 | Signed-off-by: Khem Raj 11 | 12 | --- 13 | cmake/OpenCVPCHSupport.cmake | 2 ++ 14 | 1 file changed, 2 insertions(+) 15 | 16 | diff --git a/cmake/OpenCVPCHSupport.cmake b/cmake/OpenCVPCHSupport.cmake 17 | index 34a088b839..d18aa6bacc 100644 18 | --- a/cmake/OpenCVPCHSupport.cmake 19 | +++ b/cmake/OpenCVPCHSupport.cmake 20 | @@ -18,6 +18,8 @@ IF(CV_GCC) 21 | SET(PCHSupport_FOUND TRUE) 22 | ENDIF() 23 | 24 | + SET(CMAKE_INCLUDE_SYSTEM_FLAG_C "-I") 25 | + SET(CMAKE_INCLUDE_SYSTEM_FLAG_CXX "-I") 26 | SET(_PCH_include_prefix "-I") 27 | SET(_PCH_isystem_prefix "-isystem") 28 | SET(_PCH_define_prefix "-D") 29 | -------------------------------------------------------------------------------- /meta-imx-sdk/recipes-fsl/packagegroup/packagegroup-imx-isp.bb: -------------------------------------------------------------------------------- 1 | # Copyright 2020,2024,2025 NXP 2 | # Released under the MIT license (see COPYING.MIT for the terms) 3 | 4 | DESCRIPTION = "Add packages for Image Signal Processing" 5 | LICENSE = "MIT" 6 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 7 | 8 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" 9 | 10 | inherit packagegroup 11 | 12 | LIBCAMERA_PKGS = " \ 13 | libcamera \ 14 | libcamera-gst \ 15 | libcamera-pycamera \ 16 | " 17 | ISP_PKGS ?= "" 18 | ISP_PKGS:mx8mp-nxp-bsp = " \ 19 | isp-imx \ 20 | basler-camera \ 21 | basler-camera-dev \ 22 | kernel-module-isp-vvcam \ 23 | " 24 | ISP_PKGS:mx8mm-nxp-bsp = "${LIBCAMERA_PKGS}" 25 | ISP_PKGS:mx8mq-nxp-bsp = "${LIBCAMERA_PKGS}" 26 | ISP_PKGS:mx8ulp-nxp-bsp = "${LIBCAMERA_PKGS}" 27 | ISP_PKGS:mx95-nxp-bsp = " \ 28 | ${LIBCAMERA_PKGS} \ 29 | neo-ipa-uguzzi \ 30 | " 31 | RDEPENDS:${PN} = " \ 32 | ${ISP_PKGS} \ 33 | " 34 | -------------------------------------------------------------------------------- /meta-imx-bsp/conf/machine/imx6ull9x9evk.conf: -------------------------------------------------------------------------------- 1 | #@TYPE: Machine 2 | #@NAME: NXP i.MX6ULL 9x9 Evaluation Kit 3 | #@SOC: i.MX6ULL 4 | #@DESCRIPTION: Machine configuration for NXP i.MX6ULL 9x9 EVK 5 | #@MAINTAINER: Lauren Post 6 | 7 | MACHINEOVERRIDES =. "mx6:mx6ul:mx6ull:" 8 | 9 | include conf/machine/include/imx-base.inc 10 | include conf/machine/include/arm/armv7a/tune-cortexa7.inc 11 | 12 | MACHINE_FIRMWARE:append = " firmware-imx-epdc" 13 | 14 | KERNEL_DEVICETREE = " \ 15 | nxp/imx/imx6ull-9x9-evk.dtb \ 16 | nxp/imx/imx6ull-9x9-evk-btwifi.dtb \ 17 | nxp/imx/imx6ull-9x9-evk-ldo.dtb" 18 | 19 | UBOOT_CONFIG ??= "${@bb.utils.contains('MACHINE_FEATURES', 'optee', 'sd-optee', 'sd', d)}" 20 | UBOOT_CONFIG[sd] = "mx6ull_9x9_evk_config,sdcard" 21 | UBOOT_CONFIG[qspi1] = "mx6ull_9x9_evk_qspi1_config" 22 | UBOOT_CONFIG[sd-optee] = "mx6ull_14x14_evk_optee_config,sdcard" 23 | 24 | OPTEE_BIN_EXT = "6ullevk" 25 | 26 | MACHINE_FEATURES += "wifi bluetooth optee bcm4339 bcm43455" 27 | -------------------------------------------------------------------------------- /meta-imx-sdk/recipes-bsp/imx-atf/imx-atf_%.bbappend: -------------------------------------------------------------------------------- 1 | # For optee builds, generate non-optee binaries as well. 2 | ANNOTATED_NAME_EXTRA_BUILD = \ 3 | "${@bb.utils.contains('PACKAGECONFIG', 'crrm', '', \ 4 | bb.utils.contains('PACKAGECONFIG', 'optee', 'bl31-${ATF_PLATFORM}.bin', \ 5 | '', d), d)}" 6 | 7 | EXTRA_OEMAKE_EXTRA_BUILD = "${EXTRA_OEMAKE} BUILD_BASE=build-ci" 8 | EXTRA_OEMAKE_EXTRA_BUILD:remove = "SPD=opteed" 9 | 10 | do_compile:append() { 11 | if [ "${ANNOTATED_NAME_EXTRA_BUILD}" != "" ]; then 12 | bbnote ${MAKE} ${EXTRA_OEMAKE_EXTRA_BUILD} "$@" 13 | ${MAKE} ${EXTRA_OEMAKE_EXTRA_BUILD} "$@" || die "CI oe_runmake failed" 14 | fi 15 | } 16 | 17 | do_deploy:append() { 18 | if [ "${ANNOTATED_NAME_EXTRA_BUILD}" != "" ]; then 19 | install -Dm 0644 ${S}/build-ci/${ATF_PLATFORM}/${OUTPUT_FOLDER}/bl31.bin \ 20 | ${DEPLOYDIR}/imx-boot-tools/${ANNOTATED_NAME_EXTRA_BUILD} 21 | fi 22 | } 23 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-devtools/patrace/patrace/0001-CMakeLists.txt-Switch-to-python3.patch: -------------------------------------------------------------------------------- 1 | From c6946a8f96a73fadf4ad1bc9b28cf5568feba473 Mon Sep 17 00:00:00 2001 2 | From: Tom Hochstein 3 | Date: Mon, 22 Jan 2024 17:34:17 -0600 4 | Subject: [PATCH] CMakeLists.txt: Switch to python3 5 | 6 | Upstream-Status: Inappropriate [i.MX specific] 7 | 8 | Signed-off-by: Tom Hochstein 9 | --- 10 | patrace/project/cmake/CMakeLists.txt | 2 +- 11 | 1 file changed, 1 insertion(+), 1 deletion(-) 12 | 13 | diff --git a/patrace/project/cmake/CMakeLists.txt b/patrace/project/cmake/CMakeLists.txt 14 | index 8704beb..3edd4a9 100644 15 | --- a/patrace/project/cmake/CMakeLists.txt 16 | +++ b/patrace/project/cmake/CMakeLists.txt 17 | @@ -1,7 +1,7 @@ 18 | cmake_minimum_required (VERSION 2.8.4) 19 | 20 | project (patrace) 21 | -set (PYTHON_EXECUTABLE python) 22 | +set (PYTHON_EXECUTABLE python3) 23 | 24 | message(STATUS "main ar: ${CMAKE_AR}") 25 | 26 | -- 27 | 2.34.1 28 | 29 | -------------------------------------------------------------------------------- /meta-imx-ml/recipes-libraries/pytorch/pytorch_git.bb: -------------------------------------------------------------------------------- 1 | # Copyright 2020-2024 NXP 2 | SUMMARY = "Tensors and Dynamic neural networks in Python with strong GPU acceleration" 3 | LICENSE = "BSD-3-Clause" 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=9c57cfb31165de565a47b65b896391c2" 5 | 6 | PV = "2.0.0" 7 | 8 | DEPENDS = "python3 python3-pip-native python3-wheel-native" 9 | RDEPENDS:${PN} += "python3-core python3-numpy python3-future python3-typing-extensions python3-pillow numactl libjpeg-turbo lcms openjpeg" 10 | 11 | PYTORCH_SRC ?= "git://github.com/nxp-imx/pytorch-release.git;protocol=https" 12 | SRCBRANCH = "lf-6.12.34_2.1.0" 13 | SRCREV = "cc03fda98c2ef26db2f823eaba36ca96107eee23" 14 | 15 | SRC_URI = " \ 16 | ${PYTORCH_SRC};branch=${SRCBRANCH} \ 17 | " 18 | 19 | inherit python3native 20 | 21 | S = "${WORKDIR}/git" 22 | 23 | do_install(){ 24 | install -d ${D}${bindir} 25 | install -d ${D}${bindir}/${PN}/examples 26 | 27 | install -m 0555 ${S}/examples/* ${D}${bindir}/${PN}/examples 28 | } 29 | -------------------------------------------------------------------------------- /meta-imx-ml/recipes-libraries/tensorflow-lite/tensorflow-lite-host-tools_2.19.0.bb: -------------------------------------------------------------------------------- 1 | # Copyright 2022-2025 NXP 2 | DESCRIPTION = "Host tools required for build of TensorFlow Lite C++ Library unit tests and Evaluation Tools" 3 | LICENSE = "Apache-2.0" 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=4158a261ca7f2525513e31ba9c50ae98" 5 | 6 | require tensorflow-lite-${PV}.inc 7 | SRC_URI = "${TENSORFLOW_LITE_SRC};branch=${SRCBRANCH_tf};name=tf" 8 | 9 | inherit cmake 10 | 11 | S = "${WORKDIR}/git" 12 | OECMAKE_SOURCEPATH = "${S}/tensorflow/lite/tools/cmake/native_tools" 13 | 14 | BBCLASSEXTEND = "native nativesdk" 15 | 16 | EXTRA_OECMAKE = " \ 17 | -DFETCHCONTENT_FULLY_DISCONNECTED=OFF \ 18 | -DCMAKE_SYSROOT=${PKG_CONFIG_SYSROOT_DIR} \ 19 | " 20 | 21 | CXXFLAGS += "-fPIC" 22 | 23 | do_configure[network] = "1" 24 | do_configure:prepend() { 25 | export HTTP_PROXY=${http_proxy} 26 | export HTTPS_PROXY=${https_proxy} 27 | export http_proxy=${http_proxy} 28 | export https_proxy=${https_proxy} 29 | } 30 | -------------------------------------------------------------------------------- /meta-imx-ml/recipes-nnstreamer/nnstreamer-edge/nnstreamer-edge_0.2.6.bb: -------------------------------------------------------------------------------- 1 | SUMMARY = "NNStreamer-Edge library" 2 | DESCRIPTION = "Remote source nodes for NNStreamer pipelines without GStreamer dependencies" 3 | LICENSE = "Apache-2.0" 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=095e13fef457e259d3bc155d0ed859f1" 5 | 6 | DEPENDS = "\ 7 | gtest \ 8 | " 9 | 10 | NNS_EDGE_SRC ?= "git://github.com/nnstreamer/nnstreamer-edge.git;protocol=https" 11 | SRCBRANCH = "prod/tizen-9.0" 12 | SRCREV = "e73acb740dce3ecbf8a650f45fab790afb400a95" 13 | SRC_URI = "${NNS_EDGE_SRC};branch=${SRCBRANCH}" 14 | 15 | S = "${WORKDIR}/git" 16 | 17 | inherit cmake pkgconfig 18 | 19 | EXTRA_OECMAKE = " \ 20 | -DENABLE_TEST=ON \ 21 | " 22 | 23 | # The build produces a mix of versioned and unversioned libs, so custom packaging is required 24 | FILES_SOLIBSDEV:remove = "${libdir}/lib*${SOLIBSDEV}" 25 | FILES:${PN} += "${libdir}/libnnstreamer-edge-custom-test${SOLIBSDEV}" 26 | FILES:${PN}-dev += "${libdir}/libnnstreamer-edge${SOLIBSDEV}" 27 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-graphics/vulkan/vulkan-samples_%.bbappend: -------------------------------------------------------------------------------- 1 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" 2 | SRC_URI += "file://0001-The-workload-of-case-16bit_arithmetic-is-heavy-for-8.patch \ 3 | file://0002-MGS-8163-fix-fix-the-surface-resize-logic-when-use-w.patch" 4 | 5 | inherit pkgconfig 6 | 7 | # Can only pick one of [wayland,xcb] 8 | PACKAGECONFIG = "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', 'xcb', d)}" 9 | PACKAGECONFIG[wayland] = " \ 10 | -DVKB_WSI_SELECTION=WAYLAND -DGLFW_BUILD_WAYLAND=true -DGLFW_BUILD_X11=false -DGLFW_INCLUDE_VULKAN=true, \ 11 | , \ 12 | wayland wayland-native wayland-protocols libxkbcommon, \ 13 | , \ 14 | , \ 15 | xcb" 16 | PACKAGECONFIG[xcb] = " \ 17 | , \ 18 | , \ 19 | libxcb, \ 20 | , \ 21 | , \ 22 | wayland" 23 | 24 | do_install:append() { 25 | install -m 0755 ${B}/app/bin/aarch64/vulkan_samples ${D}${bindir} 26 | cp -r ${S}/assets ${D}${bindir}/ 27 | cp -r ${S}/shaders ${D}${bindir}/ 28 | } 29 | -------------------------------------------------------------------------------- /meta-imx-sdk/recipes-extended/dpdk/dpdk-fpr_22.11.bb: -------------------------------------------------------------------------------- 1 | DESCRIPTION = "DPDK based Fast Path Routing" 2 | HOMEPAGE = "http://dpdk.org" 3 | LICENSE = "BSD-3-Clause" 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=0f00d99239d922ffd13cabef83b33444" 5 | 6 | DEPENDS = "dpdk" 7 | 8 | SRC_URI = "${DPDK_FPR_SRC};branch=${SRCBRANCH}" 9 | DPDK_FPR_SRC ?= "git://github.com/nxp/dpdk-fpr;protocol=https" 10 | 11 | SRCBRANCH = "main" 12 | SRCREV = "ceb5d3ee0f543b18eb94c673c837ab977166923a" 13 | 14 | S = "${WORKDIR}/git" 15 | 16 | inherit pkgconfig 17 | 18 | do_install() { 19 | install -d ${D}${sysconfdir}/dpdk-fpr 20 | install -d ${D}${bindir} 21 | install -m 0644 ${S}/nxp/*.txt ${D}${sysconfdir}/dpdk-fpr/ 22 | install -m 0644 ${S}/nxp/fpr*.conf ${D}${sysconfdir}/dpdk-fpr/ 23 | install -m 0755 ${S}/nxp/up ${D}${sysconfdir}/dpdk-fpr/ 24 | install -m 0755 ${S}/app/dpdk-fpr ${D}${bindir}/ 25 | } 26 | 27 | RDEPENDS:${PN} += " socat kernel-module-dpdk-extras" 28 | 29 | COMPATIBLE_MACHINE = "(mx93-nxp-bsp|mx943-nxp-bsp|mx95-nxp-bsp)" 30 | -------------------------------------------------------------------------------- /meta-imx-bsp/conf/machine/imx8qmmek.conf: -------------------------------------------------------------------------------- 1 | #@TYPE: Machine 2 | #@NAME: i.MX 8QuadMax consolidated rootfs machine 3 | #@SOC: i.MX8QM 4 | #@DESCRIPTION: A consolidated machine configuration for i.MX 8QuadMax Multisensory Enablement Kit board, rev B0, see Important Note below 5 | #@MAINTAINER: Jun Zhu 6 | 7 | # ** Important Note ** 8 | # This machine generates an image contain the bootloader of MEK, Kernel, and rootfs, plus the DTBs of 9 | # both revd and lpddr4 validations. The resulting image can be used for MEK directly. 10 | MACHINEOVERRIDES =. "imx8qm-mek:" 11 | require conf/machine/imx8qm-mek.conf 12 | 13 | KERNEL_DEVICETREE += " \ 14 | freescale/imx8qm-lpddr4-val-ca53.dtb \ 15 | freescale/imx8qm-lpddr4-val-ca72.dtb \ 16 | freescale/imx8qm-lpddr4-val-dp.dtb \ 17 | freescale/imx8qm-lpddr4-val.dtb \ 18 | freescale/imx8qm-lpddr4-val-lpspi.dtb \ 19 | freescale/imx8qm-lpddr4-val-lpspi-slave.dtb \ 20 | freescale/imx8qm-lpddr4-val-mqs.dtb \ 21 | freescale/imx8qm-lpddr4-val-spdif.dtb \ 22 | " 23 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-graphics/piglit/piglit_%.bbappend: -------------------------------------------------------------------------------- 1 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" 2 | 3 | SRC_URI += "file://0001-tests-Fix-cl-test-Include-Directories-error-Error-0-.patch \ 4 | file://0002-cl-Add-mutually-exclusive-memory-flags-for-CL_MEM_KE.patch" 5 | 6 | PACKAGECONFIG:append = " \ 7 | ${PACKAGECONFIG_GBM} \ 8 | ${PACKAGECONFIG_VULKAN}" 9 | PACKAGECONFIG:remove = " \ 10 | ${PACKAGECONFIG_REMOVE_X11}" 11 | 12 | PACKAGECONFIG_GBM ?= "gbm" 13 | PACKAGECONFIG_GBM:imxgpu:mx6-nxp-bsp = "" 14 | PACKAGECONFIG_GBM:imxgpu:mx7-nxp-bsp = "" 15 | 16 | PACKAGECONFIG_VULKAN ?= "${@bb.utils.filter('DISTRO_FEATURES', 'vulkan', d)}" 17 | 18 | PACKAGECONFIG_REMOVE_X11 ?= "" 19 | PACKAGECONFIG_REMOVE_X11:imxgpu:mx6-nxp-bsp = "x11" 20 | PACKAGECONFIG_REMOVE_X11:imxgpu:mx7-nxp-bsp = "x11" 21 | 22 | PACKAGECONFIG[gbm] = "-DPIGLIT_USE_GBM=1,-DPIGLIT_USE_GBM=0,virtual/libgbm" 23 | 24 | CFLAGS:append:imxgpu = " -Wno-error=int-conversion -Wno-error=incompatible-pointer-types" 25 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-bsp/imx-secure-enclave/imx-secure-enclave.inc: -------------------------------------------------------------------------------- 1 | # Copyright 2021-2025 NXP 2 | 3 | SUMMARY = "NXP i.MX SECURE ENCLAVE library" 4 | DESCRIPTION = "NXP IMX SECURE ENCLAVE library" 5 | SECTION = "base" 6 | LICENSE = "BSD-3-Clause" 7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=8636bd68fc00cc6a3809b7b58b45f982" 8 | 9 | DEPENDS = " mbedtls openssl" 10 | 11 | SRC_URI = "${SECURE_ENCLAVE_LIB_SRC};branch=${SRCBRANCH}" 12 | SECURE_ENCLAVE_LIB_SRC ?= "git://github.com/NXP/imx-secure-enclave.git;protocol=https" 13 | SRCBRANCH = "lf-6.12.34_2.1.0" 14 | SRCREV = "1cfdaddb37d673fff5e4b60ef2614a4c544dabd3" 15 | 16 | S = "${WORKDIR}/git" 17 | 18 | PLAT ?= "UNDEFINED" 19 | 20 | EXTRA_OEMAKE = "PLAT=${PLAT} OPENSSL_PATH=${STAGING_INCDIR} MBEDTLS_PATH=${STAGING_DIR_HOST}${datadir}/mbedtls-source" 21 | 22 | TARGET_CC_ARCH += "${LDFLAGS}" 23 | 24 | do_install() { 25 | oe_runmake -C ${S} DESTDIR=${D} install_tests 26 | } 27 | 28 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" 29 | 30 | FILES:${PN} += "${datadir}/se" 31 | RDEPENDS:${PN}:append = " bash" 32 | -------------------------------------------------------------------------------- /meta-imx-bsp/conf/machine/imx95a1evk.conf: -------------------------------------------------------------------------------- 1 | #@TYPE: Machine 2 | #@NAME: i.MX 95 A1 Consolidated rootfs machine 3 | #@SOC: i.MX95 4 | #@DESCRIPTION: A Consolidated machine configuration for i.MX 95 Rev A1 19x19 LPDDR5 and 5 | # 15x15 LPDDR4x EVK, see Important Note below 6 | #@MAINTAINER: Jun Zhu 7 | 8 | # ** Important Note ** 9 | # This machine generates an image contain the bootloader of 19x19 LPDDR5 EVK, Kernel, and rootfs, plus the DTBs of 10 | # 15x15 LPDDR4x EVK boards. The resulting image can be used for 19x19 LPDDR5 EVK directly, 11 | # and it can be manually converted for other EVK or QSB following the instructions in the User Guide - Consolidated Machines section. 12 | # For users of all of EVK variants, this can save build time and space. For most users, the dedicated machines 13 | # imx95-19x19-lpddr5-evk.conf and imx95-15x15-lpddr4x-evk.conf should be used for simplicity. 14 | 15 | require imx95evk.conf 16 | IMX_SOC_REV:${MACHINE} = "A0" 17 | OEI_DDRCONFIG = "XIMX95LPD5EVK19_6400mbps_train_timing_a1" 18 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.4.11.p4.0.bb: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2015-2016 Freescale Semiconductor 2 | # Copyright (C) 2017-2025 NXP 3 | 4 | SUMMARY = "Kernel loadable module for Vivante GPU" 5 | DESCRIPTION = "Builds the Vivante GPU kernel driver as a loadable kernel module, \ 6 | allowing flexibility to use a newer graphics release with an older kernel." 7 | LICENSE = "GPL-2.0-only" 8 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0-only;md5=801f80980d171dd6425610833a22dbe6" 9 | 10 | SRC_URI = "${LINUX_IMX_SRC};subpath=drivers/mxc/gpu-viv;destsuffix=git/src \ 11 | file://Add-makefile.patch" 12 | LINUX_IMX_SRC ?= "git://github.com/nxp-imx/linux-imx.git;protocol=https;branch=${SRCBRANCH}" 13 | SRCBRANCH = "lf-6.12.y" 14 | LOCALVERSION = "-lts-next" 15 | SRCREV = "13a664b1c22ec8e1c8d63ee0757ad9df4b55ca61" 16 | 17 | S = "${WORKDIR}/git" 18 | 19 | inherit module 20 | 21 | EXTRA_OEMAKE += "CONFIG_MXC_GPU_VIV=m" 22 | 23 | KERNEL_MODULE_AUTOLOAD = "galcore" 24 | COMPATIBLE_MACHINE = "(imx-nxp-bsp)" 25 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-multimedia/imx-vpuwrap/imx-vpuwrap_git.bb: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2013-2016 Freescale Semiconductor 2 | # Copyright 2017-2023 NXP 3 | # Released under the MIT license (see COPYING.MIT for the terms) 4 | 5 | DESCRIPTION = "Freescale Multimedia VPU wrapper" 6 | LICENSE = "Proprietary" 7 | SECTION = "multimedia" 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=bc649096ad3928ec06a8713b8d787eac" 9 | 10 | DEPENDS = "virtual/imxvpu" 11 | DEPENDS:append:mx8mp-nxp-bsp = " imx-vpu-hantro-vc" 12 | 13 | SRC_URI = "${IMX_VPUWRAP_SRC};branch=${SRCBRANCH}" 14 | IMX_VPUWRAP_SRC ?= "git://github.com/NXP/imx-vpuwrap.git;protocol=https" 15 | SRCBRANCH = "MM_04.10.01_2508_L6.12.34" 16 | SRCREV = "a623eecccce97478693c2d6d6dd043048d0618ef" 17 | 18 | S = "${WORKDIR}/git" 19 | 20 | inherit autotools pkgconfig 21 | 22 | CFLAGS += " -Wno-error=implicit-function-declaration" 23 | 24 | do_install:append() { 25 | # FIXME: Drop examples for now 26 | rm -r ${D}${datadir} 27 | } 28 | 29 | PACKAGE_ARCH = "${MACHINE_ARCH}" 30 | 31 | COMPATIBLE_MACHINE = "(imxvpu)" 32 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-support/vtest/files/0001-LF-12809-Use-standard-linux-build-assumptions.patch: -------------------------------------------------------------------------------- 1 | From 78f6313cf3928bda0977ddaafed99f5fbc51dc73 Mon Sep 17 00:00:00 2001 2 | From: Tom Hochstein 3 | Date: Fri, 26 Jul 2024 12:43:40 -0500 4 | Subject: [PATCH] LF-12809: Use standard linux build assumptions 5 | 6 | Upstream-Status: Pending 7 | 8 | Signed-off-by: Tom Hochstein 9 | --- 10 | CMakeLists.txt | 8 +++----- 11 | 1 file changed, 3 insertions(+), 5 deletions(-) 12 | 13 | diff --git a/CMakeLists.txt b/CMakeLists.txt 14 | index a589de8..8d43da6 100644 15 | --- a/CMakeLists.txt 16 | +++ b/CMakeLists.txt 17 | @@ -59,11 +59,9 @@ target_include_directories (vtest 18 | if(UNIFIED_LIBS) 19 | target_link_libraries (vtest 20 | v2xCrypto 21 | - ${HSM_LIBS_DIR}/lib_hsm.so 22 | - ${HSM_LIBS_DIR}/lib_hsm.so.0 23 | - ${HSM_LIBS_DIR}/lib_hsm.so.0.1 24 | - ${ZLIB_DIR}/libz.a 25 | - ${ECC_SRC}/libECDSA.so 26 | + :lib_hsm.so 27 | + z 28 | + ECDSA 29 | pthread 30 | rt 31 | ${LTTNG_LIB} 32 | -- 33 | 2.34.1 34 | 35 | -------------------------------------------------------------------------------- /meta-imx-bsp/conf/machine/imx8ulp-9x9-lpddr4x-evk.conf: -------------------------------------------------------------------------------- 1 | #@TYPE: Machine 2 | #@NAME: i.MX 8ULP 9x9 EVK 3 | #@SOC: i.MX8ULP 4 | #@DESCRIPTION: Machine configuration for NXP i.MX 8ULP 9x9 Evaluation Kit with LPDDR4x 5 | #@MAINTAINER: Jun Zhu 6 | 7 | require conf/machine/include/imx8ulp-evk.inc 8 | 9 | KERNEL_DEVICETREE_BASENAME = "imx8ulp-9x9-evk" 10 | 11 | KERNEL_DEVICETREE:append:use-nxp-bsp = " \ 12 | freescale/${KERNEL_DEVICETREE_BASENAME}-i3c.dtb \ 13 | freescale/${KERNEL_DEVICETREE_BASENAME}-lpa.dtb \ 14 | freescale/${KERNEL_DEVICETREE_BASENAME}-lpspi.dtb \ 15 | freescale/${KERNEL_DEVICETREE_BASENAME}-lpspi-slave.dtb \ 16 | freescale/${KERNEL_DEVICETREE_BASENAME}-sof-btsco.dtb \ 17 | freescale/${KERNEL_DEVICETREE_BASENAME}-tpm.dtb \ 18 | freescale/${KERNEL_DEVICETREE_BASENAME}-rk055hdmipi4m.dtb \ 19 | freescale/${KERNEL_DEVICETREE_BASENAME}-rk055hdmipi4mv2.dtb \ 20 | " 21 | 22 | UBOOT_CONFIG_BASENAME = "imx8ulp_9x9_evk" 23 | 24 | MACHINE_FEATURES += "soc-reva1" 25 | UPOWER_FIRMWARE_NAME = "upower_a1.bin" 26 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-graphics/imx-g2d/imx-pxp-g2d_git.bb: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2016 Freescale Semiconductor 2 | # Copyright 2017-2025 NXP 3 | # Released under the MIT license (see COPYING.MIT for the terms) 4 | 5 | DESCRIPTION = "G2D library using i.MX PXP" 6 | LICENSE = "Proprietary" 7 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a93b654673e1bc8398ed1f30e0813359" 8 | 9 | PROVIDES += "virtual/libg2d" 10 | 11 | PV = "2.4+git${SRCPV}" 12 | 13 | SRC_URI = "${IMX_PXP_G2D_SRC};branch=${SRCBRANCH}" 14 | IMX_PXP_G2D_SRC ?= "git://github.com/nxp-imx/imx-g2d-pxp.git;protocol=https" 15 | SRCBRANCH = "imx_2.4" 16 | SRCREV = "e84c713db1ce50c75087aad32ff0bfed30de4978" 17 | 18 | S = "${WORKDIR}/git" 19 | 20 | inherit use-imx-headers 21 | 22 | EXTRA_OEMAKE = "PLATFORM=${IMX_PLATFORM} INCLUDE='-I${STAGING_INCDIR_IMX}' DEST_DIR=${D}" 23 | IMX_PLATFORM:mx93-nxp-bsp = "IMX93" 24 | IMX_PLATFORM:mx943-nxp-bsp = "IMX943" 25 | 26 | do_install() { 27 | oe_runmake install 28 | } 29 | 30 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" 31 | COMPATIBLE_MACHINE = "(mx93-nxp-bsp|mx943-nxp-bsp)" 32 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-graphics/wayland/wayland/0001-Revert-util-simplify-wl_fixed_to_double.patch: -------------------------------------------------------------------------------- 1 | From 0a5a2c5b1fd1d6e4922fb400a7642cf78f0adc58 Mon Sep 17 00:00:00 2001 2 | From: Haihua Hu 3 | Date: Fri, 13 Dec 2024 15:24:44 +0900 4 | Subject: [PATCH 1/2] Revert "util: simplify wl_fixed_to_double()" 5 | 6 | Upstream-Status: Inappropriate [i.MX specific] 7 | 8 | This reverts commit 0e0ae7e290f28f4ee4ad807acb955d6b276d9e58. 9 | --- 10 | src/wayland-util.h | 9 ++++++++- 11 | 1 file changed, 8 insertions(+), 1 deletion(-) 12 | 13 | diff --git a/src/wayland-util.h b/src/wayland-util.h 14 | index 929a34f..bcb903c 100644 15 | --- a/src/wayland-util.h 16 | +++ b/src/wayland-util.h 17 | @@ -622,7 +622,14 @@ typedef int32_t wl_fixed_t; 18 | static inline double 19 | wl_fixed_to_double(wl_fixed_t f) 20 | { 21 | - return f / 256.0; 22 | + union { 23 | + double d; 24 | + int64_t i; 25 | + } u; 26 | + 27 | + u.i = ((1023LL + 44LL) << 52) + (1LL << 51) + f; 28 | + 29 | + return u.d - (3LL << 43); 30 | } 31 | 32 | /** 33 | -- 34 | 2.34.1 35 | 36 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-graphics/wayland/wayland/0002-Revert-util-simplify-wl_fixed_from_double.patch: -------------------------------------------------------------------------------- 1 | From 11d424a44a3d33798db902142f9863700695694f Mon Sep 17 00:00:00 2001 2 | From: Haihua Hu 3 | Date: Fri, 13 Dec 2024 15:38:07 +0900 4 | Subject: [PATCH 2/2] Revert "util: simplify wl_fixed_from_double()" 5 | 6 | Upstream-Status: Inappropriate [i.MX specific] 7 | 8 | This reverts commit 2a91f01d6c617f8f2bd1c5bf18cfa9bd21a732f6. 9 | --- 10 | src/wayland-util.h | 9 ++++++++- 11 | 1 file changed, 8 insertions(+), 1 deletion(-) 12 | 13 | diff --git a/src/wayland-util.h b/src/wayland-util.h 14 | index bcb903c..8cbc4ef 100644 15 | --- a/src/wayland-util.h 16 | +++ b/src/wayland-util.h 17 | @@ -642,7 +642,14 @@ wl_fixed_to_double(wl_fixed_t f) 18 | static inline wl_fixed_t 19 | wl_fixed_from_double(double d) 20 | { 21 | - return (wl_fixed_t) (d * 256.0); 22 | + union { 23 | + double d; 24 | + int64_t i; 25 | + } u; 26 | + 27 | + u.d = d + (3LL << (51 - 8)); 28 | + 29 | + return (wl_fixed_t)u.i; 30 | } 31 | 32 | /** 33 | -- 34 | 2.34.1 35 | 36 | -------------------------------------------------------------------------------- /meta-imx-bsp/conf/machine/imx6qsabresd.conf: -------------------------------------------------------------------------------- 1 | #@TYPE: Machine 2 | #@NAME: NXP i.MX6Q SABRE Smart Device 3 | #@SOC: i.MX6Q 4 | #@DESCRIPTION: Machine configuration for NXP i.MX6Q SABRE Smart Device 5 | #@MAINTAINER: Otavio Salvador 6 | 7 | MACHINEOVERRIDES =. "mx6:mx6q:" 8 | 9 | require conf/machine/include/imx6sabresd-common.inc 10 | 11 | KERNEL_DEVICETREE = " \ 12 | nxp/imx/imx6q-sabresd.dtb \ 13 | nxp/imx/imx6q-sabresd-btwifi.dtb \ 14 | nxp/imx/imx6q-sabresd-enetirq.dtb \ 15 | nxp/imx/imx6q-sabresd-hdcp.dtb \ 16 | nxp/imx/imx6q-sabresd-ldo.dtb \ 17 | nxp/imx/imx6q-sabresd-uart.dtb \ 18 | nxp/imx/imx6q-sabresd-pcie.dtb \ 19 | nxp/imx/imx6q-sabresd-pcie-ep.dtb \ 20 | " 21 | 22 | MACHINE_FEATURES:append = " optee" 23 | 24 | UBOOT_CONFIG ??= "${@bb.utils.contains('MACHINE_FEATURES', 'optee', 'sd-optee', 'sd', d)}" 25 | UBOOT_CONFIG[sd] = "mx6qsabresd_config,sdcard" 26 | UBOOT_CONFIG[sata] = "mx6qsabresd_sata_config" 27 | UBOOT_CONFIG[sd-optee] = "mx6qsabresd_optee_config,sdcard" 28 | 29 | OPTEE_BIN_EXT = "6qsdb" 30 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-security/ecdsa-lib-imx/ecdsa-lib-imx_3.3.4.bb: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2019-2024 NXP 2 | 3 | DESCRIPTION = "ECDSA Verification Engine using HSM" 4 | SUMMARY = "ECDSA Verification Engine using HSM" 5 | 6 | LICENSE = "Proprietary" 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=c0fb372b5d7f12181de23ef480f225f3" 8 | 9 | DEPENDS = "imx-secure-enclave-seco openssl zlib" 10 | 11 | SRC_URI[sha256sum] = "061c1ae3938768b2ef2afe9e74f140f8739a458771a2578cbd31256e3f10b0ae" 12 | 13 | IMX_SRCREV_ABBREV = "dd6eac8" 14 | 15 | inherit fsl-eula2-unpack2 fsl-eula-recent 16 | 17 | do_install(){ 18 | install -d ${D}${libdir} 19 | install -d ${D}${includedir} 20 | install -d ${D}${bindir} 21 | 22 | cp -P --no-preserve=ownership ${S}/usr/lib/* ${D}${libdir} 23 | cp -r --no-preserve=ownership ${S}/usr/include/* ${D}${includedir} 24 | cp -r --no-preserve=ownership ${S}/usr/bin/* ${D}${bindir} 25 | } 26 | 27 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" 28 | INHIBIT_PACKAGE_STRIP = "1" 29 | INHIBIT_SYSROOT_STRIP = "1" 30 | 31 | COMPATIBLE_MACHINE = "(mx8dxl-nxp-bsp)" 32 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-devtools/sbsigntool/sbsigntool/0002-docs-Don-t-build-man-pages.patch: -------------------------------------------------------------------------------- 1 | From 27abd536c0e2f2ee0b4fa373e636076e58ed4510 Mon Sep 17 00:00:00 2001 2 | From: Ilias Apalodimas 3 | Date: Wed, 10 Mar 2021 15:52:52 +0200 4 | Subject: [PATCH] docs: Don't build man pages 5 | 6 | Man pages not needed on embedded targets 7 | 8 | Upstream-Status: Inappropriate [embedded specific] 9 | 10 | Signed-off-by: Ilias Apalodimas 11 | --- 12 | docs/Makefile.am | 5 ----- 13 | 1 file changed, 5 deletions(-) 14 | 15 | diff --git a/docs/Makefile.am b/docs/Makefile.am 16 | index 89ed110..6918dd8 100644 17 | --- a/docs/Makefile.am 18 | +++ b/docs/Makefile.am 19 | @@ -1,9 +1,4 @@ 20 | 21 | -man1_MANS = sbsign.1 sbverify.1 sbattach.1 sbvarsign.1 sbsiglist.1 \ 22 | - sbkeysync.1 23 | - 24 | -EXTRA_DIST = sbsign.1.in sbverify.1.in sbattach.1.in \ 25 | - sbvarsign.1.in sbsiglist.1.in sbkeysync.1.in 26 | CLEANFILES = $(man1_MANS) 27 | 28 | $(builddir)/%.1: $(srcdir)/%.1.in $(top_builddir)/src/% 29 | -- 30 | 2.25.1 31 | 32 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-security/v2xsehsm/v2xsehsm_git.bb: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2019-2024 NXP 2 | 3 | SUMMARY = "Adaptation layer between v2xCryptoLibrary SE API and HSM API" 4 | LICENSE = "BSD-3-Clause" 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=664939843ae3416d811479b21978e8b4" 6 | 7 | DEPENDS = "imx-secure-enclave-seco" 8 | 9 | SRC_URI = "${V2XSEHSM_SRC};branch=${SRCBRANCH} \ 10 | file://0001-LF-12809-Use-standard-linux-build-assumptions.patch \ 11 | file://0001-LF-12809-Fix-cmake-install-for-cross-compile.patch \ 12 | " 13 | V2XSEHSM_SRC ?= "git://github.com/nxp-imx/v2xsehsm.git;protocol=https" 14 | SRCBRANCH = "main" 15 | SRCREV = "447dbe2a1090d28e0330d3b2e4e9117960f6c263" 16 | 17 | S = "${WORKDIR}/git" 18 | 19 | inherit cmake 20 | 21 | PACKAGECONFIG ?= "" 22 | PACKAGECONFIG[lttng] = "-DTRACE_SETTING=-DENABLE_LTTNG,,lttng-ust" 23 | 24 | EXTRA_OECMAKE += "-DSECO_LIBS_DIR=${STAGING_DIR_TARGET}${libdir}" 25 | CFLAGS += "-I${STAGING_INCDIR} -I${STAGING_INCDIR}/hsm" 26 | LDFLAGS += "-L${STAGING_LIBDIR}" 27 | 28 | COMPATIBLE_MACHINE = "(mx8dxl-nxp-bsp)" 29 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-connectivity/bluez5/files/0006-gobex-increase-the-obex-default-abort-timeout-value.patch: -------------------------------------------------------------------------------- 1 | From dee096d75e12554ac24171a8af5cb5da06bd29b8 Mon Sep 17 00:00:00 2001 2 | From: Fugang Duan 3 | Date: Wed, 29 May 2019 15:33:43 +0800 4 | Subject: [PATCH] gobex: increase the obex default/abort timeout value. 5 | 6 | Increase the obex default/abort timeout due to avoid 7 | response timeout for some phone obex opp test. 8 | 9 | Upstream-Status: Pending 10 | Signed-off-by: Fugang Duan 11 | --- 12 | gobex/gobex.c | 4 ++-- 13 | 1 file changed, 2 insertions(+), 2 deletions(-) 14 | 15 | diff --git a/gobex/gobex.c b/gobex/gobex.c 16 | index 0e5817e..d568b05 100644 17 | --- a/gobex/gobex.c 18 | +++ b/gobex/gobex.c 19 | @@ -35,8 +35,8 @@ 20 | #define G_OBEX_MINIMUM_MTU 255 21 | #define G_OBEX_MAXIMUM_MTU 65535 22 | 23 | -#define G_OBEX_DEFAULT_TIMEOUT 10 24 | -#define G_OBEX_ABORT_TIMEOUT 5 25 | +#define G_OBEX_DEFAULT_TIMEOUT 80 26 | +#define G_OBEX_ABORT_TIMEOUT 40 27 | 28 | #define G_OBEX_OP_NONE 0xff 29 | 30 | -- 31 | 2.7.4 32 | 33 | -------------------------------------------------------------------------------- /meta-imx-bsp/conf/machine/imx6dlsabresd.conf: -------------------------------------------------------------------------------- 1 | #@TYPE: Machine 2 | #@NAME: NXP i.MX6DL SABRE Smart Device 3 | #@SOC: i.MX6DL 4 | #@DESCRIPTION: Machine configuration for NXP i.MX6DL SABRE Smart Device 5 | #@MAINTAINER: Otavio Salvador 6 | 7 | MACHINEOVERRIDES =. "mx6:mx6dl:" 8 | 9 | require conf/machine/include/imx6sabresd-common.inc 10 | 11 | KERNEL_DEVICETREE = " \ 12 | nxp/imx/imx6dl-sabresd.dtb \ 13 | nxp/imx/imx6dl-sabresd-btwifi.dtb \ 14 | nxp/imx/imx6dl-sabresd-enetirq.dtb \ 15 | nxp/imx/imx6dl-sabresd-hdcp.dtb \ 16 | nxp/imx/imx6dl-sabresd-ldo.dtb \ 17 | nxp/imx/imx6dl-sabresd-pcie.dtb \ 18 | nxp/imx/imx6dl-sabresd-pcie-ep.dtb \ 19 | " 20 | 21 | MACHINE_FEATURES:append = " optee" 22 | 23 | UBOOT_CONFIG ??= "${@bb.utils.contains('MACHINE_FEATURES', 'optee', 'sd-optee', 'sd', d)}" 24 | UBOOT_CONFIG[sd] = "mx6dlsabresd_config,sdcard" 25 | UBOOT_CONFIG[epdc] = "mx6dlsabresd_epdc_config" 26 | UBOOT_CONFIG[sd-optee] = "mx6dlsabresd_optee_config,sdcard" 27 | 28 | OPTEE_BIN_EXT = "6dlsdb" 29 | 30 | MACHINE_FIRMWARE += "firmware-imx-epdc" 31 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-extended/libcli/files/0001-support-cross-toolchain.patch: -------------------------------------------------------------------------------- 1 | From 4ee319b0de1a9376a1c508253bde5a44167e83c6 Mon Sep 17 00:00:00 2001 2 | From: Gagandeep Singh 3 | Date: Mon, 2 Dec 2024 18:23:37 +0530 4 | Subject: [PATCH] support cross toolchain 5 | 6 | Upstream-Status: Submitted [https://github.com/dparrish/libcli/pull/102/commits/81097331e722b057c50b326a9780ad075116f0b5] 7 | Signed-off-by: Gagandeep Singh 8 | --- 9 | Makefile | 6 +++--- 10 | 1 file changed, 3 insertions(+), 3 deletions(-) 11 | 12 | diff --git a/Makefile b/Makefile 13 | index b082edf..9da8244 100644 14 | --- a/Makefile 15 | +++ b/Makefile 16 | @@ -7,7 +7,7 @@ TESTS ?= 1 17 | 18 | UNAME = $(shell sh -c 'uname -s 2>/dev/null || echo not') 19 | DESTDIR = 20 | -PREFIX = /usr/local 21 | +PREFIX ?= /usr/local 22 | 23 | MAJOR = 1 24 | MINOR = 9 25 | @@ -15,8 +15,8 @@ REVISION = 8 26 | LIB = libcli.so 27 | LIB_STATIC = libcli.a 28 | 29 | -CC = gcc 30 | -AR = ar 31 | +CC ?= gcc 32 | +AR ?= ar 33 | ARFLAGS = rcs 34 | DEBUG = -g 35 | OPTIM = -O3 36 | -- 37 | 2.25.1 38 | 39 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-support/vtest/vtest_git.bb: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2019-2024 NXP 2 | 3 | SUMMARY = "Test program for v2x adaptation layer v2xhsm" 4 | LICENSE = "BSD-3-Clause" 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=664939843ae3416d811479b21978e8b4" 6 | 7 | DEPENDS = "ecdsa-lib-imx v2xsehsm openssl" 8 | 9 | SRC_URI = "${VTEST_SRC};branch=${SRCBRANCH} \ 10 | file://0001-LF-12809-Use-standard-linux-build-assumptions.patch" 11 | VTEST_SRC ?= "git://github.com/nxp-imx/vtest.git;protocol=https" 12 | SRCBRANCH = "main" 13 | SRCREV = "a0f844e1455020dba53a3312eb313cd6a568e149" 14 | 15 | S = "${WORKDIR}/git" 16 | 17 | inherit cmake 18 | 19 | PACKAGECONFIG ?= "" 20 | PACKAGECONFIG[lttng] = "-DLTTNG_LIB=${STAGING_DIR_TARGET}${libdir}/liblttng-ust.so,,lttng-ust" 21 | 22 | EXTRA_OECMAKE += " \ 23 | -DSECO_LIBS_DIR=${STAGING_DIR_TARGET}${libdir} \ 24 | -DZLIB_DIR=${STAGING_DIR_TARGET}${libdir} \ 25 | -DECC_SRC=${STAGING_DIR_TARGET}${libdir} \ 26 | " 27 | CFLAGS += "-Wno-error=deprecated-declarations" 28 | LDFLAGS += "-L${STAGING_LIBDIR}" 29 | 30 | COMPATIBLE_MACHINE = "(mx8dxl-nxp-bsp)" 31 | -------------------------------------------------------------------------------- /meta-imx-sdk/dynamic-layers/openembedded-layer/recipes-graphics/renderdoc/renderdoc/0006-Fix-compilation-for-iMX.patch: -------------------------------------------------------------------------------- 1 | From f8343b5262ad5ec53654f552b44817d192f52a6e Mon Sep 17 00:00:00 2001 2 | From: Jerome Evillard 3 | Date: Fri, 18 Jun 2021 15:56:08 +0200 4 | Subject: [PATCH 6/6] Fix compilation for iMX 5 | 6 | Upstream-Status: Inappropriate [i.MX specific] 7 | 8 | --- 9 | CMakeLists.txt | 3 ++- 10 | 1 file changed, 2 insertions(+), 1 deletion(-) 11 | 12 | diff --git a/CMakeLists.txt b/CMakeLists.txt 13 | index 127cee3..7de58f1 100644 14 | --- a/CMakeLists.txt 15 | +++ b/CMakeLists.txt 16 | @@ -365,7 +365,8 @@ if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang") 17 | -Wno-type-limits 18 | -Wno-missing-field-initializers 19 | -Wno-unknown-pragmas 20 | - -Wno-reorder) 21 | + -Wno-reorder 22 | + -Wno-string-compare) 23 | if(CMAKE_COMPILER_IS_GNUCXX) 24 | list(APPEND warning_flags -Wno-unused-but-set-variable -Wno-maybe-uninitialized -Wno-class-memaccess) 25 | 26 | -- 27 | 2.7.4 28 | 29 | -------------------------------------------------------------------------------- /meta-imx-v2x/recipes-kernel/linux/linux-imx/0010-Add-FTRACE-support.patch: -------------------------------------------------------------------------------- 1 | From f115412e4236f82cb2336cae2be1c620fcb3afd4 Mon Sep 17 00:00:00 2001 2 | From: Michael Whitfield 3 | Date: Wed, 26 Feb 2020 17:08:32 +0100 4 | Subject: [PATCH] Add FTRACE support 5 | 6 | --- 7 | arch/arm64/configs/imx_v8_defconfig | 4 ++-- 8 | 1 file changed, 2 insertions(+), 2 deletions(-) 9 | 10 | diff --git a/arch/arm64/configs/imx_v8_defconfig b/arch/arm64/configs/imx_v8_defconfig 11 | index 03e994fba91b..7519630dd47e 100644 12 | --- a/arch/arm64/configs/imx_v8_defconfig 13 | +++ b/arch/arm64/configs/imx_v8_defconfig 14 | @@ -810,12 +810,12 @@ CONFIG_INDIRECT_PIO=y 15 | CONFIG_CMA_SIZE_MBYTES=320 16 | CONFIG_PRINTK_TIME=y 17 | CONFIG_DEBUG_INFO=y 18 | -CONFIG_DEBUG_FS=y 19 | CONFIG_MAGIC_SYSRQ=y 20 | CONFIG_DEBUG_KERNEL=y 21 | # CONFIG_SCHED_DEBUG is not set 22 | # CONFIG_DEBUG_PREEMPT is not set 23 | -# CONFIG_FTRACE is not set 24 | +CONFIG_FUNCTION_TRACER=y 25 | +CONFIG_FTRACE_SYSCALLS=y 26 | CONFIG_MEMTEST=y 27 | CONFIG_CORESIGHT=y 28 | CONFIG_CORESIGHT_LINK_AND_SINK_TMC=y 29 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-graphics/vulkan/vulkan-demos/0002-Modify-parameter-in-vulkan-demo-computenbody.patch: -------------------------------------------------------------------------------- 1 | From b955f351f01cf7395f29edf31f864e9a4e99c64a Mon Sep 17 00:00:00 2001 2 | From: "yuan.tian" 3 | Date: Tue, 15 Dec 2020 15:07:42 +0800 4 | Subject: [PATCH] Modify parameter in vulkan demo computenbody. 5 | 6 | Decrease the number of particles to reduce rendering workload. 7 | 8 | Upstream-Status: Inappropriate [i.MX-specific] 9 | --- 10 | examples/computenbody/computenbody.cpp | 4 ++-- 11 | 1 file changed, 2 insertions(+), 2 deletions(-) 12 | 13 | Index: git/examples/computenbody/computenbody.cpp 14 | =================================================================== 15 | --- git.orig/examples/computenbody/computenbody.cpp 16 | +++ git/examples/computenbody/computenbody.cpp 17 | @@ -14,7 +14,7 @@ 18 | // Lower particle count on Android for performance reasons 19 | #define PARTICLES_PER_ATTRACTOR 3 * 1024 20 | #else 21 | -#define PARTICLES_PER_ATTRACTOR 4 * 1024 22 | +#define PARTICLES_PER_ATTRACTOR 4 * 64 23 | #endif 24 | 25 | class VulkanExample : public VulkanExampleBase 26 | -------------------------------------------------------------------------------- /meta-imx-ml/recipes-devtools/flatbuffers/flatbuffers_24.3.25.bb: -------------------------------------------------------------------------------- 1 | SUMMARY = "Memory Efficient Serialization Library" 2 | HOMEPAGE = "https://github.com/google/flatbuffers" 3 | SECTION = "console/tools" 4 | LICENSE = "Apache-2.0" 5 | 6 | PACKAGE_BEFORE_PN = "${PN}-compiler" 7 | DEPENDS = "flatbuffers-native" 8 | 9 | RDEPENDS:${PN}-compiler = "${PN}" 10 | RDEPENDS:${PN}-${PYTHON_PN} = "${PN}" 11 | RDEPENDS:${PN}-dev += "${PN}-compiler" 12 | 13 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" 14 | 15 | SRCREV = "e6463926479bd6b330cbcf673f7e917803fd5831" 16 | 17 | SRC_URI = "git://github.com/google/flatbuffers.git;branch=master;protocol=https" 18 | 19 | CVE_CHECK_IGNORE += "CVE-2020-35864" 20 | 21 | EXTRA_OECMAKE += "\ 22 | -DFLATBUFFERS_BUILD_TESTS=OFF \ 23 | -DFLATBUFFERS_BUILD_SHAREDLIB=ON \ 24 | " 25 | 26 | EXTRA_OECMAKE:append:class-target = " -DFLATBUFFERS_FLATC_EXECUTABLE=${STAGING_BINDIR_NATIVE}/flatc" 27 | 28 | inherit cmake python3native 29 | 30 | S = "${WORKDIR}/git" 31 | 32 | FILES:${PN}-compiler = "${bindir}" 33 | 34 | BBCLASSEXTEND = "native nativesdk" 35 | -------------------------------------------------------------------------------- /meta-imx-sdk/recipes-connectivity/sigma-dut/files/0001-Add-handling-of-DYN_BW_SGNL-command-for-DRIVER_LINUX.patch: -------------------------------------------------------------------------------- 1 | From 033a5104728b1a0baa52d5f8b107bfbc6e790ebd Mon Sep 17 00:00:00 2001 2 | From: Nirav Shah 3 | Date: Thu, 9 Nov 2017 16:42:30 +0530 4 | Subject: [PATCH] Add handling of DYN_BW_SGNL command for DRIVER_LINUX_WCN 5 | 6 | Upstream-Status: Pending 7 | 8 | When DYN_BW_SGNL command is issued, the corresponding iwpriv command 9 | needs to be invoked by sigma_dut. This fix adds the handing DYN_BW_SGNL 10 | command for DRIVER_LINUX_WCN for STA mode. 11 | --- 12 | sta.c | 1 + 13 | 1 file changed, 1 insertion(+) 14 | 15 | diff --git a/sta.c b/sta.c 16 | index dfa7280..083c1aa 100644 17 | --- a/sta.c 18 | +++ b/sta.c 19 | @@ -3954,6 +3954,7 @@ static int cmd_sta_set_wireless_common(const char *intf, struct sigma_dut *dut, 20 | if (val) { 21 | switch (get_driver_type()) { 22 | case DRIVER_WCN: 23 | + case DRIVER_LINUX_WCN: 24 | if (strcasecmp(val, "enable") == 0) { 25 | snprintf(buf, sizeof(buf), 26 | "iwpriv %s cwmenable 1", intf); 27 | -- 28 | 1.9.1 29 | 30 | -------------------------------------------------------------------------------- /meta-imx-sdk/recipes-fsl/fsl-rc-local/files/rc.local.etc: -------------------------------------------------------------------------------- 1 | #!/bin/sh -e 2 | # 3 | # rc.local 4 | # 5 | # This script is executed at the end of each multiuser runlevel. 6 | # Make sure that the script will "exit 0" on success or any other 7 | # value on error. 8 | # 9 | # In order to enable or disable this script just change the execution 10 | # bits. 11 | # 12 | # By default this script does nothing. 13 | 14 | # Set THP as madvise mode 15 | if [ -e /sys/kernel/mm/transparent_hugepage/enabled ] 16 | then 17 | echo madvise >/sys/kernel/mm/transparent_hugepage/enabled 18 | fi 19 | 20 | # Set min_free_kbyte to avoid kernel dump from eth for 4K video playback use case 21 | echo 30000 > /proc/sys/vm/min_free_kbytes 22 | if [ -f /sys/devices/soc0/soc_id ] 23 | then 24 | CPUREV=$(cat /sys/devices/soc0/soc_id) 25 | if [ $CPUREV == "i.MX8QM" ] || [ $CPUREV == "i.MX8QXP" ] || [ $CPUREV == "i.MX8MQ" ] 26 | then 27 | echo 80000 > /proc/sys/vm/min_free_kbytes 28 | fi 29 | fi 30 | 31 | # set printk to 7 to dump kernel message to console 32 | echo 7 > /proc/sys/kernel/printk 33 | 34 | exit 0 35 | 36 | -------------------------------------------------------------------------------- /meta-imx-sdk/recipes-security/oem-prov-app/oem-prov-app_git.bb: -------------------------------------------------------------------------------- 1 | # Copyright 2025 NXP 2 | 3 | SUMMARY = "NXP i.MX EdgeLock 2GO OEM provisioning application" 4 | DESCRIPTION = "NXP i.MX EdgeLock 2GO OEM provisioning application" 5 | SECTION = "base" 6 | LICENSE = "BSD-3-Clause" 7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=526003fe435291c11167e5ec08a53268" 8 | 9 | DEPENDS = "cyaml smw el2go-agent" 10 | 11 | SRC_URI = "${PROVAPP_SRC};branch=${SRCBRANCH};name=oem-prov-app" 12 | PROVAPP_SRC ?= "git://github.com/nxp-imx/oem-prov-app.git;protocol=https" 13 | SRCBRANCH = "release/version_2.x" 14 | 15 | PV = "2.0+git${SRCPV}" 16 | 17 | SRCREV = "ca6cd963315b27d163d1c23c41851b68964c2a2f" 18 | S = "${WORKDIR}/git" 19 | 20 | inherit cmake 21 | 22 | CFLAGS[unexport] = "1" 23 | CPPFLAGS[unexport] = "1" 24 | AS[unexport] = "1" 25 | LD[unexport] = "1" 26 | 27 | EXTRA_OECMAKE = " \ 28 | -DNXP_SMW_DIR=${STAGING_DIR_HOST}${libdir}/cmake \ 29 | -Del2go_agent_DIR=${STAGING_DIR_HOST}${libdir}/cmake/el2go-agent \ 30 | -DCYAML_ROOT=${STAGING_DIR_HOST} \ 31 | -DVERBOSE=2" 32 | 33 | COMPATIBLE_MACHINE = "(imx-nxp-bsp)" 34 | -------------------------------------------------------------------------------- /meta-imx-ml/recipes-libraries/tvm/files/0001-tvm-CMakeLists.txt-Use-CMAKE-variables-for-libs-inst.patch: -------------------------------------------------------------------------------- 1 | From 4cde5f7b4c1f28f7f8b8059d69a610f94d982c5c Mon Sep 17 00:00:00 2001 2 | From: Cristinel Panfir 3 | Date: Tue, 7 Sep 2021 13:46:16 +0300 4 | Subject: [PATCH] tvm: CMakeLists.txt: Use CMAKE variables for libs install 5 | 6 | Upstream-Status: Pending 7 | 8 | Signed-off-by: Cristinel Panfir 9 | --- 10 | CMakeLists.txt | 4 ++-- 11 | 1 file changed, 2 insertions(+), 2 deletions(-) 12 | 13 | diff --git a/CMakeLists.txt b/CMakeLists.txt 14 | index 932611ca0..7eab8aefa 100644 15 | --- a/CMakeLists.txt 16 | +++ b/CMakeLists.txt 17 | @@ -484,8 +484,8 @@ endif() 18 | add_custom_target(runtime DEPENDS tvm_runtime) 19 | 20 | # Installation rules 21 | -install(TARGETS tvm DESTINATION lib${LIB_SUFFIX}) 22 | -install(TARGETS tvm_runtime DESTINATION lib${LIB_SUFFIX}) 23 | +install(TARGETS tvm DESTINATION ${CMAKE_INSTALL_LIBDIR}) 24 | +install(TARGETS tvm_runtime DESTINATION ${CMAKE_INSTALL_LIBDIR}) 25 | 26 | if (INSTALL_DEV) 27 | install( 28 | -- 29 | 2.25.1 30 | 31 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-graphics/mesa/mesa.bbappend: -------------------------------------------------------------------------------- 1 | FILESEXTRAPATHS:prepend := "${THISDIR}/mesa:" 2 | 3 | SRC_URI += "${@bb.utils.contains('MACHINE_FEATURES', 'rvgpu-emu', '${SRC_URI_RVGPU}', '', d)}" 4 | SRC_URI_RVGPU = "file://0001-egl-Avoid-initializing-zink-driver-if-not-enabled-at.patch \ 5 | file://0001-Link-rvgpu-library-with-mesa-softpipe-and-gallium-dr.patch \ 6 | file://0002-Use-rvgpu-firmware-to-render-triangle.patch \ 7 | file://0003-Enable-rvgpu-vertex-shader.patch \ 8 | file://0004-Disable-wide-point-line-feature-to-avoid-CTS-failure.patch \ 9 | " 10 | 11 | PACKAGECONFIG:append = "${@bb.utils.contains('MACHINE_FEATURES', 'rvgpu-emu', ' rvgpu', '', d)}" 12 | PACKAGECONFIG:remove = "${@bb.utils.contains('MACHINE_FEATURES', 'rvgpu-emu', 'virgl zink', '', d)}" 13 | PACKAGECONFIG[rvgpu] = "${RVGPU_ENABLED},${RVGPU_DISABLED},mesa-rvgpu-emu" 14 | RVGPU_ENABLED = "${@bb.utils.contains('MACHINE_FEATURES', 'rvgpu-emu', '-Dmesa-rvgpu=true', '', d)}" 15 | RVGPU_DISABLED = "${@bb.utils.contains('MACHINE_FEATURES', 'rvgpu-emu', '-Dmesa-rvgpu=false', '', d)}" 16 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.26.0.imx.bbappend: -------------------------------------------------------------------------------- 1 | PACKAGECONFIG_GL:imxgpu2d = \ 2 | "${@bb.utils.contains('DISTRO_FEATURES', 'opengl x11', 'opengl', '', d)}" 3 | PACKAGECONFIG_GL:imxgpu3d = \ 4 | "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gles2 egl', '', d)}" 5 | PACKAGECONFIG_GL:use-mainline-bsp = \ 6 | "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gles2 egl gbm', '', d)}" 7 | 8 | # The i.MX8 uses KMS instead of the Vivante specific framebuffer API. 9 | # The i.MX7 does not have a GPU, except for ULP. 10 | # This leaves the i.MX6 - with the vendor BSP - as the remaining use case for viv-fb. 11 | # 12 | # (Note that viv-fb is about the _windowing system_. Vivante direct texture support 13 | # does not depend on the viv-fb feature. It used to, but that was actually a bug 14 | # which was fixed in GStreamer 1.22.5. Since then, the direct texture support is 15 | # detected by Meson by checking for direct texture symbols like "glTexDirectVIV".) 16 | PACKAGECONFIG_GL:imxgpu2d:append:mx6-nxp-bsp = " viv-fb" 17 | PACKAGECONFIG_GL:imxgpu2d:append:mx7-nxp-bsp = " viv-fb" 18 | -------------------------------------------------------------------------------- /meta-imx-sdk/dynamic-layers/openembedded-layer/recipes-graphics/renderdoc/renderdoc/0010-renderdoc-CMakeLists.txt-Fix-multilib-case.patch: -------------------------------------------------------------------------------- 1 | From bd3b72b3ecf23545ea8c799033cd642a07cefa3b Mon Sep 17 00:00:00 2001 2 | From: Cristinel Panfir 3 | Date: Fri, 13 Mar 2020 22:22:17 +0200 4 | Subject: [PATCH] renderdoc/CMakeLists.txt: Fix multilib case 5 | 6 | Upstream-Status: Pending 7 | Signed-off-by: Cristinel Panfir 8 | --- 9 | renderdoc/CMakeLists.txt | 2 +- 10 | 1 file changed, 1 insertion(+), 1 deletion(-) 11 | 12 | Index: git/renderdoc/CMakeLists.txt 13 | =================================================================== 14 | --- git.orig/renderdoc/CMakeLists.txt 15 | +++ git/renderdoc/CMakeLists.txt 16 | @@ -591,7 +591,7 @@ if(ANDROID) 17 | endif() 18 | endif() 19 | 20 | -install (TARGETS renderdoc DESTINATION lib${LIB_SUFFIX}/${LIB_SUBFOLDER}) 21 | +install (TARGETS renderdoc DESTINATION ${CMAKE_INSTALL_LIBDIR}/${LIB_SUBFOLDER}) 22 | 23 | # Copy in application API header to include 24 | install (FILES api/app/renderdoc_app.h DESTINATION include RENAME renderdoc_app.h) 25 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-bsp/imx-seco/imx-seco-libs_git.bb: -------------------------------------------------------------------------------- 1 | # Copyright 2019-22 NXP 2 | 3 | SUMMARY = "NXP i.MX SECO library" 4 | DESCRIPTION = "Library for NXP i.MX Security Controller Subsystem" 5 | SECTION = "base" 6 | LICENSE = "Proprietary" 7 | LIC_FILES_CHKSUM = "file://EULA.txt;md5=d3c315c6eaa43e07d8c130dc3a04a011" 8 | 9 | DEPENDS = "zlib" 10 | 11 | SRC_URI = "${SECO_LIB_SRC};branch=${SRCBRANCH} \ 12 | file://0001-Makefile-Fix-LIBDIR-for-multilib.patch \ 13 | file://0002-Makefile-Fix-install-to-clear-host-user-contaminated.patch \ 14 | file://0001-add-v2x_test-to-the-installed-binaries.patch \ 15 | file://0001-Fix-return-value-of-void-functions.patch" 16 | SECO_LIB_SRC ?= "git://github.com/NXP/imx-seco-libs.git;protocol=https" 17 | SRCBRANCH = "lf-6.6.3_1.0.0" 18 | SRCREV = "273553f207425f773400be7a7f3a7c425d892d6f" 19 | 20 | S = "${WORKDIR}/git" 21 | 22 | TARGET_CC_ARCH += "${LDFLAGS}" 23 | 24 | do_install () { 25 | oe_runmake DESTDIR=${D} BINDIR=${bindir} LIBDIR=${libdir} install 26 | } 27 | 28 | COMPATIBLE_MACHINE = "(mx8-nxp-bsp)" 29 | COMPATIBLE_MACHINE:mx8m-nxp-bsp = "(^$)" 30 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-extended/jailhouse/files/0001-Revert-driver-sysfs-Update-bin_attribute-version-che.patch: -------------------------------------------------------------------------------- 1 | From 9bc4a4e55d3aa278bab58cace204e85c1fc1ac8b Mon Sep 17 00:00:00 2001 2 | From: Zelan Zou 3 | Date: Tue, 24 Jun 2025 17:21:46 +0800 4 | Subject: [PATCH] Revert "driver/sysfs: Update bin_attribute version check to 5 | 6.16" 6 | 7 | Upstream-Status: Pending 8 | 9 | This reverts commit 51eb19631be500334bdb2107c0d8f92b34e91210. 10 | --- 11 | driver/sysfs.c | 2 +- 12 | 1 file changed, 1 insertion(+), 1 deletion(-) 13 | 14 | diff --git a/driver/sysfs.c b/driver/sysfs.c 15 | index 8ea13491..3775f6fe 100644 16 | --- a/driver/sysfs.c 17 | +++ b/driver/sysfs.c 18 | @@ -535,7 +535,7 @@ static ssize_t remap_pool_used_show(struct device *dev, 19 | return info_show(dev, buffer, JAILHOUSE_INFO_REMAP_POOL_USED); 20 | } 21 | 22 | -#if LINUX_VERSION_CODE >= KERNEL_VERSION(6,16,0) 23 | +#if LINUX_VERSION_CODE >= KERNEL_VERSION(6,15,0) 24 | static ssize_t core_show(struct file *filp, struct kobject *kobj, 25 | const struct bin_attribute *attr, char *buf, loff_t off, 26 | size_t count) 27 | -- 28 | 2.34.1 29 | 30 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-devtools/external-arm-toolchain/arm-binary-toolchain.inc: -------------------------------------------------------------------------------- 1 | INHIBIT_DEFAULT_DEPS = "1" 2 | 3 | FILES:${PN} = "${libexecdir} ${bindir}" 4 | 5 | BINNAME = "${@d.getVar("BPN").strip("gcc-")}" 6 | 7 | do_install() { 8 | install -d ${D}${bindir} ${D}${libexecdir}/${BP}/ 9 | cp -r ${S}/. ${D}${libexecdir}/${BP} 10 | 11 | # Symlink all executables into bindir 12 | for f in ${D}${libexecdir}/${BP}/bin/*; do 13 | ln -rs $f ${D}${bindir}/$(basename $f) 14 | done 15 | } 16 | 17 | INSANE_SKIP:${PN} = "already-stripped libdir staticdev file-rdeps arch dev-so" 18 | 19 | INHIBIT_SYSROOT_STRIP = "1" 20 | INHIBIT_PACKAGE_STRIP = "1" 21 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" 22 | 23 | # Need to mark these as private until do_package's soname-finder only looks in $libdir 24 | PRIVATE_LIBS = "libgcc_s.so.1 libstdc++.so.6" 25 | 26 | BBCLASSEXTEND = "native nativesdk" 27 | 28 | # Skipping file deps - we don't control the dependencies for prebuilt libraries, resulting in 29 | # nothing provides libcrypt.so.1()(64bit) needed by nativesdk-gcc-arm-none-eabi 30 | # when packaged as RPM for SDK. 31 | SKIP_FILEDEPS = "1" 32 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-connectivity/openssl/openssl/openssl-3.0-add-Kernel-TLS-configuration.patch: -------------------------------------------------------------------------------- 1 | From 24254454e5f5fc503b5e4cc1fa8c6d9b1a3ae9ba Mon Sep 17 00:00:00 2001 2 | From: Gaurav Jain 3 | Date: Wed, 19 Jan 2022 15:45:29 +0530 4 | Subject: [PATCH] openssl 3.0: add Kernel TLS configuration 5 | 6 | Upstream-Status: Inappropriate [i.MX, Layerscape specific] 7 | Signed-off-by: Gaurav Jain 8 | --- 9 | apps/openssl.cnf | 9 +++++++++ 10 | 1 file changed, 9 insertions(+) 11 | 12 | diff --git a/apps/openssl.cnf b/apps/openssl.cnf 13 | index 03330e0120..ec18df388e 100644 14 | --- a/apps/openssl.cnf 15 | +++ b/apps/openssl.cnf 16 | @@ -30,6 +30,15 @@ oid_section = new_oids 17 | # (Alternatively, use a configuration file that has only 18 | # X.509v3 extensions in its main [= default] section.) 19 | 20 | +[ openssl_init ] 21 | +ssl_conf = ssl_configuration 22 | + 23 | +[ ssl_configuration ] 24 | +ktls = ktls_conf 25 | + 26 | +[ ktls_conf ] 27 | +Options = KTLS 28 | + 29 | [ new_oids ] 30 | # We can add new OIDs in here for use by 'ca', 'req' and 'ts'. 31 | # Add a simple OID like this: 32 | -- 33 | 2.25.1 34 | 35 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-devtools/qemu/qemu/0001-fix-missing-meson.patch: -------------------------------------------------------------------------------- 1 | From a29870b921f650d67e6bc126200cc675f67c416e Mon Sep 17 00:00:00 2001 2 | From: Zelan Zou 3 | Date: Tue, 26 Mar 2024 14:41:53 +0900 4 | Subject: [PATCH 01/11] fix missing meson 5 | Upstream-Status: Inappropriate [workaround, would need a real fix for upstream] 6 | Signed-off-by: Zelan Zou 7 | --- 8 | configure | 7 +------ 9 | 1 file changed, 1 insertion(+), 6 deletions(-) 10 | 11 | diff --git a/configure b/configure 12 | index d3ab436045..430799662d 100755 13 | --- a/configure 14 | +++ b/configure 15 | @@ -955,12 +955,7 @@ fi 16 | $mkvenv ensuregroup --dir "${source_path}/python/wheels" \ 17 | ${source_path}/pythondeps.toml meson || exit 1 18 | 19 | -# At this point, we expect Meson to be installed and available. 20 | -# We expect mkvenv or pip to have created pyvenv/bin/meson for us. 21 | -# We ignore PATH completely here: we want to use the venv's Meson 22 | -# *exclusively*. 23 | - 24 | -meson="$(cd pyvenv/bin; pwd)/meson" 25 | +meson=`which meson` 26 | 27 | # Conditionally ensure Sphinx is installed. 28 | 29 | -- 30 | 2.34.1 31 | 32 | -------------------------------------------------------------------------------- /meta-imx-bsp/recipes-graphics/vulkan/vkmark/0002-src-meson.build-Prepend-sysroot-for-the-includedir.patch: -------------------------------------------------------------------------------- 1 | From 316d477d0f8dc0936b4e057545ff83f1993047a6 Mon Sep 17 00:00:00 2001 2 | From: Neena Busireddy 3 | Date: Mon, 3 May 2021 11:44:46 -0700 4 | Subject: [PATCH] src/meson.build: Prepend sysroot for the includedir 5 | 6 | Need to prepend PKG_CONFIG_SYSROOT_DIR to the dir path for cross compilation 7 | 8 | Upstream-Status: Inappropriate [OE-specific] 9 | 10 | Signed-off-by: Neena Busireddy 11 | 12 | --- 13 | src/meson.build | 3 +++ 14 | 1 file changed, 3 insertions(+) 15 | 16 | diff --git a/src/meson.build b/src/meson.build 17 | index 35813c5..9032706 100644 18 | --- a/src/meson.build 19 | +++ b/src/meson.build 20 | @@ -6,6 +6,9 @@ vulkan_hpp = join_paths([ 21 | 'vulkan.hpp' 22 | ]) 23 | 24 | +pkgconf_sysroot = run_command(prog_python, '-c', 'import os; print(os.environ.get("PKG_CONFIG_SYSROOT_DIR"))').stdout().strip() 25 | +vulkan_hpp = pkgconf_sysroot + vulkan_hpp 26 | + 27 | format_map_gen_h = custom_target( 28 | 'format_map_gen.h', 29 | output: 'format_map_gen.h', 30 | -------------------------------------------------------------------------------- /meta-imx-sdk/recipes-connectivity/sigma-dut/files/0001-Add-handling-of-DYN_BW_SGNL-command-for-AP-mode.patch: -------------------------------------------------------------------------------- 1 | From 7b79281810012925da71cf2250fdde048131ca8d Mon Sep 17 00:00:00 2001 2 | From: Nirav Shah 3 | Date: Tue, 17 Oct 2017 10:49:11 +0530 4 | Subject: [PATCH] Add handling of DYN_BW_SGNL command for AP mode 5 | 6 | Upstream-Status: Pending 7 | 8 | When DYN_BW_SGNL command is issued, the corresponding iwpriv command 9 | needs to be invoked by sigma_dut. This fix adds the handing DYN_BW_SGNL 10 | command for DRIVER_WCN and DRIVER_LINUX_WCN for AP mode. 11 | --- 12 | ap.c | 4 ++++ 13 | 1 file changed, 4 insertions(+) 14 | 15 | diff --git a/ap.c b/ap.c 16 | index d0f42de..98159c3 100644 17 | --- a/ap.c 18 | +++ b/ap.c 19 | @@ -717,6 +717,10 @@ static int cmd_ap_set_wireless(struct sigma_dut *dut, struct sigma_conn *conn, 20 | return 0; 21 | } 22 | break; 23 | + case DRIVER_WCN: 24 | + case DRIVER_LINUX_WCN: 25 | + ath_config_dyn_bw_sig(dut, ifname, val); 26 | + break; 27 | default: 28 | sigma_dut_print(dut, DUT_MSG_ERROR, 29 | "Unsupported DYN_BW_SGL with the current driver"); 30 | -- 31 | 1.9.1 32 | 33 | -------------------------------------------------------------------------------- /meta-imx-sdk/recipes-fsl/packagegroup/packagegroup-fsl-pulseaudio.bb: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2014-2015 Freescale Semiconductor 2 | # Copyright 2017 NXP 3 | # Released under the MIT license (see COPYING.MIT for the terms) 4 | 5 | SUMMARY = "Freescale package group - pulseaudio" 6 | DESCRIPTION = "Contains the modules needed by pulseaudio." 7 | LICENSE = "MIT" 8 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 9 | 10 | inherit packagegroup 11 | 12 | PULSEAUDIO_EXTRA_INSTALL = "${@bb.utils.contains('DISTRO_FEATURES','x11', \ 13 | 'pulseaudio-module-x11-xsmp \ 14 | pulseaudio-module-x11-publish \ 15 | pulseaudio-module-x11-cork-request \ 16 | pulseaudio-module-x11-bell', \ 17 | '', d)}" 18 | 19 | RDEPENDS:${PN} = "${@bb.utils.contains('DISTRO_FEATURES', 'pulseaudio', \ 20 | ' pulseaudio-server \ 21 | pulseaudio-module-cli \ 22 | pulseaudio-misc \ 23 | pulseaudio-module-device-manager \ 24 | consolekit \ 25 | ${PULSEAUDIO_EXTRA_INSTALL}', \ 26 | '', d)}" 27 | --------------------------------------------------------------------------------