diff options
130 files changed, 1179 insertions, 1655 deletions
| @@ -1,4 +1,4 @@ | |||
| 1 | LA_OPT_NXP_Software_License v62 May 2025 | 1 | LA_OPT_NXP_Software_License v63 May 2025 |
| 2 | IMPORTANT. Read the following NXP Software License Agreement ("Agreement") | 2 | IMPORTANT. Read the following NXP Software License Agreement ("Agreement") |
| 3 | completely. By selecting the "I Accept" button at the end of this page, or by | 3 | completely. By selecting the "I Accept" button at the end of this page, or by |
| 4 | downloading, installing, or using the Licensed Software, you indicate that you | 4 | downloading, installing, or using the Licensed Software, you indicate that you |
| @@ -15,9 +15,9 @@ supersede this Agreement. | |||
| 15 | NXP SOFTWARE LICENSE AGREEMENT | 15 | NXP SOFTWARE LICENSE AGREEMENT |
| 16 | This is a legal agreement between your employer, of which you are an authorized | 16 | This is a legal agreement between your employer, of which you are an authorized |
| 17 | representative, or, if you have no employer, you as an individual ("you" or | 17 | representative, or, if you have no employer, you as an individual ("you" or |
| 18 | "Licensee"), and and NXP USA, Inc., if Licensee is located within the United | 18 | "Licensee"), and NXP USA, Inc., if Licensee is located within the United States |
| 19 | States or NXP Semiconductors Netherlands B.V., if Licensee if located outside | 19 | or NXP Semiconductors Netherlands B.V., if Licensee if located outside of the |
| 20 | of the United States (“NXP”). It concerns your rights to use the software | 20 | United States (“NXP”). It concerns your rights to use the software |
| 21 | provided to you in binary or source code form and any accompanying written | 21 | provided to you in binary or source code form and any accompanying written |
| 22 | materials (the "Licensed Software"). The Licensed Software may include any | 22 | materials (the "Licensed Software"). The Licensed Software may include any |
| 23 | updates or error corrections or documentation relating to the Licensed Software | 23 | updates or error corrections or documentation relating to the Licensed Software |
| @@ -516,6 +516,13 @@ distribution of one copy embedded in a single NXP Product. Your use of Cadence | |||
| 516 | NatureDSP Libraries whether in source code or in binary is restricted to NXP | 516 | NatureDSP Libraries whether in source code or in binary is restricted to NXP |
| 517 | SoC based systems or emulation enablement based on NXP SoC. | 517 | SoC based systems or emulation enablement based on NXP SoC. |
| 518 | 518 | ||
| 519 | Use of the XA NN library is limited to execution on Cadence processor cores and | ||
| 520 | not permitted non-Cadence platforms. Redistribution is permitted only as part | ||
| 521 | of an NXP SOC based product and must include all copyright and permission | ||
| 522 | notices. The library is provided “as is” without warranties, and no rights | ||
| 523 | are granted to any third-party technologies that may be required for use. Full | ||
| 524 | license terms are available from Cadence Design Systems, Inc. | ||
| 525 | |||
| 519 | CEVA D.S.P. Ltd. And CEVA Technologies Inc. ("CEVA"): The CEVA-SPF2 linear | 526 | CEVA D.S.P. Ltd. And CEVA Technologies Inc. ("CEVA"): The CEVA-SPF2 linear |
| 520 | algebra, CEVA-SPF2 Neural Network Libraries, CEVA-SPF2 Core Libraries, | 527 | algebra, CEVA-SPF2 Neural Network Libraries, CEVA-SPF2 Core Libraries, |
| 521 | CEVA-SPF2 OpenAMP and CEVA-SPF2 STL licensed modules are owned by CEVA and such | 528 | CEVA-SPF2 OpenAMP and CEVA-SPF2 STL licensed modules are owned by CEVA and such |
| @@ -3,7 +3,7 @@ | |||
| 3 | This file lists all licenses used by recipes in the meta-freescale layer. | 3 | This file lists all licenses used by recipes in the meta-freescale layer. |
| 4 | 4 | ||
| 5 | ./dynamic-layers/arm-toolchain/recipes-bsp/imx-oei/imx-oei_1.0.0.bb: LICENSE = "BSD-3-Clause" | 5 | ./dynamic-layers/arm-toolchain/recipes-bsp/imx-oei/imx-oei_1.0.0.bb: LICENSE = "BSD-3-Clause" |
| 6 | ./dynamic-layers/arm-toolchain/recipes-bsp/imx-system-manager/imx-system-manager_1.0.0.bb: LICENSE = "BSD-3-Clause" | 6 | ./dynamic-layers/arm-toolchain/recipes-bsp/imx-system-manager/imx-system-manager_2025q4.bb: LICENSE = "BSD-3-Clause" |
| 7 | ./dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc_git.bb: LICENSE = "MIT" | 7 | ./dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc_git.bb: LICENSE = "MIT" |
| 8 | ./recipes-bsp/atf/qoriq-atf-2.12.inc: LICENSE = "BSD-3-Clause" | 8 | ./recipes-bsp/atf/qoriq-atf-2.12.inc: LICENSE = "BSD-3-Clause" |
| 9 | ./recipes-bsp/boot-format/boot-format_git.bb: LICENSE = "GPL-2.0-only" | 9 | ./recipes-bsp/boot-format/boot-format_git.bb: LICENSE = "GPL-2.0-only" |
| @@ -23,7 +23,7 @@ This file lists all licenses used by recipes in the meta-freescale layer. | |||
| 23 | ./recipes-bsp/imx-sc-firmware/imx-sc-firmware_1.18.0.bb: LICENSE = "Proprietary" | 23 | ./recipes-bsp/imx-sc-firmware/imx-sc-firmware_1.18.0.bb: LICENSE = "Proprietary" |
| 24 | ./recipes-bsp/imx-seco/imx-seco-libs_git.bb: LICENSE = "Proprietary" | 24 | ./recipes-bsp/imx-seco/imx-seco-libs_git.bb: LICENSE = "Proprietary" |
| 25 | ./recipes-bsp/imx-seco/imx-seco_5.9.4.1.bb: LICENSE = "Proprietary" | 25 | ./recipes-bsp/imx-seco/imx-seco_5.9.4.1.bb: LICENSE = "Proprietary" |
| 26 | ./recipes-bsp/imx-secure-enclave/imx-secure-enclave_git.bb: LICENSE = "BSD-3-Clause" | 26 | ./recipes-bsp/imx-secure-enclave/imx-secure-enclave.inc: LICENSE = "BSD-3-Clause" |
| 27 | ./recipes-bsp/imx-test/imx-test_00.00.00.bb: LICENSE = "MIT" | 27 | ./recipes-bsp/imx-test/imx-test_00.00.00.bb: LICENSE = "MIT" |
| 28 | ./recipes-bsp/imx-test/imx-test_git.bb: LICENSE = "GPL-2.0-or-later" | 28 | ./recipes-bsp/imx-test/imx-test_git.bb: LICENSE = "GPL-2.0-or-later" |
| 29 | ./recipes-bsp/imx-uuc/imx-uuc_git.bb: LICENSE = "GPL-2.0-only" | 29 | ./recipes-bsp/imx-uuc/imx-uuc_git.bb: LICENSE = "GPL-2.0-only" |
| @@ -42,14 +42,15 @@ This file lists all licenses used by recipes in the meta-freescale layer. | |||
| 42 | ./recipes-bsp/qe-ucode/qe-ucode_git.bb: LICENSE = "NXP-Binary-EULA" | 42 | ./recipes-bsp/qe-ucode/qe-ucode_git.bb: LICENSE = "NXP-Binary-EULA" |
| 43 | ./recipes-bsp/rcw/rcw_git.bb: LICENSE = "BSD-3-Clause" | 43 | ./recipes-bsp/rcw/rcw_git.bb: LICENSE = "BSD-3-Clause" |
| 44 | ./recipes-bsp/u-boot/u-boot-fslc-common_2025.01.inc: LICENSE = "GPL-2.0-or-later" | 44 | ./recipes-bsp/u-boot/u-boot-fslc-common_2025.01.inc: LICENSE = "GPL-2.0-or-later" |
| 45 | ./recipes-bsp/u-boot/u-boot-imx-common_2024.04.inc: LICENSE = "GPL-2.0-or-later" | 45 | ./recipes-bsp/u-boot/u-boot-imx-common_2025.04.inc: LICENSE = "GPL-2.0-or-later" |
| 46 | ./recipes-bsp/u-boot/u-boot-qoriq_2025.04.bb: LICENSE = "GPL-2.0-only & BSD-3-Clause & BSD-2-Clause & LGPL-2.0-only & LGPL-2.1-only" | 46 | ./recipes-bsp/u-boot/u-boot-qoriq_2025.04.bb: LICENSE = "GPL-2.0-only & BSD-3-Clause & BSD-2-Clause & LGPL-2.0-only & LGPL-2.1-only" |
| 47 | ./recipes-bsp/uefi/uefi_git.bb: LICENSE = "NXP-Binary-EULA" | 47 | ./recipes-bsp/uefi/uefi_git.bb: LICENSE = "NXP-Binary-EULA" |
| 48 | ./recipes-connectivity/mbedtls/mbedtls_3.6.5.bb: LICENSE = "Apache-2.0 | GPL-2.0-or-later" | ||
| 48 | ./recipes-core/udev/udev-rules-imx.bb: LICENSE = "MIT" | 49 | ./recipes-core/udev/udev-rules-imx.bb: LICENSE = "MIT" |
| 49 | ./recipes-core/udev/udev-rules-qoriq.bb: LICENSE = "MIT" | 50 | ./recipes-core/udev/udev-rules-qoriq.bb: LICENSE = "MIT" |
| 50 | ./recipes-devtools/devregs/devregs_git.bb: LICENSE = "GPL-2.0-only" | 51 | ./recipes-devtools/devregs/devregs_git.bb: LICENSE = "GPL-2.0-only" |
| 51 | ./recipes-devtools/imx-usb-loader/imx-usb-loader_git.bb: LICENSE = "LGPL-2.1-only" | 52 | ./recipes-devtools/imx-usb-loader/imx-usb-loader_git.bb: LICENSE = "LGPL-2.1-only" |
| 52 | ./recipes-devtools/qemu/qemu.inc: LICENSE = "GPL-2.0-only & LGPL-2.1-only" | 53 | ./recipes-devtools/qemu/qemu-qoriq.inc: LICENSE = "GPL-2.0-only & LGPL-2.1-only" |
| 53 | ./recipes-devtools/qoriq-cst/qoriq-cst_git.bb: LICENSE = "BSD-3-Clause" | 54 | ./recipes-devtools/qoriq-cst/qoriq-cst_git.bb: LICENSE = "BSD-3-Clause" |
| 54 | ./recipes-devtools/utp-com/utp-com_git.bb: LICENSE = "GPL-2.0-only" | 55 | ./recipes-devtools/utp-com/utp-com_git.bb: LICENSE = "GPL-2.0-only" |
| 55 | ./recipes-devtools/uuu/uuu-bin_1.5.233.bb: LICENSE = "BSD-3-Clause & LGPL-2.1-or-later" | 56 | ./recipes-devtools/uuu/uuu-bin_1.5.233.bb: LICENSE = "BSD-3-Clause & LGPL-2.1-or-later" |
| @@ -73,14 +74,13 @@ This file lists all licenses used by recipes in the meta-freescale layer. | |||
| 73 | ./recipes-dpaa2/restool/restool_git.bb: LICENSE = "BSD-3-Clause | GPL-2.0-or-later" | 74 | ./recipes-dpaa2/restool/restool_git.bb: LICENSE = "BSD-3-Clause | GPL-2.0-or-later" |
| 74 | ./recipes-dpaa2/spc/spc_git.bb: LICENSE = "MIT" | 75 | ./recipes-dpaa2/spc/spc_git.bb: LICENSE = "MIT" |
| 75 | ./recipes-extended/crconf/crconf_git.bb: LICENSE = "GPL-2.0-only" | 76 | ./recipes-extended/crconf/crconf_git.bb: LICENSE = "GPL-2.0-only" |
| 76 | ./recipes-extended/dpdk/dpdk-20.11.inc: LICENSE = "BSD-3-Clause & LGPL-2.1-only & GPL-2.0-only" | 77 | ./recipes-extended/dpdk/dpdk_22.11.bb: LICENSE = "BSD-3-Clause & LGPL-2.1-only & GPL-2.0-only" |
| 77 | ./recipes-extended/dpdk/dpdk_19.11-20.12.bb: LICENSE = "BSD-3-Clause & LGPL-2.1-only & GPL-2.0-only" | ||
| 78 | ./recipes-extended/jailhouse/jailhouse-imx_git.bb: LICENSE = "GPL-2.0-only" | 78 | ./recipes-extended/jailhouse/jailhouse-imx_git.bb: LICENSE = "GPL-2.0-only" |
| 79 | ./recipes-extended/libpkcs11/libpkcs11_git.bb: LICENSE = "GPL-2.0-only" | 79 | ./recipes-extended/libpkcs11/libpkcs11_git.bb: LICENSE = "GPL-2.0-only" |
| 80 | ./recipes-extended/merge-files/merge-files_1.0.bb: LICENSE = "MIT" | 80 | ./recipes-extended/merge-files/merge-files_1.0.bb: LICENSE = "MIT" |
| 81 | ./recipes-extended/odp/odp.inc: LICENSE = "BSD-3-Clause" | 81 | ./recipes-extended/odp/odp.inc: LICENSE = "BSD-3-Clause" |
| 82 | ./recipes-extended/ofp/ofp_git.bb: LICENSE = "BSD-3-Clause" | 82 | ./recipes-extended/ofp/ofp_git.bb: LICENSE = "BSD-3-Clause" |
| 83 | ./recipes-extended/ovs-dpdk/ovs-dpdk_2.15.bb: LICENSE = "BSD" | 83 | ./recipes-extended/ovs-dpdk/ovs-dpdk_3.1.bb: LICENSE = "Apache-2.0" |
| 84 | ./recipes-extended/pktgen-dpdk/pktgen-dpdk_21.05.0.bb: LICENSE = "BSD" | 84 | ./recipes-extended/pktgen-dpdk/pktgen-dpdk_21.05.0.bb: LICENSE = "BSD" |
| 85 | ./recipes-extended/secure-obj/secure-obj.inc: LICENSE = "BSD-3-Clause" | 85 | ./recipes-extended/secure-obj/secure-obj.inc: LICENSE = "BSD-3-Clause" |
| 86 | ./recipes-extended/skmm-ep/skmm-ep_git.bb: LICENSE = "BSD & GPL-2.0-only" | 86 | ./recipes-extended/skmm-ep/skmm-ep_git.bb: LICENSE = "BSD & GPL-2.0-only" |
| @@ -105,31 +105,20 @@ This file lists all licenses used by recipes in the meta-freescale layer. | |||
| 105 | ./recipes-kernel/ceetm/ceetm_git.bb: LICENSE = "GPL-2.0-only" | 105 | ./recipes-kernel/ceetm/ceetm_git.bb: LICENSE = "GPL-2.0-only" |
| 106 | ./recipes-kernel/kernel-modules/kernel-module-ar_git.bb: LICENSE = "GPL-2.0-only & BSD" | 106 | ./recipes-kernel/kernel-modules/kernel-module-ar_git.bb: LICENSE = "GPL-2.0-only & BSD" |
| 107 | ./recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.4.11.p2.2+fslc.bb: LICENSE = "GPL-2.0-only" | 107 | ./recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.4.11.p2.2+fslc.bb: LICENSE = "GPL-2.0-only" |
| 108 | ./recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.4.11.p3.2.bb: LICENSE = "GPL-2.0-only" | 108 | ./recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.4.11.p4.2.bb: LICENSE = "GPL-2.0-only" |
| 109 | ./recipes-kernel/kernel-modules/kernel-module-ipc.inc: LICENSE = "BSD" | 109 | ./recipes-kernel/kernel-modules/kernel-module-ipc.inc: LICENSE = "BSD" |
| 110 | ./recipes-kernel/kernel-modules/kernel-module-isp-vvcam_4.2.2.25.2.bb: LICENSE = "GPL-2.0-only" | 110 | ./recipes-kernel/kernel-modules/kernel-module-isp-vvcam_4.2.2.25.4.bb: LICENSE = "GPL-2.0-only" |
| 111 | ./recipes-kernel/kernel-modules/kernel-module-ls-debug_git.bb: LICENSE = "GPL-2.0-or-later" | 111 | ./recipes-kernel/kernel-modules/kernel-module-ls-debug_git.bb: LICENSE = "GPL-2.0-or-later" |
| 112 | ./recipes-kernel/kernel-modules/kernel-module-nxp-wlan_git.bb: LICENSE = "GPL-2.0-only" | 112 | ./recipes-kernel/kernel-modules/kernel-module-nxp-wlan_git.bb: LICENSE = "GPL-2.0-only" |
| 113 | ./recipes-kernel/kernel-modules/kernel-module-uio-seville_0.1.bb: LICENSE = "GPL-2.0-only" | 113 | ./recipes-kernel/kernel-modules/kernel-module-uio-seville_0.1.bb: LICENSE = "GPL-2.0-only" |
| 114 | ./recipes-kernel/linux/linux-imx-headers_6.12.bb: LICENSE = "GPL-2.0-only" | 114 | ./recipes-kernel/linux/linux-imx-headers_6.18.bb: LICENSE = "GPL-2.0-only" |
| 115 | ./recipes-kernel/linux/linux-imx.inc: LICENSE = "GPL-2.0-only" | 115 | ./recipes-kernel/linux/linux-imx.inc: LICENSE = "GPL-2.0-only" |
| 116 | ./recipes-kernel/linux/linux-imx_6.18.bb: LICENSE = "GPL-2.0-only" | ||
| 116 | ./recipes-kernel/linux/linux-qoriq.inc: LICENSE = "GPL-2.0-only" | 117 | ./recipes-kernel/linux/linux-qoriq.inc: LICENSE = "GPL-2.0-only" |
| 117 | ./recipes-kernel/skmm-host/skmm-host_git.bb: LICENSE = "BSD & GPL-2.0-or-later" | 118 | ./recipes-kernel/skmm-host/skmm-host_git.bb: LICENSE = "BSD & GPL-2.0-or-later" |
| 118 | ./recipes-libraries/ethos-u-driver-stack/ethos-u-driver-stack_24.05.bb: LICENSE = "Apache-2.0" | 119 | ./recipes-libraries/ethos-u-driver-stack/ethos-u-driver-stack_24.05.bb: LICENSE = "Apache-2.0" |
| 119 | ./recipes-libraries/ethos-u-driver-stack/ethos-u-firmware_24.05.bb: LICENSE = "Apache-2.0 & GPL-2.0-only & BSD-3-Clause" | 120 | ./recipes-libraries/ethos-u-driver-stack/ethos-u-firmware_24.05.bb: LICENSE = "Apache-2.0 & GPL-2.0-only & BSD-3-Clause" |
| 120 | ./recipes-multimedia/alsa/imx-alsa-plugins_git.bb: LICENSE = "GPL-2.0-only" | 121 | ./recipes-multimedia/alsa/imx-alsa-plugins_git.bb: LICENSE = "GPL-2.0-only" |
| 121 | ./recipes-multimedia/ffmpeg/ffmpeg_4.4.1.bb: LICENSE = "GPL-2.0-or-later & LGPL-2.1-or-later & ISC & MIT & BSD-2-Clause & BSD-3-Clause & IJG" | ||
| 122 | LICENSE:${PN} = "GPL-2.0-or-later" | ||
| 123 | LICENSE:libavcodec = "${@bb.utils.contains('PACKAGECONFIG', 'gpl', 'GPL-2.0-or-later', 'LGPL-2.1-or-later', d)}" | ||
| 124 | LICENSE:libavdevice = "${@bb.utils.contains('PACKAGECONFIG', 'gpl', 'GPL-2.0-or-later', 'LGPL-2.1-or-later', d)}" | ||
| 125 | LICENSE:libavfilter = "${@bb.utils.contains('PACKAGECONFIG', 'gpl', 'GPL-2.0-or-later', 'LGPL-2.1-or-later', d)}" | ||
| 126 | LICENSE:libavformat = "${@bb.utils.contains('PACKAGECONFIG', 'gpl', 'GPL-2.0-or-later', 'LGPL-2.1-or-later', d)}" | ||
| 127 | LICENSE:libavresample = "${@bb.utils.contains('PACKAGECONFIG', 'gpl', 'GPL-2.0-or-later', 'LGPL-2.1-or-later', d)}" | ||
| 128 | LICENSE:libavutil = "${@bb.utils.contains('PACKAGECONFIG', 'gpl', 'GPL-2.0-or-later', 'LGPL-2.1-or-later', d)}" | ||
| 129 | LICENSE:libpostproc = "GPL-2.0-or-later" | ||
| 130 | LICENSE:libswresample = "${@bb.utils.contains('PACKAGECONFIG', 'gpl', 'GPL-2.0-or-later', 'LGPL-2.1-or-later', d)}" | ||
| 131 | LICENSE:libswscale = "${@bb.utils.contains('PACKAGECONFIG', 'gpl', 'GPL-2.0-or-later', 'LGPL-2.1-or-later', d)}" | ||
| 132 | LICENSE_FLAGS = "commercial" | ||
| 133 | ./recipes-multimedia/gstreamer/gst-devtools_1.26.0.imx.bb: LICENSE = "LGPL-2.1-or-later" | 122 | ./recipes-multimedia/gstreamer/gst-devtools_1.26.0.imx.bb: LICENSE = "LGPL-2.1-or-later" |
| 134 | ./recipes-multimedia/gstreamer/gst-examples_1.24.7.imx.bb: LICENSE = "LGPL-2.0-or-later" | 123 | ./recipes-multimedia/gstreamer/gst-examples_1.24.7.imx.bb: LICENSE = "LGPL-2.0-or-later" |
| 135 | ./recipes-multimedia/gstreamer/gstreamer1.0-libav_1.26.0.imx.bb: LICENSE_FLAGS = "commercial" | 124 | ./recipes-multimedia/gstreamer/gstreamer1.0-libav_1.26.0.imx.bb: LICENSE_FLAGS = "commercial" |
diff --git a/classes/fsl-eula-unpack.bbclass b/classes/fsl-eula-unpack.bbclass index f8861cd14..db9d9a412 100644 --- a/classes/fsl-eula-unpack.bbclass +++ b/classes/fsl-eula-unpack.bbclass | |||
| @@ -64,6 +64,7 @@ FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V57 = "ca53281cc0caa7e320d4945a | |||
| 64 | FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V58 = "c0fb372b5d7f12181de23ef480f225f3" | 64 | FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V58 = "c0fb372b5d7f12181de23ef480f225f3" |
| 65 | FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V60 = "cf2070b16b9d4acf60a98e8cbc32a25a" | 65 | FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V60 = "cf2070b16b9d4acf60a98e8cbc32a25a" |
| 66 | FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V62 = "a93b654673e1bc8398ed1f30e0813359" | 66 | FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V62 = "a93b654673e1bc8398ed1f30e0813359" |
| 67 | FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V63 = "bc649096ad3928ec06a8713b8d787eac" | ||
| 67 | 68 | ||
| 68 | FSL_EULA_FILE_MD5SUMS = " \ | 69 | FSL_EULA_FILE_MD5SUMS = " \ |
| 69 | ${FSL_EULA_FILE_MD5SUM_LA_OPT_BASE_LICENSE_V8} \ | 70 | ${FSL_EULA_FILE_MD5SUM_LA_OPT_BASE_LICENSE_V8} \ |
| @@ -124,11 +125,12 @@ FSL_EULA_FILE_MD5SUMS = " \ | |||
| 124 | ${FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V58} \ | 125 | ${FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V58} \ |
| 125 | ${FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V60} \ | 126 | ${FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V60} \ |
| 126 | ${FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V62} \ | 127 | ${FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V62} \ |
| 128 | ${FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V63} \ | ||
| 127 | " | 129 | " |
| 128 | 130 | ||
| 129 | # The checksum for the EULA in the layer | 131 | # The checksum for the EULA in the layer |
| 130 | FSL_EULA_FILE_MD5SUM ?= \ | 132 | FSL_EULA_FILE_MD5SUM ?= \ |
| 131 | "${FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V62}" | 133 | "${FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V63}" |
| 132 | 134 | ||
| 133 | LIC_FILES_CHKSUM_LAYER ?= "file://${FSL_EULA_FILE};md5=${FSL_EULA_FILE_MD5SUM}" | 135 | LIC_FILES_CHKSUM_LAYER ?= "file://${FSL_EULA_FILE};md5=${FSL_EULA_FILE_MD5SUM}" |
| 134 | LIC_FILES_CHKSUM_LAYER[vardepsexclude] += "FSL_EULA_FILE" | 136 | LIC_FILES_CHKSUM_LAYER[vardepsexclude] += "FSL_EULA_FILE" |
diff --git a/classes/imx-boot-container.bbclass b/classes/imx-boot-container.bbclass index 7c9f34927..57ec558c6 100644 --- a/classes/imx-boot-container.bbclass +++ b/classes/imx-boot-container.bbclass | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | # | 1 | # |
| 2 | # This class provides a support to build the boot container for | 2 | # This class provides a support to build the boot container for |
| 3 | # i.MX8M derivatives | 3 | # i.MX8M and i.MX95 derivatives |
| 4 | # | 4 | # |
| 5 | # imx8m machines require a separate build target to be executed | 5 | # imx8m machines require a separate build target to be executed |
| 6 | # due to the fact that final boot image is constructed using flash.bin | 6 | # due to the fact that final boot image is constructed using flash.bin |
| @@ -23,15 +23,23 @@ | |||
| 23 | # NOTE: A backwards-compatible symlink is added for 'flash.bin', named | 23 | # NOTE: A backwards-compatible symlink is added for 'flash.bin', named |
| 24 | # 'imx-boot', during the deployment task. | 24 | # 'imx-boot', during the deployment task. |
| 25 | 25 | ||
| 26 | inherit use-imx-security-controller-firmware | ||
| 27 | |||
| 26 | # Define ATF binary file to be deployed to the U-Boot build folder | 28 | # Define ATF binary file to be deployed to the U-Boot build folder |
| 27 | ATF_MACHINE_NAME = "bl31-${ATF_PLATFORM}.bin" | 29 | ATF_MACHINE_NAME = "bl31-${ATF_PLATFORM}.bin" |
| 28 | ATF_MACHINE_NAME:append = "${@bb.utils.contains('MACHINE_FEATURES', 'optee', '-optee', '', d)}" | 30 | ATF_MACHINE_NAME:append = "${@bb.utils.contains('MACHINE_FEATURES', 'optee', '-optee', '', d)}" |
| 29 | 31 | ||
| 32 | OEI_NAME ?= "oei-${OEI_CORE}-*.bin" | ||
| 33 | |||
| 30 | IMX_BOOT_CONTAINER_FIRMWARE_SOC ?= "" | 34 | IMX_BOOT_CONTAINER_FIRMWARE_SOC ?= "" |
| 31 | IMX_BOOT_CONTAINER_FIRMWARE_SOC:mx8mq-generic-bsp = " \ | 35 | IMX_BOOT_CONTAINER_FIRMWARE_SOC:mx8mq-generic-bsp = " \ |
| 32 | signed_dp_imx8m.bin \ | 36 | signed_dp_imx8m.bin \ |
| 33 | signed_hdmi_imx8m.bin \ | 37 | signed_hdmi_imx8m.bin \ |
| 34 | " | 38 | " |
| 39 | IMX_BOOT_CONTAINER_FIRMWARE_SOC:mx95-generic-bsp = " \ | ||
| 40 | ${SECO_FIRMWARE_NAME} \ | ||
| 41 | ${OEI_NAME} \ | ||
| 42 | " | ||
| 35 | IMX_BOOT_CONTAINER_FIRMWARE ?= " \ | 43 | IMX_BOOT_CONTAINER_FIRMWARE ?= " \ |
| 36 | ${IMX_BOOT_CONTAINER_FIRMWARE_SOC} \ | 44 | ${IMX_BOOT_CONTAINER_FIRMWARE_SOC} \ |
| 37 | ${DDR_FIRMWARE_NAME} \ | 45 | ${DDR_FIRMWARE_NAME} \ |
| @@ -67,6 +75,9 @@ do_resolve_and_populate_binaries() { | |||
| 67 | if [ "${@bb.utils.contains('MACHINE_FEATURES', 'optee', '1' , '0' , d)}" = "1" ] ; then | 75 | if [ "${@bb.utils.contains('MACHINE_FEATURES', 'optee', '1' , '0' , d)}" = "1" ] ; then |
| 68 | cp ${DEPLOY_DIR_IMAGE}/${OPTEE_BOOT_IMAGE} ${B}/${builddir}/ | 76 | cp ${DEPLOY_DIR_IMAGE}/${OPTEE_BOOT_IMAGE} ${B}/${builddir}/ |
| 69 | fi | 77 | fi |
| 78 | if [ -n "${SYSTEM_MANAGER_FIRMWARE_NAME}" ]; then | ||
| 79 | cp ${DEPLOY_DIR_IMAGE}/${SYSTEM_MANAGER_FIRMWARE_NAME}.bin ${B}/${builddir}/m33_image.bin | ||
| 80 | fi | ||
| 70 | fi | 81 | fi |
| 71 | done | 82 | done |
| 72 | unset j | 83 | unset j |
diff --git a/conf/fragments/eula/accept-fsl-eula.conf b/conf/fragments/eula/accept-fsl-eula.conf new file mode 100644 index 000000000..933feaa00 --- /dev/null +++ b/conf/fragments/eula/accept-fsl-eula.conf | |||
| @@ -0,0 +1,12 @@ | |||
| 1 | # Accept Freescale/NXP EULA | ||
| 2 | # | ||
| 3 | # By setting this variable, you indicate that you have read and accepted | ||
| 4 | # the terms in the Freescale/NXP Software License Agreement located at: | ||
| 5 | # ${LAYERDIR}/EULA | ||
| 6 | # | ||
| 7 | # This is required to build recipes that use proprietary NXP software. | ||
| 8 | |||
| 9 | BB_CONF_FRAGMENT_SUMMARY = "Accept Freescale/NXP EULA" | ||
| 10 | BB_CONF_FRAGMENT_DESCRIPTION = "This fragment sets the ACCEPT_FSL_EULA variable to '1', indicating acceptance of the Freescale/NXP EULA." | ||
| 11 | |||
| 12 | ACCEPT_FSL_EULA = "1" | ||
diff --git a/conf/fragments/graphics/framebuffer.conf b/conf/fragments/graphics/framebuffer.conf new file mode 100644 index 000000000..80fdd0416 --- /dev/null +++ b/conf/fragments/graphics/framebuffer.conf | |||
| @@ -0,0 +1,9 @@ | |||
| 1 | # FrameBuffer Configuration Fragment | ||
| 2 | # | ||
| 3 | # This fragment configures the build for framebuffer graphical backend. | ||
| 4 | # It removes all competing backends (X11, Wayland, DirectFB, Vulkan). | ||
| 5 | |||
| 6 | BB_CONF_FRAGMENT_SUMMARY = "Enable FrameBuffer backend" | ||
| 7 | BB_CONF_FRAGMENT_DESCRIPTION = "Configures framebuffer-based graphics rendering by removing X11, Wayland, DirectFB, and Vulkan backends." | ||
| 8 | |||
| 9 | DISTRO_FEATURES:remove = "x11 wayland directfb vulkan" | ||
diff --git a/conf/fragments/graphics/vulkan.conf b/conf/fragments/graphics/vulkan.conf new file mode 100644 index 000000000..c2599a762 --- /dev/null +++ b/conf/fragments/graphics/vulkan.conf | |||
| @@ -0,0 +1,8 @@ | |||
| 1 | # Vulkan Configuration Fragment | ||
| 2 | # | ||
| 3 | # This fragment enables the Vulkan graphics API in the build. | ||
| 4 | |||
| 5 | BB_CONF_FRAGMENT_SUMMARY = "Enable Vulkan graphics API" | ||
| 6 | BB_CONF_FRAGMENT_DESCRIPTION = "Enables Vulkan support in the build by adding vulkan to DISTRO_FEATURES." | ||
| 7 | |||
| 8 | DISTRO_FEATURES:append = " vulkan" | ||
diff --git a/conf/fragments/graphics/wayland.conf b/conf/fragments/graphics/wayland.conf new file mode 100644 index 000000000..fcdb0896e --- /dev/null +++ b/conf/fragments/graphics/wayland.conf | |||
| @@ -0,0 +1,10 @@ | |||
| 1 | # Wayland Configuration Fragment | ||
| 2 | # | ||
| 3 | # This fragment configures the build for the Wayland display backend. | ||
| 4 | # It removes X11 and DirectFB support and enables Wayland and PAM features. | ||
| 5 | |||
| 6 | BB_CONF_FRAGMENT_SUMMARY = "Enable Wayland display backend" | ||
| 7 | BB_CONF_FRAGMENT_DESCRIPTION = "Enables Wayland display backend while removing X11 and DirectFB support. Use together with the systemd init fragment." | ||
| 8 | |||
| 9 | DISTRO_FEATURES:remove = "directfb x11" | ||
| 10 | DISTRO_FEATURES:append = " wayland pam" | ||
diff --git a/conf/fragments/graphics/xwayland.conf b/conf/fragments/graphics/xwayland.conf new file mode 100644 index 000000000..4f1aeac5b --- /dev/null +++ b/conf/fragments/graphics/xwayland.conf | |||
| @@ -0,0 +1,10 @@ | |||
| 1 | # XWayland Configuration Fragment | ||
| 2 | # | ||
| 3 | # This fragment configures the build for Wayland with XWayland support. | ||
| 4 | # It enables both X11 and Wayland backends. | ||
| 5 | |||
| 6 | BB_CONF_FRAGMENT_SUMMARY = "Enable Wayland with XWayland support" | ||
| 7 | BB_CONF_FRAGMENT_DESCRIPTION = "Enables both X11 and Wayland display backends with XWayland support while removing DirectFB. Use together with the systemd init fragment." | ||
| 8 | |||
| 9 | DISTRO_FEATURES:remove = "directfb" | ||
| 10 | DISTRO_FEATURES:append = " x11 wayland pam" | ||
diff --git a/conf/fragments/init/systemd.conf b/conf/fragments/init/systemd.conf new file mode 100644 index 000000000..bd48fc4c0 --- /dev/null +++ b/conf/fragments/init/systemd.conf | |||
| @@ -0,0 +1,8 @@ | |||
| 1 | # Systemd Init Manager Fragment | ||
| 2 | # | ||
| 3 | # This fragment sets the init manager to systemd. | ||
| 4 | |||
| 5 | BB_CONF_FRAGMENT_SUMMARY = "Use systemd init manager" | ||
| 6 | BB_CONF_FRAGMENT_DESCRIPTION = "Sets the init manager to systemd instead of the default SysVinit." | ||
| 7 | |||
| 8 | INIT_MANAGER = "systemd" | ||
diff --git a/conf/layer.conf b/conf/layer.conf index 4b0a5f77f..ad2f52d75 100644 --- a/conf/layer.conf +++ b/conf/layer.conf | |||
| @@ -8,7 +8,7 @@ BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \ | |||
| 8 | BBFILE_COLLECTIONS += "freescale-layer" | 8 | BBFILE_COLLECTIONS += "freescale-layer" |
| 9 | BBFILE_PATTERN_freescale-layer := "^${LAYERDIR}/" | 9 | BBFILE_PATTERN_freescale-layer := "^${LAYERDIR}/" |
| 10 | BBFILE_PRIORITY_freescale-layer = "5" | 10 | BBFILE_PRIORITY_freescale-layer = "5" |
| 11 | LAYERSERIES_COMPAT_freescale-layer = "whinlatter" | 11 | LAYERSERIES_COMPAT_freescale-layer = "whinlatter wrynose" |
| 12 | LAYERDEPENDS_freescale-layer = "core" | 12 | LAYERDEPENDS_freescale-layer = "core" |
| 13 | 13 | ||
| 14 | # Add the Freescale-specific licenses into the metadata | 14 | # Add the Freescale-specific licenses into the metadata |
diff --git a/conf/machine/imx28evk.conf b/conf/machine/imx28evk.conf index cecb97d27..f6946b771 100644 --- a/conf/machine/imx28evk.conf +++ b/conf/machine/imx28evk.conf | |||
| @@ -17,9 +17,9 @@ UBOOT_MAKE_TARGET = "u-boot.sb" | |||
| 17 | UBOOT_SUFFIX = "sb" | 17 | UBOOT_SUFFIX = "sb" |
| 18 | 18 | ||
| 19 | UBOOT_CONFIG ??= "sd" | 19 | UBOOT_CONFIG ??= "sd" |
| 20 | UBOOT_CONFIG[sd] = "mx28evk_config,sdcard" | 20 | UBOOT_CONFIG[sd] = "mx28evk_config" |
| 21 | UBOOT_CONFIG[nand] = "mx28evk_nand_config,ubifs" | 21 | UBOOT_CONFIG[nand] = "mx28evk_nand_config,ubifs" |
| 22 | UBOOT_CONFIG[sd-auart-console] = "mx28evk_auart_console_config,sdcard" | 22 | UBOOT_CONFIG[sd-auart-console] = "mx28evk_auart_console_config" |
| 23 | 23 | ||
| 24 | KERNEL_DEVICETREE = "nxp/mxs/imx28-evk.dtb" | 24 | KERNEL_DEVICETREE = "nxp/mxs/imx28-evk.dtb" |
| 25 | 25 | ||
diff --git a/conf/machine/imx6qdlsabreauto.conf b/conf/machine/imx6qdlsabreauto.conf index 61d81ab69..08c5e8452 100644 --- a/conf/machine/imx6qdlsabreauto.conf +++ b/conf/machine/imx6qdlsabreauto.conf | |||
| @@ -56,8 +56,8 @@ UBOOT_SUFFIX:pn-u-boot-imx = "imx" | |||
| 56 | UBOOT_MAKE_TARGET:pn-u-boot-imx-mfgtool = "u-boot.imx" | 56 | UBOOT_MAKE_TARGET:pn-u-boot-imx-mfgtool = "u-boot.imx" |
| 57 | UBOOT_SUFFIX:pn-u-boot-imx-mfgtool = "imx" | 57 | UBOOT_SUFFIX:pn-u-boot-imx-mfgtool = "imx" |
| 58 | 58 | ||
| 59 | UBOOT_CONFIG[sd] = "${UBOOT_CONFIG_MACHINE_NAME}_defconfig,sdcard" | 59 | UBOOT_CONFIG[sd] = "${UBOOT_CONFIG_MACHINE_NAME}_defconfig" |
| 60 | UBOOT_CONFIG[sd-optee] = "${UBOOT_CONFIG_MACHINE_NAME}_optee_defconfig,sdcard" | 60 | UBOOT_CONFIG[sd-optee] = "${UBOOT_CONFIG_MACHINE_NAME}_optee_defconfig" |
| 61 | UBOOT_CONFIG[eimnor] = "${UBOOT_CONFIG_MACHINE_NAME}_eimnor_defconfig" | 61 | UBOOT_CONFIG[eimnor] = "${UBOOT_CONFIG_MACHINE_NAME}_eimnor_defconfig" |
| 62 | UBOOT_CONFIG[nand] = "${UBOOT_CONFIG_MACHINE_NAME}_nand_defconfig,ubifs" | 62 | UBOOT_CONFIG[nand] = "${UBOOT_CONFIG_MACHINE_NAME}_nand_defconfig,ubifs" |
| 63 | UBOOT_CONFIG[spinor] = "${UBOOT_CONFIG_MACHINE_NAME}_spinor_defconfig" | 63 | UBOOT_CONFIG[spinor] = "${UBOOT_CONFIG_MACHINE_NAME}_spinor_defconfig" |
diff --git a/conf/machine/imx6qdlsabresd.conf b/conf/machine/imx6qdlsabresd.conf index c65bc9b91..48609ef84 100644 --- a/conf/machine/imx6qdlsabresd.conf +++ b/conf/machine/imx6qdlsabresd.conf | |||
| @@ -62,8 +62,8 @@ UBOOT_SUFFIX:pn-u-boot-imx = "imx" | |||
| 62 | UBOOT_MAKE_TARGET:pn-u-boot-imx-mfgtool = "u-boot.imx" | 62 | UBOOT_MAKE_TARGET:pn-u-boot-imx-mfgtool = "u-boot.imx" |
| 63 | UBOOT_SUFFIX:pn-u-boot-imx-mfgtool = "imx" | 63 | UBOOT_SUFFIX:pn-u-boot-imx-mfgtool = "imx" |
| 64 | 64 | ||
| 65 | UBOOT_CONFIG[sd] = "${UBOOT_CONFIG_MACHINE_NAME}_defconfig,sdcard" | 65 | UBOOT_CONFIG[sd] = "${UBOOT_CONFIG_MACHINE_NAME}_defconfig" |
| 66 | UBOOT_CONFIG[sd-optee] = "${UBOOT_CONFIG_MACHINE_NAME}_optee_defconfig,sdcard" | 66 | UBOOT_CONFIG[sd-optee] = "${UBOOT_CONFIG_MACHINE_NAME}_optee_defconfig" |
| 67 | UBOOT_CONFIG[sata] = "${UBOOT_CONFIG_MACHINE_NAME}_sata_defconfig" | 67 | UBOOT_CONFIG[sata] = "${UBOOT_CONFIG_MACHINE_NAME}_sata_defconfig" |
| 68 | 68 | ||
| 69 | # The u-boot-imx does not provide unified functionality for DL/Q/QP SoC | 69 | # The u-boot-imx does not provide unified functionality for DL/Q/QP SoC |
diff --git a/conf/machine/imx6slevk.conf b/conf/machine/imx6slevk.conf index df022d635..3f9c2f6a2 100644 --- a/conf/machine/imx6slevk.conf +++ b/conf/machine/imx6slevk.conf | |||
| @@ -24,8 +24,8 @@ UBOOT_CONFIG ??= " \ | |||
| 24 | sd \ | 24 | sd \ |
| 25 | ${@bb.utils.contains('MACHINE_FEATURES', 'optee', 'sd-optee', '', d)} \ | 25 | ${@bb.utils.contains('MACHINE_FEATURES', 'optee', 'sd-optee', '', d)} \ |
| 26 | " | 26 | " |
| 27 | UBOOT_CONFIG[sd] = "mx6slevk_config,sdcard" | 27 | UBOOT_CONFIG[sd] = "mx6slevk_config" |
| 28 | UBOOT_CONFIG[sd-optee] = "mx6slevk_optee_config,sdcard" | 28 | UBOOT_CONFIG[sd-optee] = "mx6slevk_optee_config" |
| 29 | UBOOT_CONFIG[epdc] = "mx6slevk_epdc_config" | 29 | UBOOT_CONFIG[epdc] = "mx6slevk_epdc_config" |
| 30 | UBOOT_CONFIG[spinor] = "mx6slevk_spinor_config" | 30 | UBOOT_CONFIG[spinor] = "mx6slevk_spinor_config" |
| 31 | 31 | ||
diff --git a/conf/machine/imx6sllevk.conf b/conf/machine/imx6sllevk.conf index 58fff6db0..2e93d8f26 100644 --- a/conf/machine/imx6sllevk.conf +++ b/conf/machine/imx6sllevk.conf | |||
| @@ -21,8 +21,8 @@ UBOOT_CONFIG ??= " \ | |||
| 21 | sd \ | 21 | sd \ |
| 22 | ${@bb.utils.contains('MACHINE_FEATURES', 'optee', 'sd-optee', '', d)} \ | 22 | ${@bb.utils.contains('MACHINE_FEATURES', 'optee', 'sd-optee', '', d)} \ |
| 23 | " | 23 | " |
| 24 | UBOOT_CONFIG[sd] = "mx6sllevk_config,sdcard" | 24 | UBOOT_CONFIG[sd] = "mx6sllevk_config" |
| 25 | UBOOT_CONFIG[sd-optee] = "mx6sllevk_optee_config,sdcard" | 25 | UBOOT_CONFIG[sd-optee] = "mx6sllevk_optee_config" |
| 26 | UBOOT_CONFIG[epdc] = "mx6sllevk_epdc_config" | 26 | UBOOT_CONFIG[epdc] = "mx6sllevk_epdc_config" |
| 27 | 27 | ||
| 28 | OPTEE_BIN_EXT:imx6sllevk = "6sllevk" | 28 | OPTEE_BIN_EXT:imx6sllevk = "6sllevk" |
diff --git a/conf/machine/imx6sxsabreauto.conf b/conf/machine/imx6sxsabreauto.conf index cbb20d567..e4b5a6835 100644 --- a/conf/machine/imx6sxsabreauto.conf +++ b/conf/machine/imx6sxsabreauto.conf | |||
| @@ -19,8 +19,8 @@ UBOOT_CONFIG ??= " \ | |||
| 19 | sd \ | 19 | sd \ |
| 20 | ${@bb.utils.contains('MACHINE_FEATURES', 'optee', 'sd-optee', '', d)} \ | 20 | ${@bb.utils.contains('MACHINE_FEATURES', 'optee', 'sd-optee', '', d)} \ |
| 21 | " | 21 | " |
| 22 | UBOOT_CONFIG[sd] = "mx6sxsabreauto_config,sdcard" | 22 | UBOOT_CONFIG[sd] = "mx6sxsabreauto_config" |
| 23 | UBOOT_CONFIG[sd-optee] = "mx6sxsabreauto_optee_config,sdcard" | 23 | UBOOT_CONFIG[sd-optee] = "mx6sxsabreauto_optee_config" |
| 24 | UBOOT_CONFIG[qspi1] = "mx6sxsabreauto_qspi1_config" | 24 | UBOOT_CONFIG[qspi1] = "mx6sxsabreauto_qspi1_config" |
| 25 | UBOOT_CONFIG[nand] = "mx6sxsabreauto_nand_config,ubifs" | 25 | UBOOT_CONFIG[nand] = "mx6sxsabreauto_nand_config,ubifs" |
| 26 | 26 | ||
diff --git a/conf/machine/imx6sxsabresd.conf b/conf/machine/imx6sxsabresd.conf index d85c7ce74..de4281320 100644 --- a/conf/machine/imx6sxsabresd.conf +++ b/conf/machine/imx6sxsabresd.conf | |||
| @@ -32,9 +32,9 @@ UBOOT_CONFIG ??= " \ | |||
| 32 | sd \ | 32 | sd \ |
| 33 | ${@bb.utils.contains('MACHINE_FEATURES', 'optee', 'sd-optee', '', d)} \ | 33 | ${@bb.utils.contains('MACHINE_FEATURES', 'optee', 'sd-optee', '', d)} \ |
| 34 | " | 34 | " |
| 35 | UBOOT_CONFIG[sd] = "mx6sxsabresd_config,sdcard" | 35 | UBOOT_CONFIG[sd] = "mx6sxsabresd_config" |
| 36 | UBOOT_CONFIG[sd-optee] = "mx6sxsabresd_optee_config,sdcard" | 36 | UBOOT_CONFIG[sd-optee] = "mx6sxsabresd_optee_config" |
| 37 | UBOOT_CONFIG[emmc] = "mx6sxsabresd_emmc_config,sdcard" | 37 | UBOOT_CONFIG[emmc] = "mx6sxsabresd_emmc_config" |
| 38 | UBOOT_CONFIG[qspi2] = "mx6sxsabresd_qspi2_config" | 38 | UBOOT_CONFIG[qspi2] = "mx6sxsabresd_qspi2_config" |
| 39 | UBOOT_CONFIG[m4fastup] = "mx6sxsabresd_m4fastup_config" | 39 | UBOOT_CONFIG[m4fastup] = "mx6sxsabresd_m4fastup_config" |
| 40 | 40 | ||
diff --git a/conf/machine/imx6ulevk.conf b/conf/machine/imx6ulevk.conf index 3bab4f549..35b99c8ce 100644 --- a/conf/machine/imx6ulevk.conf +++ b/conf/machine/imx6ulevk.conf | |||
| @@ -57,9 +57,9 @@ UBOOT_CONFIG ??= " \ | |||
| 57 | sd \ | 57 | sd \ |
| 58 | ${@bb.utils.contains('MACHINE_FEATURES', 'optee', 'sd-optee', '', d)} \ | 58 | ${@bb.utils.contains('MACHINE_FEATURES', 'optee', 'sd-optee', '', d)} \ |
| 59 | " | 59 | " |
| 60 | UBOOT_CONFIG[sd] = "mx6ul_14x14_evk_config,sdcard" | 60 | UBOOT_CONFIG[sd] = "mx6ul_14x14_evk_config" |
| 61 | UBOOT_CONFIG[sd-optee] = "mx6ul_14x14_evk_optee_config,sdcard" | 61 | UBOOT_CONFIG[sd-optee] = "mx6ul_14x14_evk_optee_config" |
| 62 | UBOOT_CONFIG[emmc] = "mx6ul_14x14_evk_emmc_config,sdcard" | 62 | UBOOT_CONFIG[emmc] = "mx6ul_14x14_evk_emmc_config" |
| 63 | UBOOT_CONFIG[qspi1] = "mx6ul_14x14_evk_qspi1_config" | 63 | UBOOT_CONFIG[qspi1] = "mx6ul_14x14_evk_qspi1_config" |
| 64 | 64 | ||
| 65 | OPTEE_BIN_EXT = "6ulevk" | 65 | OPTEE_BIN_EXT = "6ulevk" |
diff --git a/conf/machine/imx6ullevk.conf b/conf/machine/imx6ullevk.conf index 4c1184a79..a9ff8bf10 100644 --- a/conf/machine/imx6ullevk.conf +++ b/conf/machine/imx6ullevk.conf | |||
| @@ -39,9 +39,9 @@ UBOOT_CONFIG ??= " \ | |||
| 39 | sd \ | 39 | sd \ |
| 40 | ${@bb.utils.contains('MACHINE_FEATURES', 'optee', 'sd-optee', '', d)} \ | 40 | ${@bb.utils.contains('MACHINE_FEATURES', 'optee', 'sd-optee', '', d)} \ |
| 41 | " | 41 | " |
| 42 | UBOOT_CONFIG[sd] = "mx6ull_14x14_evk_config,sdcard" | 42 | UBOOT_CONFIG[sd] = "mx6ull_14x14_evk_config" |
| 43 | UBOOT_CONFIG[sd-optee] = "mx6ull_14x14_evk_optee_config,sdcard" | 43 | UBOOT_CONFIG[sd-optee] = "mx6ull_14x14_evk_optee_config" |
| 44 | UBOOT_CONFIG[emmc] = "mx6ull_14x14_evk_emmc_config,sdcard" | 44 | UBOOT_CONFIG[emmc] = "mx6ull_14x14_evk_emmc_config" |
| 45 | UBOOT_CONFIG[nand] = "mx6ull_14x14_evk_nand_config,ubifs" | 45 | UBOOT_CONFIG[nand] = "mx6ull_14x14_evk_nand_config,ubifs" |
| 46 | UBOOT_CONFIG[qspi1] = "mx6ull_14x14_evk_qspi1_config" | 46 | UBOOT_CONFIG[qspi1] = "mx6ull_14x14_evk_qspi1_config" |
| 47 | 47 | ||
diff --git a/conf/machine/imx6ulz-14x14-evk.conf b/conf/machine/imx6ulz-14x14-evk.conf index 572434ae7..25b0d0d06 100644 --- a/conf/machine/imx6ulz-14x14-evk.conf +++ b/conf/machine/imx6ulz-14x14-evk.conf | |||
| @@ -32,9 +32,9 @@ UBOOT_CONFIG ??= " \ | |||
| 32 | sd \ | 32 | sd \ |
| 33 | ${@bb.utils.contains('MACHINE_FEATURES', 'optee', 'sd-optee', '', d)} \ | 33 | ${@bb.utils.contains('MACHINE_FEATURES', 'optee', 'sd-optee', '', d)} \ |
| 34 | " | 34 | " |
| 35 | UBOOT_CONFIG[sd] = "mx6ulz_14x14_evk_config,sdcard" | 35 | UBOOT_CONFIG[sd] = "mx6ulz_14x14_evk_config" |
| 36 | UBOOT_CONFIG[sd-optee] = "mx6ulz_14x14_evk_optee_config,sdcard" | 36 | UBOOT_CONFIG[sd-optee] = "mx6ulz_14x14_evk_optee_config" |
| 37 | UBOOT_CONFIG[emmc] = "mx6ulz_14x14_evk_emmc_config,sdcard" | 37 | UBOOT_CONFIG[emmc] = "mx6ulz_14x14_evk_emmc_config" |
| 38 | UBOOT_CONFIG[nand] = "mx6ulz_14x14_evk_nand_config,ubifs" | 38 | UBOOT_CONFIG[nand] = "mx6ulz_14x14_evk_nand_config,ubifs" |
| 39 | UBOOT_CONFIG[qspi1] = "mx6ulz_14x14_evk_qspi1_config" | 39 | UBOOT_CONFIG[qspi1] = "mx6ulz_14x14_evk_qspi1_config" |
| 40 | 40 | ||
diff --git a/conf/machine/imx7dsabresd.conf b/conf/machine/imx7dsabresd.conf index 96942ebb2..9f88dc4fd 100644 --- a/conf/machine/imx7dsabresd.conf +++ b/conf/machine/imx7dsabresd.conf | |||
| @@ -33,9 +33,9 @@ UBOOT_CONFIG ??= " \ | |||
| 33 | sd \ | 33 | sd \ |
| 34 | ${@bb.utils.contains('MACHINE_FEATURES', 'optee', 'sd-optee', '', d)} \ | 34 | ${@bb.utils.contains('MACHINE_FEATURES', 'optee', 'sd-optee', '', d)} \ |
| 35 | " | 35 | " |
| 36 | UBOOT_CONFIG[sd] = "mx7dsabresd_config,sdcard" | 36 | UBOOT_CONFIG[sd] = "mx7dsabresd_config" |
| 37 | UBOOT_CONFIG[sd-optee] = "mx7dsabresd_optee_config,sdcard" | 37 | UBOOT_CONFIG[sd-optee] = "mx7dsabresd_optee_config" |
| 38 | UBOOT_CONFIG[nonsec] = "mx7dsabresd_nonsec_config,sdcard" | 38 | UBOOT_CONFIG[nonsec] = "mx7dsabresd_nonsec_config" |
| 39 | UBOOT_CONFIG[qspi1] = "mx7dsabresd_qspi1_config" | 39 | UBOOT_CONFIG[qspi1] = "mx7dsabresd_qspi1_config" |
| 40 | UBOOT_CONFIG[nand] = "mx7dsabresd_nand_config,ubifs" | 40 | UBOOT_CONFIG[nand] = "mx7dsabresd_nand_config,ubifs" |
| 41 | UBOOT_CONFIG[epdc] = "mx7dsabresd_epdc_config" | 41 | UBOOT_CONFIG[epdc] = "mx7dsabresd_epdc_config" |
diff --git a/conf/machine/imx7ulpevk.conf b/conf/machine/imx7ulpevk.conf index b5196e30b..569548d56 100644 --- a/conf/machine/imx7ulpevk.conf +++ b/conf/machine/imx7ulpevk.conf | |||
| @@ -36,9 +36,9 @@ UBOOT_CONFIG ??= " \ | |||
| 36 | sd \ | 36 | sd \ |
| 37 | ${@bb.utils.contains('MACHINE_FEATURES', 'optee', 'sd-optee', '', d)} \ | 37 | ${@bb.utils.contains('MACHINE_FEATURES', 'optee', 'sd-optee', '', d)} \ |
| 38 | " | 38 | " |
| 39 | UBOOT_CONFIG[sd] = "mx7ulp_evk_config,sdcard" | 39 | UBOOT_CONFIG[sd] = "mx7ulp_evk_config" |
| 40 | UBOOT_CONFIG[sd-optee] = "mx7ulp_evk_optee_config,sdcard" | 40 | UBOOT_CONFIG[sd-optee] = "mx7ulp_evk_optee_config" |
| 41 | UBOOT_CONFIG[emmc] = "mx7ulp_evk_emmc_config,sdcard" | 41 | UBOOT_CONFIG[emmc] = "mx7ulp_evk_emmc_config" |
| 42 | 42 | ||
| 43 | OPTEE_BIN_EXT = "7ulp" | 43 | OPTEE_BIN_EXT = "7ulp" |
| 44 | 44 | ||
diff --git a/conf/machine/imx8mm-ddr4-evk.conf b/conf/machine/imx8mm-ddr4-evk.conf index 467ca8630..afb3ca29d 100644 --- a/conf/machine/imx8mm-ddr4-evk.conf +++ b/conf/machine/imx8mm-ddr4-evk.conf | |||
| @@ -8,6 +8,7 @@ require include/imx8mm-evk.inc | |||
| 8 | 8 | ||
| 9 | KERNEL_DEVICETREE_BASENAME = "${MACHINE}" | 9 | KERNEL_DEVICETREE_BASENAME = "${MACHINE}" |
| 10 | KERNEL_DEVICETREE:append:use-nxp-bsp = " \ | 10 | KERNEL_DEVICETREE:append:use-nxp-bsp = " \ |
| 11 | freescale/${KERNEL_DEVICETREE_BASENAME}-rm692c9.dtb \ | ||
| 11 | freescale/${KERNEL_DEVICETREE_BASENAME}-revb.dtb \ | 12 | freescale/${KERNEL_DEVICETREE_BASENAME}-revb.dtb \ |
| 12 | freescale/${KERNEL_DEVICETREE_BASENAME}-revb-rm67191.dtb \ | 13 | freescale/${KERNEL_DEVICETREE_BASENAME}-revb-rm67191.dtb \ |
| 13 | freescale/${KERNEL_DEVICETREE_BASENAME}-revb-rm67191-cmd-ram.dtb \ | 14 | freescale/${KERNEL_DEVICETREE_BASENAME}-revb-rm67191-cmd-ram.dtb \ |
diff --git a/conf/machine/imx8mm-lpddr4-evk.conf b/conf/machine/imx8mm-lpddr4-evk.conf index 1387e594b..ae81a92d4 100644 --- a/conf/machine/imx8mm-lpddr4-evk.conf +++ b/conf/machine/imx8mm-lpddr4-evk.conf | |||
| @@ -20,10 +20,10 @@ KERNEL_DEVICETREE:append:use-nxp-bsp = " \ | |||
| 20 | freescale/${KERNEL_DEVICETREE_BASENAME}-inmate.dtb \ | 20 | freescale/${KERNEL_DEVICETREE_BASENAME}-inmate.dtb \ |
| 21 | freescale/${KERNEL_DEVICETREE_BASENAME}-qca-wifi.dtb \ | 21 | freescale/${KERNEL_DEVICETREE_BASENAME}-qca-wifi.dtb \ |
| 22 | freescale/${KERNEL_DEVICETREE_BASENAME}-revb-qca-wifi.dtb \ | 22 | freescale/${KERNEL_DEVICETREE_BASENAME}-revb-qca-wifi.dtb \ |
| 23 | freescale/${KERNEL_DEVICETREE_BASENAME}-rm692c9.dtb \ | ||
| 23 | freescale/${KERNEL_DEVICETREE_BASENAME}-root.dtb \ | 24 | freescale/${KERNEL_DEVICETREE_BASENAME}-root.dtb \ |
| 24 | freescale/${KERNEL_DEVICETREE_BASENAME}-rpmsg.dtb \ | 25 | freescale/${KERNEL_DEVICETREE_BASENAME}-rpmsg.dtb \ |
| 25 | freescale/${KERNEL_DEVICETREE_BASENAME}-rpmsg-wm8524.dtb \ | 26 | freescale/${KERNEL_DEVICETREE_BASENAME}-rpmsg-wm8524.dtb \ |
| 26 | freescale/${KERNEL_DEVICETREE_BASENAME}-rpmsg-wm8524-lpv.dtb \ | ||
| 27 | freescale/${KERNEL_DEVICETREE_BASENAME}-usd-wifi.dtb \ | 27 | freescale/${KERNEL_DEVICETREE_BASENAME}-usd-wifi.dtb \ |
| 28 | " | 28 | " |
| 29 | 29 | ||
diff --git a/conf/machine/imx8mn-ddr4-evk.conf b/conf/machine/imx8mn-ddr4-evk.conf index 7a796d38d..7b3682217 100644 --- a/conf/machine/imx8mn-ddr4-evk.conf +++ b/conf/machine/imx8mn-ddr4-evk.conf | |||
| @@ -8,6 +8,7 @@ require include/imx8mn-evk.inc | |||
| 8 | 8 | ||
| 9 | KERNEL_DEVICETREE_BASENAME = "${MACHINE}" | 9 | KERNEL_DEVICETREE_BASENAME = "${MACHINE}" |
| 10 | KERNEL_DEVICETREE:append:use-nxp-bsp = " \ | 10 | KERNEL_DEVICETREE:append:use-nxp-bsp = " \ |
| 11 | freescale/${KERNEL_DEVICETREE_BASENAME}-rm692c9.dtb \ | ||
| 11 | freescale/${KERNEL_DEVICETREE_BASENAME}-usd-wifi.dtb \ | 12 | freescale/${KERNEL_DEVICETREE_BASENAME}-usd-wifi.dtb \ |
| 12 | " | 13 | " |
| 13 | UBOOT_CONFIG_BASENAME = "imx8mn_ddr4_evk" | 14 | UBOOT_CONFIG_BASENAME = "imx8mn_ddr4_evk" |
diff --git a/conf/machine/imx8mnul-ddr3l-evk.conf b/conf/machine/imx8mnul-ddr3l-evk.conf index f0488912f..a71ec3019 100644 --- a/conf/machine/imx8mnul-ddr3l-evk.conf +++ b/conf/machine/imx8mnul-ddr3l-evk.conf | |||
| @@ -34,7 +34,7 @@ UBOOT_SUFFIX = "bin" | |||
| 34 | 34 | ||
| 35 | UBOOT_CONFIG ??= "sd" | 35 | UBOOT_CONFIG ??= "sd" |
| 36 | UBOOT_CONFIG_BASENAME = "imx8mn_ddr3l_evk" | 36 | UBOOT_CONFIG_BASENAME = "imx8mn_ddr3l_evk" |
| 37 | UBOOT_CONFIG[sd] = "${UBOOT_CONFIG_BASENAME}_config,sdcard" | 37 | UBOOT_CONFIG[sd] = "${UBOOT_CONFIG_BASENAME}_config" |
| 38 | UBOOT_CONFIG[fspi] = "${UBOOT_CONFIG_BASENAME}_defconfig" | 38 | UBOOT_CONFIG[fspi] = "${UBOOT_CONFIG_BASENAME}_defconfig" |
| 39 | 39 | ||
| 40 | SPL_BINARY = "spl/u-boot-spl.bin" | 40 | SPL_BINARY = "spl/u-boot-spl.bin" |
| @@ -72,4 +72,8 @@ IMAGE_BOOT_FILES:append:imx-nxp-bsp = " \ | |||
| 72 | mcore-demos/imx8mnddr3l_m7_TCM_rpmsg_lite_pingpong_rtos_linux_remote.bin \ | 72 | mcore-demos/imx8mnddr3l_m7_TCM_rpmsg_lite_pingpong_rtos_linux_remote.bin \ |
| 73 | mcore-demos/imx8mnddr3l_m7_TCM_rpmsg_lite_str_echo_rtos.bin \ | 73 | mcore-demos/imx8mnddr3l_m7_TCM_rpmsg_lite_str_echo_rtos.bin \ |
| 74 | mcore-demos/imx8mnddr3l_m7_TCM_sai_low_power_audio.bin \ | 74 | mcore-demos/imx8mnddr3l_m7_TCM_sai_low_power_audio.bin \ |
| 75 | mcore-demos/imx8mnddr3l_m7_DDR_hello_world.bin \ | ||
| 76 | mcore-demos/imx8mnddr3l_m7_DDR_rpmsg_lite_pingpong_rtos_linux_remote.bin \ | ||
| 77 | mcore-demos/imx8mnddr3l_m7_DDR_rpmsg_lite_str_echo_rtos.bin \ | ||
| 78 | mcore-demos/imx8mnddr3l_m7_DDR_sai_low_power_audio.bin \ | ||
| 75 | " | 79 | " |
diff --git a/conf/machine/imx8mp-lpddr4-evk.conf b/conf/machine/imx8mp-lpddr4-evk.conf index cc461a1aa..8a80cfd61 100644 --- a/conf/machine/imx8mp-lpddr4-evk.conf +++ b/conf/machine/imx8mp-lpddr4-evk.conf | |||
| @@ -34,17 +34,16 @@ KERNEL_DEVICETREE:append:use-nxp-bsp = " \ | |||
| 34 | freescale/imx8mp-evk-os08a20-ov5640.dtb \ | 34 | freescale/imx8mp-evk-os08a20-ov5640.dtb \ |
| 35 | freescale/imx8mp-evk-ov2775.dtb \ | 35 | freescale/imx8mp-evk-ov2775.dtb \ |
| 36 | freescale/imx8mp-evk-ov2775-ov5640.dtb \ | 36 | freescale/imx8mp-evk-ov2775-ov5640.dtb \ |
| 37 | freescale/imx8mp-evk-pcie-ep.dtb \ | ||
| 38 | freescale/imx8mp-evk-revA3-8mic-revE.dtb \ | 37 | freescale/imx8mp-evk-revA3-8mic-revE.dtb \ |
| 38 | freescale/imx8mp-evk-revb4-rm692c9.dtb \ | ||
| 39 | freescale/imx8mp-evk-rm692c9.dtb \ | ||
| 39 | freescale/imx8mp-evk-rm67191.dtb \ | 40 | freescale/imx8mp-evk-rm67191.dtb \ |
| 40 | freescale/imx8mp-evk-rm67199.dtb \ | 41 | freescale/imx8mp-evk-rm67199.dtb \ |
| 41 | freescale/imx8mp-evk-root.dtb \ | 42 | freescale/imx8mp-evk-root.dtb \ |
| 42 | freescale/imx8mp-evk-rpmsg.dtb \ | 43 | freescale/imx8mp-evk-rpmsg.dtb \ |
| 43 | freescale/imx8mp-evk-rpmsg-lpv.dtb \ | ||
| 44 | freescale/imx8mp-evk-sof-pdm.dtb \ | 44 | freescale/imx8mp-evk-sof-pdm.dtb \ |
| 45 | freescale/imx8mp-evk-sof-wm8960.dtb \ | 45 | freescale/imx8mp-evk-sof-wm8960.dtb \ |
| 46 | freescale/imx8mp-evk-spdif-lb.dtb \ | 46 | freescale/imx8mp-evk-spdif-lb.dtb \ |
| 47 | freescale/imx8mp-evk-usdhc1-m2.dtb \ | ||
| 48 | freescale/imx8mp-evk-8mic-swpdm.dtb \ | 47 | freescale/imx8mp-evk-8mic-swpdm.dtb \ |
| 49 | " | 48 | " |
| 50 | 49 | ||
diff --git a/conf/machine/imx8mq-evk.conf b/conf/machine/imx8mq-evk.conf index ff56e386d..9e5c27b43 100644 --- a/conf/machine/imx8mq-evk.conf +++ b/conf/machine/imx8mq-evk.conf | |||
| @@ -28,13 +28,15 @@ KERNEL_DEVICETREE:append:use-nxp-bsp = " \ | |||
| 28 | freescale/imx8mq-evk-dcss-adv7535.dtb \ | 28 | freescale/imx8mq-evk-dcss-adv7535.dtb \ |
| 29 | freescale/imx8mq-evk-dcss-rm67191.dtb \ | 29 | freescale/imx8mq-evk-dcss-rm67191.dtb \ |
| 30 | freescale/imx8mq-evk-dcss-rm67199.dtb \ | 30 | freescale/imx8mq-evk-dcss-rm67199.dtb \ |
| 31 | freescale/imx8mq-evk-dcss-rm692c9.dtb \ | ||
| 31 | freescale/imx8mq-evk-dp.dtb \ | 32 | freescale/imx8mq-evk-dp.dtb \ |
| 32 | freescale/imx8mq-evk-dual-display.dtb \ | 33 | freescale/imx8mq-evk-dual-display.dtb \ |
| 33 | freescale/imx8mq-evk-inmate.dtb \ | 34 | freescale/imx8mq-evk-inmate.dtb \ |
| 34 | freescale/imx8mq-evk-lcdif-adv7535.dtb \ | 35 | freescale/imx8mq-evk-lcdif-adv7535.dtb \ |
| 35 | freescale/imx8mq-evk-lcdif-rm67191.dtb \ | 36 | freescale/imx8mq-evk-lcdif-rm67191.dtb \ |
| 36 | freescale/imx8mq-evk-lcdif-rm67199.dtb \ | 37 | freescale/imx8mq-evk-lcdif-rm67199.dtb \ |
| 37 | freescale/imx8mq-evk-pcie-ep.dtb \ | 38 | freescale/imx8mq-evk-lcdif-rm692c9.dtb \ |
| 39 | freescale/imx8mq-evk-pcie1-ep.dtb \ | ||
| 38 | freescale/imx8mq-evk-pcie1-m2.dtb \ | 40 | freescale/imx8mq-evk-pcie1-m2.dtb \ |
| 39 | freescale/imx8mq-evk-pdm.dtb \ | 41 | freescale/imx8mq-evk-pdm.dtb \ |
| 40 | freescale/imx8mq-evk-root.dtb \ | 42 | freescale/imx8mq-evk-root.dtb \ |
| @@ -49,7 +51,7 @@ IMX_DEFAULT_BOOTLOADER:use-mainline-bsp = "u-boot-fslc" | |||
| 49 | UBOOT_SUFFIX = "bin" | 51 | UBOOT_SUFFIX = "bin" |
| 50 | 52 | ||
| 51 | UBOOT_CONFIG ??= "sd" | 53 | UBOOT_CONFIG ??= "sd" |
| 52 | UBOOT_CONFIG[sd] = "imx8mq_evk_config,sdcard" | 54 | UBOOT_CONFIG[sd] = "imx8mq_evk_config" |
| 53 | 55 | ||
| 54 | SPL_BINARY = "spl/u-boot-spl.bin" | 56 | SPL_BINARY = "spl/u-boot-spl.bin" |
| 55 | 57 | ||
| @@ -104,4 +106,7 @@ IMAGE_BOOT_FILES:append:imx-nxp-bsp = " \ | |||
| 104 | mcore-demos/imx8mq_m4_TCM_hello_world.bin \ | 106 | mcore-demos/imx8mq_m4_TCM_hello_world.bin \ |
| 105 | mcore-demos/imx8mq_m4_TCM_rpmsg_lite_pingpong_rtos_linux_remote.bin \ | 107 | mcore-demos/imx8mq_m4_TCM_rpmsg_lite_pingpong_rtos_linux_remote.bin \ |
| 106 | mcore-demos/imx8mq_m4_TCM_rpmsg_lite_str_echo_rtos.bin \ | 108 | mcore-demos/imx8mq_m4_TCM_rpmsg_lite_str_echo_rtos.bin \ |
| 109 | mcore-demos/imx8mq_m4_DDR_hello_world.bin \ | ||
| 110 | mcore-demos/imx8mq_m4_DDR_rpmsg_lite_pingpong_rtos_linux_remote.bin \ | ||
| 111 | mcore-demos/imx8mq_m4_DDR_rpmsg_lite_str_echo_rtos.bin \ | ||
| 107 | " | 112 | " |
diff --git a/conf/machine/imx8mq-lpddr4-wevk.conf b/conf/machine/imx8mq-lpddr4-wevk.conf index 6aa8e0ee7..e66eda2f4 100644 --- a/conf/machine/imx8mq-lpddr4-wevk.conf +++ b/conf/machine/imx8mq-lpddr4-wevk.conf | |||
| @@ -8,7 +8,7 @@ MACHINEOVERRIDES =. "imx8mq-evk:" | |||
| 8 | require conf/machine/imx8mq-evk.conf | 8 | require conf/machine/imx8mq-evk.conf |
| 9 | 9 | ||
| 10 | UBOOT_CONFIG ??= "sd" | 10 | UBOOT_CONFIG ??= "sd" |
| 11 | UBOOT_CONFIG[sd] = "imx8mq_wevk_config,sdcard" | 11 | UBOOT_CONFIG[sd] = "imx8mq_wevk_config" |
| 12 | 12 | ||
| 13 | # Set imx-mkimage boot target | 13 | # Set imx-mkimage boot target |
| 14 | IMXBOOT_TARGETS = "flash_evk flash_evk_no_hdmi" | 14 | IMXBOOT_TARGETS = "flash_evk flash_evk_no_hdmi" |
diff --git a/conf/machine/imx8qm-mek.conf b/conf/machine/imx8qm-mek.conf index 56ede4326..bb65ae13e 100644 --- a/conf/machine/imx8qm-mek.conf +++ b/conf/machine/imx8qm-mek.conf | |||
| @@ -39,10 +39,9 @@ KERNEL_DEVICETREE = " \ | |||
| 39 | freescale/imx8qm-mek-enet2-tja1100.dtb \ | 39 | freescale/imx8qm-mek-enet2-tja1100.dtb \ |
| 40 | freescale/imx8qm-mek-hdmi.dtb \ | 40 | freescale/imx8qm-mek-hdmi.dtb \ |
| 41 | freescale/imx8qm-mek-hdmi-rx.dtb \ | 41 | freescale/imx8qm-mek-hdmi-rx.dtb \ |
| 42 | freescale/imx8qm-mek-hdmi-rx-ov5640.dtb \ | 42 | freescale/imx8qm-mek-hdmi-rx.dtbo \ |
| 43 | freescale/imx8qm-mek-jdi-wuxga-lvds1-panel.dtb \ | 43 | freescale/imx8qm-mek-jdi-wuxga-lvds1-panel.dtb \ |
| 44 | freescale/imx8qm-mek-jdi-wuxga-lvds1-panel-rpmsg.dtb \ | 44 | freescale/imx8qm-mek-jdi-wuxga-lvds1-panel-rpmsg.dtb \ |
| 45 | freescale/imx8qm-mek-pcie-ep.dtb \ | ||
| 46 | freescale/imx8qm-mek-rpmsg.dtb \ | 45 | freescale/imx8qm-mek-rpmsg.dtb \ |
| 47 | freescale/imx8qm-mek-sof.dtb \ | 46 | freescale/imx8qm-mek-sof.dtb \ |
| 48 | freescale/imx8qm-mek-sof-cs42888.dtb \ | 47 | freescale/imx8qm-mek-sof-cs42888.dtb \ |
| @@ -52,6 +51,8 @@ KERNEL_DEVICETREE = " \ | |||
| 52 | freescale/imx8qm-mek-max9286-csi0.dtb \ | 51 | freescale/imx8qm-mek-max9286-csi0.dtb \ |
| 53 | freescale/imx8qm-mek-max9286-csi1.dtb \ | 52 | freescale/imx8qm-mek-max9286-csi1.dtb \ |
| 54 | freescale/imx8qm-mek-max9286-dual.dtb \ | 53 | freescale/imx8qm-mek-max9286-dual.dtb \ |
| 54 | freescale/imx8qm-mek-pcie0-ep.dtb \ | ||
| 55 | freescale/imx8qm-mek-pcie0-ep-rpmsg.dtb \ | ||
| 55 | freescale/imx8qm-mek-revd-ca53.dtb \ | 56 | freescale/imx8qm-mek-revd-ca53.dtb \ |
| 56 | freescale/imx8qm-mek-revd-ca72.dtb \ | 57 | freescale/imx8qm-mek-revd-ca72.dtb \ |
| 57 | freescale/imx8qm-mek-revd-dsi-rm67191.dtb \ | 58 | freescale/imx8qm-mek-revd-dsi-rm67191.dtb \ |
| @@ -59,6 +60,7 @@ KERNEL_DEVICETREE = " \ | |||
| 59 | freescale/imx8qm-mek-revd.dtb \ | 60 | freescale/imx8qm-mek-revd.dtb \ |
| 60 | freescale/imx8qm-mek-revd-enet2-tja1100.dtb \ | 61 | freescale/imx8qm-mek-revd-enet2-tja1100.dtb \ |
| 61 | freescale/imx8qm-mek-revd-hdmi.dtb \ | 62 | freescale/imx8qm-mek-revd-hdmi.dtb \ |
| 63 | freescale/imx8qm-mek-revd-hdmi-rx.dtb \ | ||
| 62 | freescale/imx8qm-mek-revd-jdi-wuxga-lvds1-panel.dtb \ | 64 | freescale/imx8qm-mek-revd-jdi-wuxga-lvds1-panel.dtb \ |
| 63 | freescale/imx8qm-mek-revd-jdi-wuxga-lvds1-panel-rpmsg.dtb \ | 65 | freescale/imx8qm-mek-revd-jdi-wuxga-lvds1-panel-rpmsg.dtb \ |
| 64 | freescale/imx8qm-mek-revd-max9286-csi0.dtb \ | 66 | freescale/imx8qm-mek-revd-max9286-csi0.dtb \ |
| @@ -94,7 +96,7 @@ IMX_DEFAULT_BOOTLOADER:use-mainline-bsp = "u-boot-fslc" | |||
| 94 | UBOOT_SUFFIX = "bin" | 96 | UBOOT_SUFFIX = "bin" |
| 95 | 97 | ||
| 96 | UBOOT_CONFIG ??= "sd" | 98 | UBOOT_CONFIG ??= "sd" |
| 97 | UBOOT_CONFIG[sd] = "imx8qm_mek_defconfig,sdcard" | 99 | UBOOT_CONFIG[sd] = "imx8qm_mek_defconfig" |
| 98 | UBOOT_CONFIG[fspi] = "imx8qm_mek_fspi_defconfig" | 100 | UBOOT_CONFIG[fspi] = "imx8qm_mek_fspi_defconfig" |
| 99 | 101 | ||
| 100 | IMX_BOOT_SEEK = "32" | 102 | IMX_BOOT_SEEK = "32" |
diff --git a/conf/machine/imx8qxp-mek.conf b/conf/machine/imx8qxp-mek.conf index 6763c985e..e6eb2109f 100644 --- a/conf/machine/imx8qxp-mek.conf +++ b/conf/machine/imx8qxp-mek.conf | |||
| @@ -26,12 +26,13 @@ KERNEL_DEVICETREE:append:use-nxp-bsp = " \ | |||
| 26 | freescale/${KERNEL_DEVICETREE_BASENAME}-sof-wm8960.dtb \ | 26 | freescale/${KERNEL_DEVICETREE_BASENAME}-sof-wm8960.dtb \ |
| 27 | freescale/${KERNEL_DEVICETREE_BASENAME}-sof-wm8962.dtb \ | 27 | freescale/${KERNEL_DEVICETREE_BASENAME}-sof-wm8962.dtb \ |
| 28 | freescale/${KERNEL_DEVICETREE_BASENAME}-max9286.dtb \ | 28 | freescale/${KERNEL_DEVICETREE_BASENAME}-max9286.dtb \ |
| 29 | freescale/${KERNEL_DEVICETREE_BASENAME}-max9286-rpmsg.dtb \ | ||
| 29 | freescale/${KERNEL_DEVICETREE_BASENAME}-ov5640-csi.dtb \ | 30 | freescale/${KERNEL_DEVICETREE_BASENAME}-ov5640-csi.dtb \ |
| 30 | freescale/${KERNEL_DEVICETREE_BASENAME}-ov5640-csi-rpmsg.dtb \ | 31 | freescale/${KERNEL_DEVICETREE_BASENAME}-ov5640-csi-rpmsg.dtb \ |
| 32 | freescale/${KERNEL_DEVICETREE_BASENAME}-ov5640-cpi.dtb \ | ||
| 33 | freescale/${KERNEL_DEVICETREE_BASENAME}-ov5640-cpi-rpmsg.dtb \ | ||
| 31 | freescale/${KERNEL_DEVICETREE_BASENAME}-ov5640-dual.dtb \ | 34 | freescale/${KERNEL_DEVICETREE_BASENAME}-ov5640-dual.dtb \ |
| 32 | freescale/${KERNEL_DEVICETREE_BASENAME}-ov5640-dual-rpmsg.dtb \ | 35 | freescale/${KERNEL_DEVICETREE_BASENAME}-ov5640-dual-rpmsg.dtb \ |
| 33 | freescale/${KERNEL_DEVICETREE_BASENAME}-ov5640-parallel.dtb \ | ||
| 34 | freescale/${KERNEL_DEVICETREE_BASENAME}-ov5640-parallel-rpmsg.dtb \ | ||
| 35 | " | 36 | " |
| 36 | 37 | ||
| 37 | UBOOT_CONFIG_BASENAME = "imx8qxp_mek" | 38 | UBOOT_CONFIG_BASENAME = "imx8qxp_mek" |
diff --git a/conf/machine/imx93-11x11-lpddr4x-evk.conf b/conf/machine/imx93-11x11-lpddr4x-evk.conf index e7ad6d4d3..ea7f84d94 100644 --- a/conf/machine/imx93-11x11-lpddr4x-evk.conf +++ b/conf/machine/imx93-11x11-lpddr4x-evk.conf | |||
| @@ -24,7 +24,7 @@ KERNEL_DEVICETREE:append:use-nxp-bsp = " \ | |||
| 24 | freescale/${KERNEL_DEVICETREE_BASENAME}-rm67199.dtb \ | 24 | freescale/${KERNEL_DEVICETREE_BASENAME}-rm67199.dtb \ |
| 25 | freescale/${KERNEL_DEVICETREE_BASENAME}-root.dtb \ | 25 | freescale/${KERNEL_DEVICETREE_BASENAME}-root.dtb \ |
| 26 | freescale/${KERNEL_DEVICETREE_BASENAME}-rpmsg.dtb \ | 26 | freescale/${KERNEL_DEVICETREE_BASENAME}-rpmsg.dtb \ |
| 27 | freescale/${KERNEL_DEVICETREE_BASENAME}-rpmsg-lpv.dtb \ | 27 | freescale/${KERNEL_DEVICETREE_BASENAME}-8mic-reve.dtb \ |
| 28 | " | 28 | " |
| 29 | 29 | ||
| 30 | UBOOT_CONFIG_BASENAME = "imx93_11x11_evk" | 30 | UBOOT_CONFIG_BASENAME = "imx93_11x11_evk" |
| @@ -38,7 +38,6 @@ DDR_FIRMWARE_NAME = " \ | |||
| 38 | 38 | ||
| 39 | WKS_FILE_DEPENDS:append:imx-nxp-bsp = " imx-m33-demos" | 39 | WKS_FILE_DEPENDS:append:imx-nxp-bsp = " imx-m33-demos" |
| 40 | IMAGE_BOOT_FILES:append:imx-nxp-bsp = " \ | 40 | IMAGE_BOOT_FILES:append:imx-nxp-bsp = " \ |
| 41 | mcore-demos/imx93-11x11-evk_m33_TCM_low_power_wakeword.bin \ | ||
| 42 | mcore-demos/imx93-11x11-evk_m33_TCM_power_mode_switch.bin \ | 41 | mcore-demos/imx93-11x11-evk_m33_TCM_power_mode_switch.bin \ |
| 43 | mcore-demos/imx93-11x11-evk_m33_TCM_rpmsg_lite_pingpong_rtos_linux_remote.bin \ | 42 | mcore-demos/imx93-11x11-evk_m33_TCM_rpmsg_lite_pingpong_rtos_linux_remote.bin \ |
| 44 | mcore-demos/imx93-11x11-evk_m33_TCM_rpmsg_lite_str_echo_rtos.bin \ | 43 | mcore-demos/imx93-11x11-evk_m33_TCM_rpmsg_lite_str_echo_rtos.bin \ |
diff --git a/conf/machine/imx93-14x14-lpddr4x-evk.conf b/conf/machine/imx93-14x14-lpddr4x-evk.conf index dff843a79..3cb50f282 100644 --- a/conf/machine/imx93-14x14-lpddr4x-evk.conf +++ b/conf/machine/imx93-14x14-lpddr4x-evk.conf | |||
| @@ -18,6 +18,7 @@ KERNEL_DEVICETREE:append:use-nxp-bsp = " \ | |||
| 18 | freescale/${KERNEL_DEVICETREE_BASENAME}-rm67199.dtb \ | 18 | freescale/${KERNEL_DEVICETREE_BASENAME}-rm67199.dtb \ |
| 19 | freescale/${KERNEL_DEVICETREE_BASENAME}-sja1105.dtb \ | 19 | freescale/${KERNEL_DEVICETREE_BASENAME}-sja1105.dtb \ |
| 20 | freescale/${KERNEL_DEVICETREE_BASENAME}-tja1103.dtb \ | 20 | freescale/${KERNEL_DEVICETREE_BASENAME}-tja1103.dtb \ |
| 21 | freescale/${KERNEL_DEVICETREE_BASENAME}-8mic-reve.dtb \ | ||
| 21 | " | 22 | " |
| 22 | 23 | ||
| 23 | UBOOT_CONFIG_BASENAME = "imx93_14x14_evk" | 24 | UBOOT_CONFIG_BASENAME = "imx93_14x14_evk" |
diff --git a/conf/machine/imx93-9x9-lpddr4-qsb.conf b/conf/machine/imx93-9x9-lpddr4-qsb.conf index ef53da5eb..10883f651 100644 --- a/conf/machine/imx93-9x9-lpddr4-qsb.conf +++ b/conf/machine/imx93-9x9-lpddr4-qsb.conf | |||
| @@ -17,7 +17,6 @@ KERNEL_DEVICETREE:append:use-nxp-bsp = " \ | |||
| 17 | freescale/${KERNEL_DEVICETREE_BASENAME}-mt9m114.dtb \ | 17 | freescale/${KERNEL_DEVICETREE_BASENAME}-mt9m114.dtb \ |
| 18 | freescale/${KERNEL_DEVICETREE_BASENAME}-ontat-wvga-panel.dtb \ | 18 | freescale/${KERNEL_DEVICETREE_BASENAME}-ontat-wvga-panel.dtb \ |
| 19 | freescale/${KERNEL_DEVICETREE_BASENAME}-rpmsg.dtb \ | 19 | freescale/${KERNEL_DEVICETREE_BASENAME}-rpmsg.dtb \ |
| 20 | freescale/${KERNEL_DEVICETREE_BASENAME}-rpmsg-lpv.dtb \ | ||
| 21 | freescale/${KERNEL_DEVICETREE_BASENAME}-tianma-wvga-panel.dtb \ | 20 | freescale/${KERNEL_DEVICETREE_BASENAME}-tianma-wvga-panel.dtb \ |
| 22 | " | 21 | " |
| 23 | 22 | ||
| @@ -33,7 +32,6 @@ DDR_FIRMWARE_NAME = " \ | |||
| 33 | WKS_FILE_DEPENDS:append:imx-nxp-bsp = " imx-m33-demos" | 32 | WKS_FILE_DEPENDS:append:imx-nxp-bsp = " imx-m33-demos" |
| 34 | IMAGE_BOOT_FILES:append:imx-nxp-bsp = " \ | 33 | IMAGE_BOOT_FILES:append:imx-nxp-bsp = " \ |
| 35 | mcore-demos/imx93-9x9-qsb_m33_TCM_power_mode_switch.bin \ | 34 | mcore-demos/imx93-9x9-qsb_m33_TCM_power_mode_switch.bin \ |
| 36 | mcore-demos/imx93-9x9-qsb_m33_TCM_low_power_wakeword.bin \ | ||
| 37 | mcore-demos/imx93-9x9-qsb_m33_TCM_rpmsg_lite_pingpong_rtos_linux_remote.bin \ | 35 | mcore-demos/imx93-9x9-qsb_m33_TCM_rpmsg_lite_pingpong_rtos_linux_remote.bin \ |
| 38 | mcore-demos/imx93-9x9-qsb_m33_TCM_rpmsg_lite_str_echo_rtos.bin \ | 36 | mcore-demos/imx93-9x9-qsb_m33_TCM_rpmsg_lite_str_echo_rtos.bin \ |
| 39 | mcore-demos/imx93-9x9-qsb_m33_TCM_sai_low_power_audio.bin \ | 37 | mcore-demos/imx93-9x9-qsb_m33_TCM_sai_low_power_audio.bin \ |
diff --git a/conf/machine/imx943-19x19-lpddr4-evk.conf b/conf/machine/imx943-19x19-lpddr4-evk.conf new file mode 100644 index 000000000..159aca2dc --- /dev/null +++ b/conf/machine/imx943-19x19-lpddr4-evk.conf | |||
| @@ -0,0 +1,23 @@ | |||
| 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 <junzhu@nxp.com> | ||
| 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 | DDR_TYPE = "lpddr4x" | ||
| 16 | DDR_FIRMWARE_NAME = " \ | ||
| 17 | lpddr4x_dmem_v202409.bin \ | ||
| 18 | lpddr4x_dmem_qb_v202409.bin \ | ||
| 19 | lpddr4x_imem_v202409.bin \ | ||
| 20 | lpddr4x_imem_qb_v202409.bin \ | ||
| 21 | " | ||
| 22 | OEI_DDR_CONFIG = "MIMX943_LPDDR4_EVK_19X19_4266MTS_FW2024.09_timing" | ||
| 23 | OEI_DDR_CONFIG_ECC = "MIMX943_LPDDR4_EVK_19X19_4266MTS_FW2024.09_ECC_enabled_timing" | ||
diff --git a/conf/machine/imx95-19x19-verdin.conf b/conf/machine/imx95-19x19-verdin.conf index 5ae9ac665..3264324bb 100644 --- a/conf/machine/imx95-19x19-verdin.conf +++ b/conf/machine/imx95-19x19-verdin.conf | |||
| @@ -11,8 +11,8 @@ require conf/machine/include/imx95-evk.inc | |||
| 11 | # iMX95 Verdin EVK V1.1E is the first revision with a B0 SoC, | 11 | # iMX95 Verdin EVK V1.1E is the first revision with a B0 SoC, |
| 12 | # older versions require A0/A1 support, set with the below variable | 12 | # older versions require A0/A1 support, set with the below variable |
| 13 | #IMX_SOC_REV:${MACHINE} = "A0" | 13 | #IMX_SOC_REV:${MACHINE} = "A0" |
| 14 | # When building for A0/A1 iMX95 SoCs, set OEI_DDRCONFIG accordingly | 14 | # When building for A0/A1 iMX95 SoCs, set OEI_DDR_CONFIG accordingly |
| 15 | OEI_DDRCONFIG = "${@'XIMX95LPD5EVK19_6400mbps_train_timing_a1' if d.getVar('IMX_SOC_REV')[0] == 'A' else ''}" | 15 | OEI_DDR_CONFIG = "${@'XIMX95LPD5EVK19_6400mbps_train_timing_a1' if d.getVar('IMX_SOC_REV')[0] == 'A' else ''}" |
| 16 | 16 | ||
| 17 | KERNEL_DEVICETREE_BASENAME = "imx95-19x19-verdin" | 17 | KERNEL_DEVICETREE_BASENAME = "imx95-19x19-verdin" |
| 18 | 18 | ||
diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc index df3773d2e..8810085d6 100644 --- a/conf/machine/include/imx-base.inc +++ b/conf/machine/include/imx-base.inc | |||
| @@ -95,6 +95,7 @@ UBOOT_ENTRYPOINT:mx7-generic-bsp ?= "0x80008000" | |||
| 95 | UBOOT_ENTRYPOINT:mx7ulp-generic-bsp ?= "0x60008000" | 95 | UBOOT_ENTRYPOINT:mx7ulp-generic-bsp ?= "0x60008000" |
| 96 | UBOOT_ENTRYPOINT:mx8m-generic-bsp ?= "0x40480000" | 96 | UBOOT_ENTRYPOINT:mx8m-generic-bsp ?= "0x40480000" |
| 97 | UBOOT_ENTRYPOINT:mx93-generic-bsp ?= "0x80400000" | 97 | UBOOT_ENTRYPOINT:mx93-generic-bsp ?= "0x80400000" |
| 98 | UBOOT_ENTRYPOINT:mx943-generic-bsp ?= "0x80400000" | ||
| 98 | UBOOT_ENTRYPOINT:vf-generic-bsp ?= "0x80008000" | 99 | UBOOT_ENTRYPOINT:vf-generic-bsp ?= "0x80008000" |
| 99 | 100 | ||
| 100 | # Some SoC can utilize the boot container provided by U-Boot, | 101 | # Some SoC can utilize the boot container provided by U-Boot, |
| @@ -106,6 +107,9 @@ UBOOT_PROVIDES_BOOT_CONTAINER = "0" | |||
| 106 | # IMX_DEFAULT_BOOTLOADER. | 107 | # IMX_DEFAULT_BOOTLOADER. |
| 107 | UBOOT_PROVIDES_BOOT_CONTAINER:mx8m-generic-bsp = "${@oe.utils.ifelse(d.getVar('IMX_DEFAULT_BOOTLOADER') == 'u-boot-imx', '0', '1')}" | 108 | UBOOT_PROVIDES_BOOT_CONTAINER:mx8m-generic-bsp = "${@oe.utils.ifelse(d.getVar('IMX_DEFAULT_BOOTLOADER') == 'u-boot-imx', '0', '1')}" |
| 108 | 109 | ||
| 110 | # i.MX95 mainline U-Boot uses binman to assemble the boot container. | ||
| 111 | UBOOT_PROVIDES_BOOT_CONTAINER:mx95-mainline-bsp = "1" | ||
| 112 | |||
| 109 | # Trusted Firmware for Cortex-A (TF-A) can have different providers, either | 113 | # Trusted Firmware for Cortex-A (TF-A) can have different providers, either |
| 110 | # from upstream or from NXP downstream fork. Below variable defines which TF-A | 114 | # from upstream or from NXP downstream fork. Below variable defines which TF-A |
| 111 | # shall be taken into the build, and will be integrated into runtime image. | 115 | # shall be taken into the build, and will be integrated into runtime image. |
| @@ -169,6 +173,7 @@ DEFAULTTUNE:mx8x-generic-bsp ?= "cortexa35-crypto" | |||
| 169 | DEFAULTTUNE:mx8ulp-generic-bsp ?= "cortexa35-crypto" | 173 | DEFAULTTUNE:mx8ulp-generic-bsp ?= "cortexa35-crypto" |
| 170 | DEFAULTTUNE:mx91-generic-bsp ?= "cortexa55" | 174 | DEFAULTTUNE:mx91-generic-bsp ?= "cortexa55" |
| 171 | DEFAULTTUNE:mx93-generic-bsp ?= "cortexa55" | 175 | DEFAULTTUNE:mx93-generic-bsp ?= "cortexa55" |
| 176 | DEFAULTTUNE:mx94-generic-bsp ?= "cortexa55" | ||
| 172 | DEFAULTTUNE:mx95-generic-bsp ?= "cortexa55" | 177 | DEFAULTTUNE:mx95-generic-bsp ?= "cortexa55" |
| 173 | 178 | ||
| 174 | INHERIT += "machine-overrides-extender" | 179 | INHERIT += "machine-overrides-extender" |
| @@ -227,6 +232,7 @@ MACHINEOVERRIDES_EXTENDER:mx8ulp:use-nxp-bsp = "imx-generic-bsp:imx-nxp-bsp:imxd | |||
| 227 | 232 | ||
| 228 | MACHINEOVERRIDES_EXTENDER:mx91:use-nxp-bsp = "imx-generic-bsp:imx-nxp-bsp:imxdrm:mx9-generic-bsp:mx9-nxp-bsp:mx91-generic-bsp:mx91-nxp-bsp" | 233 | MACHINEOVERRIDES_EXTENDER:mx91:use-nxp-bsp = "imx-generic-bsp:imx-nxp-bsp:imxdrm:mx9-generic-bsp:mx9-nxp-bsp:mx91-generic-bsp:mx91-nxp-bsp" |
| 229 | MACHINEOVERRIDES_EXTENDER:mx93:use-nxp-bsp = "imx-generic-bsp:imx-nxp-bsp:imxdrm:imxpxp:mx9-generic-bsp:mx9-nxp-bsp:mx93-generic-bsp:mx93-nxp-bsp" | 234 | MACHINEOVERRIDES_EXTENDER:mx93:use-nxp-bsp = "imx-generic-bsp:imx-nxp-bsp:imxdrm:imxpxp:mx9-generic-bsp:mx9-nxp-bsp:mx93-generic-bsp:mx93-nxp-bsp" |
| 235 | MACHINEOVERRIDES_EXTENDER:mx943:use-nxp-bsp = "imx-generic-bsp:imx-nxp-bsp:imxdrm:imxpxp:mx9-generic-bsp:mx9-nxp-bsp:mx94-generic-bsp:mx94-nxp-bsp:mx943-generic-bsp:mx943-nxp-bsp" | ||
| 230 | MACHINEOVERRIDES_EXTENDER:mx95:use-nxp-bsp = "imx-generic-bsp:imx-nxp-bsp:imxdrm:imxdpu:imxgpu:imxmali:imxgpu2d:imxgpu3d:mx9-generic-bsp:mx9-nxp-bsp:mx95-generic-bsp:mx95-nxp-bsp" | 236 | MACHINEOVERRIDES_EXTENDER:mx95:use-nxp-bsp = "imx-generic-bsp:imx-nxp-bsp:imxdrm:imxdpu:imxgpu:imxmali:imxgpu2d:imxgpu3d:mx9-generic-bsp:mx9-nxp-bsp:mx95-generic-bsp:mx95-nxp-bsp" |
| 231 | 237 | ||
| 232 | ####### | 238 | ####### |
| @@ -272,6 +278,7 @@ MACHINEOVERRIDES_EXTENDER:mx8ulp:use-mainline-bsp = "imx-generic-bsp:imx-mainlin | |||
| 272 | 278 | ||
| 273 | MACHINEOVERRIDES_EXTENDER:mx91:use-mainline-bsp = "imx-generic-bsp:imx-mainline-bsp:mx9-generic-bsp:mx9-mainline-bsp:mx91-generic-bsp:mx91-mainline-bsp" | 279 | MACHINEOVERRIDES_EXTENDER:mx91:use-mainline-bsp = "imx-generic-bsp:imx-mainline-bsp:mx9-generic-bsp:mx9-mainline-bsp:mx91-generic-bsp:mx91-mainline-bsp" |
| 274 | MACHINEOVERRIDES_EXTENDER:mx93:use-mainline-bsp = "imx-generic-bsp:imx-mainline-bsp:mx9-generic-bsp:mx9-mainline-bsp:mx93-generic-bsp:mx93-mainline-bsp" | 280 | MACHINEOVERRIDES_EXTENDER:mx93:use-mainline-bsp = "imx-generic-bsp:imx-mainline-bsp:mx9-generic-bsp:mx9-mainline-bsp:mx93-generic-bsp:mx93-mainline-bsp" |
| 281 | MACHINEOVERRIDES_EXTENDER:mx943:use-mainline-bsp = "imx-generic-bsp:imx-mainline-bsp:mx9-generic-bsp:mx9-mainline-bsp:mx94-generic-bsp:mx94-mainline-bsp:mx943-generic-bsp:mx943-mainline-bsp" | ||
| 275 | MACHINEOVERRIDES_EXTENDER:mx95:use-mainline-bsp = "imx-generic-bsp:imx-mainline-bsp:mx9-generic-bsp:mx9-mainline-bsp:mx95-generic-bsp:mx95-mainline-bsp" | 282 | MACHINEOVERRIDES_EXTENDER:mx95:use-mainline-bsp = "imx-generic-bsp:imx-mainline-bsp:mx9-generic-bsp:mx9-mainline-bsp:mx95-generic-bsp:mx95-mainline-bsp" |
| 276 | 283 | ||
| 277 | MACHINEOVERRIDES_EXTENDER_FILTER_OUT = " \ | 284 | MACHINEOVERRIDES_EXTENDER_FILTER_OUT = " \ |
| @@ -305,6 +312,7 @@ MACHINEOVERRIDES_EXTENDER_FILTER_OUT = " \ | |||
| 305 | mx8ulp \ | 312 | mx8ulp \ |
| 306 | mx91 \ | 313 | mx91 \ |
| 307 | mx93 \ | 314 | mx93 \ |
| 315 | mx943 \ | ||
| 308 | mx95 \ | 316 | mx95 \ |
| 309 | " | 317 | " |
| 310 | 318 | ||
| @@ -335,6 +343,7 @@ MACHINE_SOCARCH_SUFFIX:mx8dxl-nxp-bsp = "-mx8xl" | |||
| 335 | MACHINE_SOCARCH_SUFFIX:mx8ulp-nxp-bsp = "-mx8ulp" | 343 | MACHINE_SOCARCH_SUFFIX:mx8ulp-nxp-bsp = "-mx8ulp" |
| 336 | MACHINE_SOCARCH_SUFFIX:mx91-nxp-bsp = "-mx91" | 344 | MACHINE_SOCARCH_SUFFIX:mx91-nxp-bsp = "-mx91" |
| 337 | MACHINE_SOCARCH_SUFFIX:mx93-nxp-bsp = "-mx93" | 345 | MACHINE_SOCARCH_SUFFIX:mx93-nxp-bsp = "-mx93" |
| 346 | MACHINE_SOCARCH_SUFFIX:mx943-nxp-bsp = "-mx943" | ||
| 338 | MACHINE_SOCARCH_SUFFIX:mx95-nxp-bsp = "-mx95" | 347 | MACHINE_SOCARCH_SUFFIX:mx95-nxp-bsp = "-mx95" |
| 339 | 348 | ||
| 340 | # For Mainline we use a single SoC suffix as we don't have different build options | 349 | # For Mainline we use a single SoC suffix as we don't have different build options |
| @@ -414,6 +423,7 @@ IMX_EXTRA_FIRMWARE:mx8x-generic-bsp = "imx-sc-firmware imx-seco" | |||
| 414 | IMX_EXTRA_FIRMWARE:mx8ulp-generic-bsp = "firmware-upower firmware-ele-imx" | 423 | IMX_EXTRA_FIRMWARE:mx8ulp-generic-bsp = "firmware-upower firmware-ele-imx" |
| 415 | IMX_EXTRA_FIRMWARE:mx91-generic-bsp = "imx-boot-firmware-files firmware-ele-imx" | 424 | IMX_EXTRA_FIRMWARE:mx91-generic-bsp = "imx-boot-firmware-files firmware-ele-imx" |
| 416 | IMX_EXTRA_FIRMWARE:mx93-generic-bsp = "imx-boot-firmware-files firmware-ele-imx" | 425 | IMX_EXTRA_FIRMWARE:mx93-generic-bsp = "imx-boot-firmware-files firmware-ele-imx" |
| 426 | IMX_EXTRA_FIRMWARE:mx943-nxp-bsp = "imx-boot-firmware-files firmware-ele-imx virtual/imx-system-manager virtual/imx-oei" | ||
| 417 | PREFERRED_PROVIDER_virtual/imx-system-manager ??= "imx-system-manager" | 427 | PREFERRED_PROVIDER_virtual/imx-system-manager ??= "imx-system-manager" |
| 418 | PREFERRED_PROVIDER_virtual/imx-oei ??= "imx-oei" | 428 | PREFERRED_PROVIDER_virtual/imx-oei ??= "imx-oei" |
| 419 | IMX_EXTRA_FIRMWARE:mx95-generic-bsp = "imx-boot-firmware-files firmware-ele-imx virtual/imx-system-manager virtual/imx-oei" | 429 | IMX_EXTRA_FIRMWARE:mx95-generic-bsp = "imx-boot-firmware-files firmware-ele-imx virtual/imx-system-manager virtual/imx-oei" |
| @@ -455,7 +465,6 @@ MACHINE_FIRMWARE:append = " ${@bb.utils.contains('MACHINE_FEATURES', 'bcm4339', | |||
| 455 | MACHINE_FIRMWARE:append = " ${@bb.utils.contains('MACHINE_FEATURES', 'bcm43430', 'linux-firmware-bcm43430', '', d)}" | 465 | MACHINE_FIRMWARE:append = " ${@bb.utils.contains('MACHINE_FEATURES', 'bcm43430', 'linux-firmware-bcm43430', '', d)}" |
| 456 | MACHINE_FIRMWARE:append = " ${@bb.utils.contains('MACHINE_FEATURES', 'bcm43455', 'linux-firmware-bcm43455', '', d)}" | 466 | MACHINE_FIRMWARE:append = " ${@bb.utils.contains('MACHINE_FEATURES', 'bcm43455', 'linux-firmware-bcm43455', '', d)}" |
| 457 | MACHINE_FIRMWARE:append = " ${@bb.utils.contains('MACHINE_FEATURES', 'bcm4356', 'linux-firmware-bcm4356-pcie', '', d)}" | 467 | MACHINE_FIRMWARE:append = " ${@bb.utils.contains('MACHINE_FEATURES', 'bcm4356', 'linux-firmware-bcm4356-pcie', '', d)}" |
| 458 | MACHINE_FIRMWARE:append = " ${@bb.utils.contains('MACHINE_FEATURES', 'bcm4359', 'firmware-nxp-wifi-bcm4359-pcie', '', d)}" | ||
| 459 | 468 | ||
| 460 | # Extra NXP Wi-Fi and Bluetooth driver firmware and driver | 469 | # Extra NXP Wi-Fi and Bluetooth driver firmware and driver |
| 461 | MACHINE_FIRMWARE:append = " ${@bb.utils.contains('MACHINE_FEATURES', 'nxp8801-sdio', 'firmware-nxp-wifi-nxp8801-sdio', '', d)}" | 470 | MACHINE_FIRMWARE:append = " ${@bb.utils.contains('MACHINE_FEATURES', 'nxp8801-sdio', 'firmware-nxp-wifi-nxp8801-sdio', '', d)}" |
| @@ -507,6 +516,7 @@ MACHINE_EXTRA_RRECOMMENDS += " \ | |||
| 507 | # ELE extra Firmware | 516 | # ELE extra Firmware |
| 508 | SECOEXT_FIRMWARE_NAME ?= "UNDEFINED" | 517 | SECOEXT_FIRMWARE_NAME ?= "UNDEFINED" |
| 509 | SECOEXT_FIRMWARE_NAME:mx8ulp-generic-bsp ?= "mx8ulp${IMX_SOC_REV_LOWER}ext-ahab-container.img" | 518 | SECOEXT_FIRMWARE_NAME:mx8ulp-generic-bsp ?= "mx8ulp${IMX_SOC_REV_LOWER}ext-ahab-container.img" |
| 519 | SECOEXT_FIRMWARE_NAME:mx943-generic-bsp ?= "mx943${IMX_SOC_REV_LOWER}runtime-ahab-container.img" | ||
| 510 | 520 | ||
| 511 | # GStreamer 1.0 plugins | 521 | # GStreamer 1.0 plugins |
| 512 | MACHINE_GSTREAMER_1_0_PLUGIN ?= "" | 522 | MACHINE_GSTREAMER_1_0_PLUGIN ?= "" |
| @@ -543,10 +553,6 @@ PREFERRED_VERSION_gstreamer1.0-python:imx-nxp-bsp ??= "1.26.0.imx" | |||
| 543 | PREFERRED_VERSION_gstreamer1.0-rtsp-server:imx-nxp-bsp ??= "1.26.0.imx" | 553 | PREFERRED_VERSION_gstreamer1.0-rtsp-server:imx-nxp-bsp ??= "1.26.0.imx" |
| 544 | PREFERRED_VERSION_gstreamer1.0-vaapi:imx-nxp-bsp ??= "1.26.0.imx" | 554 | PREFERRED_VERSION_gstreamer1.0-vaapi:imx-nxp-bsp ??= "1.26.0.imx" |
| 545 | 555 | ||
| 546 | # GStreamer downgrade ffmpeg | ||
| 547 | PREFERRED_VERSION_ffmpeg:mx8-nxp-bsp ??= "4.4.1" | ||
| 548 | PREFERRED_VERSION_ffmpeg:mx9-nxp-bsp ??= "4.4.1" | ||
| 549 | |||
| 550 | # Determines if the SoC has support for Vivante kernel driver | 556 | # Determines if the SoC has support for Vivante kernel driver |
| 551 | SOC_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT = "0" | 557 | SOC_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT = "0" |
| 552 | SOC_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT:imxgpu = "1" | 558 | SOC_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT:imxgpu = "1" |
| @@ -573,12 +579,18 @@ PREFERRED_PROVIDER_opencl-headers:imxviv ?= "imx-gpu-viv" | |||
| 573 | PREFERRED_PROVIDER_opencl-icd-loader:imxviv ?= "imx-gpu-viv" | 579 | PREFERRED_PROVIDER_opencl-icd-loader:imxviv ?= "imx-gpu-viv" |
| 574 | PREFERRED_PROVIDER_virtual/libopencl1:imxviv ?= "imx-gpu-viv" | 580 | PREFERRED_PROVIDER_virtual/libopencl1:imxviv ?= "imx-gpu-viv" |
| 575 | 581 | ||
| 582 | # Set preferred OpenCL ICD runtime | ||
| 583 | PREFERRED_RPROVIDER_virtual-opencl-icd ?= "libopencl-mesa" | ||
| 584 | PREFERRED_RPROVIDER_virtual-opencl-icd:imxviv ?= "libopencl-imx" | ||
| 585 | PREFERRED_RPROVIDER_virtual-opencl-icd:imxmali ?= "mali-imx-libopencl" | ||
| 586 | |||
| 576 | PREFERRED_PROVIDER_virtual/libg2d ?= "imx-gpu-g2d" | 587 | PREFERRED_PROVIDER_virtual/libg2d ?= "imx-gpu-g2d" |
| 577 | PREFERRED_PROVIDER_virtual/libg2d:imxdpu ?= "imx-dpu-g2d" | 588 | PREFERRED_PROVIDER_virtual/libg2d:imxdpu ?= "imx-dpu-g2d" |
| 578 | PREFERRED_PROVIDER_virtual/libg2d:mx93-nxp-bsp ?= "imx-pxp-g2d" | 589 | PREFERRED_PROVIDER_virtual/libg2d:mx93-nxp-bsp ?= "imx-pxp-g2d" |
| 590 | PREFERRED_PROVIDER_virtual/libg2d:mx943-nxp-bsp ?= "imx-pxp-g2d" | ||
| 579 | 591 | ||
| 580 | # Set preferred Vulkan ICD runtime | 592 | # Set preferred Vulkan ICD runtime |
| 581 | PREFERRED_RPROVIDER_virtual-vulkan-icd ?= "mesa" | 593 | PREFERRED_RPROVIDER_virtual-vulkan-icd ?= "mesa-vulkan-drivers" |
| 582 | PREFERRED_RPROVIDER_virtual-vulkan-icd:imxviv ?= "libvulkan-imx" | 594 | PREFERRED_RPROVIDER_virtual-vulkan-icd:imxviv ?= "libvulkan-imx" |
| 583 | PREFERRED_RPROVIDER_virtual-vulkan-icd:imxmali ?= "mali-imx-libvulkan" | 595 | PREFERRED_RPROVIDER_virtual-vulkan-icd:imxmali ?= "mali-imx-libvulkan" |
| 584 | 596 | ||
| @@ -688,5 +700,7 @@ HOSTTOOLS_NONFATAL:append:mx8-nxp-bsp = " sha384sum" | |||
| 688 | # Add task to generate the mfgtool bundle for the image. | 700 | # Add task to generate the mfgtool bundle for the image. |
| 689 | IMAGE_CLASSES:append:imx-generic-bsp = " image_populate_mfgtool" | 701 | IMAGE_CLASSES:append:imx-generic-bsp = " image_populate_mfgtool" |
| 690 | 702 | ||
| 703 | SECO_FIRMWARE_NAME:mx943-generic-bsp ?= "mx943${IMX_SOC_REV_LOWER}-ahab-container.img" | ||
| 704 | |||
| 691 | # Allow meta-imx to add NIP devices information until upstreamed. | 705 | # Allow meta-imx to add NIP devices information until upstreamed. |
| 692 | include conf/machine/include/imx-base-extend.inc | 706 | include conf/machine/include/imx-base-extend.inc |
diff --git a/conf/machine/include/imx8dxl-evk.inc b/conf/machine/include/imx8dxl-evk.inc index 4f5d12986..50ee85b42 100644 --- a/conf/machine/include/imx8dxl-evk.inc +++ b/conf/machine/include/imx8dxl-evk.inc | |||
| @@ -39,7 +39,7 @@ SPL_BINARY = "spl/u-boot-spl.bin" | |||
| 39 | UBOOT_SUFFIX = "bin" | 39 | UBOOT_SUFFIX = "bin" |
| 40 | 40 | ||
| 41 | UBOOT_CONFIG ??= "sd" | 41 | UBOOT_CONFIG ??= "sd" |
| 42 | UBOOT_CONFIG[sd] = "${UBOOT_CONFIG_BASENAME}_defconfig,sdcard" | 42 | UBOOT_CONFIG[sd] = "${UBOOT_CONFIG_BASENAME}_defconfig" |
| 43 | UBOOT_CONFIG[fspi] = "${UBOOT_CONFIG_BASENAME}_fspi_defconfig" | 43 | UBOOT_CONFIG[fspi] = "${UBOOT_CONFIG_BASENAME}_fspi_defconfig" |
| 44 | 44 | ||
| 45 | IMX_BOOT_SEEK = "32" | 45 | IMX_BOOT_SEEK = "32" |
diff --git a/conf/machine/include/imx8dxl-lpddr4-evk.inc b/conf/machine/include/imx8dxl-lpddr4-evk.inc index b3b906ec7..c19f09eb2 100644 --- a/conf/machine/include/imx8dxl-lpddr4-evk.inc +++ b/conf/machine/include/imx8dxl-lpddr4-evk.inc | |||
| @@ -8,6 +8,7 @@ KERNEL_DEVICETREE:append:use-nxp-bsp = " \ | |||
| 8 | freescale/${KERNEL_DEVICETREE_BASENAME}-lcdif.dtb \ | 8 | freescale/${KERNEL_DEVICETREE_BASENAME}-lcdif.dtb \ |
| 9 | freescale/${KERNEL_DEVICETREE_BASENAME}-lpspi-slave.dtb \ | 9 | freescale/${KERNEL_DEVICETREE_BASENAME}-lpspi-slave.dtb \ |
| 10 | freescale/${KERNEL_DEVICETREE_BASENAME}-pcie-ep.dtb \ | 10 | freescale/${KERNEL_DEVICETREE_BASENAME}-pcie-ep.dtb \ |
| 11 | freescale/${KERNEL_DEVICETREE_BASENAME}-pcie-ep-rpmsg.dtb \ | ||
| 11 | " | 12 | " |
| 12 | 13 | ||
| 13 | UBOOT_CONFIG_BASENAME = "imx8dxl_evk" | 14 | UBOOT_CONFIG_BASENAME = "imx8dxl_evk" |
diff --git a/conf/machine/include/imx8mm-evk.inc b/conf/machine/include/imx8mm-evk.inc index 516dd8a9d..55718acc3 100644 --- a/conf/machine/include/imx8mm-evk.inc +++ b/conf/machine/include/imx8mm-evk.inc | |||
| @@ -33,7 +33,7 @@ UBOOT_DTB_NAME = "${KERNEL_DEVICETREE_BASENAME}.dtb" | |||
| 33 | UBOOT_SUFFIX = "bin" | 33 | UBOOT_SUFFIX = "bin" |
| 34 | 34 | ||
| 35 | UBOOT_CONFIG ??= "sd" | 35 | UBOOT_CONFIG ??= "sd" |
| 36 | UBOOT_CONFIG[sd] = "${UBOOT_CONFIG_BASENAME}_defconfig,sdcard" | 36 | UBOOT_CONFIG[sd] = "${UBOOT_CONFIG_BASENAME}_defconfig" |
| 37 | 37 | ||
| 38 | SPL_BINARY = "spl/u-boot-spl.bin" | 38 | SPL_BINARY = "spl/u-boot-spl.bin" |
| 39 | 39 | ||
| @@ -77,9 +77,13 @@ MACHINE_FIRMWARE:append = " linux-firmware-ath10k" | |||
| 77 | WKS_FILE_DEPENDS:append:imx-nxp-bsp = " imx-m4-demos" | 77 | WKS_FILE_DEPENDS:append:imx-nxp-bsp = " imx-m4-demos" |
| 78 | IMAGE_BOOT_FILES:append:imx-nxp-bsp = " \ | 78 | IMAGE_BOOT_FILES:append:imx-nxp-bsp = " \ |
| 79 | mcore-demos/imx8mm_m4_TCM_hello_world.bin \ | 79 | mcore-demos/imx8mm_m4_TCM_hello_world.bin \ |
| 80 | mcore-demos/imx8mm_m4_TCM_low_power_wakeword.bin \ | ||
| 81 | mcore-demos/imx8mm_m4_TCM_rpmsg_lite_pingpong_rtos_linux_remote.bin \ | 80 | mcore-demos/imx8mm_m4_TCM_rpmsg_lite_pingpong_rtos_linux_remote.bin \ |
| 82 | mcore-demos/imx8mm_m4_TCM_rpmsg_lite_str_echo_rtos.bin \ | 81 | mcore-demos/imx8mm_m4_TCM_rpmsg_lite_str_echo_rtos.bin \ |
| 83 | mcore-demos/imx8mm_m4_TCM_sai_low_power_audio.bin \ | 82 | mcore-demos/imx8mm_m4_TCM_sai_low_power_audio.bin \ |
| 84 | mcore-demos/imx8mm_m4_TCM_sai_low_power_audio_wm8524.bin \ | 83 | mcore-demos/imx8mm_m4_TCM_sai_low_power_audio_wm8524.bin \ |
| 84 | mcore-demos/imx8mm_m4_DDR_hello_world.bin \ | ||
| 85 | mcore-demos/imx8mm_m4_DDR_rpmsg_lite_pingpong_rtos_linux_remote.bin \ | ||
| 86 | mcore-demos/imx8mm_m4_DDR_rpmsg_lite_str_echo_rtos.bin \ | ||
| 87 | mcore-demos/imx8mm_m4_DDR_sai_low_power_audio.bin \ | ||
| 88 | mcore-demos/imx8mm_m4_DDR_sai_low_power_audio_wm8524.bin \ | ||
| 85 | " | 89 | " |
diff --git a/conf/machine/include/imx8mn-evk.inc b/conf/machine/include/imx8mn-evk.inc index a51f11edb..d29446125 100644 --- a/conf/machine/include/imx8mn-evk.inc +++ b/conf/machine/include/imx8mn-evk.inc | |||
| @@ -36,7 +36,7 @@ IMX_DEFAULT_BOOTLOADER:use-mainline-bsp = "u-boot-fslc" | |||
| 36 | UBOOT_SUFFIX = "bin" | 36 | UBOOT_SUFFIX = "bin" |
| 37 | 37 | ||
| 38 | UBOOT_CONFIG ??= "sd" | 38 | UBOOT_CONFIG ??= "sd" |
| 39 | UBOOT_CONFIG[sd] = "${UBOOT_CONFIG_BASENAME}_defconfig,sdcard" | 39 | UBOOT_CONFIG[sd] = "${UBOOT_CONFIG_BASENAME}_defconfig" |
| 40 | UBOOT_CONFIG[fspi] = "${UBOOT_CONFIG_BASENAME}_defconfig" | 40 | UBOOT_CONFIG[fspi] = "${UBOOT_CONFIG_BASENAME}_defconfig" |
| 41 | UBOOT_CONFIG[ld] = "${UBOOT_CONFIG_BASENAME}_ld_defconfig" | 41 | UBOOT_CONFIG[ld] = "${UBOOT_CONFIG_BASENAME}_ld_defconfig" |
| 42 | 42 | ||
| @@ -90,4 +90,8 @@ IMAGE_BOOT_FILES:append:imx-nxp-bsp = " \ | |||
| 90 | mcore-demos/imx8mn_m7_TCM_rpmsg_lite_pingpong_rtos_linux_remote.bin \ | 90 | mcore-demos/imx8mn_m7_TCM_rpmsg_lite_pingpong_rtos_linux_remote.bin \ |
| 91 | mcore-demos/imx8mn_m7_TCM_rpmsg_lite_str_echo_rtos.bin \ | 91 | mcore-demos/imx8mn_m7_TCM_rpmsg_lite_str_echo_rtos.bin \ |
| 92 | mcore-demos/imx8mn_m7_TCM_sai_low_power_audio.bin \ | 92 | mcore-demos/imx8mn_m7_TCM_sai_low_power_audio.bin \ |
| 93 | mcore-demos/imx8mn_m7_DDR_hello_world.bin \ | ||
| 94 | mcore-demos/imx8mn_m7_DDR_rpmsg_lite_pingpong_rtos_linux_remote.bin \ | ||
| 95 | mcore-demos/imx8mn_m7_DDR_rpmsg_lite_str_echo_rtos.bin \ | ||
| 96 | mcore-demos/imx8mn_m7_DDR_sai_low_power_audio.bin \ | ||
| 93 | " | 97 | " |
diff --git a/conf/machine/include/imx8mp-evk.inc b/conf/machine/include/imx8mp-evk.inc index d6ae21d55..79d7bc15e 100644 --- a/conf/machine/include/imx8mp-evk.inc +++ b/conf/machine/include/imx8mp-evk.inc | |||
| @@ -29,7 +29,7 @@ IMX_DEFAULT_BOOTLOADER:use-mainline-bsp = "u-boot-fslc" | |||
| 29 | UBOOT_SUFFIX = "bin" | 29 | UBOOT_SUFFIX = "bin" |
| 30 | 30 | ||
| 31 | UBOOT_CONFIG ??= "sd" | 31 | UBOOT_CONFIG ??= "sd" |
| 32 | UBOOT_CONFIG[sd] = "${UBOOT_CONFIG_BASENAME}_defconfig,sdcard" | 32 | UBOOT_CONFIG[sd] = "${UBOOT_CONFIG_BASENAME}_defconfig" |
| 33 | UBOOT_CONFIG[ecc] = "${UBOOT_CONFIG_BASENAME}_inline_ecc_defconfig" | 33 | UBOOT_CONFIG[ecc] = "${UBOOT_CONFIG_BASENAME}_inline_ecc_defconfig" |
| 34 | 34 | ||
| 35 | SPL_BINARY = "spl/u-boot-spl.bin" | 35 | SPL_BINARY = "spl/u-boot-spl.bin" |
| @@ -76,8 +76,11 @@ MACHINE_FIRMWARE:append = " linux-firmware-ath10k" | |||
| 76 | WKS_FILE_DEPENDS:append:imx-nxp-bsp = " imx-m7-demos" | 76 | WKS_FILE_DEPENDS:append:imx-nxp-bsp = " imx-m7-demos" |
| 77 | IMAGE_BOOT_FILES:append:imx-nxp-bsp = " \ | 77 | IMAGE_BOOT_FILES:append:imx-nxp-bsp = " \ |
| 78 | mcore-demos/imx8mp_m7_TCM_hello_world.bin \ | 78 | mcore-demos/imx8mp_m7_TCM_hello_world.bin \ |
| 79 | mcore-demos/imx8mp_m7_TCM_low_power_wakeword.bin \ | ||
| 80 | mcore-demos/imx8mp_m7_TCM_rpmsg_lite_pingpong_rtos_linux_remote.bin \ | 79 | mcore-demos/imx8mp_m7_TCM_rpmsg_lite_pingpong_rtos_linux_remote.bin \ |
| 81 | mcore-demos/imx8mp_m7_TCM_rpmsg_lite_str_echo_rtos.bin \ | 80 | mcore-demos/imx8mp_m7_TCM_rpmsg_lite_str_echo_rtos.bin \ |
| 82 | mcore-demos/imx8mp_m7_TCM_sai_low_power_audio.bin \ | 81 | mcore-demos/imx8mp_m7_TCM_sai_low_power_audio.bin \ |
| 82 | mcore-demos/imx8mp_m7_DDR_hello_world.bin \ | ||
| 83 | mcore-demos/imx8mp_m7_DDR_rpmsg_lite_pingpong_rtos_linux_remote.bin \ | ||
| 84 | mcore-demos/imx8mp_m7_DDR_rpmsg_lite_str_echo_rtos.bin \ | ||
| 85 | mcore-demos/imx8mp_m7_DDR_sai_low_power_audio.bin \ | ||
| 83 | " | 86 | " |
diff --git a/conf/machine/include/imx8ulp-evk.inc b/conf/machine/include/imx8ulp-evk.inc index 232695306..7a1f2213d 100644 --- a/conf/machine/include/imx8ulp-evk.inc +++ b/conf/machine/include/imx8ulp-evk.inc | |||
| @@ -19,7 +19,7 @@ UBOOT_MAKE_TARGET = "" | |||
| 19 | SPL_BINARY = "spl/u-boot-spl.bin" | 19 | SPL_BINARY = "spl/u-boot-spl.bin" |
| 20 | 20 | ||
| 21 | UBOOT_CONFIG ??= "sd" | 21 | UBOOT_CONFIG ??= "sd" |
| 22 | UBOOT_CONFIG[sd] = "${UBOOT_CONFIG_BASENAME}_defconfig,sdcard" | 22 | UBOOT_CONFIG[sd] = "${UBOOT_CONFIG_BASENAME}_defconfig" |
| 23 | UBOOT_CONFIG[fspi] = "${UBOOT_CONFIG_BASENAME}_defconfig" | 23 | UBOOT_CONFIG[fspi] = "${UBOOT_CONFIG_BASENAME}_defconfig" |
| 24 | UBOOT_CONFIG[nd] = "${UBOOT_CONFIG_BASENAME}_nd_defconfig" | 24 | UBOOT_CONFIG[nd] = "${UBOOT_CONFIG_BASENAME}_nd_defconfig" |
| 25 | 25 | ||
diff --git a/conf/machine/include/imx8x-mek.inc b/conf/machine/include/imx8x-mek.inc index e83085860..ad3422e07 100644 --- a/conf/machine/include/imx8x-mek.inc +++ b/conf/machine/include/imx8x-mek.inc | |||
| @@ -44,7 +44,7 @@ SPL_BINARY = \ | |||
| 44 | '', d)}" | 44 | '', d)}" |
| 45 | 45 | ||
| 46 | UBOOT_CONFIG ??= "sd" | 46 | UBOOT_CONFIG ??= "sd" |
| 47 | UBOOT_CONFIG[sd] = "${UBOOT_CONFIG_BASENAME}_defconfig,sdcard" | 47 | UBOOT_CONFIG[sd] = "${UBOOT_CONFIG_BASENAME}_defconfig" |
| 48 | UBOOT_CONFIG[fspi] = "${UBOOT_CONFIG_BASENAME}_fspi_defconfig" | 48 | UBOOT_CONFIG[fspi] = "${UBOOT_CONFIG_BASENAME}_fspi_defconfig" |
| 49 | 49 | ||
| 50 | IMX_BOOT_SEEK = "32" | 50 | IMX_BOOT_SEEK = "32" |
diff --git a/conf/machine/include/imx93-evk.inc b/conf/machine/include/imx93-evk.inc index e5a3f0e22..f504694f3 100644 --- a/conf/machine/include/imx93-evk.inc +++ b/conf/machine/include/imx93-evk.inc | |||
| @@ -23,9 +23,10 @@ UBOOT_MAKE_TARGET = "" | |||
| 23 | SPL_BINARY = "spl/u-boot-spl.bin" | 23 | SPL_BINARY = "spl/u-boot-spl.bin" |
| 24 | 24 | ||
| 25 | UBOOT_CONFIG ??= "sd" | 25 | UBOOT_CONFIG ??= "sd" |
| 26 | UBOOT_CONFIG[sd] = "${UBOOT_CONFIG_BASENAME}_defconfig,sdcard" | 26 | UBOOT_CONFIG[sd] = "${UBOOT_CONFIG_BASENAME}_defconfig" |
| 27 | UBOOT_CONFIG[ecc] = "${UBOOT_CONFIG_BASENAME}_inline_ecc_defconfig" | 27 | UBOOT_CONFIG[ecc] = "${UBOOT_CONFIG_BASENAME}_inline_ecc_defconfig" |
| 28 | UBOOT_CONFIG[fspi] = "${UBOOT_CONFIG_BASENAME}_defconfig" | 28 | UBOOT_CONFIG[fspi] = "${UBOOT_CONFIG_BASENAME}_defconfig" |
| 29 | UBOOT_CONFIG_IMAGE_FSTYPES[sd] = "sdcard" | ||
| 29 | 30 | ||
| 30 | # Set ATF platform name | 31 | # Set ATF platform name |
| 31 | ATF_PLATFORM = "imx93" | 32 | ATF_PLATFORM = "imx93" |
diff --git a/conf/machine/include/imx943-evk.inc b/conf/machine/include/imx943-evk.inc new file mode 100644 index 000000000..a2abe30dc --- /dev/null +++ b/conf/machine/include/imx943-evk.inc | |||
| @@ -0,0 +1,120 @@ | |||
| 1 | MACHINEOVERRIDES =. "mx943:" | ||
| 2 | |||
| 3 | require conf/machine/include/imx-base.inc | ||
| 4 | require conf/machine/include/arm/armv8-2a/tune-cortexa55.inc | ||
| 5 | |||
| 6 | MACHINE_FEATURES += "pci wifi bluetooth" | ||
| 7 | MACHINE_FEATURES:append:use-nxp-bsp = " crrm optee dpdk nxpiw612-sdio nxp9098-pcie nxpaw693-pcie jailhouse rvgpu-emu" | ||
| 8 | |||
| 9 | KERNEL_DEVICETREE_BASENAME = "imx943-evk" | ||
| 10 | KERNEL_DEVICETREE = " \ | ||
| 11 | freescale/${KERNEL_DEVICETREE_BASENAME}.dtb \ | ||
| 12 | freescale/${KERNEL_DEVICETREE_BASENAME}-crrm.dtb \ | ||
| 13 | freescale/${KERNEL_DEVICETREE_BASENAME}-inmate.dtb \ | ||
| 14 | freescale/${KERNEL_DEVICETREE_BASENAME}-netc-rpmsg.dtb \ | ||
| 15 | freescale/${KERNEL_DEVICETREE_BASENAME}-mqs.dtb \ | ||
| 16 | freescale/${KERNEL_DEVICETREE_BASENAME}-pcie1-ep.dtb \ | ||
| 17 | freescale/${KERNEL_DEVICETREE_BASENAME}-pcie1-ep.dtbo \ | ||
| 18 | freescale/${KERNEL_DEVICETREE_BASENAME}-rpmsg.dtb \ | ||
| 19 | freescale/${KERNEL_DEVICETREE_BASENAME}-root.dtb \ | ||
| 20 | freescale/${KERNEL_DEVICETREE_BASENAME}-sdwifi.dtb \ | ||
| 21 | freescale/${KERNEL_DEVICETREE_BASENAME}-sgmii.dtb \ | ||
| 22 | " | ||
| 23 | UBOOT_DTB_NAME = "${KERNEL_DEVICETREE_BASENAME}.dtb" | ||
| 24 | |||
| 25 | IMX_DEFAULT_BOOTLOADER:use-nxp-bsp = "u-boot-imx" | ||
| 26 | IMX_DEFAULT_BOOTLOADER:use-mainline-bsp = "u-boot-fslc" | ||
| 27 | |||
| 28 | LOADADDR = "" | ||
| 29 | UBOOT_SUFFIX = "bin" | ||
| 30 | UBOOT_MAKE_TARGET = "" | ||
| 31 | |||
| 32 | SPL_BINARY = "spl/u-boot-spl.bin" | ||
| 33 | |||
| 34 | UBOOT_CONFIG ??= "${@bb.utils.contains('COMBINED_FEATURES', 'crrm', 'crrm', 'sd', d)}" | ||
| 35 | UBOOT_CONFIG[sd] = "${UBOOT_CONFIG_BASENAME}_defconfig" | ||
| 36 | UBOOT_CONFIG[sd-ecc] = "${UBOOT_CONFIG_BASENAME}_defconfig" | ||
| 37 | UBOOT_CONFIG[crrm] = "${UBOOT_CONFIG_BASENAME}_xspi_crrm_defconfig" | ||
| 38 | UBOOT_CONFIG[xspi] = "${UBOOT_CONFIG_BASENAME}_xspi_defconfig" | ||
| 39 | UBOOT_CONFIG_IMAGE_FSTYPES[sd] = "sdcard" | ||
| 40 | UBOOT_CONFIG_IMAGE_FSTYPES[sd-ecc] = "sdcard" | ||
| 41 | |||
| 42 | ATF_PLATFORM = "imx94" | ||
| 43 | OEI_CORE = "m33" | ||
| 44 | |||
| 45 | IMXBOOT_VARIANTS = "alt jailhouse rpmsg netc netc_reset netc_standalone" | ||
| 46 | # imx943 netc have different mcore demo for different bootloader | ||
| 47 | #| |Standard | netc | netc_reset | netc_standalone | ||
| 48 | #|--|--|--|--|--| | ||
| 49 | #| M33S | imx943evk_cm33_core1_TCM_power_mode_switch.bin | imx943evk_cm33_core1_TCM_netc_share.bin | imx943evk_cm33_core1_TCM_all_reset_but_netc_switch.bin | imx943evk_cm33_core1_TCM_netc_switch_standalone.bin | | ||
| 50 | #| M70 | imx943evk_cm7_core0_TCM_power_mode_switch.bin | imx943evk_cm7_core0_TCM_power_mode_switch.bin | imx943evk_cm7_core0_TCM_power_mode_switch.bin | imx943evk_cm7_core0_TCM_power_mode_switch.bin | | ||
| 51 | #| M71 | imx943evk_cm7_core1_TCM_power_mode_switch.bin | imx943evk_cm7_core1_TCM_power_mode_switch.bin | imx943evk_cm7_core1_TCM_all_reset_but_netc_trigger.bin | imx943evk_cm7_core1_TCM_power_mode_switch.bin | | ||
| 52 | |||
| 53 | M33_IMAGE = "${@bb.utils.contains('IMXBOOT_VARIANT', 'netc', 'imx943evk_cm33_core1_TCM_netc_share.bin', \ | ||
| 54 | bb.utils.contains('IMXBOOT_VARIANT', 'netc_reset', 'imx943evk_cm33_core1_TCM_all_reset_but_netc_switch.bin', \ | ||
| 55 | bb.utils.contains('IMXBOOT_VARIANT', 'netc_standalone', 'imx943evk_cm33_core1_TCM_netc_switch_standalone.bin', \ | ||
| 56 | 'imx943evk_cm33_core1_TCM_power_mode_switch.bin', d), d), d)}" | ||
| 57 | M70_IMAGE = "imx943evk_cm7_core0_TCM_power_mode_switch.bin" | ||
| 58 | M71_IMAGE = "${@bb.utils.contains('IMXBOOT_VARIANT', 'netc_reset', 'imx943evk_cm7_core1_TCM_all_reset_but_netc_trigger.bin', \ | ||
| 59 | 'imx943evk_cm7_core1_TCM_power_mode_switch.bin', d)}" | ||
| 60 | |||
| 61 | # Multiple system manager configs by IMXBOOT_VARIANT | ||
| 62 | SYSTEM_MANAGER_CONFIG = "${@bb.utils.contains('IMXBOOT_VARIANT', 'alt', 'mx94alt', \ | ||
| 63 | bb.utils.contains('IMXBOOT_VARIANT', 'jailhouse', 'mx94evkjailhouse', \ | ||
| 64 | bb.utils.contains('IMXBOOT_VARIANT', 'netc', 'mx94evknetc', \ | ||
| 65 | bb.utils.contains('IMXBOOT_VARIANT', 'netc_standalone', 'mx94evknetc', \ | ||
| 66 | bb.utils.contains('IMXBOOT_VARIANT', 'netc_reset', 'mx94evknetc', \ | ||
| 67 | bb.utils.contains('IMXBOOT_VARIANT', 'rpmsg', 'mx94evkrpmsg', \ | ||
| 68 | 'mx94evk', d), d), d), d), d),d) }" | ||
| 69 | |||
| 70 | MSEL_TYPE = "${@bb.utils.contains('IMXBOOT_VARIANT', 'alt', '1', \ | ||
| 71 | '0', d)}" | ||
| 72 | |||
| 73 | SYSTEM_MANAGER_FIRMWARE_BASENAME = "m33_image" | ||
| 74 | |||
| 75 | IMXBOOT_TARGETS_BASENAME = "flash" | ||
| 76 | |||
| 77 | # imx-boot (flash.bin) targets based on UBOOT_CONFIG and IMXBOOT_VARIANT | ||
| 78 | IMXBOOT_TARGETS_SD = "${@bb.utils.contains('IMXBOOT_VARIANT', 'alt', '${IMXBOOT_TARGETS_BASENAME}_a55', \ | ||
| 79 | bb.utils.contains('IMXBOOT_VARIANT', 'jailhouse', '${IMXBOOT_TARGETS_BASENAME}_jailhouse', \ | ||
| 80 | bb.utils.contains('IMXBOOT_VARIANT', 'netc', '${IMXBOOT_TARGETS_BASENAME}_all', \ | ||
| 81 | bb.utils.contains('IMXBOOT_VARIANT', 'netc_standalone', '${IMXBOOT_TARGETS_BASENAME}_all', \ | ||
| 82 | bb.utils.contains('IMXBOOT_VARIANT', 'netc_reset', '${IMXBOOT_TARGETS_BASENAME}_all', \ | ||
| 83 | bb.utils.contains('IMXBOOT_VARIANT', 'rpmsg', '${IMXBOOT_TARGETS_BASENAME}_a55', \ | ||
| 84 | '${IMXBOOT_TARGETS_BASENAME}_all ${IMXBOOT_TARGETS_BASENAME}_a55', d), d), d), d), d), d)} \ | ||
| 85 | " | ||
| 86 | |||
| 87 | IMXBOOT_TARGETS = " \ | ||
| 88 | ${@bb.utils.contains('UBOOT_CONFIG', 'crrm', 'flash_a55_xspi_crrm', \ | ||
| 89 | bb.utils.contains('UBOOT_CONFIG', 'xspi', 'flash_a55_xspi', \ | ||
| 90 | bb.utils.contains('UBOOT_CONFIG', 'sd-ecc', '${IMXBOOT_TARGETS_BASENAME}_all', \ | ||
| 91 | '${IMXBOOT_TARGETS_SD}', d), d), d)}" | ||
| 92 | |||
| 93 | IMX_BOOT_SOC_TARGET = "iMX94" | ||
| 94 | IMX_BOOT_SEEK = "32" | ||
| 95 | |||
| 96 | # We have to disable SERIAL_CONSOLE due to auto-serial-console | ||
| 97 | SERIAL_CONSOLES = "115200;ttyLP0" | ||
| 98 | |||
| 99 | IMX_DEFAULT_BSP = "nxp" | ||
| 100 | |||
| 101 | WKS_FILE_DEPENDS:append:imx-nxp-bsp = " imx-mcore-demos" | ||
| 102 | IMAGE_BOOT_FILES:append:imx-nxp-bsp = " \ | ||
| 103 | mcore-demos/imx943evk_cm33_core1_TCM_all_reset_but_netc_switch.bin \ | ||
| 104 | mcore-demos/imx943evk_cm33_core1_TCM_hello_world.bin \ | ||
| 105 | mcore-demos/imx943evk_cm33_core1_TCM_netc_share.bin \ | ||
| 106 | mcore-demos/imx943evk_cm33_core1_TCM_netc_switch_standalone.bin \ | ||
| 107 | mcore-demos/imx943evk_cm33_core1_TCM_power_mode_switch.bin \ | ||
| 108 | mcore-demos/imx943evk_cm33_core1_TCM_rpmsg_lite_pingpong_rtos_linux_remote.bin \ | ||
| 109 | mcore-demos/imx943evk_cm33_core1_TCM_rpmsg_lite_str_echo_rtos.bin \ | ||
| 110 | mcore-demos/imx943evk_cm7_core0_TCM_hello_world.bin \ | ||
| 111 | mcore-demos/imx943evk_cm7_core0_TCM_power_mode_switch.bin \ | ||
| 112 | mcore-demos/imx943evk_cm7_core0_TCM_rpmsg_lite_pingpong_rtos_linux_remote.bin \ | ||
| 113 | mcore-demos/imx943evk_cm7_core0_TCM_rpmsg_lite_str_echo_rtos.bin \ | ||
| 114 | mcore-demos/imx943evk_cm7_core0_TCM_sai_low_power_audio.bin \ | ||
| 115 | mcore-demos/imx943evk_cm7_core1_TCM_all_reset_but_netc_trigger.bin \ | ||
| 116 | mcore-demos/imx943evk_cm7_core1_TCM_hello_world.bin \ | ||
| 117 | mcore-demos/imx943evk_cm7_core1_TCM_power_mode_switch.bin \ | ||
| 118 | mcore-demos/imx943evk_cm7_core1_TCM_rpmsg_lite_pingpong_rtos_linux_remote.bin \ | ||
| 119 | mcore-demos/imx943evk_cm7_core1_TCM_rpmsg_lite_str_echo_rtos.bin \ | ||
| 120 | " | ||
diff --git a/conf/machine/include/imx95-evk.inc b/conf/machine/include/imx95-evk.inc index d78745cfc..3cea26090 100644 --- a/conf/machine/include/imx95-evk.inc +++ b/conf/machine/include/imx95-evk.inc | |||
| @@ -18,35 +18,39 @@ UBOOT_MAKE_TARGET = "" | |||
| 18 | SPL_BINARY = "spl/u-boot-spl.bin" | 18 | SPL_BINARY = "spl/u-boot-spl.bin" |
| 19 | 19 | ||
| 20 | UBOOT_CONFIG ??= "sd" | 20 | UBOOT_CONFIG ??= "sd" |
| 21 | UBOOT_CONFIG[sd] = "${UBOOT_CONFIG_BASENAME}_evk_defconfig,sdcard" | 21 | UBOOT_CONFIG[sd] = "${UBOOT_CONFIG_BASENAME}_defconfig" |
| 22 | UBOOT_CONFIG[fspi] = "${UBOOT_CONFIG_BASENAME}_evk_fspi_defconfig" | 22 | UBOOT_CONFIG[sd-ecc] = "${UBOOT_CONFIG_BASENAME}_defconfig" |
| 23 | UBOOT_CONFIG[fspi] = "${UBOOT_CONFIG_BASENAME}_fspi_defconfig" | ||
| 24 | UBOOT_CONFIG_IMAGE_FSTYPES[sd] = "sdcard" | ||
| 23 | 25 | ||
| 24 | ATF_PLATFORM = "imx95" | 26 | ATF_PLATFORM = "imx95" |
| 25 | OEI_CONFIGS = "ddr tcm" | ||
| 26 | OEI_CORE = "m33" | 27 | OEI_CORE = "m33" |
| 27 | OEI_SOC = "mx95" | 28 | OEI_SOC = "mx95" |
| 28 | OEI_BOARD ?= "mx95lp5" | 29 | OEI_BOARD ?= "mx95lp5" |
| 29 | DDR_TYPE ?= "lpddr5" | 30 | DDR_TYPE ?= "lpddr5" |
| 30 | 31 | ||
| 31 | IMXBOOT_VARIANTS = "alt jailhouse netc sof" | 32 | IMXBOOT_VARIANTS = "alt jailhouse netc rpmsg sof" |
| 32 | 33 | ||
| 33 | # Multiple system manager configs by IMXBOOT_VARIANT | 34 | # Multiple system manager configs by IMXBOOT_VARIANT |
| 34 | SYSTEM_MANAGER_CONFIG = "${@bb.utils.contains('IMXBOOT_VARIANT', 'alt', 'mx95alt', \ | 35 | SYSTEM_MANAGER_CONFIG = "${@bb.utils.contains('IMXBOOT_VARIANT', 'alt', 'mx95alt', \ |
| 35 | bb.utils.contains('IMXBOOT_VARIANT', 'jailhouse', 'mx95evkjailhouse', \ | 36 | bb.utils.contains('IMXBOOT_VARIANT', 'jailhouse', 'mx95evkjailhouse', \ |
| 36 | bb.utils.contains('IMXBOOT_VARIANT', 'netc', 'mx95netc', \ | 37 | bb.utils.contains('IMXBOOT_VARIANT', 'netc', 'mx95netc', \ |
| 38 | bb.utils.contains('IMXBOOT_VARIANT', 'rpmsg', 'mx95evkrpmsg', \ | ||
| 37 | bb.utils.contains('IMXBOOT_VARIANT', 'sof', 'mx95evksof', \ | 39 | bb.utils.contains('IMXBOOT_VARIANT', 'sof', 'mx95evksof', \ |
| 38 | 'mx95evk', d), d), d), d)}" | 40 | 'mx95evk', d), d), d), d), d)}" |
| 39 | 41 | ||
| 40 | # imx-boot (flash.bin) targets based on UBOOT_CONFIG and IMXBOOT_VARIANT | 42 | # imx-boot (flash.bin) targets based on UBOOT_CONFIG and IMXBOOT_VARIANT |
| 41 | IMXBOOT_TARGETS_SD = "${@bb.utils.contains('IMXBOOT_VARIANT', 'alt', '${IMXBOOT_TARGETS_BASENAME}_alt', \ | 43 | IMXBOOT_TARGETS_SD = "${@bb.utils.contains('IMXBOOT_VARIANT', 'alt', '${IMXBOOT_TARGETS_BASENAME}_alt', \ |
| 42 | bb.utils.contains('IMXBOOT_VARIANT', 'jailhouse', '${IMXBOOT_TARGETS_BASENAME}_jailhouse', \ | 44 | bb.utils.contains('IMXBOOT_VARIANT', 'jailhouse', '${IMXBOOT_TARGETS_BASENAME}_jailhouse', \ |
| 43 | bb.utils.contains('IMXBOOT_VARIANT', 'netc', '${IMXBOOT_TARGETS_BASENAME}_netc', \ | 45 | bb.utils.contains('IMXBOOT_VARIANT', 'netc', '${IMXBOOT_TARGETS_BASENAME}_netc', \ |
| 46 | bb.utils.contains('IMXBOOT_VARIANT', 'rpmsg', '${IMXBOOT_TARGETS_BASENAME}_lpboot_sm_a55', \ | ||
| 44 | bb.utils.contains('IMXBOOT_VARIANT', 'sof', '${IMXBOOT_TARGETS_BASENAME}_a55', \ | 47 | bb.utils.contains('IMXBOOT_VARIANT', 'sof', '${IMXBOOT_TARGETS_BASENAME}_a55', \ |
| 45 | '${IMXBOOT_TARGETS_BASENAME}_all ${IMXBOOT_TARGETS_BASENAME}_a55', d), d), d), d)} \ | 48 | '${IMXBOOT_TARGETS_BASENAME}_all ${IMXBOOT_TARGETS_BASENAME}_a55', d), d), d), d), d)} \ |
| 46 | " | 49 | " |
| 47 | 50 | ||
| 48 | IMXBOOT_TARGETS = " \ | 51 | IMXBOOT_TARGETS = " ${@bb.utils.contains('UBOOT_CONFIG', 'fspi', '${IMXBOOT_TARGETS_BASENAME}_a55_flexspi', \ |
| 49 | ${@bb.utils.contains('UBOOT_CONFIG', 'fspi', '${IMXBOOT_TARGETS_BASENAME}_a55_flexspi', '${IMXBOOT_TARGETS_SD}', d)} \ | 52 | bb.utils.contains('UBOOT_CONFIG', 'sd-ecc', '${IMXBOOT_TARGETS_BASENAME}_all', \ |
| 53 | '${IMXBOOT_TARGETS_SD}', d), d)} \ | ||
| 50 | " | 54 | " |
| 51 | 55 | ||
| 52 | IMX_BOOT_SOC_TARGET = "iMX95" | 56 | IMX_BOOT_SOC_TARGET = "iMX95" |
diff --git a/default-registry/configurations/fsl-community-bsp-master.conf.json b/default-registry/configurations/fsl-community-bsp-master.conf.json new file mode 100644 index 000000000..fa08eacea --- /dev/null +++ b/default-registry/configurations/fsl-community-bsp-master.conf.json | |||
| @@ -0,0 +1,243 @@ | |||
| 1 | { | ||
| 2 | "description": "NXP/Freescale Community BSP - master branch configurations", | ||
| 3 | "sources": { | ||
| 4 | "bitbake": { | ||
| 5 | "git-remote": { | ||
| 6 | "remotes": { | ||
| 7 | "origin": { | ||
| 8 | "uri": "https://git.openembedded.org/bitbake" | ||
| 9 | } | ||
| 10 | }, | ||
| 11 | "branch": "master", | ||
| 12 | "rev": "master" | ||
| 13 | } | ||
| 14 | }, | ||
| 15 | "openembedded-core": { | ||
| 16 | "git-remote": { | ||
| 17 | "remotes": { | ||
| 18 | "origin": { | ||
| 19 | "uri": "https://github.com/openembedded/openembedded-core" | ||
| 20 | } | ||
| 21 | }, | ||
| 22 | "branch": "master", | ||
| 23 | "rev": "master" | ||
| 24 | }, | ||
| 25 | "path": "openembedded-core" | ||
| 26 | }, | ||
| 27 | "meta-yocto": { | ||
| 28 | "git-remote": { | ||
| 29 | "remotes": { | ||
| 30 | "origin": { | ||
| 31 | "uri": "https://git.yoctoproject.org/meta-yocto" | ||
| 32 | } | ||
| 33 | }, | ||
| 34 | "branch": "master", | ||
| 35 | "rev": "master" | ||
| 36 | }, | ||
| 37 | "path": "meta-yocto" | ||
| 38 | }, | ||
| 39 | "meta-openembedded": { | ||
| 40 | "git-remote": { | ||
| 41 | "remotes": { | ||
| 42 | "origin": { | ||
| 43 | "uri": "https://github.com/openembedded/meta-openembedded" | ||
| 44 | } | ||
| 45 | }, | ||
| 46 | "branch": "master", | ||
| 47 | "rev": "master" | ||
| 48 | }, | ||
| 49 | "path": "meta-openembedded" | ||
| 50 | }, | ||
| 51 | "meta-freescale": { | ||
| 52 | "git-remote": { | ||
| 53 | "remotes": { | ||
| 54 | "origin": { | ||
| 55 | "uri": "https://github.com/Freescale/meta-freescale" | ||
| 56 | } | ||
| 57 | }, | ||
| 58 | "branch": "master", | ||
| 59 | "rev": "master" | ||
| 60 | }, | ||
| 61 | "path": "meta-freescale" | ||
| 62 | }, | ||
| 63 | "meta-freescale-3rdparty": { | ||
| 64 | "git-remote": { | ||
| 65 | "remotes": { | ||
| 66 | "origin": { | ||
| 67 | "uri": "https://github.com/Freescale/meta-freescale-3rdparty" | ||
| 68 | } | ||
| 69 | }, | ||
| 70 | "branch": "master", | ||
| 71 | "rev": "master" | ||
| 72 | }, | ||
| 73 | "path": "meta-freescale-3rdparty" | ||
| 74 | }, | ||
| 75 | "meta-freescale-distro": { | ||
| 76 | "git-remote": { | ||
| 77 | "remotes": { | ||
| 78 | "origin": { | ||
| 79 | "uri": "https://github.com/Freescale/meta-freescale-distro" | ||
| 80 | } | ||
| 81 | }, | ||
| 82 | "branch": "master", | ||
| 83 | "rev": "master" | ||
| 84 | }, | ||
| 85 | "path": "meta-freescale-distro" | ||
| 86 | } | ||
| 87 | }, | ||
| 88 | "bitbake-setup": { | ||
| 89 | "configurations": [ | ||
| 90 | { | ||
| 91 | "bb-layers": [ | ||
| 92 | "openembedded-core/meta", | ||
| 93 | "meta-yocto/meta-poky", | ||
| 94 | "meta-freescale", | ||
| 95 | "meta-freescale-3rdparty", | ||
| 96 | "meta-freescale-distro" | ||
| 97 | ], | ||
| 98 | "setup-dir-name": "$distro-$machine-master", | ||
| 99 | "oe-fragments-one-of": { | ||
| 100 | "machine": { | ||
| 101 | "description": "Target machines", | ||
| 102 | "options": [ | ||
| 103 | {"name": "machine/imx23evk", "description": "NXP i.MX23 Evaluation Kit"}, | ||
| 104 | {"name": "machine/imx28evk", "description": "NXP i.MX28 Evaluation Kit"}, | ||
| 105 | {"name": "machine/imx51evk", "description": "NXP i.MX51 Evaluation Kit"}, | ||
| 106 | {"name": "machine/imx53qsb", "description": "NXP i.MX53 Quick Start Board"}, | ||
| 107 | {"name": "machine/imx6qdlsabreauto", "description": "NXP i.MX6QP/Q/DL SABRE Automotive"}, | ||
| 108 | {"name": "machine/imx6qdlsabresd", "description": "NXP i.MX6QP/Q/DL SABRE Smart Device"}, | ||
| 109 | {"name": "machine/imx6slevk", "description": "NXP i.MX6SL Evaluation Kit"}, | ||
| 110 | {"name": "machine/imx6sllevk", "description": "NXP i.MX6SLL EVK"}, | ||
| 111 | {"name": "machine/imx6sxsabreauto", "description": "NXP i.MX6SoloX Sabre Automotive"}, | ||
| 112 | {"name": "machine/imx6sxsabresd", "description": "NXP i.MX6SoloX Sabre SD"}, | ||
| 113 | {"name": "machine/imx6ulevk", "description": "NXP i.MX6UL EVK"}, | ||
| 114 | {"name": "machine/imx6ullevk", "description": "NXP i.MX6ULL EVK"}, | ||
| 115 | {"name": "machine/imx6ulz-14x14-evk", "description": "NXP i.MX6ULZ 14x14 EVK"}, | ||
| 116 | {"name": "machine/imx7dsabresd", "description": "NXP i.MX7D SABRE Smart Device"}, | ||
| 117 | {"name": "machine/imx7ulpevk", "description": "NXP i.MX7ULP EVK"}, | ||
| 118 | {"name": "machine/imx8dx-mek", "description": "i.MX 8DualX Multisensory Enablement Kit"}, | ||
| 119 | {"name": "machine/imx8dxl-a1-ddr3l-evk", "description": "NXP i.MX 8DualXLite A1 EVK with DDR3L"}, | ||
| 120 | {"name": "machine/imx8dxl-a1-lpddr4-evk", "description": "NXP i.MX 8DualXLite A1 EVK with LPDDR4"}, | ||
| 121 | {"name": "machine/imx8dxl-b0-ddr3l-evk", "description": "NXP i.MX 8DualXLite B0 EVK with DDR3L"}, | ||
| 122 | {"name": "machine/imx8dxl-b0-lpddr4-evk", "description": "NXP i.MX 8DualXLite B0 EVK with LPDDR4"}, | ||
| 123 | {"name": "machine/imx8mm-ddr4-evk", "description": "NXP i.MX 8M Mini EVK with DDR4"}, | ||
| 124 | {"name": "machine/imx8mm-lpddr4-evk", "description": "NXP i.MX 8M Mini EVK with LPDDR4"}, | ||
| 125 | {"name": "machine/imx8mn-ddr4-evk", "description": "NXP i.MX 8M Nano EVK with DDR4"}, | ||
| 126 | {"name": "machine/imx8mn-lpddr4-evk", "description": "NXP i.MX 8M Nano EVK with LPDDR4"}, | ||
| 127 | {"name": "machine/imx8mnul-ddr3l-evk", "description": "NXP i.MX 8M Nano UltraLite EVK with DDR3L"}, | ||
| 128 | {"name": "machine/imx8mp-ddr4-evk", "description": "NXP i.MX 8M Plus EVK with DDR4"}, | ||
| 129 | {"name": "machine/imx8mp-lpddr4-evk", "description": "NXP i.MX 8M Plus EVK with LPDDR4"}, | ||
| 130 | {"name": "machine/imx8mq-evk", "description": "NXP i.MX 8M Quad Evaluation Kit"}, | ||
| 131 | {"name": "machine/imx8mq-lpddr4-wevk", "description": "NXP i.MX 8M Quad LPDDR4 EVK with Wi-Fi"}, | ||
| 132 | {"name": "machine/imx8qm-mek", "description": "i.MX 8QuadMax Multisensory Enablement Kit, rev B0"}, | ||
| 133 | {"name": "machine/imx8qxp-mek", "description": "i.MX 8QuadXPlus Multisensory Enablement Kit"}, | ||
| 134 | {"name": "machine/imx8ulp-lpddr4-evk", "description": "NXP i.MX 8ULP EVK with LPDDR4"}, | ||
| 135 | {"name": "machine/imx93-11x11-lpddr4x-evk", "description": "NXP i.MX 93 11x11 EVK with LPDDR4X"}, | ||
| 136 | {"name": "machine/imx93-14x14-lpddr4x-evk", "description": "NXP i.MX 93 14x14 EVK with LPDDR4X"}, | ||
| 137 | {"name": "machine/imx93-9x9-lpddr4-qsb", "description": "NXP i.MX93 9x9 QSB with LPDDR4"}, | ||
| 138 | {"name": "machine/imx943-19x19-lpddr4-evk", "description": "NXP i.MX 943 19x19 EVK with LPDDR4"}, | ||
| 139 | {"name": "machine/imx95-19x19-verdin", "description": "Toradex i.MX 95 19x19 Verdin Evaluation Kit"}, | ||
| 140 | {"name": "machine/ls1012afrwy", "description": "NXP QorIQ LS1012AFRWY"}, | ||
| 141 | {"name": "machine/ls1012ardb", "description": "NXP QorIQ LS1012ARDB"}, | ||
| 142 | {"name": "machine/ls1028ardb", "description": "NXP LS1028ARDB (64-bit)"}, | ||
| 143 | {"name": "machine/ls1043ardb", "description": "NXP QorIQ LS1043ARDB"}, | ||
| 144 | {"name": "machine/ls1046afrwy", "description": "NXP LS1046A (64-bit)"}, | ||
| 145 | {"name": "machine/ls1046ardb", "description": "NXP LS1046ARDB (64-bit)"}, | ||
| 146 | {"name": "machine/ls1088ardb", "description": "NXP LS1088ARDB (64-bit)"}, | ||
| 147 | {"name": "machine/ls1088ardb-pb", "description": "NXP LS1088ARDB-PB (64-bit)"}, | ||
| 148 | {"name": "machine/ls2088ardb", "description": "NXP LS2088ARDB (64-bit)"}, | ||
| 149 | {"name": "machine/lx2160ardb", "description": "NXP LX2160ARDB (64-bit)"}, | ||
| 150 | {"name": "machine/lx2162aqds", "description": "NXP LX2162AQDS (64-bit)"}, | ||
| 151 | {"name": "machine/mpc8548cds", "description": "NXP MPC8548CDS"}, | ||
| 152 | {"name": "machine/p1020rdb", "description": "NXP QorIQ P1020 Reference"}, | ||
| 153 | {"name": "machine/p2020rdb", "description": "NXP QorIQ P2020 Reference"}, | ||
| 154 | {"name": "machine/p2041rdb", "description": "NXP QorIQ P2041 Reference"}, | ||
| 155 | {"name": "machine/p3041ds", "description": "NXP QorIQ P3041 Development"}, | ||
| 156 | {"name": "machine/p4080ds", "description": "NXP QorIQ P4080 Development"}, | ||
| 157 | {"name": "machine/p5040ds", "description": "NXP QorIQ P5040 Development"}, | ||
| 158 | {"name": "machine/p5040ds-64b", "description": "NXP QorIQ P5040 Development (64-bit)"}, | ||
| 159 | {"name": "machine/t1024rdb", "description": "NXP QorIQ T1024 Reference"}, | ||
| 160 | {"name": "machine/t1024rdb-64b", "description": "NXP QorIQ T1024 Reference (64-bit)"}, | ||
| 161 | {"name": "machine/t1042d4rdb", "description": "NXP QorIQ T1042D4 Reference"}, | ||
| 162 | {"name": "machine/t1042d4rdb-64b", "description": "NXP QorIQ T1042D4 Reference (64-bit)"}, | ||
| 163 | {"name": "machine/t2080rdb", "description": "NXP QorIQ T2080 Reference"}, | ||
| 164 | {"name": "machine/t2080rdb-64b", "description": "NXP QorIQ T2080 Reference (64-bit)"}, | ||
| 165 | {"name": "machine/t4240rdb", "description": "NXP QorIQ T4240 Reference"}, | ||
| 166 | {"name": "machine/t4240rdb-64b", "description": "NXP QorIQ T4240 Reference (64-bit)"} | ||
| 167 | ] | ||
| 168 | }, | ||
| 169 | "distro": { | ||
| 170 | "description": "Target Distributions", | ||
| 171 | "options": [ | ||
| 172 | {"name": "distro/fsl", "description": "FSL NXP BSP base distribution"}, | ||
| 173 | {"name": "distro/fslc", "description": "FSLC Community BSP base distribution"} | ||
| 174 | ] | ||
| 175 | } | ||
| 176 | }, | ||
| 177 | "configurations": [ | ||
| 178 | { | ||
| 179 | "name": "fsl", | ||
| 180 | "description": "I will use the distro base configuration only (either FSL or FSLC)" | ||
| 181 | }, | ||
| 182 | { | ||
| 183 | "name": "accept-fsl-eula", | ||
| 184 | "description": "Accept NXP EULA only", | ||
| 185 | "oe-fragments": [ | ||
| 186 | "freescale-layer/accept-fsl-eula" | ||
| 187 | ] | ||
| 188 | }, | ||
| 189 | { | ||
| 190 | "name": "fsl-framebuffer", | ||
| 191 | "description": "Accept NXP EULA and configure FrameBuffer backend", | ||
| 192 | "oe-fragments": [ | ||
| 193 | "freescale-layer/eula/accept-fsl-eula", | ||
| 194 | "freescale-layer/graphics/framebuffer" | ||
| 195 | ] | ||
| 196 | }, | ||
| 197 | { | ||
| 198 | "name": "fsl-wayland", | ||
| 199 | "description": "Accept NXP EULA and configure Wayland with systemd", | ||
| 200 | "oe-fragments": [ | ||
| 201 | "freescale-layer/eula/accept-fsl-eula", | ||
| 202 | "freescale-layer/init/systemd", | ||
| 203 | "freescale-layer/graphics/wayland" | ||
| 204 | ] | ||
| 205 | }, | ||
| 206 | { | ||
| 207 | "name": "fsl-xwayland", | ||
| 208 | "description": "Accept NXP EULA and configure XWayland with systemd", | ||
| 209 | "oe-fragments": [ | ||
| 210 | "freescale-layer/eula/accept-fsl-eula", | ||
| 211 | "freescale-layer/init/systemd", | ||
| 212 | "freescale-layer/graphics/xwayland" | ||
| 213 | ] | ||
| 214 | }, | ||
| 215 | { | ||
| 216 | "name": "framebuffer", | ||
| 217 | "description": "Configure FrameBuffer backend", | ||
| 218 | "oe-fragments": [ | ||
| 219 | "freescale-layer/graphics/framebuffer" | ||
| 220 | ] | ||
| 221 | }, | ||
| 222 | { | ||
| 223 | "name": "wayland", | ||
| 224 | "description": "Configure Wayland with systemd", | ||
| 225 | "oe-fragments": [ | ||
| 226 | "freescale-layer/init/systemd", | ||
| 227 | "freescale-layer/graphics/wayland" | ||
| 228 | ] | ||
| 229 | }, | ||
| 230 | { | ||
| 231 | "name": "xwayland", | ||
| 232 | "description": "Configure XWayland with systemd", | ||
| 233 | "oe-fragments": [ | ||
| 234 | "freescale-layer/init/systemd", | ||
| 235 | "freescale-layer/graphics/xwayland" | ||
| 236 | ] | ||
| 237 | } | ||
| 238 | ] | ||
| 239 | } | ||
| 240 | ] | ||
| 241 | }, | ||
| 242 | "version": "1.0" | ||
| 243 | } | ||
diff --git a/dynamic-layers/arm-toolchain/recipes-bsp/imx-oei/imx-oei.inc b/dynamic-layers/arm-toolchain/recipes-bsp/imx-oei/imx-oei.inc index 0fce6af1a..7c5303066 100644 --- a/dynamic-layers/arm-toolchain/recipes-bsp/imx-oei/imx-oei.inc +++ b/dynamic-layers/arm-toolchain/recipes-bsp/imx-oei/imx-oei.inc | |||
| @@ -3,13 +3,19 @@ DEPENDS = "gcc-arm-none-eabi-native" | |||
| 3 | 3 | ||
| 4 | inherit deploy | 4 | inherit deploy |
| 5 | 5 | ||
| 6 | PACKAGECONFIG ??= " \ | ||
| 7 | ${@bb.utils.contains('UBOOT_CONFIG', 'sd-ecc', 'ecc', '', d)}" | ||
| 8 | |||
| 9 | PACKAGECONFIG[ecc] = "" | ||
| 10 | PACKAGECONFIG[tcm] = "" | ||
| 11 | |||
| 6 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 12 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
| 7 | 13 | ||
| 8 | OEI_CONFIGS ?= "UNDEFINED" | 14 | OEI_CONFIGS ?= "ddr ${@bb.utils.filter('PACKAGECONFIG', 'tcm', d)}" |
| 9 | OEI_CORE ?= "UNDEFINED" | 15 | OEI_CORE ?= "UNDEFINED" |
| 10 | OEI_SOC ?= "UNDEFINED" | 16 | OEI_SOC ?= "UNDEFINED" |
| 11 | OEI_BOARD ?= "UNDEFINED" | 17 | OEI_BOARD ?= "UNDEFINED" |
| 12 | OEI_DDRCONFIG ?= "" | 18 | OEI_DDR_CONFIG ?= "" |
| 13 | OEI_DEBUG ?= "0" | 19 | OEI_DEBUG ?= "0" |
| 14 | 20 | ||
| 15 | LDFLAGS[unexport] = "1" | 21 | LDFLAGS[unexport] = "1" |
| @@ -20,7 +26,15 @@ EXTRA_OEMAKE = "\ | |||
| 20 | OEI_CROSS_COMPILE=arm-none-eabi-" | 26 | OEI_CROSS_COMPILE=arm-none-eabi-" |
| 21 | 27 | ||
| 22 | EXTRA_OEMAKE:append:mx95-generic-bsp = " r=${IMX_SOC_REV}" | 28 | EXTRA_OEMAKE:append:mx95-generic-bsp = " r=${IMX_SOC_REV}" |
| 23 | EXTRA_OEMAKE:append = " ${@' DDR_CONFIG=${OEI_DDRCONFIG}' if d.getVar('OEI_DDRCONFIG') else ''}" | 29 | |
| 30 | python () { | ||
| 31 | if 'ecc' in d.getVar('PACKAGECONFIG'): | ||
| 32 | ddr_conf = d.getVar('OEI_DDR_CONFIG_ECC') | ||
| 33 | else: | ||
| 34 | ddr_conf = d.getVar('OEI_DDR_CONFIG') | ||
| 35 | if ddr_conf: | ||
| 36 | d.appendVar('EXTRA_OEMAKE', ' DDR_CONFIG='+ddr_conf) | ||
| 37 | } | ||
| 24 | 38 | ||
| 25 | do_configure() { | 39 | do_configure() { |
| 26 | for oei_config in ${OEI_CONFIGS}; do | 40 | for oei_config in ${OEI_CONFIGS}; do |
| @@ -51,4 +65,4 @@ SYSROOT_DIRS += "/firmware" | |||
| 51 | 65 | ||
| 52 | PROVIDES += "virtual/imx-oei" | 66 | PROVIDES += "virtual/imx-oei" |
| 53 | 67 | ||
| 54 | COMPATIBLE_MACHINE = "(mx95-generic-bsp)" | 68 | COMPATIBLE_MACHINE = "(mx95-generic-bsp|mx943-generic-bsp)" |
diff --git a/dynamic-layers/arm-toolchain/recipes-bsp/imx-oei/imx-oei_1.0.0.bb b/dynamic-layers/arm-toolchain/recipes-bsp/imx-oei/imx-oei_1.0.0.bb index 29a58ed08..227d76b2c 100644 --- a/dynamic-layers/arm-toolchain/recipes-bsp/imx-oei/imx-oei_1.0.0.bb +++ b/dynamic-layers/arm-toolchain/recipes-bsp/imx-oei/imx-oei_1.0.0.bb | |||
| @@ -12,6 +12,6 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b66f32a90f9577a5a3255c21d79bc619" | |||
| 12 | SRC_URI = "${IMX_OEI_SRC};branch=${SRCBRANCH}" | 12 | SRC_URI = "${IMX_OEI_SRC};branch=${SRCBRANCH}" |
| 13 | IMX_OEI_SRC ?= "git://github.com/nxp-imx/imx-oei.git;protocol=https" | 13 | IMX_OEI_SRC ?= "git://github.com/nxp-imx/imx-oei.git;protocol=https" |
| 14 | SRCBRANCH = "master" | 14 | SRCBRANCH = "master" |
| 15 | SRCREV = "ca91ce798b2f3a2a0bab8c0f835f4bea88c9b080" | 15 | SRCREV = "49bfaa93e9d1fe213866bcb9507927a59a9ede5a" |
| 16 | 16 | ||
| 17 | require imx-oei.inc | 17 | require imx-oei.inc |
diff --git a/dynamic-layers/arm-toolchain/recipes-bsp/imx-system-manager/imx-system-manager.inc b/dynamic-layers/arm-toolchain/recipes-bsp/imx-system-manager/imx-system-manager.inc index 1d23a22cd..65f0a0e0c 100644 --- a/dynamic-layers/arm-toolchain/recipes-bsp/imx-system-manager/imx-system-manager.inc +++ b/dynamic-layers/arm-toolchain/recipes-bsp/imx-system-manager/imx-system-manager.inc | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | # Set generic compiler for system manager core | 1 | # Set generic compiler for system manager core |
| 2 | INHIBIT_DEFAULT_DEPS = "1" | 2 | INHIBIT_DEFAULT_DEPS = "1" |
| 3 | DEPENDS = "${SM_COMPILER}" | 3 | DEPENDS = "${SM_COMPILER}" |
| 4 | DEPENDS:append:mx943-nxp-bsp = " srecord-native" | ||
| 4 | SM_COMPILER ?= "gcc-arm-none-eabi-native" | 5 | SM_COMPILER ?= "gcc-arm-none-eabi-native" |
| 5 | PROVIDES += "virtual/imx-system-manager" | 6 | PROVIDES += "virtual/imx-system-manager" |
| 6 | 7 | ||
| @@ -18,18 +19,15 @@ SYSTEM_MANAGER_CONFIG ?= "INVALID" | |||
| 18 | LDFLAGS[unexport] = "1" | 19 | LDFLAGS[unexport] = "1" |
| 19 | 20 | ||
| 20 | EXTRA_OEMAKE = " \ | 21 | EXTRA_OEMAKE = " \ |
| 21 | V=1 \ | 22 | CONFIG=${SYSTEM_MANAGER_CONFIG} \ |
| 22 | SM_CROSS_COMPILE=arm-none-eabi- \ | 23 | SM_CROSS_COMPILE=arm-none-eabi- \ |
| 24 | V=1 \ | ||
| 23 | ${PACKAGECONFIG_CONFARGS} \ | 25 | ${PACKAGECONFIG_CONFARGS} \ |
| 24 | " | 26 | " |
| 25 | 27 | ||
| 26 | do_configure() { | 28 | do_configure() { |
| 27 | oe_runmake config=${SYSTEM_MANAGER_CONFIG} clean | 29 | oe_runmake clean |
| 28 | oe_runmake config=${SYSTEM_MANAGER_CONFIG} cfg | 30 | oe_runmake cfg |
| 29 | } | ||
| 30 | |||
| 31 | do_compile() { | ||
| 32 | oe_runmake config=${SYSTEM_MANAGER_CONFIG} | ||
| 33 | } | 31 | } |
| 34 | 32 | ||
| 35 | do_install[noexec] = "1" | 33 | do_install[noexec] = "1" |
| @@ -41,4 +39,4 @@ do_deploy() { | |||
| 41 | ${DEPLOYDIR}/${SYSTEM_MANAGER_FIRMWARE_BASENAME}-${SYSTEM_MANAGER_CONFIG}.bin | 39 | ${DEPLOYDIR}/${SYSTEM_MANAGER_FIRMWARE_BASENAME}-${SYSTEM_MANAGER_CONFIG}.bin |
| 42 | } | 40 | } |
| 43 | 41 | ||
| 44 | COMPATIBLE_MACHINE = "(mx95-generic-bsp)" | 42 | COMPATIBLE_MACHINE = "(mx95-generic-bsp|mx943-generic-bsp)" |
diff --git a/dynamic-layers/arm-toolchain/recipes-bsp/imx-system-manager/imx-system-manager_1.0.0.bb b/dynamic-layers/arm-toolchain/recipes-bsp/imx-system-manager/imx-system-manager_2025q4.bb index 55826b016..81233bbff 100644 --- a/dynamic-layers/arm-toolchain/recipes-bsp/imx-system-manager/imx-system-manager_1.0.0.bb +++ b/dynamic-layers/arm-toolchain/recipes-bsp/imx-system-manager/imx-system-manager_2025q4.bb | |||
| @@ -9,12 +9,12 @@ enters a service mode where it provides access to clocking, power, sensor, \ | |||
| 9 | and pin control via a client RPC API based on ARM's System Control and \ | 9 | and pin control via a client RPC API based on ARM's System Control and \ |
| 10 | Management Interface (SCMI)." | 10 | Management Interface (SCMI)." |
| 11 | LICENSE = "BSD-3-Clause" | 11 | LICENSE = "BSD-3-Clause" |
| 12 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b66f32a90f9577a5a3255c21d79bc619" | 12 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=f2a70813bc08547f509361c08b718861" |
| 13 | 13 | ||
| 14 | SRC_URI = "${IMX_SYSTEM_MANAGER_SRC};branch=${SRCBRANCH}" | 14 | SRC_URI = "${IMX_SYSTEM_MANAGER_SRC};branch=${SRCBRANCH}" |
| 15 | IMX_SYSTEM_MANAGER_SRC ?= "git://github.com/nxp-imx/imx-sm.git;protocol=https" | 15 | IMX_SYSTEM_MANAGER_SRC ?= "git://github.com/nxp-imx/imx-sm.git;protocol=https" |
| 16 | SRCBRANCH = "master" | 16 | SRCBRANCH = "master" |
| 17 | SRCREV = "709deccd9338399eb39b5cf99a60eab4fa60d539" | 17 | SRCREV = "de30901b287e5c9a1e467d2d9a497b97bb6f7939" |
| 18 | 18 | ||
| 19 | require imx-system-manager.inc | 19 | require imx-system-manager.inc |
| 20 | 20 | ||
diff --git a/recipes-bsp/atf/qoriq-atf-2.12.inc b/recipes-bsp/atf/qoriq-atf-2.12.inc index a025401e0..26d79b4a1 100644 --- a/recipes-bsp/atf/qoriq-atf-2.12.inc +++ b/recipes-bsp/atf/qoriq-atf-2.12.inc | |||
| @@ -6,4 +6,4 @@ LIC_FILES_CHKSUM = "file://license.rst;md5=1dd070c98a281d18d9eefd938729b031" | |||
| 6 | ATF_BRANCH ?= "lf_v2.12" | 6 | ATF_BRANCH ?= "lf_v2.12" |
| 7 | ATF_SRC ?= "git://github.com/nxp-qoriq/atf.git;protocol=https" | 7 | ATF_SRC ?= "git://github.com/nxp-qoriq/atf.git;protocol=https" |
| 8 | SRC_URI = "${ATF_SRC};branch=${ATF_BRANCH}" | 8 | SRC_URI = "${ATF_SRC};branch=${ATF_BRANCH}" |
| 9 | SRCREV = "6ddd57019494cabfca5065368349109c37f2cc9f" | 9 | SRCREV = "a266ff458c2526a6474036a5c6648be6fdc54fe3" |
diff --git a/recipes-bsp/firmware-imx/firmware-nxp-wifi_1.1.bb b/recipes-bsp/firmware-imx/firmware-nxp-wifi_1.1.bb index 943d8a680..d0607a093 100644 --- a/recipes-bsp/firmware-imx/firmware-nxp-wifi_1.1.bb +++ b/recipes-bsp/firmware-imx/firmware-nxp-wifi_1.1.bb | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | # Copyright 2020-2025 NXP | 1 | # Copyright 2020-2026 NXP |
| 2 | 2 | ||
| 3 | SUMMARY = "Wi-Fi firmware redistributed by NXP" | 3 | SUMMARY = "Wi-Fi firmware redistributed by NXP" |
| 4 | DESCRIPTION = "Additional Wi-Fi firmware redistributed by NXP. Some \ | 4 | DESCRIPTION = "Additional Wi-Fi firmware redistributed by NXP. Some \ |
| @@ -7,42 +7,25 @@ should be preferred." | |||
| 7 | 7 | ||
| 8 | SECTION = "kernel" | 8 | SECTION = "kernel" |
| 9 | LICENSE = "Proprietary" | 9 | LICENSE = "Proprietary" |
| 10 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a93b654673e1bc8398ed1f30e0813359" | 10 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=bc649096ad3928ec06a8713b8d787eac" |
| 11 | 11 | ||
| 12 | SRC_URI = "git://github.com/nxp-imx/imx-firmware.git;protocol=https;branch=${SRCBRANCH}" | 12 | SRC_URI = "git://github.com/nxp-imx/imx-firmware.git;protocol=https;branch=${SRCBRANCH}" |
| 13 | SRCBRANCH = "lf-6.12.20_2.0.0" | 13 | SRCBRANCH = "lf-6.12.49_2.2.0" |
| 14 | SRCREV = "d31ea8aaba67e188ba0071a90da0364e3946c83a" | 14 | SRCREV = "8c9b278016c97527b285f2fcbe53c2d428eb171d" |
| 15 | 15 | ||
| 16 | 16 | ||
| 17 | inherit allarch | 17 | inherit allarch |
| 18 | 18 | ||
| 19 | CLEANBROKEN = "1" | 19 | CLEANBROKEN = "1" |
| 20 | ALLOW_EMPTY:${PN} = "1" | 20 | ALLOW_EMPTY:${PN} = "1" |
| 21 | ALLOW_EMPTY:${PN}-all-sdio = "1" | ||
| 22 | ALLOW_EMPTY:${PN}-all-pcie = "1" | 21 | ALLOW_EMPTY:${PN}-all-pcie = "1" |
| 22 | ALLOW_EMPTY:${PN}-all-sdio = "1" | ||
| 23 | ALLOW_EMPTY:${PN}-all-usb = "1" | ||
| 23 | 24 | ||
| 24 | do_compile() { | 25 | do_compile[noexec] = "1" |
| 25 | : | ||
| 26 | } | ||
| 27 | 26 | ||
| 28 | do_install() { | 27 | do_install() { |
| 29 | |||
| 30 | install -d ${D}${nonarch_base_libdir}/firmware/nxp | 28 | install -d ${D}${nonarch_base_libdir}/firmware/nxp |
| 31 | install -d ${D}${nonarch_base_libdir}/firmware/brcm/ | ||
| 32 | |||
| 33 | # Install bcm4359-pcie | ||
| 34 | for f in cyw-wifi-bt/*_CYW*/brcmfmac4359-pcie*; do | ||
| 35 | [ -e $f ] && install -D -m 0644 $f ${D}${nonarch_base_libdir}/firmware/brcm/$(basename $f) | ||
| 36 | done | ||
| 37 | |||
| 38 | for f in cyw-wifi-bt/*_CYW*/BCM4349B1*.hcd; do | ||
| 39 | [ -e $f ] && install -D -m 0644 $f ${D}${sysconfdir}/firmware/$(basename $f) | ||
| 40 | done | ||
| 41 | |||
| 42 | for f in nxp/FwImage_IW612_SD/*; do | ||
| 43 | [ -e $f ] && install -D -m 0644 $f ${D}${nonarch_base_libdir}/firmware/nxp/IW612_SD_RFTest/$(basename $f) | ||
| 44 | done | ||
| 45 | |||
| 46 | oe_runmake install INSTALLDIR=${D}${nonarch_base_libdir}/firmware/nxp | 29 | oe_runmake install INSTALLDIR=${D}${nonarch_base_libdir}/firmware/nxp |
| 47 | 30 | ||
| 48 | # Upstream SDIO8997 and IW416 driver firmwares are located on mrvl folder | 31 | # Upstream SDIO8997 and IW416 driver firmwares are located on mrvl folder |
| @@ -58,15 +41,17 @@ do_install() { | |||
| 58 | } | 41 | } |
| 59 | 42 | ||
| 60 | PACKAGES =+ " \ | 43 | PACKAGES =+ " \ |
| 61 | ${PN}-bcm4359-pcie \ | 44 | ${PN}-all-pcie \ |
| 45 | ${PN}-all-sdio \ | ||
| 46 | ${PN}-all-usb \ | ||
| 47 | \ | ||
| 62 | ${PN}-nxp-common \ | 48 | ${PN}-nxp-common \ |
| 63 | ${PN}-nxp8801-sdio \ | ||
| 64 | ${PN}-nxp8987-sdio \ | 49 | ${PN}-nxp8987-sdio \ |
| 65 | ${PN}-nxp8997-common \ | 50 | ${PN}-nxp8997-common \ |
| 66 | ${PN}-nxp8997-pcie \ | 51 | ${PN}-nxp8997-pcie \ |
| 67 | ${PN}-nxp8997-sdio \ | 52 | ${PN}-nxp8997-sdio \ |
| 68 | ${PN}-nxp9098-pcie \ | ||
| 69 | ${PN}-nxp9098-common \ | 53 | ${PN}-nxp9098-common \ |
| 54 | ${PN}-nxp9098-pcie \ | ||
| 70 | ${PN}-nxp9098-sdio \ | 55 | ${PN}-nxp9098-sdio \ |
| 71 | ${PN}-nxpaw693-pcie \ | 56 | ${PN}-nxpaw693-pcie \ |
| 72 | ${PN}-nxpiw416-sdio \ | 57 | ${PN}-nxpiw416-sdio \ |
| @@ -75,9 +60,23 @@ PACKAGES =+ " \ | |||
| 75 | ${PN}-nxpiw612-sdio \ | 60 | ${PN}-nxpiw612-sdio \ |
| 76 | " | 61 | " |
| 77 | 62 | ||
| 78 | FILES:${PN}-bcm4359-pcie = " \ | 63 | RDEPENDS:${PN}-all-sdio = " \ |
| 79 | ${nonarch_base_libdir}/firmware/brcm/brcmfmac4359-pcie.* \ | 64 | ${PN}-nxp8987-sdio \ |
| 80 | ${sysconfdir}/firmware/BCM4349B1_*.hcd \ | 65 | ${PN}-nxp8997-sdio \ |
| 66 | ${PN}-nxp9098-sdio \ | ||
| 67 | ${PN}-nxpiw416-sdio \ | ||
| 68 | ${PN}-nxpiw610-sdio \ | ||
| 69 | ${PN}-nxpiw612-sdio \ | ||
| 70 | " | ||
| 71 | |||
| 72 | RDEPENDS:${PN}-all-pcie = " \ | ||
| 73 | ${PN}-nxp8997-pcie \ | ||
| 74 | ${PN}-nxp9098-pcie \ | ||
| 75 | ${PN}-nxpaw693-pcie \ | ||
| 76 | " | ||
| 77 | |||
| 78 | RDEPENDS:${PN}-all-usb = " \ | ||
| 79 | ${PN}-nxpiw610-usb \ | ||
| 81 | " | 80 | " |
| 82 | 81 | ||
| 83 | FILES:${PN}-nxp-common = " \ | 82 | FILES:${PN}-nxp-common = " \ |
| @@ -85,11 +84,6 @@ FILES:${PN}-nxp-common = " \ | |||
| 85 | ${nonarch_base_libdir}/firmware/nxp/helper_uart_3000000.bin \ | 84 | ${nonarch_base_libdir}/firmware/nxp/helper_uart_3000000.bin \ |
| 86 | " | 85 | " |
| 87 | 86 | ||
| 88 | FILES:${PN}-nxp8801-sdio = " \ | ||
| 89 | ${nonarch_base_libdir}/firmware/nxp/*8801* \ | ||
| 90 | " | ||
| 91 | RDEPENDS:${PN}-nxp8801-sdio += "${PN}-nxp-common" | ||
| 92 | |||
| 93 | FILES:${PN}-nxp8987-sdio = " \ | 87 | FILES:${PN}-nxp8987-sdio = " \ |
| 94 | ${nonarch_base_libdir}/firmware/nxp/*8987* \ | 88 | ${nonarch_base_libdir}/firmware/nxp/*8987* \ |
| 95 | " | 89 | " |
| @@ -151,6 +145,12 @@ RPROVIDES:${PN}-nxp9098-sdio = "linux-firmware-nxp9098-sdio" | |||
| 151 | RREPLACES:${PN}-nxp9098-sdio = "linux-firmware-nxp9098-sdio" | 145 | RREPLACES:${PN}-nxp9098-sdio = "linux-firmware-nxp9098-sdio" |
| 152 | RCONFLICTS:${PN}-nxp9098-sdio = "linux-firmware-nxp9098-sdio" | 146 | RCONFLICTS:${PN}-nxp9098-sdio = "linux-firmware-nxp9098-sdio" |
| 153 | 147 | ||
| 148 | FILES:${PN}-nxpaw693-pcie += " \ | ||
| 149 | ${nonarch_base_libdir}/firmware/nxp/pcie*aw693* \ | ||
| 150 | ${nonarch_base_libdir}/firmware/nxp/uart*aw693* \ | ||
| 151 | " | ||
| 152 | RDEPENDS:${PN}-nxpaw693-pcie += "${PN}-nxp-common" | ||
| 153 | |||
| 154 | FILES:${PN}-nxpiw416-sdio = " \ | 154 | FILES:${PN}-nxpiw416-sdio = " \ |
| 155 | ${nonarch_base_libdir}/firmware/mrvl/sdiouartiw416_combo_v0.bin \ | 155 | ${nonarch_base_libdir}/firmware/mrvl/sdiouartiw416_combo_v0.bin \ |
| 156 | ${nonarch_base_libdir}/firmware/nxp/*iw416* \ | 156 | ${nonarch_base_libdir}/firmware/nxp/*iw416* \ |
| @@ -188,28 +188,3 @@ RDEPENDS:${PN}-nxpiw612-sdio += "${PN}-nxp-common" | |||
| 188 | RPROVIDES:${PN}-nxpiw612-sdio = "linux-firmware-nxpiw612-sdio" | 188 | RPROVIDES:${PN}-nxpiw612-sdio = "linux-firmware-nxpiw612-sdio" |
| 189 | RREPLACES:${PN}-nxpiw612-sdio = "linux-firmware-nxpiw612-sdio" | 189 | RREPLACES:${PN}-nxpiw612-sdio = "linux-firmware-nxpiw612-sdio" |
| 190 | RCONFLICTS:${PN}-nxpiw612-sdio = "linux-firmware-nxpiw612-sdio" | 190 | RCONFLICTS:${PN}-nxpiw612-sdio = "linux-firmware-nxpiw612-sdio" |
| 191 | |||
| 192 | FILES:${PN}-nxpaw693-pcie += " \ | ||
| 193 | ${nonarch_base_libdir}/firmware/nxp/pcie*aw693* \ | ||
| 194 | ${nonarch_base_libdir}/firmware/nxp/uart*aw693* \ | ||
| 195 | " | ||
| 196 | RDEPENDS:${PN}-nxpaw693-pcie += "${PN}-nxp-common" | ||
| 197 | |||
| 198 | RDEPENDS:${PN}-all-sdio = " \ | ||
| 199 | ${PN}-nxp8801-sdio \ | ||
| 200 | ${PN}-nxp8987-sdio \ | ||
| 201 | ${PN}-nxp9098-sdio \ | ||
| 202 | ${PN}-nxpiw416-sdio \ | ||
| 203 | ${PN}-nxpiw610-sdio \ | ||
| 204 | ${PN}-nxpiw612-sdio \ | ||
| 205 | " | ||
| 206 | |||
| 207 | RDEPENDS:${PN}-all-pcie = " \ | ||
| 208 | ${PN}-nxp8997-pcie \ | ||
| 209 | ${PN}-nxp9098-pcie \ | ||
| 210 | ${PN}-nxpaw693-pcie \ | ||
| 211 | " | ||
| 212 | |||
| 213 | RDEPENDS:${PN}-all-usb = " \ | ||
| 214 | ${PN}-nxpiw610-usb \ | ||
| 215 | " | ||
diff --git a/recipes-bsp/imx-kobs/imx-kobs_git.bb b/recipes-bsp/imx-kobs/imx-kobs_git.bb index 4f0ed79a1..9c00a05b1 100644 --- a/recipes-bsp/imx-kobs/imx-kobs_git.bb +++ b/recipes-bsp/imx-kobs/imx-kobs_git.bb | |||
| @@ -11,7 +11,7 @@ PV = "5.5+git${SRCPV}" | |||
| 11 | SRC_URI = "git://github.com/NXPmicro/imx-kobs.git;protocol=https;branch=master \ | 11 | SRC_URI = "git://github.com/NXPmicro/imx-kobs.git;protocol=https;branch=master \ |
| 12 | file://0001-Add-missing-includes-as-pointed-out-by-musl.patch \ | 12 | file://0001-Add-missing-includes-as-pointed-out-by-musl.patch \ |
| 13 | " | 13 | " |
| 14 | SRCREV = "ff13a99a22aa73cca0e09a33c2ebb6a94ad698da" | 14 | SRCREV = "c155f9e9d2e0008937c37d6e6f79e8436c099afa" |
| 15 | 15 | ||
| 16 | inherit autotools pkgconfig | 16 | inherit autotools pkgconfig |
| 17 | 17 | ||
diff --git a/recipes-bsp/imx-lib/imx-lib/0001-Fix-gcc-15-errors.patch b/recipes-bsp/imx-lib/imx-lib/0001-Fix-gcc-15-errors.patch deleted file mode 100644 index 964658fce..000000000 --- a/recipes-bsp/imx-lib/imx-lib/0001-Fix-gcc-15-errors.patch +++ /dev/null | |||
| @@ -1,54 +0,0 @@ | |||
| 1 | From 24e317b5cdc2b78735dfa7d4b2776b587b7a193f Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Tom Hochstein <tom.hochstein@nxp.com> | ||
| 3 | Date: Thu, 12 Jun 2025 13:15:28 -0500 | ||
| 4 | Subject: [PATCH] Fix gcc 15 errors | ||
| 5 | |||
| 6 | Fixes HDMI and IPU headers c23 violations: | ||
| 7 | ``` | ||
| 8 | In file included from mxc_hdmi-cec.c:40: | ||
| 9 | hdmi-cec.h:54:23: error: 'bool' cannot be defined via 'typedef' | ||
| 10 | 54 | typedef unsigned char bool; | ||
| 11 | | ^~~~ | ||
| 12 | hdmi-cec.h:54:23: note: 'bool' is a keyword with '-std=c23' onwards | ||
| 13 | hdmi-cec.h:54:1: warning: useless type name in empty declaration | ||
| 14 | 54 | typedef unsigned char bool; | ||
| 15 | | ^~~~~~~ | ||
| 16 | ``` | ||
| 17 | |||
| 18 | Upstream-Status: Submitted | ||
| 19 | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> | ||
| 20 | --- | ||
| 21 | hdmi-cec/hdmi-cec.h | 2 -- | ||
| 22 | ipu/ipu.h | 3 --- | ||
| 23 | 2 files changed, 5 deletions(-) | ||
| 24 | |||
| 25 | diff --git a/hdmi-cec/hdmi-cec.h b/hdmi-cec/hdmi-cec.h | ||
| 26 | index 7d466c5..2b66208 100644 | ||
| 27 | --- a/hdmi-cec/hdmi-cec.h | ||
| 28 | +++ b/hdmi-cec/hdmi-cec.h | ||
| 29 | @@ -51,8 +51,6 @@ | ||
| 30 | #define false 0 | ||
| 31 | #endif | ||
| 32 | |||
| 33 | -typedef unsigned char bool; | ||
| 34 | - | ||
| 35 | /*! | ||
| 36 | * Enumeration of device type. | ||
| 37 | */ | ||
| 38 | diff --git a/ipu/ipu.h b/ipu/ipu.h | ||
| 39 | index 278385c..1a55875 100644 | ||
| 40 | --- a/ipu/ipu.h | ||
| 41 | +++ b/ipu/ipu.h | ||
| 42 | @@ -30,9 +30,6 @@ | ||
| 43 | #ifdef __KERNEL__ | ||
| 44 | #include <linux/interrupt.h> | ||
| 45 | #else | ||
| 46 | -#ifndef __cplusplus | ||
| 47 | -typedef unsigned char bool; | ||
| 48 | -#endif | ||
| 49 | #define irqreturn_t int | ||
| 50 | #define dma_addr_t int | ||
| 51 | #define u32 unsigned int | ||
| 52 | -- | ||
| 53 | 2.34.1 | ||
| 54 | |||
diff --git a/recipes-bsp/imx-lib/imx-lib_git.bb b/recipes-bsp/imx-lib/imx-lib_git.bb index 5cf1b5744..0aa74250f 100644 --- a/recipes-bsp/imx-lib/imx-lib_git.bb +++ b/recipes-bsp/imx-lib/imx-lib_git.bb | |||
| @@ -12,10 +12,9 @@ PE = "1" | |||
| 12 | 12 | ||
| 13 | PV = "5.9+${SRCPV}" | 13 | PV = "5.9+${SRCPV}" |
| 14 | 14 | ||
| 15 | SRC_URI = "git://github.com/nxp-imx/imx-lib.git;protocol=https;branch=${SRCBRANCH} \ | 15 | SRC_URI = "git://github.com/nxp-imx/imx-lib.git;protocol=https;branch=${SRCBRANCH}" |
| 16 | file://0001-Fix-gcc-15-errors.patch" | 16 | SRCBRANCH = "lf-6.18.2_1.0.0" |
| 17 | SRCBRANCH = "lf-6.12.20_2.0.0" | 17 | SRCREV = "6cad1ba39d16247088f6a45dc07bbbf2cf96a332" |
| 18 | SRCREV = "8f124c3914d82019849fb697baeb730e4cb1b547" | ||
| 19 | 18 | ||
| 20 | inherit use-imx-headers | 19 | inherit use-imx-headers |
| 21 | 20 | ||
| @@ -30,6 +29,8 @@ PLATFORM:mx7d-nxp-bsp = "IMX7" | |||
| 30 | PLATFORM:mx7ulp-nxp-bsp = "IMX7" | 29 | PLATFORM:mx7ulp-nxp-bsp = "IMX7" |
| 31 | PLATFORM:mx8ulp-nxp-bsp = "IMX8ULP" | 30 | PLATFORM:mx8ulp-nxp-bsp = "IMX8ULP" |
| 32 | PLATFORM:mx9-nxp-bsp = "IMX8ULP" | 31 | PLATFORM:mx9-nxp-bsp = "IMX8ULP" |
| 32 | PLATFORM:mx93-nxp-bsp = "IMX8ULP" | ||
| 33 | PLATFORM:mx943-nxp-bsp = "IMX8ULP" | ||
| 33 | 34 | ||
| 34 | PARALLEL_MAKE = "-j 1" | 35 | PARALLEL_MAKE = "-j 1" |
| 35 | EXTRA_OEMAKE = "" | 36 | EXTRA_OEMAKE = "" |
diff --git a/recipes-bsp/imx-mkimage/imx-boot_1.0.bb b/recipes-bsp/imx-mkimage/imx-boot_1.0.bb index 6b027eb75..120f0594e 100644 --- a/recipes-bsp/imx-mkimage/imx-boot_1.0.bb +++ b/recipes-bsp/imx-mkimage/imx-boot_1.0.bb | |||
| @@ -63,6 +63,7 @@ BOOT_STAGING:mx8m-generic-bsp = "${S}/iMX8M" | |||
| 63 | BOOT_STAGING:mx8dx-generic-bsp = "${S}/iMX8QX" | 63 | BOOT_STAGING:mx8dx-generic-bsp = "${S}/iMX8QX" |
| 64 | BOOT_STAGING:mx91-generic-bsp = "${S}/iMX91" | 64 | BOOT_STAGING:mx91-generic-bsp = "${S}/iMX91" |
| 65 | BOOT_STAGING:mx93-generic-bsp = "${S}/iMX93" | 65 | BOOT_STAGING:mx93-generic-bsp = "${S}/iMX93" |
| 66 | BOOT_STAGING:mx943-generic-bsp = "${S}/iMX94" | ||
| 66 | BOOT_STAGING:mx95-generic-bsp = "${S}/iMX95" | 67 | BOOT_STAGING:mx95-generic-bsp = "${S}/iMX95" |
| 67 | 68 | ||
| 68 | SOC_FAMILY = "INVALID" | 69 | SOC_FAMILY = "INVALID" |
| @@ -72,11 +73,17 @@ SOC_FAMILY:mx8x-generic-bsp = "mx8x" | |||
| 72 | SOC_FAMILY:mx8ulp-generic-bsp = "mx8ulp" | 73 | SOC_FAMILY:mx8ulp-generic-bsp = "mx8ulp" |
| 73 | SOC_FAMILY:mx91-generic-bsp = "mx91" | 74 | SOC_FAMILY:mx91-generic-bsp = "mx91" |
| 74 | SOC_FAMILY:mx93-generic-bsp = "mx93" | 75 | SOC_FAMILY:mx93-generic-bsp = "mx93" |
| 76 | SOC_FAMILY:mx943-generic-bsp = "mx943" | ||
| 75 | SOC_FAMILY:mx95-generic-bsp = "mx95" | 77 | SOC_FAMILY:mx95-generic-bsp = "mx95" |
| 76 | 78 | ||
| 77 | REV_OPTION ?= "REV=${IMX_SOC_REV_UPPER}" | 79 | REV_OPTION ?= "REV=${IMX_SOC_REV_UPPER}" |
| 78 | 80 | ||
| 79 | MKIMAGE_EXTRA_ARGS ?= "" | 81 | MKIMAGE_EXTRA_ARGS ?= "" |
| 82 | MKIMAGE_EXTRA_ARGS:mx943-nxp-bsp ?= " \ | ||
| 83 | OEI=${OEI_ENABLE} \ | ||
| 84 | LPDDR_TYPE=${DDR_TYPE} \ | ||
| 85 | MSEL=${MSEL_TYPE} \ | ||
| 86 | " | ||
| 80 | MKIMAGE_EXTRA_ARGS:mx95-nxp-bsp ?= " \ | 87 | MKIMAGE_EXTRA_ARGS:mx95-nxp-bsp ?= " \ |
| 81 | OEI=${OEI_ENABLE} \ | 88 | OEI=${OEI_ENABLE} \ |
| 82 | LPDDR_TYPE=${DDR_TYPE} \ | 89 | LPDDR_TYPE=${DDR_TYPE} \ |
| @@ -177,6 +184,14 @@ compile_mx93() { | |||
| 177 | fi | 184 | fi |
| 178 | } | 185 | } |
| 179 | 186 | ||
| 187 | compile_mx943() { | ||
| 188 | bbnote i.MX 943 boot binary build | ||
| 189 | compile_mx93 | ||
| 190 | |||
| 191 | cp ${DEPLOY_DIR_IMAGE}/${SYSTEM_MANAGER_FIRMWARE_NAME}.bin \ | ||
| 192 | ${BOOT_STAGING}/${SYSTEM_MANAGER_FIRMWARE_BASENAME}.bin | ||
| 193 | } | ||
| 194 | |||
| 180 | compile_mx95() { | 195 | compile_mx95() { |
| 181 | bbnote i.MX 95 boot binary build | 196 | bbnote i.MX 95 boot binary build |
| 182 | compile_mx93 | 197 | compile_mx93 |
| @@ -348,6 +363,12 @@ deploy_mx93() { | |||
| 348 | fi | 363 | fi |
| 349 | } | 364 | } |
| 350 | 365 | ||
| 366 | deploy_mx943() { | ||
| 367 | deploy_mx93 | ||
| 368 | install -m 0644 ${BOOT_STAGING}/${SYSTEM_MANAGER_FIRMWARE_BASENAME}.bin \ | ||
| 369 | ${DEPLOYDIR}/${BOOT_TOOLS}/${SYSTEM_MANAGER_FIRMWARE_NAME}.bin | ||
| 370 | } | ||
| 371 | |||
| 351 | deploy_mx95() { | 372 | deploy_mx95() { |
| 352 | deploy_mx93 | 373 | deploy_mx93 |
| 353 | install -m 0644 ${BOOT_STAGING}/${SYSTEM_MANAGER_FIRMWARE_BASENAME}.bin \ | 374 | install -m 0644 ${BOOT_STAGING}/${SYSTEM_MANAGER_FIRMWARE_BASENAME}.bin \ |
diff --git a/recipes-bsp/imx-secure-enclave/imx-secure-enclave-prime_git.bb b/recipes-bsp/imx-secure-enclave/imx-secure-enclave-prime_git.bb new file mode 100644 index 000000000..1bd72d118 --- /dev/null +++ b/recipes-bsp/imx-secure-enclave/imx-secure-enclave-prime_git.bb | |||
| @@ -0,0 +1,13 @@ | |||
| 1 | require imx-secure-enclave.inc | ||
| 2 | |||
| 3 | SUMMARY += "PRIME" | ||
| 4 | DESCRIPTION += "PRIME" | ||
| 5 | |||
| 6 | PLAT = "prime" | ||
| 7 | |||
| 8 | do_install:append() { | ||
| 9 | # Remove common content that is to be installed by imx-secure-enclave | ||
| 10 | rm ${D}${datadir}/se/README | ||
| 11 | } | ||
| 12 | |||
| 13 | COMPATIBLE_MACHINE = "(mx943-nxp-bsp|mx952-nxp-bsp)" | ||
diff --git a/recipes-bsp/imx-secure-enclave/imx-secure-enclave-seco_git.bb b/recipes-bsp/imx-secure-enclave/imx-secure-enclave-seco_git.bb new file mode 100644 index 000000000..803cbeffe --- /dev/null +++ b/recipes-bsp/imx-secure-enclave/imx-secure-enclave-seco_git.bb | |||
| @@ -0,0 +1,20 @@ | |||
| 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|mx952-nxp-bsp)" | ||
diff --git a/recipes-bsp/imx-secure-enclave/imx-secure-enclave.inc b/recipes-bsp/imx-secure-enclave/imx-secure-enclave.inc new file mode 100644 index 000000000..bb045b6fb --- /dev/null +++ b/recipes-bsp/imx-secure-enclave/imx-secure-enclave.inc | |||
| @@ -0,0 +1,29 @@ | |||
| 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.18.2_1.0.0" | ||
| 14 | SRCREV = "24fdfb728fff1644878f5ab4a5557decf0769959" | ||
| 15 | |||
| 16 | PLAT ?= "UNDEFINED" | ||
| 17 | |||
| 18 | EXTRA_OEMAKE = "PLAT=${PLAT} OPENSSL_PATH=${STAGING_INCDIR} MBEDTLS_PATH=${STAGING_DIR_HOST}${datadir}/mbedtls-source" | ||
| 19 | |||
| 20 | TARGET_CC_ARCH += "${LDFLAGS}" | ||
| 21 | |||
| 22 | do_install() { | ||
| 23 | oe_runmake -C ${S} DESTDIR=${D} install_tests | ||
| 24 | } | ||
| 25 | |||
| 26 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" | ||
| 27 | |||
| 28 | FILES:${PN} += "${datadir}/se" | ||
| 29 | RDEPENDS:${PN}:append = " bash" | ||
diff --git a/recipes-bsp/imx-secure-enclave/imx-secure-enclave_git.bb b/recipes-bsp/imx-secure-enclave/imx-secure-enclave_git.bb index 525824f79..647a9d768 100644 --- a/recipes-bsp/imx-secure-enclave/imx-secure-enclave_git.bb +++ b/recipes-bsp/imx-secure-enclave/imx-secure-enclave_git.bb | |||
| @@ -1,29 +1,18 @@ | |||
| 1 | SUMMARY = "NXP i.MX Secure Enclave Userspace Library" | 1 | require imx-secure-enclave.inc |
| 2 | DESCRIPTION = "NXP i.MX Secure Enclave Userspace Library" | ||
| 3 | SECTION = "base" | ||
| 4 | |||
| 5 | LICENSE = "BSD-3-Clause" | ||
| 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=8636bd68fc00cc6a3809b7b58b45f982" | ||
| 7 | |||
| 8 | DEPENDS = "openssl" | ||
| 9 | 2 | ||
| 10 | inherit systemd | 3 | inherit systemd |
| 11 | 4 | ||
| 12 | SRC_URI = "git://github.com/NXP/imx-secure-enclave.git;protocol=https;branch=lf-6.6.52_2.2.0" | 5 | SYSTEMD_AUTO_ENABLE = "disable" |
| 13 | SRCREV = "dffbb844e86f4a49058ffbb40548474059969c27" | 6 | SYSTEMD_SERVICE:${PN} = "nvm_daemon.service" |
| 14 | |||
| 15 | PV = "lf-6.6.52_2.2.0" | ||
| 16 | 7 | ||
| 17 | EXTRA_OEMAKE += "PLAT=ele" | 8 | PLAT = "ele" |
| 18 | 9 | ||
| 19 | TARGET_CC_ARCH += "${LDFLAGS}" | 10 | PACKAGES =+ "${PN}-crrm" |
| 20 | 11 | ||
| 21 | do_install () { | 12 | RDEPENDS:${PN} = "${@bb.utils.contains('UBOOT_CONFIG', 'crrm', '${PN}-crrm', '', d)}" |
| 22 | oe_runmake DESTDIR=${D} install | ||
| 23 | rm -rf ${D}/usr/share | ||
| 24 | } | ||
| 25 | 13 | ||
| 26 | SYSTEMD_AUTO_ENABLE = "disable" | 14 | FILES:${PN}-crrm = " \ |
| 27 | SYSTEMD_SERVICE:${PN} = "nvm_daemon.service" | 15 | ${bindir}/ele_crrm_test \ |
| 16 | ${libdir}/lib*crrm${SOLIBS}" | ||
| 28 | 17 | ||
| 29 | COMPATIBLE_MACHINE = "(mx8ulp-nxp-bsp|mx9-nxp-bsp)" | 18 | COMPATIBLE_MACHINE = "(mx8ulp-nxp-bsp|mx9-nxp-bsp)" |
diff --git a/recipes-bsp/imx-test/imx-test_git.bb b/recipes-bsp/imx-test/imx-test_git.bb index 3dd6153a0..c5dc6ef50 100644 --- a/recipes-bsp/imx-test/imx-test_git.bb +++ b/recipes-bsp/imx-test/imx-test_git.bb | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | # Copyright (C) 2012-2016 O.S. Systems Software LTDA. | 1 | # Copyright (C) 2012-2016 O.S. Systems Software LTDA. |
| 2 | # Copyright (C) 2013-2016 Freescale Semiconductor | 2 | # Copyright (C) 2013-2016 Freescale Semiconductor |
| 3 | # Copyright (C) 2017-2022 NXP | 3 | # Copyright (C) 2017-2022,2026 NXP |
| 4 | 4 | ||
| 5 | SUMMARY = "Test programs for i.MX BSP" | 5 | SUMMARY = "Test programs for i.MX BSP" |
| 6 | DESCRIPTION = "Unit tests for the i.MX BSP" | 6 | DESCRIPTION = "Unit tests for the i.MX BSP" |
| @@ -19,10 +19,12 @@ DEPENDS:append:mx943-nxp-bsp = " imx-lib" | |||
| 19 | PE = "1" | 19 | PE = "1" |
| 20 | PV = "7.0+${SRCPV}" | 20 | PV = "7.0+${SRCPV}" |
| 21 | 21 | ||
| 22 | SRC_URI = "git://github.com/nxp-imx/imx-test.git;protocol=https;branch=${SRCBRANCH} \ | 22 | SRC_URI = "${IMXTEST_SRC};branch=${SRCBRANCH} \ |
| 23 | file://memtool_profile" | 23 | file://memtool_profile" |
| 24 | SRCBRANCH = "lf-6.12.20_2.0.0" | 24 | |
| 25 | SRCREV = "38f9cf1f08bb6fcdd6aaf9191e0b53f02e02537b" | 25 | IMXTEST_SRC ?= "git://github.com/nxp-imx/imx-test.git;protocol=https" |
| 26 | SRCBRANCH = "lf-6.18.2_1.0.0" | ||
| 27 | SRCREV = "e5dad74f8defd6108cac5ba21bf4ff268445d3ff" | ||
| 26 | 28 | ||
| 27 | inherit module-base use-imx-headers | 29 | inherit module-base use-imx-headers |
| 28 | 30 | ||
diff --git a/recipes-bsp/imx-uuc/imx-uuc_git.bb b/recipes-bsp/imx-uuc/imx-uuc_git.bb index 54997ae37..ecd33f59f 100644 --- a/recipes-bsp/imx-uuc/imx-uuc_git.bb +++ b/recipes-bsp/imx-uuc/imx-uuc_git.bb | |||
| @@ -10,7 +10,7 @@ PR = "r1" | |||
| 10 | PV = "0.5.1+git${SRCPV}" | 10 | PV = "0.5.1+git${SRCPV}" |
| 11 | 11 | ||
| 12 | SRC_URI = "git://github.com/nxp-imx/imx-uuc.git;protocol=https;branch=master" | 12 | SRC_URI = "git://github.com/nxp-imx/imx-uuc.git;protocol=https;branch=master" |
| 13 | SRCREV = "25f65e10368aa07056f9536e88ed911ac7f38f99" | 13 | SRCREV = "798d6ed8cf0971aec19c5f6c7c058450817fa378" |
| 14 | 14 | ||
| 15 | do_install() { | 15 | do_install() { |
| 16 | oe_runmake 'DESTDIR=${D}' install | 16 | oe_runmake 'DESTDIR=${D}' install |
diff --git a/recipes-bsp/rcw/rcw_git.bb b/recipes-bsp/rcw/rcw_git.bb index 6a52861b0..f7e309ae7 100644 --- a/recipes-bsp/rcw/rcw_git.bb +++ b/recipes-bsp/rcw/rcw_git.bb | |||
| @@ -8,7 +8,7 @@ DEPENDS += "tcl-native" | |||
| 8 | inherit deploy siteinfo | 8 | inherit deploy siteinfo |
| 9 | 9 | ||
| 10 | SRC_URI = "git://github.com/nxp-qoriq/rcw;protocol=https;nobranch=1" | 10 | SRC_URI = "git://github.com/nxp-qoriq/rcw;protocol=https;nobranch=1" |
| 11 | SRCREV = "45e69253690452656a4dfe933c4c9f55e1eb0f5f" | 11 | SRCREV = "82fa0c6d03b00dc84b6a64ba91f42c35762dd903" |
| 12 | 12 | ||
| 13 | export PYTHON = "${USRBINPATH}/python3" | 13 | export PYTHON = "${USRBINPATH}/python3" |
| 14 | 14 | ||
diff --git a/recipes-bsp/u-boot/u-boot-imx-common_2024.04.inc b/recipes-bsp/u-boot/u-boot-imx-common_2025.04.inc index 9640ba1de..b80bf61d7 100644 --- a/recipes-bsp/u-boot/u-boot-imx-common_2024.04.inc +++ b/recipes-bsp/u-boot/u-boot-imx-common_2025.04.inc | |||
| @@ -5,9 +5,9 @@ LIC_FILES_CHKSUM = "file://Licenses/gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a | |||
| 5 | 5 | ||
| 6 | SRC_URI = "${UBOOT_SRC};branch=${SRCBRANCH}" | 6 | SRC_URI = "${UBOOT_SRC};branch=${SRCBRANCH}" |
| 7 | UBOOT_SRC ?= "git://github.com/nxp-imx/uboot-imx.git;protocol=https" | 7 | UBOOT_SRC ?= "git://github.com/nxp-imx/uboot-imx.git;protocol=https" |
| 8 | SRCBRANCH = "lf_v2024.04" | 8 | SRCBRANCH = "lf_v2025.04" |
| 9 | LOCALVERSION ?= "-${SRCBRANCH}" | 9 | LOCALVERSION ?= "-${SRCBRANCH}" |
| 10 | SRCREV = "e3219a5a73445219df605d1492687918d488055c" | 10 | SRCREV = "4ddbad60eff308a5b356fb9ab8734ac382ddd692" |
| 11 | 11 | ||
| 12 | DEPENDS += " \ | 12 | DEPENDS += " \ |
| 13 | bc-native \ | 13 | bc-native \ |
diff --git a/recipes-bsp/u-boot/u-boot-imx_2024.04.bb b/recipes-bsp/u-boot/u-boot-imx_2025.04.bb index 27c3555f4..27c3555f4 100644 --- a/recipes-bsp/u-boot/u-boot-imx_2024.04.bb +++ b/recipes-bsp/u-boot/u-boot-imx_2025.04.bb | |||
diff --git a/recipes-bsp/u-boot/u-boot-qoriq_2025.04.bb b/recipes-bsp/u-boot/u-boot-qoriq_2025.04.bb index be8433e47..11e5ea0ff 100644 --- a/recipes-bsp/u-boot/u-boot-qoriq_2025.04.bb +++ b/recipes-bsp/u-boot/u-boot-qoriq_2025.04.bb | |||
| @@ -19,7 +19,7 @@ PV:append = "+${SRCPV}" | |||
| 19 | UBOOT_BRANCH ?= "lf_v2025.04" | 19 | UBOOT_BRANCH ?= "lf_v2025.04" |
| 20 | UBOOT_SRC ?= "git://github.com/nxp-qoriq/u-boot.git;protocol=https" | 20 | UBOOT_SRC ?= "git://github.com/nxp-qoriq/u-boot.git;protocol=https" |
| 21 | SRC_URI = "${UBOOT_SRC};branch=${UBOOT_BRANCH}" | 21 | SRC_URI = "${UBOOT_SRC};branch=${UBOOT_BRANCH}" |
| 22 | SRCREV = "9383f8387dc76524524da69992db96c22195a57c" | 22 | SRCREV = "4ddbad60eff308a5b356fb9ab8734ac382ddd692" |
| 23 | 23 | ||
| 24 | B = "${UNPACKDIR}/build" | 24 | B = "${UNPACKDIR}/build" |
| 25 | PV:append = "+fslgit" | 25 | PV:append = "+fslgit" |
diff --git a/recipes-connectivity/mbedtls/mbedtls/run-ptest b/recipes-connectivity/mbedtls/mbedtls/run-ptest new file mode 100644 index 000000000..059ab4ecb --- /dev/null +++ b/recipes-connectivity/mbedtls/mbedtls/run-ptest | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | |||
| 3 | ptestdir=$(dirname "$(readlink -f "$0")") | ||
| 4 | cd "$ptestdir"/tests || exit | ||
| 5 | |||
| 6 | tests=$(find * -type f -name 'test_suite_*') | ||
| 7 | |||
| 8 | for f in $tests | ||
| 9 | do | ||
| 10 | if test -x ./"$f"; then | ||
| 11 | if ./"$f" > ./"$f".out 2> ./"$f".err; then | ||
| 12 | echo "PASS: $f" | ||
| 13 | else | ||
| 14 | echo "FAIL: $f" | ||
| 15 | fi | ||
| 16 | fi | ||
| 17 | done | ||
diff --git a/recipes-connectivity/mbedtls/mbedtls_3.6.5.bb b/recipes-connectivity/mbedtls/mbedtls_3.6.5.bb new file mode 100644 index 000000000..e6dfe4309 --- /dev/null +++ b/recipes-connectivity/mbedtls/mbedtls_3.6.5.bb | |||
| @@ -0,0 +1,78 @@ | |||
| 1 | SUMMARY = "Lightweight crypto and SSL/TLS library" | ||
| 2 | DESCRIPTION = "mbedtls is a lean open source crypto library \ | ||
| 3 | for providing SSL and TLS support in your programs. It offers \ | ||
| 4 | an intuitive API and documented header files, so you can actually \ | ||
| 5 | understand what the code does. It features: \ | ||
| 6 | \ | ||
| 7 | - Symmetric algorithms, like AES, Blowfish, Triple-DES, DES, ARC4, \ | ||
| 8 | Camellia and XTEA \ | ||
| 9 | - Hash algorithms, like SHA-1, SHA-2, RIPEMD-160 and MD5 \ | ||
| 10 | - Entropy pool and random generators, like CTR-DRBG and HMAC-DRBG \ | ||
| 11 | - Public key algorithms, like RSA, Elliptic Curves, Diffie-Hellman, \ | ||
| 12 | ECDSA and ECDH \ | ||
| 13 | - SSL v3 and TLS 1.0, 1.1 and 1.2 \ | ||
| 14 | - Abstraction layers for ciphers, hashes, public key operations, \ | ||
| 15 | platform abstraction and threading \ | ||
| 16 | " | ||
| 17 | |||
| 18 | HOMEPAGE = "https://tls.mbed.org/" | ||
| 19 | |||
| 20 | LICENSE = "Apache-2.0 | GPL-2.0-or-later" | ||
| 21 | LIC_FILES_CHKSUM = "file://LICENSE;md5=379d5819937a6c2f1ef1630d341e026d" | ||
| 22 | |||
| 23 | SECTION = "libs" | ||
| 24 | |||
| 25 | SRC_URI = "gitsm://github.com/Mbed-TLS/mbedtls.git;protocol=https;branch=mbedtls-3.6;tag=v${PV} \ | ||
| 26 | file://run-ptest \ | ||
| 27 | " | ||
| 28 | |||
| 29 | SRCREV = "e185d7fd85499c8ce5ca2a54f5cf8fe7dbe3f8df" | ||
| 30 | |||
| 31 | UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)" | ||
| 32 | |||
| 33 | inherit cmake update-alternatives ptest | ||
| 34 | |||
| 35 | PACKAGECONFIG ??= "shared-libs programs ${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)}" | ||
| 36 | PACKAGECONFIG[shared-libs] = "-DUSE_SHARED_MBEDTLS_LIBRARY=ON,-DUSE_SHARED_MBEDTLS_LIBRARY=OFF" | ||
| 37 | PACKAGECONFIG[programs] = "-DENABLE_PROGRAMS=ON,-DENABLE_PROGRAMS=OFF" | ||
| 38 | PACKAGECONFIG[werror] = "-DMBEDTLS_FATAL_WARNINGS=ON,-DMBEDTLS_FATAL_WARNINGS=OFF" | ||
| 39 | # Make X.509 and TLS calls use PSA | ||
| 40 | # https://github.com/Mbed-TLS/mbedtls/blob/development/docs/use-psa-crypto.md | ||
| 41 | PACKAGECONFIG[psa] = "" | ||
| 42 | PACKAGECONFIG[tests] = "-DENABLE_TESTING=ON,-DENABLE_TESTING=OFF" | ||
| 43 | |||
| 44 | # For now the only way to enable PSA is to explicitly pass a -D via CFLAGS | ||
| 45 | CFLAGS:append = "${@bb.utils.contains('PACKAGECONFIG', 'psa', ' -DMBEDTLS_USE_PSA_CRYPTO', '', d)}" | ||
| 46 | |||
| 47 | PROVIDES += "polarssl" | ||
| 48 | RPROVIDES:${PN} = "polarssl" | ||
| 49 | |||
| 50 | PACKAGES =+ "${PN}-programs" | ||
| 51 | FILES:${PN}-programs = "${bindir}/" | ||
| 52 | |||
| 53 | ALTERNATIVE:${PN}-programs = "${@bb.utils.contains('PACKAGECONFIG', 'programs', 'hello', '', d)}" | ||
| 54 | ALTERNATIVE_LINK_NAME[hello] = "${bindir}/hello" | ||
| 55 | |||
| 56 | BBCLASSEXTEND = "native nativesdk" | ||
| 57 | |||
| 58 | CVE_PRODUCT = "mbed_tls" | ||
| 59 | |||
| 60 | # Strip host paths from autogenerated test files | ||
| 61 | do_compile:append() { | ||
| 62 | sed -i 's+${S}/++g' ${B}/tests/*.c 2>/dev/null || : | ||
| 63 | sed -i 's+${B}/++g' ${B}/tests/*.c 2>/dev/null || : | ||
| 64 | } | ||
| 65 | |||
| 66 | # Export source files/headers needed by Arm Trusted Firmware | ||
| 67 | sysroot_stage_all:append() { | ||
| 68 | sysroot_stage_dir "${S}/library" "${SYSROOT_DESTDIR}/usr/share/mbedtls-source/library" | ||
| 69 | sysroot_stage_dir "${S}/include" "${SYSROOT_DESTDIR}/usr/share/mbedtls-source/include" | ||
| 70 | } | ||
| 71 | |||
| 72 | do_install_ptest () { | ||
| 73 | install -d ${D}${PTEST_PATH}/tests | ||
| 74 | install -d ${D}${PTEST_PATH}/framework | ||
| 75 | cp -f ${B}/tests/test_suite_* ${D}${PTEST_PATH}/tests/ | ||
| 76 | find ${D}${PTEST_PATH}/tests/ -type f -name "*.c" -delete | ||
| 77 | cp -fR ${S}/framework/data_files ${D}${PTEST_PATH}/framework/ | ||
| 78 | } | ||
diff --git a/recipes-devtools/qemu/qemu.inc b/recipes-devtools/qemu/qemu-qoriq.inc index 60686bde8..60686bde8 100644 --- a/recipes-devtools/qemu/qemu.inc +++ b/recipes-devtools/qemu/qemu-qoriq.inc | |||
diff --git a/recipes-devtools/qemu/qemu-qoriq_4.2.bb b/recipes-devtools/qemu/qemu-qoriq_4.2.bb index cb415d66b..8996a2f44 100644 --- a/recipes-devtools/qemu/qemu-qoriq_4.2.bb +++ b/recipes-devtools/qemu/qemu-qoriq_4.2.bb | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | BBCLASSEXTEND = "" | 1 | BBCLASSEXTEND = "" |
| 2 | 2 | ||
| 3 | require qemu.inc | 3 | require qemu-qoriq.inc |
| 4 | 4 | ||
| 5 | COMPATIBLE_MACHINE = "(qoriq)" | 5 | COMPATIBLE_MACHINE = "(qoriq)" |
| 6 | 6 | ||
diff --git a/recipes-dpaa2/restool/restool_git.bb b/recipes-dpaa2/restool/restool_git.bb index 596625ece..7a90bc996 100644 --- a/recipes-dpaa2/restool/restool_git.bb +++ b/recipes-dpaa2/restool/restool_git.bb | |||
| @@ -3,7 +3,7 @@ LICENSE = "BSD-3-Clause | GPL-2.0-or-later" | |||
| 3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=83af78c71766dd5fb1c1c3dd64a75ee7" | 3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=83af78c71766dd5fb1c1c3dd64a75ee7" |
| 4 | 4 | ||
| 5 | SRC_URI = "git://github.com/nxp-qoriq/restool;protocol=https;nobranch=1" | 5 | SRC_URI = "git://github.com/nxp-qoriq/restool;protocol=https;nobranch=1" |
| 6 | SRCREV = "8f73f2600111440d034227966d6ff03ec47d8f1a" | 6 | SRCREV = "df31aaa46b77e3918f893ca08b1e63871ae880b6" |
| 7 | 7 | ||
| 8 | inherit bash-completion | 8 | inherit bash-completion |
| 9 | 9 | ||
diff --git a/recipes-extended/dpdk/dpdk-20.11.inc b/recipes-extended/dpdk/dpdk-20.11.inc deleted file mode 100644 index 66bcda2ff..000000000 --- a/recipes-extended/dpdk/dpdk-20.11.inc +++ /dev/null | |||
| @@ -1,13 +0,0 @@ | |||
| 1 | DESCRIPTION = "Data Plane Development Kit" | ||
| 2 | HOMEPAGE = "http://dpdk.org" | ||
| 3 | LICENSE = "BSD-3-Clause & LGPL-2.1-only & GPL-2.0-only" | ||
| 4 | LIC_FILES_CHKSUM = "file://license/gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ | ||
| 5 | file://license/lgpl-2.1.txt;md5=4b54a1fd55a448865a0b32d41598759d \ | ||
| 6 | file://license/bsd-3-clause.txt;md5=0f00d99239d922ffd13cabef83b33444" | ||
| 7 | |||
| 8 | SRC_URI = "git://github.com/nxp-qoriq/dpdk;protocol=https;nobranch=1" | ||
| 9 | SRCREV = "f74b8bd5ab1c6ff76e956fc202a56aea2d200270" | ||
| 10 | |||
| 11 | COMPATIBLE_MACHINE = "(qoriq-arm64)" | ||
| 12 | |||
| 13 | CVE_PRODUCT = "data_plane_development_kit" | ||
diff --git a/recipes-extended/dpdk/dpdk-20.11/0001-Makefile-add-makefile.patch b/recipes-extended/dpdk/dpdk-20.11/0001-Makefile-add-makefile.patch deleted file mode 100644 index 18b75fb65..000000000 --- a/recipes-extended/dpdk/dpdk-20.11/0001-Makefile-add-makefile.patch +++ /dev/null | |||
| @@ -1,74 +0,0 @@ | |||
| 1 | From 768cef60957d5e840071d1d6514d4add3f3c2904 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Naveen Saini <naveen.kumar.saini@intel.com> | ||
| 3 | Date: Wed, 14 Apr 2021 17:25:53 +0800 | ||
| 4 | Subject: [PATCH] Makefile: add makefile | ||
| 5 | |||
| 6 | Current meson build for kernel module build does not fit in Yocto. | ||
| 7 | So added Makefile to build rte_kni.ko | ||
| 8 | |||
| 9 | Upstream-Status: Inappropriate | ||
| 10 | |||
| 11 | Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> | ||
| 12 | --- | ||
| 13 | kernel/linux/kni/Kbuild | 6 ------ | ||
| 14 | kernel/linux/kni/Makefile | 35 +++++++++++++++++++++++++++++++++++ | ||
| 15 | 2 files changed, 35 insertions(+), 6 deletions(-) | ||
| 16 | delete mode 100644 kernel/linux/kni/Kbuild | ||
| 17 | create mode 100644 kernel/linux/kni/Makefile | ||
| 18 | |||
| 19 | diff --git a/kernel/linux/kni/Kbuild b/kernel/linux/kni/Kbuild | ||
| 20 | deleted file mode 100644 | ||
| 21 | index e5452d6c00..0000000000 | ||
| 22 | --- a/kernel/linux/kni/Kbuild | ||
| 23 | +++ /dev/null | ||
| 24 | @@ -1,6 +0,0 @@ | ||
| 25 | -# SPDX-License-Identifier: BSD-3-Clause | ||
| 26 | -# Copyright(c) 2018 Luca Boccassi <bluca@debian.org> | ||
| 27 | - | ||
| 28 | -ccflags-y := $(MODULE_CFLAGS) | ||
| 29 | -obj-m := rte_kni.o | ||
| 30 | -rte_kni-y := $(patsubst $(src)/%.c,%.o,$(wildcard $(src)/*.c)) | ||
| 31 | diff --git a/kernel/linux/kni/Makefile b/kernel/linux/kni/Makefile | ||
| 32 | new file mode 100644 | ||
| 33 | index 0000000000..19897ee06e | ||
| 34 | --- /dev/null | ||
| 35 | +++ b/kernel/linux/kni/Makefile | ||
| 36 | @@ -0,0 +1,35 @@ | ||
| 37 | +# | ||
| 38 | +# Makefile for building rte_kni.ko | ||
| 39 | +# | ||
| 40 | +MODULE_CFLAGS += -include $(S)/config/rte_config.h | ||
| 41 | +MODULE_CFLAGS += -I$(S)/lib/librte_eal/include | ||
| 42 | +MODULE_CFLAGS += -I$(S)/lib/librte_kni | ||
| 43 | +MODULE_CFLAGS += -I$(S)/kernel/linux/kni | ||
| 44 | +MODULE_CFLAGS += -I$(S) | ||
| 45 | +MODULE_CFLAGS += -I$(STAGING_INCDIR) | ||
| 46 | + | ||
| 47 | +rte_kni-objs = kni_misc.o kni_net.o | ||
| 48 | + | ||
| 49 | +ccflags-y := $(MODULE_CFLAGS) | ||
| 50 | +cflags-y := $(MODULE_CFLAGS) | ||
| 51 | +obj-m := rte_kni.o | ||
| 52 | + | ||
| 53 | + | ||
| 54 | +KERNEL_MAKE_OPTS := -C $(STAGING_KERNEL_DIR) M=$(CURDIR) | ||
| 55 | +ifneq ($(ARCH),) | ||
| 56 | +KERNEL_MAKE_OPTS += ARCH=$(ARCH) | ||
| 57 | +endif | ||
| 58 | +ifneq ($(CROSS_COMPILE),) | ||
| 59 | +KERNEL_MAKE_OPTS += CROSS_COMPILE=$(CROSS_COMPILE) | ||
| 60 | +endif | ||
| 61 | + | ||
| 62 | +build: | ||
| 63 | + $(MAKE) $(KERNEL_MAKE_OPTS) modules | ||
| 64 | + | ||
| 65 | +install: modules_install | ||
| 66 | + | ||
| 67 | +modules_install: | ||
| 68 | + $(MAKE) $(KERNEL_MAKE_OPTS) modules_install | ||
| 69 | + | ||
| 70 | +clean: | ||
| 71 | + $(MAKE) $(KERNEL_MAKE_OPTS) clean | ||
| 72 | -- | ||
| 73 | 2.17.1 | ||
| 74 | |||
diff --git a/recipes-extended/dpdk/dpdk-20.11/0001-drivers-net-enetfec-enet_uio.c-fix-multiple-definiti.patch b/recipes-extended/dpdk/dpdk-20.11/0001-drivers-net-enetfec-enet_uio.c-fix-multiple-definiti.patch deleted file mode 100644 index f88b64843..000000000 --- a/recipes-extended/dpdk/dpdk-20.11/0001-drivers-net-enetfec-enet_uio.c-fix-multiple-definiti.patch +++ /dev/null | |||
| @@ -1,31 +0,0 @@ | |||
| 1 | From 6fe85f3a12d15e25345ef0547035a929351a179c Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Ting Liu <ting.liu@nxp.com> | ||
| 3 | Date: Fri, 17 Sep 2021 12:53:53 +0530 | ||
| 4 | Subject: [PATCH] drivers/net/enetfec/enet_uio.c: fix multiple definition | ||
| 5 | |||
| 6 | .../drivers/net/enetfec/enet_uio.c:22: multiple definition of `count'; | ||
| 7 | .../examples/flow_classify/flow_classify.c:170: first defined here | ||
| 8 | collect2: error: ld returned 1 exit status | ||
| 9 | |||
| 10 | Upstream-Status: Pending | ||
| 11 | Signed-off-by: Ting Liu <ting.liu@nxp.com> | ||
| 12 | --- | ||
| 13 | drivers/net/enetfec/enet_uio.c | 2 +- | ||
| 14 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 15 | |||
| 16 | diff --git a/drivers/net/enetfec/enet_uio.c b/drivers/net/enetfec/enet_uio.c | ||
| 17 | index b64dc522e8..9e09f9beb6 100644 | ||
| 18 | --- a/drivers/net/enetfec/enet_uio.c | ||
| 19 | +++ b/drivers/net/enetfec/enet_uio.c | ||
| 20 | @@ -19,7 +19,7 @@ | ||
| 21 | #include "enet_uio.h" | ||
| 22 | |||
| 23 | static struct uio_job enetfec_uio_job; | ||
| 24 | -int count; | ||
| 25 | +static int count; | ||
| 26 | |||
| 27 | /** @brief Reads first line from a file. | ||
| 28 | * Composes file name as: root/subdir/filename | ||
| 29 | -- | ||
| 30 | 2.25.1 | ||
| 31 | |||
diff --git a/recipes-extended/dpdk/dpdk-20.11/0001-ifpga-meson-Fix-finding-librt-using-find_library.patch b/recipes-extended/dpdk/dpdk-20.11/0001-ifpga-meson-Fix-finding-librt-using-find_library.patch deleted file mode 100644 index 4df28c40b..000000000 --- a/recipes-extended/dpdk/dpdk-20.11/0001-ifpga-meson-Fix-finding-librt-using-find_library.patch +++ /dev/null | |||
| @@ -1,35 +0,0 @@ | |||
| 1 | From 308409d72671b7978b20d40748ad985a235b6c86 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Mohamad Noor Alim Hussin <mohamad.noor.alim.hussin@intel.com> | ||
| 3 | Date: Thu, 24 Jun 2021 11:30:09 +0800 | ||
| 4 | Subject: [PATCH] ifpga/meson: Fix finding librt using find_library() | ||
| 5 | |||
| 6 | Finding with "librt" keyword would give the output | ||
| 7 | with full path of librt such as /usr/lib/librt.so | ||
| 8 | instead of -lrt. | ||
| 9 | |||
| 10 | Assume find_library() will prepend "lib", thus remove | ||
| 11 | "lib" from "librt" keyword. The output will shows as | ||
| 12 | -lrt. | ||
| 13 | |||
| 14 | Upstream-Status: Submitted [https://mails.dpdk.org/archives/stable/2021-June/031840.html] | ||
| 15 | |||
| 16 | Signed-off-by: Mohamad Noor Alim Hussin <mohamad.noor.alim.hussin@intel.com> | ||
| 17 | --- | ||
| 18 | drivers/raw/ifpga/base/meson.build | 2 +- | ||
| 19 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 20 | |||
| 21 | diff --git a/drivers/raw/ifpga/base/meson.build b/drivers/raw/ifpga/base/meson.build | ||
| 22 | index da2d6e33c..949f7f127 100644 | ||
| 23 | --- a/drivers/raw/ifpga/base/meson.build | ||
| 24 | +++ b/drivers/raw/ifpga/base/meson.build | ||
| 25 | @@ -25,7 +25,7 @@ sources = [ | ||
| 26 | |||
| 27 | rtdep = dependency('librt', required: false) | ||
| 28 | if not rtdep.found() | ||
| 29 | - rtdep = cc.find_library('librt', required: false) | ||
| 30 | + rtdep = cc.find_library('rt', required: false) | ||
| 31 | endif | ||
| 32 | if not rtdep.found() | ||
| 33 | build = false | ||
| 34 | -- | ||
| 35 | 2.32.0 | ||
diff --git a/recipes-extended/dpdk/dpdk-module_20.11.bb b/recipes-extended/dpdk/dpdk-module_20.11.bb deleted file mode 100644 index 585e198ea..000000000 --- a/recipes-extended/dpdk/dpdk-module_20.11.bb +++ /dev/null | |||
| @@ -1,41 +0,0 @@ | |||
| 1 | include dpdk-20.11.inc | ||
| 2 | |||
| 3 | FILESEXTRAPATHS:prepend := "${THISDIR}/dpdk-${PV}:" | ||
| 4 | |||
| 5 | SRC_URI += " \ | ||
| 6 | file://0001-Makefile-add-makefile.patch \ | ||
| 7 | " | ||
| 8 | |||
| 9 | inherit module | ||
| 10 | |||
| 11 | #kernel module needs 'rte_build_config.h', which is generated at buid time | ||
| 12 | DEPENDS += "dpdk" | ||
| 13 | |||
| 14 | export S | ||
| 15 | export STAGING_KERNEL_DIR | ||
| 16 | export STAGING_INCDIR | ||
| 17 | export INSTALL_MOD_DIR = "dpdk" | ||
| 18 | |||
| 19 | do_configure[noexec] = "1" | ||
| 20 | |||
| 21 | do_compile() { | ||
| 22 | cd ${S}/kernel/linux/kni | ||
| 23 | unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS | ||
| 24 | oe_runmake KERNEL_PATH=${STAGING_KERNEL_DIR} \ | ||
| 25 | KERNEL_VERSION=${KERNEL_VERSION} \ | ||
| 26 | CC="${KERNEL_CC}" LD="${KERNEL_LD}" \ | ||
| 27 | AR="${KERNEL_AR}" \ | ||
| 28 | O=${STAGING_KERNEL_BUILDDIR} \ | ||
| 29 | KBUILD_EXTRA_SYMBOLS="${KBUILD_EXTRA_SYMBOLS}" \ | ||
| 30 | ${MAKE_TARGETS} | ||
| 31 | } | ||
| 32 | |||
| 33 | do_install() { | ||
| 34 | cd ${S}/kernel/linux/kni | ||
| 35 | unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS | ||
| 36 | oe_runmake DEPMOD=echo MODLIB="${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}" \ | ||
| 37 | INSTALL_FW_PATH="${D}${nonarch_base_libdir}/firmware" \ | ||
| 38 | CC="${KERNEL_CC}" LD="${KERNEL_LD}" \ | ||
| 39 | O=${STAGING_KERNEL_BUILDDIR} \ | ||
| 40 | ${MODULES_INSTALL_TARGET} | ||
| 41 | } | ||
diff --git a/recipes-extended/dpdk/dpdk.inc b/recipes-extended/dpdk/dpdk.inc deleted file mode 100644 index eabd18650..000000000 --- a/recipes-extended/dpdk/dpdk.inc +++ /dev/null | |||
| @@ -1,120 +0,0 @@ | |||
| 1 | DESCRIPTION = "Data Plane Development Kit" | ||
| 2 | HOMEPAGE = "http://dpdk.org" | ||
| 3 | |||
| 4 | RDEPENDS:${PN} += "python3-core" | ||
| 5 | DEPENDS = "virtual/kernel openssl" | ||
| 6 | DEPENDS:append:x86-64 = " numactl" | ||
| 7 | do_configure[depends] += "virtual/kernel:do_shared_workdir" | ||
| 8 | |||
| 9 | inherit module | ||
| 10 | |||
| 11 | COMPATIBLE_HOST = '(aarch64|arm|i.86|x86_64).*-linux' | ||
| 12 | COMPATIBLE_HOST:libc-musl = 'null' | ||
| 13 | COMPATIBLE_HOST:armv4 = 'null' | ||
| 14 | COMPATIBLE_HOST:armv5 = 'null' | ||
| 15 | COMPATIBLE_HOST:armv6 = 'null' | ||
| 16 | |||
| 17 | COMPATIBLE_MACHINE = "(imx-nxp-bsp|qoriq)" | ||
| 18 | |||
| 19 | DPDK_RTE_TARGET:x86-64 = "x86_64-native-linuxapp-gcc" | ||
| 20 | DPDK_RTE_TARGET:x86 = "i686-native-linuxapp-gcc" | ||
| 21 | DPDK_RTE_TARGET:armv7a = "${ARCH}-armv7a-linuxapp-gcc" | ||
| 22 | DPDK_RTE_TARGET:armv7ve = "${ARCH}-armv7a-linuxapp-gcc" | ||
| 23 | DPDK_RTE_TARGET ?= "${ARCH}-dpaa-linuxapp-gcc" | ||
| 24 | |||
| 25 | export RTE_TARGET = "${DPDK_RTE_TARGET}" | ||
| 26 | export RTE_OUTPUT = "${S}/${RTE_TARGET}" | ||
| 27 | export MODULE_DIR = "${nonarch_base_libdir}/modules/${KERNEL_VERSION}/kernel/drivers/net" | ||
| 28 | |||
| 29 | EXTRA_OEMAKE += 'ETHTOOL_LIB_PATH="${S}/examples/ethtool/lib/${RTE_TARGET}" RTE_SDK="${S}" \ | ||
| 30 | OPENSSL_PATH="${STAGING_DIR_HOST}" RTE_KERNELDIR="${STAGING_KERNEL_DIR}" \ | ||
| 31 | RTE_KERNELDIR_OUT="${STAGING_KERNEL_BUILDDIR}" EXAMPLES_BUILD_DIR="${RTE_TARGET}" \ | ||
| 32 | ' | ||
| 33 | do_configure () { | ||
| 34 | ############################################################# | ||
| 35 | ### default value for prefix is "usr", unsetting it, so it | ||
| 36 | ### will not be concatenated in ${RTE_TARGET}/Makefile | ||
| 37 | ### which will cause compilation failure | ||
| 38 | ############################################################# | ||
| 39 | unset prefix | ||
| 40 | oe_runmake O=$RTE_TARGET T=$RTE_TARGET config | ||
| 41 | } | ||
| 42 | |||
| 43 | do_compile () { | ||
| 44 | unset LDFLAGS TARGET_LDFLAGS BUILD_LDFLAGS | ||
| 45 | |||
| 46 | cd ${S}/${RTE_TARGET} | ||
| 47 | oe_runmake CONFIG_RTE_EAL_IGB_UIO=n CONFIG_RTE_KNI_KMOD=y \ | ||
| 48 | CONFIG_RTE_LIBRTE_PMD_OPENSSL=y \ | ||
| 49 | EXTRA_LDFLAGS="-L${STAGING_LIBDIR} --hash-style=gnu" \ | ||
| 50 | EXTRA_CFLAGS="${HOST_CC_ARCH} ${TOOLCHAIN_OPTIONS} -I${STAGING_INCDIR}" \ | ||
| 51 | CROSS="${TARGET_PREFIX}" \ | ||
| 52 | prefix="" LDFLAGS="${TUNE_LDARGS}" WERROR_FLAGS="-w" V=1 | ||
| 53 | |||
| 54 | cd ${S}/examples/ | ||
| 55 | for APP in l2fwd l3fwd cmdif l2fwd-qdma l2fwd-crypto ipsec-secgw vhost kni ip_fragmentation ip_reassembly; do | ||
| 56 | temp=`basename ${APP}` | ||
| 57 | if [ ${temp} = "ipsec-secgw" ] || [ ${temp} = "l2fwd-crypto" ]; then | ||
| 58 | oe_runmake EXTRA_LDFLAGS="-L${STAGING_LIBDIR} --hash-style=gnu -fuse-ld=bfd" \ | ||
| 59 | EXTRA_CFLAGS="${HOST_CC_ARCH} ${TOOLCHAIN_OPTIONS} -I${STAGING_INCDIR}" \ | ||
| 60 | CROSS="${TARGET_PREFIX}" -C ${APP} CONFIG_RTE_LIBRTE_PMD_OPENSSL=y O="${S}/examples/${temp}" | ||
| 61 | else | ||
| 62 | oe_runmake EXTRA_LDFLAGS="-L${STAGING_LIBDIR} --hash-style=gnu -fuse-ld=bfd" \ | ||
| 63 | EXTRA_CFLAGS="${HOST_CC_ARCH} ${TOOLCHAIN_OPTIONS} -I${STAGING_INCDIR}" \ | ||
| 64 | CROSS="${TARGET_PREFIX}" -C ${APP} CONFIG_RTE_LIBRTE_PMD_OPENSSL=y O="${S}/examples/${temp}/" | ||
| 65 | fi | ||
| 66 | done | ||
| 67 | |||
| 68 | } | ||
| 69 | |||
| 70 | do_install () { | ||
| 71 | oe_runmake O=${RTE_OUTPUT} T= install-runtime DESTDIR=${D} | ||
| 72 | oe_runmake O=${RTE_OUTPUT} T= install-kmod DESTDIR=${D} kerneldir=${MODULE_DIR} | ||
| 73 | oe_runmake O=${RTE_OUTPUT} T= install-sdk DESTDIR=${D} | ||
| 74 | |||
| 75 | # Install examples | ||
| 76 | install -d 0644 ${D}/${datadir}/dpdk/cmdif/include | ||
| 77 | install -d 0644 ${D}/${datadir}/dpdk/cmdif/lib | ||
| 78 | install -d 0644 ${D}/${datadir}/dpdk/examples | ||
| 79 | cp examples/cmdif/lib/client/fsl_cmdif_client.h examples/cmdif/lib/server/fsl_cmdif_server.h \ | ||
| 80 | examples/cmdif/lib/shbp/fsl_shbp.h ${D}/${datadir}/dpdk/cmdif/include | ||
| 81 | cp examples/cmdif/lib/${RTE_TARGET}/librte_cmdif.a ${D}/${datadir}/dpdk/cmdif/lib | ||
| 82 | install -d 0644 ${D}/${datadir}/dpdk/examples/ipsec_secgw | ||
| 83 | cp -r ${S}/examples/ipsec-secgw/*.cfg ${D}/${datadir}/dpdk/examples/ipsec_secgw | ||
| 84 | cp -rf ${S}/nxp/* ${D}/${datadir}/dpdk | ||
| 85 | cp -r ${S}/examples/cmdif/cmdif_demo/${DPDK_RTE_TARGET}/cmdif_demo ${D}/${datadir}/dpdk/examples | ||
| 86 | cp -r ${S}/examples/vhost/vhost-switch ${D}/${datadir}/dpdk/examples | ||
| 87 | for APP in l2fwd l3fwd l2fwd-qdma l2fwd-crypto ipsec-secgw kni ip_fragmentation ip_reassembly; do | ||
| 88 | cp -r ${S}/examples/${APP}/${APP} ${D}/${datadir}/dpdk/examples | ||
| 89 | done | ||
| 90 | } | ||
| 91 | |||
| 92 | PACKAGES += "${PN}-examples" | ||
| 93 | |||
| 94 | FILES:${PN}-dbg += " \ | ||
| 95 | ${datadir}/dpdk/.debug \ | ||
| 96 | ${datadir}/dpdk/examples/*/.debug \ | ||
| 97 | " | ||
| 98 | FILES:${PN}-staticdev += "${datadir}/dpdk/cmdif/lib/*.a \ | ||
| 99 | " | ||
| 100 | FILES:${PN}-dev += " \ | ||
| 101 | ${datadir}/dpdk/${RTE_TARGET}/.config \ | ||
| 102 | ${includedir} \ | ||
| 103 | ${includedir}/exec-env \ | ||
| 104 | ${datadir}/dpdk/buildtools/ \ | ||
| 105 | ${datadir}/dpdk/${RTE_TARGET}/include \ | ||
| 106 | ${datadir}/dpdk/${RTE_TARGET}/lib \ | ||
| 107 | ${datadir}/dpdk/mk \ | ||
| 108 | " | ||
| 109 | |||
| 110 | FILES:${PN} += " ${datadir}/ \ | ||
| 111 | ${prefix}/sbin/ \ | ||
| 112 | ${prefix}/bin/ \ | ||
| 113 | ${libdir}/ \ | ||
| 114 | " | ||
| 115 | FILES:${PN}-examples += " \ | ||
| 116 | ${datadir}/examples/* \ | ||
| 117 | " | ||
| 118 | |||
| 119 | TOOLCHAIN = "gcc" | ||
| 120 | |||
diff --git a/recipes-extended/dpdk/dpdk/0001-Add-RTE_KERNELDIR_OUT.patch b/recipes-extended/dpdk/dpdk/0001-Add-RTE_KERNELDIR_OUT.patch deleted file mode 100644 index 383b9085c..000000000 --- a/recipes-extended/dpdk/dpdk/0001-Add-RTE_KERNELDIR_OUT.patch +++ /dev/null | |||
| @@ -1,27 +0,0 @@ | |||
| 1 | From 9c2b840a1c8ac0fbb638b5cd481909a3f832eed4 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Chunrong Guo <chunrong.guo@nxp.com> | ||
| 3 | Date: Wed, 3 Jul 2019 08:50:45 +0200 | ||
| 4 | Subject: [PATCH] Add RTE_KERNELDIR_OUT | ||
| 5 | |||
| 6 | Upstream-Status: Pending | ||
| 7 | Signed-off-by: C.r. Guo <nxa13725@lsv07004.swis.us-cdc01.nxp.com> | ||
| 8 | --- | ||
| 9 | kernel/linux/kni/Makefile | 2 +- | ||
| 10 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 11 | |||
| 12 | diff --git a/kernel/linux/kni/Makefile b/kernel/linux/kni/Makefile | ||
| 13 | index 595bac261..28a31f36a 100644 | ||
| 14 | --- a/kernel/linux/kni/Makefile | ||
| 15 | +++ b/kernel/linux/kni/Makefile | ||
| 16 | @@ -20,7 +20,7 @@ MODULE_CFLAGS += -Wall -Werror | ||
| 17 | |||
| 18 | ifeq ($(DISTRIB_ID),Ubuntu) | ||
| 19 | MODULE_CFLAGS += -DUBUNTU_RELEASE_CODE=$(subst .,,$(DISTRIB_RELEASE)) | ||
| 20 | -UBUNTU_KERNEL_CODE := $(shell echo `grep UTS_RELEASE $(RTE_KERNELDIR)/include/generated/utsrelease.h \ | ||
| 21 | +UBUNTU_KERNEL_CODE := $(shell echo `grep UTS_RELEASE $(RTE_KERNELDIR_OUT)/include/generated/utsrelease.h \ | ||
| 22 | | cut -d '"' -f2 | cut -d- -f1,2 | tr .- ,`,1) | ||
| 23 | MODULE_CFLAGS += -D"UBUNTU_KERNEL_CODE=UBUNTU_KERNEL_VERSION($(UBUNTU_KERNEL_CODE))" | ||
| 24 | endif | ||
| 25 | -- | ||
| 26 | 2.17.1 | ||
| 27 | |||
diff --git a/recipes-extended/dpdk/dpdk/0001-add-Wno-cast-function-type.patch b/recipes-extended/dpdk/dpdk/0001-add-Wno-cast-function-type.patch deleted file mode 100644 index b4b8a5488..000000000 --- a/recipes-extended/dpdk/dpdk/0001-add-Wno-cast-function-type.patch +++ /dev/null | |||
| @@ -1,27 +0,0 @@ | |||
| 1 | From 354c2d1570ddf83a99c4ac711c884644c6dd1cef Mon Sep 17 00:00:00 2001 | ||
| 2 | From: "C.r. Guo" <nxa13725@lsv07005.swis.us-cdc01.nxp.com> | ||
| 3 | Date: Wed, 27 Mar 2019 09:35:43 +0100 | ||
| 4 | Subject: [PATCH] add -Wno-cast-function-type | ||
| 5 | |||
| 6 | Upstream-Status: Inappropriate [configuration] | ||
| 7 | Signed-off-by: "C.r. Guo" <nxa13725@lsv07005.swis.us-cdc01.nxp.com> | ||
| 8 | --- | ||
| 9 | examples/cmdif/lib/Makefile | 2 +- | ||
| 10 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 11 | |||
| 12 | diff --git a/examples/cmdif/lib/Makefile b/examples/cmdif/lib/Makefile | ||
| 13 | index 235c3adbf..230f17b0a 100644 | ||
| 14 | --- a/examples/cmdif/lib/Makefile | ||
| 15 | +++ b/examples/cmdif/lib/Makefile | ||
| 16 | @@ -28,7 +28,7 @@ SRCS-y += server/cmdif_srv_gpp.c | ||
| 17 | SRCS-y += shbp/shbp.c | ||
| 18 | |||
| 19 | CFLAGS += -O3 | ||
| 20 | -CFLAGS += $(WERROR_FLAGS) | ||
| 21 | +CFLAGS += $(WERROR_FLAGS) -Wno-cast-function-type -Wno-missing-attributes | ||
| 22 | CFLAGS += -I$(RTE_SDK)/examples/cmdif/lib | ||
| 23 | CFLAGS += -I$(RTE_SDK)/examples/cmdif/lib/client | ||
| 24 | CFLAGS += -I$(RTE_SDK)/examples/cmdif/lib/server | ||
| 25 | -- | ||
| 26 | 2.17.1 | ||
| 27 | |||
diff --git a/recipes-extended/dpdk/dpdk/0001-examples-fix-Arm-build-with-GCC-12.patch b/recipes-extended/dpdk/dpdk/0001-examples-fix-Arm-build-with-GCC-12.patch deleted file mode 100644 index b73b3a967..000000000 --- a/recipes-extended/dpdk/dpdk/0001-examples-fix-Arm-build-with-GCC-12.patch +++ /dev/null | |||
| @@ -1,49 +0,0 @@ | |||
| 1 | From 229fc129be85a4d2d2c4efddae7bb97c3d87d416 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Mon, 13 Mar 2023 22:02:01 -0700 | ||
| 4 | Subject: [PATCH] examples: fix Arm build with GCC 12 | ||
| 5 | |||
| 6 | GCC-12 warns when a pointer of type union points to an array of same | ||
| 7 | defined size, as union internally gets paded with pad bytes. | ||
| 8 | |||
| 9 | ../examples/common/neon/port_group.h:42:21: error: array subscript | ||
| 10 | 'union <anonymous>[0]' is partly outside array bounds of | ||
| 11 | 'uint16_t[5]' {aka 'short unsigned int[5]'} | ||
| 12 | [-Werror=array-bounds] | ||
| 13 | 42 | pnum->u64 = gptbl[v].pnum; | ||
| 14 | | ^~ | ||
| 15 | ../examples/common/neon/port_group.h:21:23: note: object 'pn' of | ||
| 16 | size [0, 10] | ||
| 17 | 21 | port_groupx4(uint16_t pn[FWDSTEP + 1], uint16_t *lp, uint16x8_t dp1 | ||
| 18 | | ~~~~~~~~~^~~~~~~~~~~~~~~ | ||
| 19 | ../examples/common/neon/port_group.h:43:21: error: array subscript | ||
| 20 | 'union <anonymous>[0]' is partly outside array bounds of | ||
| 21 | 'uint16_t[5]' {aka 'short unsigned int[5]'} [-Werror=array-bounds] | ||
| 22 | 43 | pnum->u16[FWDSTEP] = 1; | ||
| 23 | | ^~ | ||
| 24 | |||
| 25 | Fixes: 732115ce38c6 ("examples/l3fwd: move packet group function in common") | ||
| 26 | |||
| 27 | Upstream-Status: Backport [https://github.com/DPDK/dpdk/commit/b269bd630e96b276a69d698e13ad9ebfbbb67512] | ||
| 28 | Signed-off-by: Amit Prakash Shukla <amitprakashs@marvell.com> | ||
| 29 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 30 | --- | ||
| 31 | examples/l3fwd/l3fwd_neon.h | 2 +- | ||
| 32 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 33 | |||
| 34 | diff --git a/examples/l3fwd/l3fwd_neon.h b/examples/l3fwd/l3fwd_neon.h | ||
| 35 | index 86ac5971d7..dc73e9fef7 100644 | ||
| 36 | --- a/examples/l3fwd/l3fwd_neon.h | ||
| 37 | +++ b/examples/l3fwd/l3fwd_neon.h | ||
| 38 | @@ -77,7 +77,7 @@ port_groupx4(uint16_t pn[FWDSTEP + 1], uint16_t *lp, uint16x8_t dp1, | ||
| 39 | union { | ||
| 40 | uint16_t u16[FWDSTEP + 1]; | ||
| 41 | uint64_t u64; | ||
| 42 | - } *pnum = (void *)pn; | ||
| 43 | + } __rte_packed *pnum = (void *)pn; | ||
| 44 | |||
| 45 | int32_t v; | ||
| 46 | uint16x8_t mask = {1, 2, 4, 8, 0, 0, 0, 0}; | ||
| 47 | -- | ||
| 48 | 2.39.2 | ||
| 49 | |||
diff --git a/recipes-extended/dpdk/dpdk/0005-use-python3-instead-of-python.patch b/recipes-extended/dpdk/dpdk/0005-use-python3-instead-of-python.patch deleted file mode 100644 index b1bdf09b4..000000000 --- a/recipes-extended/dpdk/dpdk/0005-use-python3-instead-of-python.patch +++ /dev/null | |||
| @@ -1,105 +0,0 @@ | |||
| 1 | Explicitly use python3 | ||
| 2 | |||
| 3 | Upstream-Status: Pending | ||
| 4 | Signed-off-by: Ting Liu <ting.liu@nxp.com> | ||
| 5 | |||
| 6 | diff --git a/app/test-bbdev/test-bbdev.py b/app/test-bbdev/test-bbdev.py | ||
| 7 | index 0194be046..86fe3a89d 100755 | ||
| 8 | --- a/app/test-bbdev/test-bbdev.py | ||
| 9 | +++ b/app/test-bbdev/test-bbdev.py | ||
| 10 | @@ -1,4 +1,4 @@ | ||
| 11 | -#!/usr/bin/env python | ||
| 12 | +#!/usr/bin/env python3 | ||
| 13 | |||
| 14 | # SPDX-License-Identifier: BSD-3-Clause | ||
| 15 | # Copyright(c) 2017 Intel Corporation | ||
| 16 | diff --git a/app/test-cmdline/cmdline_test.py b/app/test-cmdline/cmdline_test.py | ||
| 17 | index 3a8fac426..231fe6032 100755 | ||
| 18 | --- a/app/test-cmdline/cmdline_test.py | ||
| 19 | +++ b/app/test-cmdline/cmdline_test.py | ||
| 20 | @@ -1,4 +1,4 @@ | ||
| 21 | -#!/usr/bin/env python | ||
| 22 | +#!/usr/bin/env python3 | ||
| 23 | # SPDX-License-Identifier: BSD-3-Clause | ||
| 24 | # Copyright(c) 2010-2014 Intel Corporation | ||
| 25 | |||
| 26 | diff --git a/app/test/autotest.py b/app/test/autotest.py | ||
| 27 | index b42f48879..30541d102 100644 | ||
| 28 | --- a/app/test/autotest.py | ||
| 29 | +++ b/app/test/autotest.py | ||
| 30 | @@ -1,4 +1,4 @@ | ||
| 31 | -#!/usr/bin/env python | ||
| 32 | +#!/usr/bin/env python3 | ||
| 33 | # SPDX-License-Identifier: BSD-3-Clause | ||
| 34 | # Copyright(c) 2010-2014 Intel Corporation | ||
| 35 | |||
| 36 | diff --git a/buildtools/map_to_def.py b/buildtools/map_to_def.py | ||
| 37 | index 6775b54a9..ff67f0a35 100644 | ||
| 38 | --- a/buildtools/map_to_def.py | ||
| 39 | +++ b/buildtools/map_to_def.py | ||
| 40 | @@ -1,4 +1,4 @@ | ||
| 41 | -#!/usr/bin/env python | ||
| 42 | +#!/usr/bin/env python3 | ||
| 43 | # SPDX-License-Identifier: BSD-3-Clause | ||
| 44 | # Copyright(c) 2019 Intel Corporation | ||
| 45 | |||
| 46 | diff --git a/config/arm/armv8_machine.py b/config/arm/armv8_machine.py | ||
| 47 | index 404866d2f..1f689d9a8 100755 | ||
| 48 | --- a/config/arm/armv8_machine.py | ||
| 49 | +++ b/config/arm/armv8_machine.py | ||
| 50 | @@ -1,4 +1,4 @@ | ||
| 51 | -#!/usr/bin/python | ||
| 52 | +#!/usr/bin/env python3 | ||
| 53 | # SPDX-License-Identifier: BSD-3-Clause | ||
| 54 | # Copyright(c) 2017 Cavium, Inc | ||
| 55 | |||
| 56 | diff --git a/devtools/update_version_map_abi.py b/devtools/update_version_map_abi.py | ||
| 57 | index 616412a1c..3244b0984 100755 | ||
| 58 | --- a/devtools/update_version_map_abi.py | ||
| 59 | +++ b/devtools/update_version_map_abi.py | ||
| 60 | @@ -1,4 +1,4 @@ | ||
| 61 | -#!/usr/bin/env python | ||
| 62 | +#!/usr/bin/env python3 | ||
| 63 | # SPDX-License-Identifier: BSD-3-Clause | ||
| 64 | # Copyright(c) 2019 Intel Corporation | ||
| 65 | |||
| 66 | diff --git a/usertools/cpu_layout.py b/usertools/cpu_layout.py | ||
| 67 | index 6f129b1db..e86bf6b92 100755 | ||
| 68 | --- a/usertools/cpu_layout.py | ||
| 69 | +++ b/usertools/cpu_layout.py | ||
| 70 | @@ -1,4 +1,4 @@ | ||
| 71 | -#!/usr/bin/env python | ||
| 72 | +#!/usr/bin/env python3 | ||
| 73 | # SPDX-License-Identifier: BSD-3-Clause | ||
| 74 | # Copyright(c) 2010-2014 Intel Corporation | ||
| 75 | # Copyright(c) 2017 Cavium, Inc. All rights reserved. | ||
| 76 | diff --git a/usertools/dpdk-devbind.py b/usertools/dpdk-devbind.py | ||
| 77 | index b1d149876..3f8175338 100755 | ||
| 78 | --- a/usertools/dpdk-devbind.py | ||
| 79 | +++ b/usertools/dpdk-devbind.py | ||
| 80 | @@ -1,4 +1,4 @@ | ||
| 81 | -#! /usr/bin/env python | ||
| 82 | +#!/usr/bin/env python3 | ||
| 83 | # SPDX-License-Identifier: BSD-3-Clause | ||
| 84 | # Copyright(c) 2010-2014 Intel Corporation | ||
| 85 | # | ||
| 86 | diff --git a/usertools/dpdk-pmdinfo.py b/usertools/dpdk-pmdinfo.py | ||
| 87 | index 069a3bf12..1d5c99c2a 100755 | ||
| 88 | --- a/usertools/dpdk-pmdinfo.py | ||
| 89 | +++ b/usertools/dpdk-pmdinfo.py | ||
| 90 | @@ -1,4 +1,4 @@ | ||
| 91 | -#!/usr/bin/env python | ||
| 92 | +#!/usr/bin/env python3 | ||
| 93 | # SPDX-License-Identifier: BSD-3-Clause | ||
| 94 | # Copyright(c) 2016 Neil Horman <nhorman@tuxdriver.com> | ||
| 95 | |||
| 96 | diff --git a/usertools/dpdk-telemetry-client.py b/usertools/dpdk-telemetry-client.py | ||
| 97 | index 290345dcc..279067450 100755 | ||
| 98 | --- a/usertools/dpdk-telemetry-client.py | ||
| 99 | +++ b/usertools/dpdk-telemetry-client.py | ||
| 100 | @@ -1,4 +1,4 @@ | ||
| 101 | -#! /usr/bin/env python | ||
| 102 | +#!/usr/bin/env python3 | ||
| 103 | # SPDX-License-Identifier: BSD-3-Clause | ||
| 104 | # Copyright(c) 2018 Intel Corporation | ||
| 105 | |||
diff --git a/recipes-extended/dpdk/dpdk/add-RTE_KERNELDIR_OUT-to-split-kernel-bu.patch b/recipes-extended/dpdk/dpdk/add-RTE_KERNELDIR_OUT-to-split-kernel-bu.patch deleted file mode 100644 index 4657f070d..000000000 --- a/recipes-extended/dpdk/dpdk/add-RTE_KERNELDIR_OUT-to-split-kernel-bu.patch +++ /dev/null | |||
| @@ -1,51 +0,0 @@ | |||
| 1 | From 6c8d348190a8cf6c35111913cbf117ca98137e84 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Rahul Kumar Gupta <rahul.kumarxx.gupta@intel.com> | ||
| 3 | Date: Fri, 18 Dec 2015 18:30:47 +0800 | ||
| 4 | Subject: [PATCH] dpdk v2.2.0: add RTE_KERNELDIR_OUT to split kernel build | ||
| 5 | artifact | ||
| 6 | |||
| 7 | Introduce RTE_KERNELDIR_OUT to be the path to which kernel build | ||
| 8 | artifacts are located. This is for matching the workflow change | ||
| 9 | since Yocto Project v1.8 onwards whereby tmp/work-shared contains | ||
| 10 | separate directories for kernel source and kernel artifacts. | ||
| 11 | |||
| 12 | Upstream-Status: Inappropriate [configuration] | ||
| 13 | |||
| 14 | Signed-off-by: Rahul Kumar Gupta <rahul.kumarxx.gupta@intel.com> | ||
| 15 | --- | ||
| 16 | mk/rte.module.mk | 6 +++--- | ||
| 17 | 1 file changed, 3 insertions(+), 3 deletions(-) | ||
| 18 | |||
| 19 | diff --git a/mk/rte.module.mk b/mk/rte.module.mk | ||
| 20 | index 53ed4fe..b7a014b 100644 | ||
| 21 | --- a/mk/rte.module.mk | ||
| 22 | +++ b/mk/rte.module.mk | ||
| 23 | @@ -77,7 +77,7 @@ build: _postbuild | ||
| 24 | # build module | ||
| 25 | $(MODULE).ko: $(SRCS_LINKS) | ||
| 26 | @if [ ! -f $(notdir Makefile) ]; then ln -nfs $(SRCDIR)/Makefile . ; fi | ||
| 27 | - @$(MAKE) -C $(RTE_KERNELDIR) M=$(CURDIR) O=$(RTE_KERNELDIR) \ | ||
| 28 | + @$(MAKE) -C $(RTE_KERNELDIR) M=$(CURDIR) O=$(RTE_KERNELDIR_OUT) \ | ||
| 29 | CC="$(KERNELCC)" CROSS_COMPILE=$(CROSS) V=$(if $V,1,0) | ||
| 30 | |||
| 31 | # install module in $(RTE_OUTPUT)/kmod | ||
| 32 | @@ -88,7 +88,7 @@ $(RTE_OUTPUT)/kmod/$(MODULE).ko: $(MODULE).ko | ||
| 33 | |||
| 34 | # install module | ||
| 35 | modules_install: | ||
| 36 | - @$(MAKE) -C $(RTE_KERNELDIR) M=$(CURDIR) O=$(RTE_KERNELDIR) \ | ||
| 37 | + @$(MAKE) -C $(RTE_KERNELDIR) M=$(CURDIR) O=$(RTE_KERNELDIR_OUT) \ | ||
| 38 | modules_install | ||
| 39 | |||
| 40 | .PHONY: clean | ||
| 41 | @@ -98,7 +98,7 @@ clean: _postclean | ||
| 42 | .PHONY: doclean | ||
| 43 | doclean: | ||
| 44 | @if [ ! -f $(notdir Makefile) ]; then ln -nfs $(SRCDIR)/Makefile . ; fi | ||
| 45 | - $(Q)$(MAKE) -C $(RTE_KERNELDIR) M=$(CURDIR) O=$(RTE_KERNELDIR) clean | ||
| 46 | + $(Q)$(MAKE) -C $(RTE_KERNELDIR) M=$(CURDIR) O=$(RTE_KERNELDIR_OUT) clean | ||
| 47 | @$(foreach FILE,$(SRCS-y) $(SRCS-n) $(SRCS-),\ | ||
| 48 | if [ -h $(notdir $(FILE)) ]; then rm -f $(notdir $(FILE)) ; fi ;) | ||
| 49 | @if [ -h $(notdir Makefile) ]; then rm -f $(notdir Makefile) ; fi | ||
| 50 | -- | ||
| 51 | 1.9.1 | ||
diff --git a/recipes-extended/dpdk/dpdk_19.11-20.12.bb b/recipes-extended/dpdk/dpdk_19.11-20.12.bb deleted file mode 100644 index b14d4fbf8..000000000 --- a/recipes-extended/dpdk/dpdk_19.11-20.12.bb +++ /dev/null | |||
| @@ -1,21 +0,0 @@ | |||
| 1 | LICENSE = "BSD-3-Clause & LGPL-2.1-only & GPL-2.0-only" | ||
| 2 | LIC_FILES_CHKSUM = "file://license/gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ | ||
| 3 | file://license/lgpl-2.1.txt;md5=4b54a1fd55a448865a0b32d41598759d \ | ||
| 4 | file://license/bsd-3-clause.txt;md5=0f00d99239d922ffd13cabef83b33444" | ||
| 5 | |||
| 6 | SRC_URI = "git://github.com/nxp-qoriq/dpdk;protocol=https;nobranch=1 \ | ||
| 7 | file://add-RTE_KERNELDIR_OUT-to-split-kernel-bu.patch \ | ||
| 8 | file://0001-add-Wno-cast-function-type.patch \ | ||
| 9 | file://0001-Add-RTE_KERNELDIR_OUT.patch \ | ||
| 10 | file://0005-use-python3-instead-of-python.patch \ | ||
| 11 | file://0001-examples-fix-Arm-build-with-GCC-12.patch \ | ||
| 12 | " | ||
| 13 | SRCREV = "7071c27f6f5aefb57de1cffab3484707b1e82e2b" | ||
| 14 | |||
| 15 | include dpdk.inc | ||
| 16 | |||
| 17 | do_install:append () { | ||
| 18 | # Remove the unneeded dir | ||
| 19 | rm -rf ${D}/${datadir}/${RTE_TARGET}/app | ||
| 20 | } | ||
| 21 | |||
diff --git a/recipes-extended/dpdk/dpdk_20.11.bb b/recipes-extended/dpdk/dpdk_20.11.bb deleted file mode 100644 index 2d27adc54..000000000 --- a/recipes-extended/dpdk/dpdk_20.11.bb +++ /dev/null | |||
| @@ -1,93 +0,0 @@ | |||
| 1 | include dpdk-20.11.inc | ||
| 2 | |||
| 3 | SRC_URI += " \ | ||
| 4 | file://0001-meson.build-march-and-mcpu-already-passed-by-Yocto.patch \ | ||
| 5 | file://0001-ifpga-meson-Fix-finding-librt-using-find_library.patch \ | ||
| 6 | file://0001-drivers-net-enetfec-enet_uio.c-fix-multiple-definiti.patch \ | ||
| 7 | " | ||
| 8 | |||
| 9 | MESON_BUILDTYPE = "release" | ||
| 10 | |||
| 11 | # kernel module is provide by dpdk-module recipe, so disable here | ||
| 12 | EXTRA_OEMESON = " -Denable_kmods=false \ | ||
| 13 | -Dexamples=all \ | ||
| 14 | -Doptimization=3 \ | ||
| 15 | " | ||
| 16 | |||
| 17 | PACKAGECONFIG ??= "openssl" | ||
| 18 | PACKAGECONFIG[afxdp] = ",,libbpf" | ||
| 19 | PACKAGECONFIG[libvirt] = ",,libvirt" | ||
| 20 | PACKAGECONFIG[openssl] = ",,openssl" | ||
| 21 | |||
| 22 | RDEPENDS:${PN} += "bash pciutils python3-core" | ||
| 23 | RDEPENDS:${PN}-examples += "bash" | ||
| 24 | DEPENDS = "numactl" | ||
| 25 | |||
| 26 | inherit meson | ||
| 27 | |||
| 28 | INSTALL_PATH = "${prefix}/share/dpdk" | ||
| 29 | |||
| 30 | do_configure:prepend() { | ||
| 31 | sed -i "/implementor_/d" ${WORKDIR}/meson.cross | ||
| 32 | sed -i "/\[properties]/aimplementor_id = 'dpaa'" ${WORKDIR}/meson.cross | ||
| 33 | sed -i "/\[properties]/aimplementor_pn = 'default'" ${WORKDIR}/meson.cross | ||
| 34 | sed -i "s/cpu =.*/cpu = 'armv8-a'/" ${WORKDIR}/meson.cross | ||
| 35 | } | ||
| 36 | |||
| 37 | do_install:append(){ | ||
| 38 | # remove source files | ||
| 39 | rm -rf ${D}/${INSTALL_PATH}/examples/* | ||
| 40 | |||
| 41 | # Install examples | ||
| 42 | install -m 0755 -d ${D}/${INSTALL_PATH}/examples/ | ||
| 43 | for dirname in ${B}/examples/dpdk-* | ||
| 44 | do | ||
| 45 | if [ ! -d ${dirname} ] && [ -x ${dirname} ]; then | ||
| 46 | install -m 0755 ${dirname} ${D}/${INSTALL_PATH}/examples/ | ||
| 47 | fi | ||
| 48 | done | ||
| 49 | cp -rf ${S}/nxp/* ${D}/${INSTALL_PATH}/ | ||
| 50 | } | ||
| 51 | |||
| 52 | PACKAGES =+ "${PN}-tools ${PN}-examples ${PN}-misc" | ||
| 53 | |||
| 54 | FILES:${PN}-tools = " \ | ||
| 55 | ${bindir}/dpdk-testpmd \ | ||
| 56 | ${INSTALL_PATH}/examples/dpdk-l2fwd \ | ||
| 57 | ${INSTALL_PATH}/examples/dpdk-l2fwd-crypto \ | ||
| 58 | ${INSTALL_PATH}/examples/dpdk-l3fwd \ | ||
| 59 | ${INSTALL_PATH}/examples/dpdk-ipsec-secgw \ | ||
| 60 | " | ||
| 61 | |||
| 62 | FILES:${PN}-examples = " \ | ||
| 63 | ${bindir}/dpdk-proc-info \ | ||
| 64 | ${bindir}/dpdk-test \ | ||
| 65 | ${bindir}/dpdk-test-crypto-perf \ | ||
| 66 | ${bindir}/dpdk-*.py \ | ||
| 67 | ${INSTALL_PATH}/examples/dpdk-cmdif \ | ||
| 68 | ${INSTALL_PATH}/examples/dpdk-cmdline \ | ||
| 69 | ${INSTALL_PATH}/examples/dpdk-ethtool \ | ||
| 70 | ${INSTALL_PATH}/examples/dpdk-ip_fragmentation \ | ||
| 71 | ${INSTALL_PATH}/examples/dpdk-ip_reassembly \ | ||
| 72 | ${INSTALL_PATH}/examples/dpdk-kni \ | ||
| 73 | ${INSTALL_PATH}/examples/dpdk-l2fwd-keepalive \ | ||
| 74 | ${INSTALL_PATH}/examples/dpdk-l2fwd-qdma \ | ||
| 75 | ${INSTALL_PATH}/examples/dpdk-l3fwd-acl \ | ||
| 76 | ${INSTALL_PATH}/examples/dpdk-link_status_interrupt \ | ||
| 77 | ${INSTALL_PATH}/examples/dpdk-mp_client \ | ||
| 78 | ${INSTALL_PATH}/examples/dpdk-mp_server \ | ||
| 79 | ${INSTALL_PATH}/examples/dpdk-qdma_demo \ | ||
| 80 | ${INSTALL_PATH}/examples/dpdk-simple_mp \ | ||
| 81 | ${INSTALL_PATH}/examples/dpdk-symmetric_mp \ | ||
| 82 | ${INSTALL_PATH}/examples/dpdk-symmetric_mp_qdma \ | ||
| 83 | ${INSTALL_PATH}/examples/dpdk-timer \ | ||
| 84 | " | ||
| 85 | |||
| 86 | FILES:${PN}-misc = " \ | ||
| 87 | ${bindir}/dpdk-pdump \ | ||
| 88 | ${bindir}/dpdk-test-* \ | ||
| 89 | ${bindir}/dpdk-*.py \ | ||
| 90 | ${INSTALL_PATH}/examples/* \ | ||
| 91 | " | ||
| 92 | |||
| 93 | INSANE_SKIP:${PN} = "dev-so" | ||
diff --git a/recipes-extended/dpdk/dpdk_22.11.bb b/recipes-extended/dpdk/dpdk_22.11.bb new file mode 100644 index 000000000..727106e49 --- /dev/null +++ b/recipes-extended/dpdk/dpdk_22.11.bb | |||
| @@ -0,0 +1,48 @@ | |||
| 1 | DESCRIPTION = "Data Plane Development Kit" | ||
| 2 | HOMEPAGE = "http://dpdk.org" | ||
| 3 | LICENSE = "BSD-3-Clause & LGPL-2.1-only & GPL-2.0-only" | ||
| 4 | LIC_FILES_CHKSUM = "file://license/gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ | ||
| 5 | file://license/lgpl-2.1.txt;md5=4b54a1fd55a448865a0b32d41598759d \ | ||
| 6 | file://license/bsd-3-clause.txt;md5=0f00d99239d922ffd13cabef83b33444" | ||
| 7 | |||
| 8 | DEPENDS = "python3-pyelftools-native" | ||
| 9 | |||
| 10 | DPDK_SRC ?= "git://github.com/nxp-qoriq/dpdk;protocol=https" | ||
| 11 | SRC_URI = "${DPDK_SRC};nobranch=1 \ | ||
| 12 | file://0001-meson.build-march-and-mcpu-already-passed-by-Yocto.patch" | ||
| 13 | SRCREV = "e09ece7ebcda131ee3d5a45999ad3396ee2092ae" | ||
| 14 | |||
| 15 | inherit meson pkgconfig | ||
| 16 | |||
| 17 | PACKAGECONFIG ??= "openssl examples" | ||
| 18 | |||
| 19 | PACKAGECONFIG[afxdp] = ",,libbpf" | ||
| 20 | PACKAGECONFIG[examples] = "-Denable_examples_bin_install=true -Dexamples=${DPDK_EXAMPLES},-Denable_examples_bin_install=false" | ||
| 21 | PACKAGECONFIG[libvirt] = ",,libvirt" | ||
| 22 | PACKAGECONFIG[openssl] = ",,openssl" | ||
| 23 | |||
| 24 | DPDK_EXAMPLES ?= "l2fwd,l3fwd,l2fwd-crypto,ipsec-secgw,ip_fragmentation,ip_reassembly,qdma_demo,timer,multi_process/simple_mp" | ||
| 25 | DPDK_APPS ?= "pdump,test-pmd,proc-info,test-crypto-perf" | ||
| 26 | |||
| 27 | # kernel module is provide by dpdk-module recipe, so disable here | ||
| 28 | EXTRA_OEMESON = " \ | ||
| 29 | -Denable_kmods=false \ | ||
| 30 | -Doptimization=3 \ | ||
| 31 | --cross-file ${S}/config/arm/arm64_poky_linux_gcc \ | ||
| 32 | -Denable_driver_sdk=true \ | ||
| 33 | ${@bb.utils.contains('DISTRO_FEATURES', 'vpp', '-Dc_args="-Ofast -fPIC -ftls-model=local-dynamic"', '', d)} \ | ||
| 34 | -Denable_examples_source_install=false \ | ||
| 35 | -Ddrivers_install_subdir= \ | ||
| 36 | -Denable_apps=${DPDK_APPS} \ | ||
| 37 | " | ||
| 38 | |||
| 39 | do_install:append(){ | ||
| 40 | install -d ${D}/${sysconfdir}/dpdk | ||
| 41 | cp -rf ${S}/nxp/* ${D}/${sysconfdir}/dpdk | ||
| 42 | } | ||
| 43 | |||
| 44 | RDEPENDS:${PN} += "bash pciutils python3-core python3-pyelftools" | ||
| 45 | |||
| 46 | COMPATIBLE_MACHINE = "(qoriq-arm64)" | ||
| 47 | |||
| 48 | CVE_PRODUCT = "data_plane_development_kit" | ||
diff --git a/recipes-extended/dpdk/dpdk-20.11/0001-meson.build-march-and-mcpu-already-passed-by-Yocto.patch b/recipes-extended/dpdk/files/0001-meson.build-march-and-mcpu-already-passed-by-Yocto.patch index bef1f45b5..fed893a08 100644 --- a/recipes-extended/dpdk/dpdk-20.11/0001-meson.build-march-and-mcpu-already-passed-by-Yocto.patch +++ b/recipes-extended/dpdk/files/0001-meson.build-march-and-mcpu-already-passed-by-Yocto.patch | |||
| @@ -14,21 +14,21 @@ diff --git a/config/meson.build b/config/meson.build | |||
| 14 | index 2f150de3b8..41bb3e9ec4 100644 | 14 | index 2f150de3b8..41bb3e9ec4 100644 |
| 15 | --- a/config/meson.build | 15 | --- a/config/meson.build |
| 16 | +++ b/config/meson.build | 16 | +++ b/config/meson.build |
| 17 | @@ -94,12 +94,12 @@ dpdk_conf.set('RTE_MACHINE', machine) | 17 | @@ -127,12 +127,12 @@ dpdk_conf.set('RTE_MACHINE', cpu_instruction_set) |
| 18 | machine_args = [] | 18 | machine_args = [] |
| 19 | 19 | ||
| 20 | # ppc64 does not support -march= at all, use -mcpu and -mtune for that | 20 | # ppc64 does not support -march= at all, use -mcpu and -mtune for that |
| 21 | -if host_machine.cpu_family().startswith('ppc') | 21 | -if host_machine.cpu_family().startswith('ppc') |
| 22 | - machine_args += '-mcpu=' + machine | 22 | - machine_args += '-mcpu=' + cpu_instruction_set |
| 23 | - machine_args += '-mtune=' + machine | 23 | - machine_args += '-mtune=' + cpu_instruction_set |
| 24 | -else | 24 | -else |
| 25 | - machine_args += '-march=' + machine | 25 | - machine_args += '-march=' + cpu_instruction_set |
| 26 | -endif | 26 | -endif |
| 27 | +#if host_machine.cpu_family().startswith('ppc') | 27 | +#if host_machine.cpu_family().startswith('ppc') |
| 28 | +# machine_args += '-mcpu=' + machine | 28 | +# machine_args += '-mcpu=' + cpu_instruction_set |
| 29 | +# machine_args += '-mtune=' + machine | 29 | +# machine_args += '-mtune=' + cpu_instruction_set |
| 30 | +#else | 30 | +#else |
| 31 | +# machine_args += '-march=' + machine | 31 | +# machine_args += '-march=' + cpu_instruction_set |
| 32 | +#endif | 32 | +#endif |
| 33 | 33 | ||
| 34 | toolchain = cc.get_id() | 34 | toolchain = cc.get_id() |
diff --git a/recipes-extended/ovs-dpdk/ovs-dpdk_2.15.bb b/recipes-extended/ovs-dpdk/ovs-dpdk_2.15.bb deleted file mode 100644 index a21bc69cf..000000000 --- a/recipes-extended/ovs-dpdk/ovs-dpdk_2.15.bb +++ /dev/null | |||
| @@ -1,34 +0,0 @@ | |||
| 1 | DESCRIPTION = "OVS DPDK" | ||
| 2 | LICENSE = "BSD" | ||
| 3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=1ce5d23a6429dff345518758f13aaeab" | ||
| 4 | |||
| 5 | DEPENDS = "dpdk python3-six-native coreutils-native autoconf-native automake-native" | ||
| 6 | RDEPENDS:${PN} = "bash libcrypto libssl python3" | ||
| 7 | |||
| 8 | inherit python3native pkgconfig | ||
| 9 | |||
| 10 | SRC_URI = "git://github.com/nxp-qoriq/ovs-dpdk;protocol=https;nobranch=1" | ||
| 11 | SRCREV = "f2c0744d2f68c4cd2840d6e409d7b0520e4caf99" | ||
| 12 | |||
| 13 | do_configure() { | ||
| 14 | export SYSROOT_DPDK=${PKG_CONFIG_SYSROOT_DIR} | ||
| 15 | ${S}/boot.sh | ||
| 16 | ${S}/configure --host aarch64-fsl-linux --with-dpdk=static --with-openssl=${SYSROOT_DPDK}/usr CFLAGS="-g -Wno-cast-align -Ofast" | ||
| 17 | } | ||
| 18 | |||
| 19 | do_install:append() { | ||
| 20 | install -d ${D}${bindir}/ovs-dpdk | ||
| 21 | cp -rf ${S}/ovsdb/ovsdb-tool ${D}${bindir}/ovs-dpdk | ||
| 22 | cp -rf ${S}/ovsdb/ovsdb-server ${D}${bindir}/ovs-dpdk | ||
| 23 | cp -rf ${S}/ovsdb/ovsdb-client ${D}${bindir}/ovs-dpdk | ||
| 24 | cp -rf ${S}/vswitchd/vswitch.ovsschema ${D}${bindir}/ovs-dpdk | ||
| 25 | cp -rf ${S}/vswitchd/ovs-vswitchd ${D}${bindir}/ovs-dpdk | ||
| 26 | cp -rf ${S}/utilities/ovs-vsctl ${D}${bindir}/ovs-dpdk | ||
| 27 | cp -rf ${S}/utilities/ovs-ofctl ${D}${bindir}/ovs-dpdk | ||
| 28 | chmod 777 -R ${D}${bindir}/ovs-dpdk/* | ||
| 29 | } | ||
| 30 | |||
| 31 | ALLOW_EMPTY:${PN} = "1" | ||
| 32 | INHIBIT_PACKAGE_STRIP = "1" | ||
| 33 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
| 34 | COMPATIBLE_MACHINE = "(qoriq-arm64)" | ||
diff --git a/recipes-extended/ovs-dpdk/ovs-dpdk_3.1.bb b/recipes-extended/ovs-dpdk/ovs-dpdk_3.1.bb new file mode 100644 index 000000000..5f235b4cf --- /dev/null +++ b/recipes-extended/ovs-dpdk/ovs-dpdk_3.1.bb | |||
| @@ -0,0 +1,36 @@ | |||
| 1 | DESCRIPTION = "Open Virtual switch based on DPDK" | ||
| 2 | LICENSE = "Apache-2.0" | ||
| 3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=1ce5d23a6429dff345518758f13aaeab" | ||
| 4 | |||
| 5 | DEPENDS = "dpdk python3-six-native coreutils-native autoconf-native automake-native" | ||
| 6 | RDEPENDS:${PN} = "bash libcrypto libssl python3" | ||
| 7 | |||
| 8 | inherit python3native pkgconfig | ||
| 9 | |||
| 10 | SRC_URI = "git://github.com/nxp-qoriq/ovs-dpdk;protocol=https;nobranch=1" | ||
| 11 | SRCREV = "7b4861e1f77bbea5ff9952717b66362fdecbca4d" | ||
| 12 | |||
| 13 | do_configure() { | ||
| 14 | export SYSROOT_DPDK=${PKG_CONFIG_SYSROOT_DIR} | ||
| 15 | ${S}/boot.sh | ||
| 16 | ${S}/configure --host aarch64-fsl-linux --with-dpdk=static --with-openssl=${SYSROOT_DPDK}/usr CFLAGS="-g -Wno-cast-align -Ofast" | ||
| 17 | } | ||
| 18 | |||
| 19 | do_install:append() { | ||
| 20 | install -d ${D}${bindir}/ovs-dpdk | ||
| 21 | install -m 0755 ${S}/ovsdb/ovsdb-tool ${D}${bindir}/ovs-dpdk | ||
| 22 | install -m 0755 ${S}/ovsdb/ovsdb-server ${D}${bindir}/ovs-dpdk | ||
| 23 | install -m 0755 ${S}/ovsdb/ovsdb-client ${D}${bindir}/ovs-dpdk | ||
| 24 | install -m 0755 ${S}/vswitchd/vswitch.ovsschema ${D}${bindir}/ovs-dpdk | ||
| 25 | install -m 0755 ${S}/vswitchd/ovs-vswitchd ${D}${bindir}/ovs-dpdk | ||
| 26 | install -m 0755 ${S}/utilities/ovs-vsctl ${D}${bindir}/ovs-dpdk | ||
| 27 | install -m 0755 ${S}/utilities/ovs-ofctl ${D}${bindir}/ovs-dpdk | ||
| 28 | } | ||
| 29 | |||
| 30 | INSANE_SKIP:${PN}-dbg += " buildpaths" | ||
| 31 | INSANE_SKIP:${PN} += " buildpaths" | ||
| 32 | |||
| 33 | ALLOW_EMPTY:${PN} = "1" | ||
| 34 | INHIBIT_PACKAGE_STRIP = "1" | ||
| 35 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
| 36 | COMPATIBLE_MACHINE = "(qoriq-arm64)" | ||
diff --git a/recipes-fsl/mcore-demos/README b/recipes-fsl/mcore-demos/README index 389e46bba..25013f996 100644 --- a/recipes-fsl/mcore-demos/README +++ b/recipes-fsl/mcore-demos/README | |||
| @@ -1,13 +1,15 @@ | |||
| 1 | The M4 demo app version of each SoCs are followed: | 1 | The M4 demo app version of each SoCs are followed: |
| 2 | * 2.16.000 -- i.MX 7ULP | 2 | * 2.16.000 -- i.MX 7ULP |
| 3 | * 25.03.00 -- i.MX 8MQ, 8MM | 3 | * 25.09.00 -- i.MX 8MQ, 8MM |
| 4 | * 2.9.0 -- i.MX 8DXL, 8QM, 8QXP | 4 | * 2.9.0 -- i.MX 8DXL, 8QM, 8QXP |
| 5 | * 1.0.1 -- i.MX 7D | 5 | * 1.0.1 -- i.MX 7D |
| 6 | 6 | ||
| 7 | The M7 demo app version of each SoCs are followed: | 7 | The M7 demo app version of each SoCs are followed: |
| 8 | * 25.03.00 -- i.MX 8MP , 8MNULite, 8MN | 8 | * 25.09.00 -- i.MX 8MP , 8MNULite, 8MN |
| 9 | * 25.06.00 -- i.MX95 | 9 | * 25.12.00 -- i.MX95 |
| 10 | 10 | ||
| 11 | The M33 demo app version of each SoCs are followed: | 11 | The M33 demo app version of each SoCs are followed: |
| 12 | * 25.03.00 -- i.MX 8ULP | 12 | * 25.12.00 -- i.MX 8ULP, 93 |
| 13 | * 25.06.00 -- i.MX 93 | 13 | |
| 14 | The MCore demo app version of each SoCs are followed: | ||
| 15 | * 25.12.00 -- i.MX 943 | ||
diff --git a/recipes-fsl/mcore-demos/imx-m33-demos_25.03.00.bb b/recipes-fsl/mcore-demos/imx-m33-demos_25.03.00.bb deleted file mode 100644 index 3f4bdf04e..000000000 --- a/recipes-fsl/mcore-demos/imx-m33-demos_25.03.00.bb +++ /dev/null | |||
| @@ -1,11 +0,0 @@ | |||
| 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 | |||
diff --git a/recipes-fsl/mcore-demos/imx-m33-demos_25.06.00.bb b/recipes-fsl/mcore-demos/imx-m33-demos_25.06.00.bb deleted file mode 100644 index 75add4585..000000000 --- a/recipes-fsl/mcore-demos/imx-m33-demos_25.06.00.bb +++ /dev/null | |||
| @@ -1,11 +0,0 @@ | |||
| 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 | |||
diff --git a/recipes-fsl/mcore-demos/imx-m33-demos_25.12.00.bb b/recipes-fsl/mcore-demos/imx-m33-demos_25.12.00.bb new file mode 100644 index 000000000..4cf087859 --- /dev/null +++ b/recipes-fsl/mcore-demos/imx-m33-demos_25.12.00.bb | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | # Copyright 2023-2026 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=bc649096ad3928ec06a8713b8d787eac" | ||
| 7 | |||
| 8 | LIC_FILES_CHKSUM:mx93-nxp-bsp = "file://COPYING;md5=bc649096ad3928ec06a8713b8d787eac" | ||
| 9 | |||
| 10 | SRC_URI[imx8ulp.sha256sum] = "115905810d24887cf14ed081b4f52c2ca846d94ee5ba6bf459790d3151af78d2" | ||
| 11 | |||
| 12 | SRC_URI[imx93.sha256sum] = "fbaf3baa6916757747696ba90a23d515ee10215b19a03e9feb5d6b16cc4d6a4f" | ||
| 13 | |||
| 14 | COMPATIBLE_MACHINE = "(mx8ulp-nxp-bsp|mx93-nxp-bsp)" | ||
| 15 | |||
diff --git a/recipes-fsl/mcore-demos/imx-m4-demos_25.03.00.bb b/recipes-fsl/mcore-demos/imx-m4-demos_25.03.00.bb deleted file mode 100644 index 7c59ccfba..000000000 --- a/recipes-fsl/mcore-demos/imx-m4-demos_25.03.00.bb +++ /dev/null | |||
| @@ -1,13 +0,0 @@ | |||
| 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=a93b654673e1bc8398ed1f30e0813359" | ||
| 7 | LIC_FILES_CHKSUM:mx8mq-nxp-bsp = "file://COPYING;md5=a93b654673e1bc8398ed1f30e0813359" | ||
| 8 | |||
| 9 | SRC_URI[imx8mm.sha256sum] = "30fcf9032a3bd71211b8df03c654acf98d5dd4631d18a34635d5b1ba61201d6c" | ||
| 10 | SRC_URI[imx8mq.sha256sum] = "652c0521587d9594d56115b549b23d75ea598237f36a79d5a7eede97d9f56574" | ||
| 11 | |||
| 12 | COMPATIBLE_MACHINE = "(mx8mm-nxp-bsp|mx8mq-nxp-bsp)" | ||
| 13 | |||
diff --git a/recipes-fsl/mcore-demos/imx-m4-demos_25.09.00.bb b/recipes-fsl/mcore-demos/imx-m4-demos_25.09.00.bb new file mode 100644 index 000000000..d096cf9dc --- /dev/null +++ b/recipes-fsl/mcore-demos/imx-m4-demos_25.09.00.bb | |||
| @@ -0,0 +1,13 @@ | |||
| 1 | # Copyright 2017-2026 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 | |||
diff --git a/recipes-fsl/mcore-demos/imx-m7-demos_25.03.00.bb b/recipes-fsl/mcore-demos/imx-m7-demos_25.03.00.bb index 0527ddffd..224a164f6 100644 --- a/recipes-fsl/mcore-demos/imx-m7-demos_25.03.00.bb +++ b/recipes-fsl/mcore-demos/imx-m7-demos_25.03.00.bb | |||
| @@ -1,19 +1,18 @@ | |||
| 1 | # Copyright 2023-2025 NXP | 1 | # Copyright 2023-2026 NXP |
| 2 | # Released under the MIT license (see COPYING.MIT for the terms) | 2 | # Released under the MIT license (see COPYING.MIT for the terms) |
| 3 | 3 | ||
| 4 | require imx-mcore-demos.inc | 4 | require imx-mcore-demos.inc |
| 5 | 5 | ||
| 6 | LIC_FILES_CHKSUM:mx8mn-nxp-bsp = "file://COPYING;md5=a93b654673e1bc8398ed1f30e0813359" | 6 | LIC_FILES_CHKSUM:mx8mn-nxp-bsp = "file://COPYING;md5=bc649096ad3928ec06a8713b8d787eac" |
| 7 | LIC_FILES_CHKSUM:mx8mnul-nxp-bsp = "file://COPYING;md5=a93b654673e1bc8398ed1f30e0813359" | 7 | LIC_FILES_CHKSUM:mx8mnul-nxp-bsp = "file://COPYING;md5=bc649096ad3928ec06a8713b8d787eac" |
| 8 | 8 | ||
| 9 | LIC_FILES_CHKSUM:mx8mp-nxp-bsp = "file://COPYING;md5=a93b654673e1bc8398ed1f30e0813359" | 9 | LIC_FILES_CHKSUM:mx8mp-nxp-bsp = "file://COPYING;md5=bc649096ad3928ec06a8713b8d787eac" |
| 10 | LIC_FILES_CHKSUM:mx8mpul-nxp-bsp = "file://COPYING;md5=a93b654673e1bc8398ed1f30e0813359" | 10 | LIC_FILES_CHKSUM:mx8mpul-nxp-bsp = "file://COPYING;md5=bc649096ad3928ec06a8713b8d787eac" |
| 11 | 11 | ||
| 12 | SRC_URI[imx8mn.sha256sum] = "66e160a4267efcd2660b932d46ad6bcc645c9f2865c8ea873d4194d67fcf342c" | 12 | SRC_URI[imx8mn.sha256sum] = "6fb7bfad067f0dda55ce7d6e1f688da8d979e3a75a0a3e1325ad10684ce943b3" |
| 13 | SRC_URI[imx8mnddr3l.sha256sum] = "e107ca6f12e863368133a881d8b848813bdad77249777926880dffbebd3c30c9" | ||
| 13 | 14 | ||
| 14 | SRC_URI[imx8mnddr3l.sha256sum] = "45c770ed5539c5e0d5dd8aee2ad0a6ef91b28c99be3aaa9f336bda6ec34a7083" | 15 | SRC_URI[imx8mp.sha256sum] = "d97c215a466bc4155ca96b6c6697f1512d6650c29241559ffefa52de0eaf8535" |
| 15 | |||
| 16 | SRC_URI[imx8mp.sha256sum] = "94b85ec4dcbf1664a8997e3cfb7bde6b7f1e5825482096302971a7da853b145f" | ||
| 17 | 16 | ||
| 18 | COMPATIBLE_MACHINE = "(mx8mn-nxp-bsp|mx8mnul-nxp-bsp|mx8mp-nxp-bsp|mx8mpul-nxp-bsp)" | 17 | COMPATIBLE_MACHINE = "(mx8mn-nxp-bsp|mx8mnul-nxp-bsp|mx8mp-nxp-bsp|mx8mpul-nxp-bsp)" |
| 19 | 18 | ||
diff --git a/recipes-fsl/mcore-demos/imx-m7-demos_25.06.00.bb b/recipes-fsl/mcore-demos/imx-m7-demos_25.06.00.bb deleted file mode 100644 index 608b2dc45..000000000 --- a/recipes-fsl/mcore-demos/imx-m7-demos_25.06.00.bb +++ /dev/null | |||
| @@ -1,11 +0,0 @@ | |||
| 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:mx95-nxp-bsp = "file://COPYING;md5=a93b654673e1bc8398ed1f30e0813359" | ||
| 7 | |||
| 8 | SRC_URI[imx95.sha256sum] = "8b33ca53bd2692ba92fe928c42d0ec75f1abd3f33879f71660efca9983e9eb88" | ||
| 9 | |||
| 10 | COMPATIBLE_MACHINE = "(mx95-nxp-bsp)" | ||
| 11 | |||
diff --git a/recipes-fsl/mcore-demos/imx-m7-demos_25.12.00.bb b/recipes-fsl/mcore-demos/imx-m7-demos_25.12.00.bb new file mode 100644 index 000000000..5154866cf --- /dev/null +++ b/recipes-fsl/mcore-demos/imx-m7-demos_25.12.00.bb | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | # Copyright 2023-2026 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:mx95-nxp-bsp = "file://COPYING;md5=bc649096ad3928ec06a8713b8d787eac" | ||
| 7 | |||
| 8 | SRC_URI[imx95.sha256sum] = "1ed885757d570a1bcd4309cd41d158827f855af451d140d056fa02f92e8b73eb" | ||
| 9 | |||
| 10 | COMPATIBLE_MACHINE = "(mx95-nxp-bsp)" | ||
| 11 | |||
diff --git a/recipes-fsl/mcore-demos/imx-mcore-demos.inc b/recipes-fsl/mcore-demos/imx-mcore-demos.inc index 9b9553fcc..2375e471d 100644 --- a/recipes-fsl/mcore-demos/imx-mcore-demos.inc +++ b/recipes-fsl/mcore-demos/imx-mcore-demos.inc | |||
| @@ -22,6 +22,7 @@ SOC:mx8qxp-nxp-bsp = "imx8qx" | |||
| 22 | SOC:mx8dx-nxp-bsp = "imx8qx" | 22 | SOC:mx8dx-nxp-bsp = "imx8qx" |
| 23 | SOC:mx8ulp-nxp-bsp = "imx8ulp" | 23 | SOC:mx8ulp-nxp-bsp = "imx8ulp" |
| 24 | SOC:mx93-nxp-bsp = "imx93" | 24 | SOC:mx93-nxp-bsp = "imx93" |
| 25 | SOC:mx94-nxp-bsp = "imx943" | ||
| 25 | SOC:mx95-nxp-bsp = "imx95" | 26 | SOC:mx95-nxp-bsp = "imx95" |
| 26 | 27 | ||
| 27 | MCORE_TYPE ?= "m4" | 28 | MCORE_TYPE ?= "m4" |
| @@ -31,6 +32,7 @@ MCORE_TYPE:mx8mp-nxp-bsp = "m7" | |||
| 31 | MCORE_TYPE:mx8mpul-nxp-bsp = "m7" | 32 | MCORE_TYPE:mx8mpul-nxp-bsp = "m7" |
| 32 | MCORE_TYPE:mx8ulp-nxp-bsp = "m33" | 33 | MCORE_TYPE:mx8ulp-nxp-bsp = "m33" |
| 33 | MCORE_TYPE:mx93-nxp-bsp = "m33" | 34 | MCORE_TYPE:mx93-nxp-bsp = "m33" |
| 35 | MCORE_TYPE:mx943-nxp-bsp = "mcore" | ||
| 34 | MCORE_TYPE:mx95-nxp-bsp = "m7" | 36 | MCORE_TYPE:mx95-nxp-bsp = "m7" |
| 35 | 37 | ||
| 36 | SRC_URI = "${FSL_MIRROR}/${SOC}-${MCORE_TYPE}-demo-${PV}.bin;name=${SOC};fsl-eula=true" | 38 | SRC_URI = "${FSL_MIRROR}/${SOC}-${MCORE_TYPE}-demo-${PV}.bin;name=${SOC};fsl-eula=true" |
diff --git a/recipes-fsl/mcore-demos/imx-mcore-demos_25.12.00.bb b/recipes-fsl/mcore-demos/imx-mcore-demos_25.12.00.bb new file mode 100644 index 000000000..380821658 --- /dev/null +++ b/recipes-fsl/mcore-demos/imx-mcore-demos_25.12.00.bb | |||
| @@ -0,0 +1,10 @@ | |||
| 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] = "52acc5cb421ae98b9b496512035f1635be7238c2f15178f62277269e4744b95a" | ||
| 9 | |||
| 10 | COMPATIBLE_MACHINE = "(mx943-nxp-bsp)" | ||
diff --git a/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc b/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc index ab29270b9..3b05b2abd 100644 --- a/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc +++ b/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc | |||
| @@ -61,12 +61,6 @@ PROVIDES_OPENVX:mx8mm-nxp-bsp = "" | |||
| 61 | 61 | ||
| 62 | RPROVIDES:${PN}:imxgpu3d += "imx-gpu-viv" | 62 | RPROVIDES:${PN}:imxgpu3d += "imx-gpu-viv" |
| 63 | 63 | ||
| 64 | RPROVIDES_OPENCL = "opencl-icd-loader-dev" | ||
| 65 | RPROVIDES_OPENCL:mx7-nxp-bsp = "" | ||
| 66 | RPROVIDES_OPENCL:mx8mm-nxp-bsp = "" | ||
| 67 | |||
| 68 | RPROVIDES:${PN}:append:imx-nxp-bsp = " ${RPROVIDES_OPENCL}" | ||
| 69 | |||
| 70 | PE = "1" | 64 | PE = "1" |
| 71 | 65 | ||
| 72 | inherit fsl-eula-unpack | 66 | inherit fsl-eula-unpack |
| @@ -393,6 +387,9 @@ FILES:libopencl-imx = "${libdir}/libOpenCL${REALSOLIBS} \ | |||
| 393 | ${sysconfdir}/OpenCL/vendors/Vivante.icd" | 387 | ${sysconfdir}/OpenCL/vendors/Vivante.icd" |
| 394 | FILES:libopencl-imx-dev = "${includedir}/CL ${libdir}/libOpenCL${SOLIBSDEV}" | 388 | FILES:libopencl-imx-dev = "${includedir}/CL ${libdir}/libOpenCL${SOLIBSDEV}" |
| 395 | RDEPENDS:libopencl-imx = "libclc-imx" | 389 | RDEPENDS:libopencl-imx = "libclc-imx" |
| 390 | RPROVIDES:libopencl-imx = "virtual-opencl-icd" | ||
| 391 | RPROVIDES:libopencl-imx:mx7-nxp-bsp = "" | ||
| 392 | RPROVIDES:libopencl-imx:mx8mm-nxp-bsp = "" | ||
| 396 | 393 | ||
| 397 | FILES:libopenvg-imx = "${libdir}/libOpenVG*${REALSOLIBS} ${libdir}/libOpenVG*${SOLIBS}" | 394 | FILES:libopenvg-imx = "${libdir}/libOpenVG*${REALSOLIBS} ${libdir}/libOpenVG*${SOLIBS}" |
| 398 | FILES:libopenvg-imx-dev = "${includedir}/VG ${libdir}/pkgconfig/vg.pc" | 395 | FILES:libopenvg-imx-dev = "${includedir}/VG ${libdir}/pkgconfig/vg.pc" |
diff --git a/recipes-graphics/mali/mali-imx.inc b/recipes-graphics/mali/mali-imx.inc index 87f73440f..97a1175e7 100644 --- a/recipes-graphics/mali/mali-imx.inc +++ b/recipes-graphics/mali/mali-imx.inc | |||
| @@ -43,6 +43,7 @@ FILES:${PN}-libgles2 = " \ | |||
| 43 | ${libdir}/libGLESv2${SOLIBS}" | 43 | ${libdir}/libGLESv2${SOLIBS}" |
| 44 | FILES:${PN}-opencl-icd = " \ | 44 | FILES:${PN}-opencl-icd = " \ |
| 45 | ${sysconfdir}/OpenCL" | 45 | ${sysconfdir}/OpenCL" |
| 46 | RPROVIDES:${PN}-opencl-icd = "virtual-opencl-icd" | ||
| 46 | FILES:${PN}-libvulkan = " \ | 47 | FILES:${PN}-libvulkan = " \ |
| 47 | ${sysconfdir}/vulkan" | 48 | ${sysconfdir}/vulkan" |
| 48 | RDEPENDS:${PN}-libvulkan = "vulkan-wsi-layer" | 49 | RDEPENDS:${PN}-libvulkan = "vulkan-wsi-layer" |
diff --git a/recipes-graphics/mesa/mesa.bbappend b/recipes-graphics/mesa/mesa.bbappend index 1c75c9884..926f57589 100644 --- a/recipes-graphics/mesa/mesa.bbappend +++ b/recipes-graphics/mesa/mesa.bbappend | |||
| @@ -1,46 +1,3 @@ | |||
| 1 | PROVIDES:remove:imxgpu = "virtual/egl" | ||
| 2 | PROVIDES:remove:imxgpu3d = "virtual/libgl virtual/libgles1 virtual/libgles2" | ||
| 3 | |||
| 4 | PACKAGECONFIG:remove:imxgpu = "egl gbm" | ||
| 5 | PACKAGECONFIG:remove:imxgpu3d = "gles" | ||
| 6 | |||
| 7 | # FIXME: mesa should support 'x11-no-tls' option | ||
| 8 | python () { | ||
| 9 | overrides = d.getVar("OVERRIDES").split(":") | ||
| 10 | if "imxgpu2d" not in overrides: | ||
| 11 | return | ||
| 12 | |||
| 13 | x11flag = d.getVarFlag("PACKAGECONFIG", "x11", False) | ||
| 14 | d.setVarFlag("PACKAGECONFIG", "x11", x11flag.replace("--enable-glx-tls", "--enable-glx")) | ||
| 15 | } | ||
| 16 | |||
| 17 | # Enable Etnaviv and Freedreno support | 1 | # Enable Etnaviv and Freedreno support |
| 18 | PACKAGECONFIG:append:use-mainline-bsp = " gallium etnaviv freedreno" | 2 | PACKAGECONFIG:append:use-mainline-bsp = " gallium etnaviv freedreno" |
| 19 | |||
| 20 | # For NXP BSP, GPU drivers don't support dri | ||
| 21 | PACKAGECONFIG:remove:imxgpu:use-nxp-bsp = "dri" | ||
| 22 | |||
| 23 | # mainline/etnaviv: | ||
| 24 | RRECOMMENDS:${PN}-megadriver:append:use-mainline-bsp = " libdrm-etnaviv mesa-etnaviv-env" | 3 | RRECOMMENDS:${PN}-megadriver:append:use-mainline-bsp = " libdrm-etnaviv mesa-etnaviv-env" |
| 25 | |||
| 26 | BACKEND = \ | ||
| 27 | "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', \ | ||
| 28 | bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', \ | ||
| 29 | 'fb', d), d)}" | ||
| 30 | |||
| 31 | # FIXME: Dirty hack to allow use of Vivante GPU libGL binary | ||
| 32 | do_install:append:imxgpu3d () { | ||
| 33 | rm -f ${D}${libdir}/libGL.* \ | ||
| 34 | ${D}${includedir}/GL/gl.h \ | ||
| 35 | ${D}${includedir}/GL/glcorearb.h \ | ||
| 36 | ${D}${includedir}/GL/glext.h \ | ||
| 37 | ${D}${includedir}/GL/glx.h \ | ||
| 38 | ${D}${includedir}/GL/glxext.h | ||
| 39 | if [ "${BACKEND}" = "x11" ]; then | ||
| 40 | rm -f ${D}${libdir}/pkgconfig/gl.pc | ||
| 41 | fi | ||
| 42 | } | ||
| 43 | |||
| 44 | do_install:append:imxgpu () { | ||
| 45 | rm -rf ${D}${includedir}/KHR | ||
| 46 | } | ||
diff --git a/recipes-graphics/xorg-xserver/xserver-xorg/0001-glamor-Fix-fbo-pixmap-format-with-GL_BGRA_EXT.patch b/recipes-graphics/xorg-xserver/xserver-xorg/0001-glamor-Fix-fbo-pixmap-format-with-GL_BGRA_EXT.patch deleted file mode 100644 index 960bf3b50..000000000 --- a/recipes-graphics/xorg-xserver/xserver-xorg/0001-glamor-Fix-fbo-pixmap-format-with-GL_BGRA_EXT.patch +++ /dev/null | |||
| @@ -1,38 +0,0 @@ | |||
| 1 | From c76f5d2c0a0dda534888025d7236465202884665 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Xianzhong <xianzhong.li@nxp.com> | ||
| 3 | Date: Thu, 5 Aug 2021 16:57:43 +0800 | ||
| 4 | Subject: [PATCH] glamor: Fix fbo pixmap format with GL_BGRA_EXT | ||
| 5 | |||
| 6 | Red and Blue channels are swizzled in GLES path, | ||
| 7 | Fix color inverse problem with ximagesink command: | ||
| 8 | gst-launch-1.0 videotestsrc pattern=6 num-buffers=1 ! video/x-raw,format=BGRx ! videoconvert ! ximagesink display=:0 -v | ||
| 9 | |||
| 10 | This fix requires GL_EXT_texture_format_BGRA8888 extention, not applicable for upstream. | ||
| 11 | |||
| 12 | Upstream-Status: Inappropriate | ||
| 13 | |||
| 14 | Signed-off-by: Xianzhong <xianzhong.li@nxp.com> | ||
| 15 | --- | ||
| 16 | glamor/glamor.c | 7 +++++++ | ||
| 17 | 1 file changed, 7 insertions(+) | ||
| 18 | |||
| 19 | --- a/glamor/glamor.c | ||
| 20 | +++ b/glamor/glamor.c | ||
| 21 | @@ -586,10 +586,17 @@ glamor_setup_formats(ScreenPtr screen) | ||
| 22 | |||
| 23 | if (glamor_priv->is_gles) { | ||
| 24 | assert(X_BYTE_ORDER == X_LITTLE_ENDIAN); | ||
| 25 | +#if GL_EXT_texture_format_BGRA8888 | ||
| 26 | + glamor_add_format(screen, 24, PICT_x8r8g8b8, | ||
| 27 | + GL_BGRA_EXT, GL_BGRA_EXT, GL_UNSIGNED_BYTE, TRUE); | ||
| 28 | + glamor_add_format(screen, 32, PICT_a8r8g8b8, | ||
| 29 | + GL_BGRA_EXT, GL_BGRA_EXT, GL_UNSIGNED_BYTE, TRUE); | ||
| 30 | +#else | ||
| 31 | glamor_add_format(screen, 24, PICT_x8b8g8r8, | ||
| 32 | GL_RGBA8, GL_RGBA, GL_UNSIGNED_BYTE, TRUE); | ||
| 33 | glamor_add_format(screen, 32, PICT_a8b8g8r8, | ||
| 34 | GL_RGBA8, GL_RGBA, GL_UNSIGNED_BYTE, TRUE); | ||
| 35 | +#endif | ||
| 36 | } else { | ||
| 37 | glamor_add_format(screen, 24, PICT_x8r8g8b8, | ||
| 38 | GL_RGBA, GL_BGRA, GL_UNSIGNED_INT_8_8_8_8_REV, TRUE); | ||
diff --git a/recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend b/recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend index cf1c3a50f..161df0498 100644 --- a/recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend +++ b/recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend | |||
| @@ -2,8 +2,6 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/${BPN}:" | |||
| 2 | 2 | ||
| 3 | SRC_URI:append:use-mainline-bsp = " file://0001-Allow-to-enable-atomic-in-modesetting-DDX.patch" | 3 | SRC_URI:append:use-mainline-bsp = " file://0001-Allow-to-enable-atomic-in-modesetting-DDX.patch" |
| 4 | 4 | ||
| 5 | SRC_URI:append:imxgpu = " file://0001-glamor-Fix-fbo-pixmap-format-with-GL_BGRA_EXT.patch" | ||
| 6 | |||
| 7 | IMX_OPENGL_PKGCONFIGS_REMOVE = "" | 5 | IMX_OPENGL_PKGCONFIGS_REMOVE = "" |
| 8 | IMX_OPENGL_PKGCONFIGS_REMOVE:imxgpu = "glamor" | 6 | IMX_OPENGL_PKGCONFIGS_REMOVE:imxgpu = "glamor" |
| 9 | OPENGL_PKGCONFIGS:remove:mx6-nxp-bsp = "${IMX_OPENGL_PKGCONFIGS_REMOVE}" | 7 | OPENGL_PKGCONFIGS:remove:mx6-nxp-bsp = "${IMX_OPENGL_PKGCONFIGS_REMOVE}" |
diff --git a/recipes-kernel/ceetm/ceetm/0001-Makefile-Fix-build-error-with-gcc15-YOCIMX-8305.patch b/recipes-kernel/ceetm/ceetm/0001-Makefile-Fix-build-error-with-gcc15-YOCIMX-8305.patch new file mode 100644 index 000000000..93b375eaa --- /dev/null +++ b/recipes-kernel/ceetm/ceetm/0001-Makefile-Fix-build-error-with-gcc15-YOCIMX-8305.patch | |||
| @@ -0,0 +1,28 @@ | |||
| 1 | From 9049175076c4d6706e6264f894680d5d1845e409 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Zelan Zou <zelan.zou@nxp.com> | ||
| 3 | Date: Fri, 13 Sep 2024 04:22:13 +0200 | ||
| 4 | Subject: [PATCH] Makefile: Fix build error with gcc15 [YOCIMX-8305] | ||
| 5 | |||
| 6 | Upstream-Status: Pending | ||
| 7 | |||
| 8 | Signed-off-by: Zelan Zou <zelan.zou@nxp.com> | ||
| 9 | --- | ||
| 10 | Makefile | 2 +- | ||
| 11 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 12 | |||
| 13 | diff --git a/Makefile b/Makefile | ||
| 14 | index 9e55dad..60f8f7f 100644 | ||
| 15 | --- a/Makefile | ||
| 16 | +++ b/Makefile | ||
| 17 | @@ -8,7 +8,7 @@ LDFLAGS += -Wl,-export-dynamic | ||
| 18 | # if you are not using flex-builder. Download the iproute2 sources for the | ||
| 19 | # desired version and point to those instead. | ||
| 20 | ifneq ($(IPROUTE2_DIR),) | ||
| 21 | -CFLAGS += -I$(IPROUTE2_DIR) -I$(IPROUTE2_DIR)/include -I$(IPROUTE2_DIR)/usr/include/ -I$(IPROUTE2_DIR)/usr/include/include | ||
| 22 | +CFLAGS += -I$(IPROUTE2_DIR) -I$(IPROUTE2_DIR)/include -I$(IPROUTE2_DIR)/usr/include/ -I$(IPROUTE2_DIR)/usr/include/include -Wno-error=incompatible-pointer-types | ||
| 23 | endif | ||
| 24 | |||
| 25 | MODDESTDIR := $(DESTDIR)/usr/lib/tc | ||
| 26 | -- | ||
| 27 | 2.25.1 | ||
| 28 | |||
diff --git a/recipes-kernel/ceetm/ceetm/0001-use-new-api-tc_print_rate.patch b/recipes-kernel/ceetm/ceetm/0001-use-new-api-tc_print_rate.patch deleted file mode 100644 index bd077f8ac..000000000 --- a/recipes-kernel/ceetm/ceetm/0001-use-new-api-tc_print_rate.patch +++ /dev/null | |||
| @@ -1,71 +0,0 @@ | |||
| 1 | From 1eeee62be6f4f4c0564a1ebbf47b5d1ebd7ab282 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Ting Liu <ting.liu@nxp.com> | ||
| 3 | Date: Thu, 15 Apr 2021 14:43:31 +0530 | ||
| 4 | Subject: [PATCH] use new api tc_print_rate | ||
| 5 | |||
| 6 | Fix the build issue due to api change in iproute2: | ||
| 7 | | dpaa1_ceetm.c:637:4: error: too few arguments to function 'print_rate' | ||
| 8 | | print_rate(buf, sizeof(buf), qopt->rate); | ||
| 9 | | ^~~~~~~~~~ | ||
| 10 | |||
| 11 | Upstream-Status: Pending | ||
| 12 | |||
| 13 | Signed-off-by: Ting Liu <ting.liu@nxp.com> | ||
| 14 | --- | ||
| 15 | dpaa1_ceetm.c | 12 ++++-------- | ||
| 16 | dpaa2_ceetm.c | 6 ++---- | ||
| 17 | 2 files changed, 6 insertions(+), 12 deletions(-) | ||
| 18 | |||
| 19 | diff --git a/dpaa1_ceetm.c b/dpaa1_ceetm.c | ||
| 20 | index 15a2cd8..347e79a 100644 | ||
| 21 | --- a/dpaa1_ceetm.c | ||
| 22 | +++ b/dpaa1_ceetm.c | ||
| 23 | @@ -634,11 +634,9 @@ int dpaa1_ceetm_print_qopt(struct qdisc_util *qu, FILE *f, | ||
| 24 | fprintf(f, "type root"); | ||
| 25 | |||
| 26 | if (qopt->shaped) { | ||
| 27 | - print_rate(buf, sizeof(buf), qopt->rate); | ||
| 28 | - fprintf(f, " shaped rate %s ", buf); | ||
| 29 | + tc_print_rate(PRINT_FP, NULL, " shaped rate %s ", qopt->rate); | ||
| 30 | |||
| 31 | - print_rate(buf, sizeof(buf), qopt->ceil); | ||
| 32 | - fprintf(f, "ceil %s ", buf); | ||
| 33 | + tc_print_rate(PRINT_FP, NULL, "ceil %s ", qopt->ceil); | ||
| 34 | |||
| 35 | fprintf(f, "overhead %u ", qopt->overhead); | ||
| 36 | |||
| 37 | @@ -692,11 +690,9 @@ int dpaa1_ceetm_print_copt(struct qdisc_util *qu, FILE *f, | ||
| 38 | fprintf(f, "type root "); | ||
| 39 | |||
| 40 | if (copt->shaped) { | ||
| 41 | - print_rate(buf, sizeof(buf), copt->rate); | ||
| 42 | - fprintf(f, "shaped rate %s ", buf); | ||
| 43 | + tc_print_rate(PRINT_FP, NULL, "shaped rate %s ", copt->rate); | ||
| 44 | |||
| 45 | - print_rate(buf, sizeof(buf), copt->ceil); | ||
| 46 | - fprintf(f, "ceil %s ", buf); | ||
| 47 | + tc_print_rate(PRINT_FP, NULL, "ceil %s ", copt->ceil); | ||
| 48 | |||
| 49 | } else { | ||
| 50 | fprintf(f, "unshaped tbl %d", copt->tbl); | ||
| 51 | diff --git a/dpaa2_ceetm.c b/dpaa2_ceetm.c | ||
| 52 | index 6b1b033..0505046 100644 | ||
| 53 | --- a/dpaa2_ceetm.c | ||
| 54 | +++ b/dpaa2_ceetm.c | ||
| 55 | @@ -516,11 +516,9 @@ int dpaa2_ceetm_print_copt(struct qdisc_util *qu, FILE *f, struct rtattr *opt) | ||
| 56 | fprintf(f, "type root "); | ||
| 57 | |||
| 58 | if (copt->shaped) { | ||
| 59 | - print_rate(buf, sizeof(buf), copt->shaping_cfg.cir); | ||
| 60 | - fprintf(f, "CIR %s ", buf); | ||
| 61 | + tc_print_rate(PRINT_FP, NULL, "CIR %s ", copt->shaping_cfg.cir); | ||
| 62 | |||
| 63 | - print_rate(buf, sizeof(buf), copt->shaping_cfg.eir); | ||
| 64 | - fprintf(f, "EIR %s ", buf); | ||
| 65 | + tc_print_rate(PRINT_FP, NULL, "EIR %s ", copt->shaping_cfg.eir); | ||
| 66 | |||
| 67 | fprintf(f, "CBS %d EBS %d ", copt->shaping_cfg.cbs, copt->shaping_cfg.ebs); | ||
| 68 | |||
| 69 | -- | ||
| 70 | 2.25.1 | ||
| 71 | |||
diff --git a/recipes-kernel/ceetm/ceetm_git.bb b/recipes-kernel/ceetm/ceetm_git.bb index 947a31280..2356b8db4 100644 --- a/recipes-kernel/ceetm/ceetm_git.bb +++ b/recipes-kernel/ceetm/ceetm_git.bb | |||
| @@ -3,9 +3,9 @@ LICENSE = "GPL-2.0-only" | |||
| 3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263" | 3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263" |
| 4 | 4 | ||
| 5 | SRC_URI = "git://github.com/nxp-qoriq/ceetm;protocol=https;nobranch=1" | 5 | SRC_URI = "git://github.com/nxp-qoriq/ceetm;protocol=https;nobranch=1" |
| 6 | SRCREV = "27218bc625e83458db2301f6c07de133cb5f6792" | 6 | SRCREV = "46b3565a48ca20f90ad601cef8250cdd35f18b22" |
| 7 | SRC_URI:append = " file://0001-Makefile-update-CFLAGS.patch \ | 7 | SRC_URI:append = " file://0001-Makefile-update-CFLAGS.patch \ |
| 8 | file://0001-use-new-api-tc_print_rate.patch \ | 8 | file://0001-Makefile-Fix-build-error-with-gcc15-YOCIMX-8305.patch \ |
| 9 | " | 9 | " |
| 10 | DEPENDS = "iproute2" | 10 | DEPENDS = "iproute2" |
| 11 | 11 | ||
diff --git a/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.4.11.p3.2.bb b/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.4.11.p4.2.bb index 8670443db..dc0f2886f 100644 --- a/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.4.11.p3.2.bb +++ b/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.4.11.p4.2.bb | |||
| @@ -7,12 +7,13 @@ allowing flexibility to use a newer graphics release with an older kernel." | |||
| 7 | LICENSE = "GPL-2.0-only" | 7 | LICENSE = "GPL-2.0-only" |
| 8 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0-only;md5=801f80980d171dd6425610833a22dbe6" | 8 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0-only;md5=801f80980d171dd6425610833a22dbe6" |
| 9 | 9 | ||
| 10 | SRC_URI = "${LINUX_IMX_SRC};subpath=drivers/mxc/gpu-viv;destsuffix=${S}/src \ | 10 | SRC_URI = "${LINUX_IMX_SRC};subpath=drivers/mxc/gpu-viv;destsuffix=${BP}/src \ |
| 11 | file://Add-makefile.patch" | 11 | file://Add-makefile.patch" |
| 12 | |||
| 12 | LINUX_IMX_SRC ?= "git://github.com/nxp-imx/linux-imx.git;protocol=https;branch=${SRCBRANCH}" | 13 | LINUX_IMX_SRC ?= "git://github.com/nxp-imx/linux-imx.git;protocol=https;branch=${SRCBRANCH}" |
| 13 | SRCBRANCH = "lf-6.12.y" | 14 | SRCBRANCH = "lf-6.12.y" |
| 14 | LOCALVERSION = "-6.12.20-2.0.0" | 15 | LOCALVERSION = "-lts-${SRCBRANCH}" |
| 15 | SRCREV = "d53b3fa8a69bef5ead825e81aa62dbdd08e1409c" | 16 | SRCREV = "807e28f65f46b131a698a4c62e2cc0b6b4682731" |
| 16 | 17 | ||
| 17 | S = "${UNPACKDIR}/${BP}" | 18 | S = "${UNPACKDIR}/${BP}" |
| 18 | 19 | ||
diff --git a/recipes-kernel/kernel-modules/kernel-module-isp-vvcam_4.2.2.25.2.bb b/recipes-kernel/kernel-modules/kernel-module-isp-vvcam_4.2.2.25.2.bb deleted file mode 100644 index 058d9e0d8..000000000 --- a/recipes-kernel/kernel-modules/kernel-module-isp-vvcam_4.2.2.25.2.bb +++ /dev/null | |||
| @@ -1,23 +0,0 @@ | |||
| 1 | # Copyright (C) 2020-2025 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.0.0" | ||
| 10 | SRCREV = "dc686fbb8b5b2f4cbc58d83756f65ad970b03ac2" | ||
| 11 | |||
| 12 | |||
| 13 | S = "${UNPACKDIR}/${BP}/vvcam/v4l2" | ||
| 14 | |||
| 15 | inherit module | ||
| 16 | |||
| 17 | MODULES_MODULE_SYMVERS_LOCATION = "dwe" | ||
| 18 | |||
| 19 | DEBUG_PREFIX_MAP:prepend = " \ | ||
| 20 | -fmacro-prefix-map=${UNPACKDIR}/${BP}/vvcam=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR} \ | ||
| 21 | -fdebug-prefix-map=${UNPACKDIR}/${BP}/vvcam=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR} " | ||
| 22 | |||
| 23 | COMPATIBLE_MACHINE = "(mx8mp-nxp-bsp)" | ||
diff --git a/recipes-kernel/kernel-modules/kernel-module-isp-vvcam_4.2.2.25.4.bb b/recipes-kernel/kernel-modules/kernel-module-isp-vvcam_4.2.2.25.4.bb new file mode 100644 index 000000000..2da42a7dc --- /dev/null +++ b/recipes-kernel/kernel-modules/kernel-module-isp-vvcam_4.2.2.25.4.bb | |||
| @@ -0,0 +1,23 @@ | |||
| 1 | # Copyright 2020-2023 NXP | ||
| 2 | |||
| 3 | DESCRIPTION = "Kernel loadable module for ISP" | ||
| 4 | LICENSE = "GPL-2.0-only" | ||
| 5 | |||
| 6 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0-only;md5=801f80980d171dd6425610833a22dbe6" | ||
| 7 | |||
| 8 | SRC_URI = "${ISP_KERNEL_SRC};branch=${SRCBRANCH}" | ||
| 9 | ISP_KERNEL_SRC ?= "git://github.com/nxp-imx/isp-vvcam.git;protocol=https" | ||
| 10 | SRCBRANCH = "lf-6.12.y_2.2.0" | ||
| 11 | SRCREV = "ad057a15dd57e053e3596ae83b45ea96835acd3e" | ||
| 12 | |||
| 13 | S = "${UNPACKDIR}/${BP}/vvcam/v4l2" | ||
| 14 | |||
| 15 | inherit module | ||
| 16 | |||
| 17 | MODULES_MODULE_SYMVERS_LOCATION = "dwe" | ||
| 18 | |||
| 19 | DEBUG_PREFIX_MAP:prepend = " \ | ||
| 20 | -fmacro-prefix-map=${WORKDIR}/sources=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR} \ | ||
| 21 | -fdebug-prefix-map=${WORKDIR}/sources=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR} " | ||
| 22 | |||
| 23 | COMPATIBLE_MACHINE = "(mx8mp-nxp-bsp)" | ||
diff --git a/recipes-kernel/kernel-modules/kernel-module-nxp-wlan_git.bb b/recipes-kernel/kernel-modules/kernel-module-nxp-wlan_git.bb index 2341ab0c9..48f1ad724 100644 --- a/recipes-kernel/kernel-modules/kernel-module-nxp-wlan_git.bb +++ b/recipes-kernel/kernel-modules/kernel-module-nxp-wlan_git.bb | |||
| @@ -2,20 +2,24 @@ SUMMARY = "NXP Wi-Fi driver for module 88w8801/8987/8997/9098 IW416/610/612" | |||
| 2 | LICENSE = "GPL-2.0-only" | 2 | LICENSE = "GPL-2.0-only" |
| 3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=ab04ac0f249af12befccb94447c08b77" | 3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=ab04ac0f249af12befccb94447c08b77" |
| 4 | 4 | ||
| 5 | # For backwards compatibility | ||
| 6 | PROVIDES += "kernel-module-nxp89xx" | 5 | PROVIDES += "kernel-module-nxp89xx" |
| 7 | RREPLACES:${PN} = "kernel-module-nxp89xx" | 6 | RREPLACES:${PN} = "kernel-module-nxp89xx" |
| 8 | RPROVIDES:${PN} = "kernel-module-nxp89xx" | 7 | RPROVIDES:${PN} = "kernel-module-nxp89xx" |
| 9 | RCONFLICTS:${PN} = "kernel-module-nxp89xx" | 8 | RCONFLICTS:${PN} = "kernel-module-nxp89xx" |
| 10 | 9 | ||
| 11 | SRCBRANCH = "lf-6.12.20_2.0.0" | 10 | KERNEL_MODULE_PROBECONF += "moal" |
| 11 | module_conf_moal = "options moal mod_para=nxp/wifi_mod_para.conf" | ||
| 12 | |||
| 13 | SRCBRANCH = "lf-6.12.49_2.2.0" | ||
| 12 | MRVL_SRC ?= "git://github.com/nxp-imx/mwifiex.git;protocol=https" | 14 | MRVL_SRC ?= "git://github.com/nxp-imx/mwifiex.git;protocol=https" |
| 13 | SRC_URI = " \ | 15 | SRC_URI = " \ |
| 14 | ${MRVL_SRC};branch=${SRCBRANCH} \ | 16 | ${MRVL_SRC};branch=${SRCBRANCH} \ |
| 15 | file://mlinux-moal_main-lower-PRINTM_MMSG-log-level-to-KERN_INFO.patch \ | 17 | file://mlinux-moal_main-lower-PRINTM_MMSG-log-level-to-KERN_INFO.patch \ |
| 16 | " | 18 | " |
| 17 | SRCREV = "7a8beaa1605cb0870dc7ba3312c76df91cb0d6cf" | 19 | SRCREV = "84ca65c9ff935d7f2999af100a82531c22c65234" |
| 18 | 20 | ||
| 19 | inherit module | 21 | inherit module |
| 20 | 22 | ||
| 21 | EXTRA_OEMAKE = "KERNELDIR=${STAGING_KERNEL_BUILDDIR} -C ${STAGING_KERNEL_BUILDDIR} M=${S}" | 23 | EXTRA_OEMAKE = "KERNELDIR=${STAGING_KERNEL_BUILDDIR} -C ${STAGING_KERNEL_BUILDDIR} M=${S}" |
| 24 | |||
| 25 | KERNEL_MODULE_AUTOLOAD += "moal" | ||
diff --git a/recipes-kernel/linux/linux-imx-headers/0001-video-fbdev-mxc-make-uapi-ipu.h-pxp_dma.h-compatible.patch b/recipes-kernel/linux/linux-imx-headers/0001-video-fbdev-mxc-make-uapi-ipu.h-pxp_dma.h-compatible.patch deleted file mode 100644 index 1750d6247..000000000 --- a/recipes-kernel/linux/linux-imx-headers/0001-video-fbdev-mxc-make-uapi-ipu.h-pxp_dma.h-compatible.patch +++ /dev/null | |||
| @@ -1,54 +0,0 @@ | |||
| 1 | From a5bcb18b42cfc0485397da9f48be6a73de86dfac Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Max Krummenacher <max.krummenacher@toradex.com> | ||
| 3 | Date: Sat, 10 May 2025 14:21:35 +0200 | ||
| 4 | Subject: [PATCH] video: fbdev: mxc: make uapi ipu.h, pxp_dma.h compatible with | ||
| 5 | c23 standard | ||
| 6 | |||
| 7 | In C23 standard bool, false, true are reserved keywords. | ||
| 8 | Make ipu.h, pxp_dma.h uapi include file compatible with C23 standard. | ||
| 9 | |||
| 10 | Upstream-Status: Pending | ||
| 11 | Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> | ||
| 12 | --- | ||
| 13 | include/uapi/linux/ipu.h | 4 ++++ | ||
| 14 | include/uapi/linux/pxp_dma.h | 4 ++++ | ||
| 15 | 2 files changed, 8 insertions(+) | ||
| 16 | |||
| 17 | diff --git a/include/uapi/linux/ipu.h b/include/uapi/linux/ipu.h | ||
| 18 | index c92f292bcc9d..a7b60730bbd4 100644 | ||
| 19 | --- a/include/uapi/linux/ipu.h | ||
| 20 | +++ b/include/uapi/linux/ipu.h | ||
| 21 | @@ -29,9 +29,13 @@ | ||
| 22 | #include <linux/videodev2.h> | ||
| 23 | |||
| 24 | #ifndef __KERNEL__ | ||
| 25 | +#if defined __STDC_VERSION__ && __STDC_VERSION__ > 201710L | ||
| 26 | +/* bool, true and false are keywords. */ | ||
| 27 | +#else | ||
| 28 | #ifndef __cplusplus | ||
| 29 | typedef unsigned char bool; | ||
| 30 | #endif | ||
| 31 | +#endif | ||
| 32 | #define irqreturn_t int | ||
| 33 | #define dma_addr_t int | ||
| 34 | #define uint32_t unsigned int | ||
| 35 | diff --git a/include/uapi/linux/pxp_dma.h b/include/uapi/linux/pxp_dma.h | ||
| 36 | index 9b5228504095..e2deff07516d 100644 | ||
| 37 | --- a/include/uapi/linux/pxp_dma.h | ||
| 38 | +++ b/include/uapi/linux/pxp_dma.h | ||
| 39 | @@ -25,8 +25,12 @@ | ||
| 40 | |||
| 41 | #ifndef __KERNEL__ | ||
| 42 | typedef unsigned long dma_addr_t; | ||
| 43 | +#if defined __STDC_VERSION__ && __STDC_VERSION__ > 201710L | ||
| 44 | +/* bool, true and false are keywords. */ | ||
| 45 | +#else | ||
| 46 | typedef unsigned char bool; | ||
| 47 | #endif | ||
| 48 | +#endif | ||
| 49 | |||
| 50 | /* PXP Pixel format definitions */ | ||
| 51 | /* Four-character-code (FOURCC) */ | ||
| 52 | -- | ||
| 53 | 2.42.0 | ||
| 54 | |||
diff --git a/recipes-kernel/linux/linux-imx-headers_6.12.bb b/recipes-kernel/linux/linux-imx-headers_6.18.bb index ed2478965..c6a3786c9 100644 --- a/recipes-kernel/linux/linux-imx-headers_6.12.bb +++ b/recipes-kernel/linux/linux-imx-headers_6.18.bb | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | # Copyright 2017-2025 NXP | 1 | # Copyright 2017-2026 NXP |
| 2 | # Released under the MIT license (see COPYING.MIT for the terms) | 2 | # Released under the MIT license (see COPYING.MIT for the terms) |
| 3 | 3 | ||
| 4 | SUMMARY = "Installs i.MX-specific kernel headers" | 4 | SUMMARY = "Installs i.MX-specific kernel headers" |
| @@ -7,13 +7,13 @@ New headers are installed in ${includedir}/imx." | |||
| 7 | LICENSE = "GPL-2.0-only" | 7 | LICENSE = "GPL-2.0-only" |
| 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" | 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" |
| 9 | 9 | ||
| 10 | SRC_URI = " \ | 10 | SRC_URI = "${LINUX_IMX_SRC}" |
| 11 | git://github.com/nxp-imx/linux-imx.git;protocol=https;branch=${SRCBRANCH} \ | 11 | LINUX_IMX_SRC ?= "git://github.com/nxp-imx/linux-imx.git;protocol=https;branch=${SRCBRANCH}" |
| 12 | file://0001-video-fbdev-mxc-make-uapi-ipu.h-pxp_dma.h-compatible.patch \ | 12 | SRCBRANCH = "lf-6.18.y" |
| 13 | " | ||
| 14 | SRCBRANCH = "lf-6.12.y" | ||
| 15 | LOCALVERSION = "-lts-${SRCBRANCH}" | 13 | LOCALVERSION = "-lts-${SRCBRANCH}" |
| 16 | SRCREV = "dfaf2136deb2af2e60b994421281ba42f1c087e0" | 14 | KBRANCH = "${SRCBRANCH}" |
| 15 | SRCREV = "f49f45233f7b10006ce7e9c826ee882bb14ac8b5" | ||
| 16 | |||
| 17 | 17 | ||
| 18 | do_configure[noexec] = "1" | 18 | do_configure[noexec] = "1" |
| 19 | 19 | ||
diff --git a/recipes-kernel/linux/linux-imx.inc b/recipes-kernel/linux/linux-imx.inc index 521bd7948..d704e2921 100644 --- a/recipes-kernel/linux/linux-imx.inc +++ b/recipes-kernel/linux/linux-imx.inc | |||
| @@ -17,7 +17,7 @@ PROVIDES += "linux-mfgtool" | |||
| 17 | # Set the PV to the correct kernel version to satisfy the kernel version sanity check | 17 | # Set the PV to the correct kernel version to satisfy the kernel version sanity check |
| 18 | PV = "${LINUX_VERSION}+git${SRCPV}" | 18 | PV = "${LINUX_VERSION}+git${SRCPV}" |
| 19 | 19 | ||
| 20 | SRC_URI = "git://github.com/nxp-imx/linux-imx;protocol=https;branch=${SRCBRANCH}" | 20 | SRC_URI = "git://github.com/nxp-imx/linux-imx.git;protocol=https;branch=${SRCBRANCH}" |
| 21 | 21 | ||
| 22 | # Tell to kernel class that we would like to use our defconfig to configure the kernel. | 22 | # Tell to kernel class that we would like to use our defconfig to configure the kernel. |
| 23 | # Otherwise, the --allnoconfig would be used per default which leads to mis-configured | 23 | # Otherwise, the --allnoconfig would be used per default which leads to mis-configured |
diff --git a/recipes-kernel/linux/linux-imx_6.12.bb b/recipes-kernel/linux/linux-imx_6.12.bb deleted file mode 100644 index 267a33542..000000000 --- a/recipes-kernel/linux/linux-imx_6.12.bb +++ /dev/null | |||
| @@ -1,33 +0,0 @@ | |||
| 1 | # Copyright 2013-2016 (C) Freescale Semiconductor | ||
| 2 | # Copyright 2017-2025 (C) NXP | ||
| 3 | # Copyright 2018 (C) O.S. Systems Software LTDA. | ||
| 4 | # Released under the MIT license (see COPYING.MIT for the terms) | ||
| 5 | # | ||
| 6 | # SPDX-License-Identifier: MIT | ||
| 7 | # | ||
| 8 | |||
| 9 | SUMMARY = "Linux Kernel provided and supported by NXP" | ||
| 10 | DESCRIPTION = "Linux Kernel provided and supported by NXP with focus on \ | ||
| 11 | i.MX Family Reference Boards. It includes support for many IPs such as GPU, VPU and IPU." | ||
| 12 | |||
| 13 | require recipes-kernel/linux/linux-imx.inc | ||
| 14 | |||
| 15 | SRCBRANCH = "lf-6.12.y" | ||
| 16 | LOCALVERSION = "-6.12.20-2.0.0" | ||
| 17 | SRCREV = "dfaf2136deb2af2e60b994421281ba42f1c087e0" | ||
| 18 | |||
| 19 | # PV is defined in the base in linux-imx.inc file and uses the LINUX_VERSION definition | ||
| 20 | # required by kernel-yocto.bbclass. | ||
| 21 | # | ||
| 22 | # LINUX_VERSION define should match to the kernel version referenced by SRC_URI and | ||
| 23 | # should be updated once patchlevel is merged. | ||
| 24 | LINUX_VERSION = "6.12.20" | ||
| 25 | |||
| 26 | KBUILD_DEFCONFIG:mx6-generic-bsp = "imx_v7_defconfig" | ||
| 27 | KBUILD_DEFCONFIG:mx7-generic-bsp = "imx_v7_defconfig" | ||
| 28 | KBUILD_DEFCONFIG:mx8-generic-bsp = "imx_v8_defconfig" | ||
| 29 | KBUILD_DEFCONFIG:mx9-generic-bsp = "imx_v8_defconfig" | ||
| 30 | |||
| 31 | DEFAULT_PREFERENCE = "1" | ||
| 32 | |||
| 33 | COMPATIBLE_MACHINE = "(imx-nxp-bsp)" | ||
diff --git a/recipes-kernel/linux/linux-imx_6.18.bb b/recipes-kernel/linux/linux-imx_6.18.bb new file mode 100644 index 000000000..5010f66c7 --- /dev/null +++ b/recipes-kernel/linux/linux-imx_6.18.bb | |||
| @@ -0,0 +1,63 @@ | |||
| 1 | # Copyright 2013-2016 Freescale Semiconductor | ||
| 2 | # Copyright 2017-2026 NXP | ||
| 3 | # Copyright 2018 O.S. Systems Software LTDA. | ||
| 4 | # Released under the MIT license (see COPYING.MIT for the terms) | ||
| 5 | # | ||
| 6 | # SPDX-License-Identifier: MIT | ||
| 7 | # | ||
| 8 | |||
| 9 | SUMMARY = "Linux Kernel provided and supported by NXP" | ||
| 10 | DESCRIPTION = "Linux Kernel provided and supported by NXP with focus on \ | ||
| 11 | i.MX Family Reference Boards. It includes support for many IPs such as GPU, VPU and IPU." | ||
| 12 | |||
| 13 | require recipes-kernel/linux/linux-imx.inc | ||
| 14 | |||
| 15 | LICENSE = "GPL-2.0-only" | ||
| 16 | LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" | ||
| 17 | |||
| 18 | DEPENDS += "coreutils-native" | ||
| 19 | |||
| 20 | SRC_URI = "${LINUX_IMX_SRC}" | ||
| 21 | LINUX_IMX_SRC ?= "git://github.com/nxp-imx/linux-imx.git;protocol=https;branch=${SRCBRANCH}" | ||
| 22 | SRCBRANCH = "lf-6.18.y" | ||
| 23 | KBRANCH = "${SRCBRANCH}" | ||
| 24 | LOCALVERSION = "-1.0.0" | ||
| 25 | SRCREV = "f49f45233f7b10006ce7e9c826ee882bb14ac8b5" | ||
| 26 | |||
| 27 | # PV is defined in the base in linux-imx.inc file and uses the LINUX_VERSION definition | ||
| 28 | # required by kernel-yocto.bbclass. | ||
| 29 | # | ||
| 30 | # LINUX_VERSION define should match to the kernel version referenced by SRC_URI and | ||
| 31 | # should be updated once patchlevel is merged. | ||
| 32 | LINUX_VERSION = "6.18.2" | ||
| 33 | |||
| 34 | KBUILD_DEFCONFIG:mx6-generic-bsp = "imx_v7_defconfig" | ||
| 35 | KBUILD_DEFCONFIG:mx7-generic-bsp = "imx_v7_defconfig" | ||
| 36 | KBUILD_DEFCONFIG:mx8-generic-bsp = "imx_v8_defconfig" | ||
| 37 | KBUILD_DEFCONFIG:mx9-generic-bsp = "imx_v8_defconfig" | ||
| 38 | |||
| 39 | DEFAULT_PREFERENCE = "1" | ||
| 40 | |||
| 41 | python __anonymous () { | ||
| 42 | import bb | ||
| 43 | # Fail fast if DELTA_KERNEL_DEFCONFIG is present in the datastore (even if empty) | ||
| 44 | if "DELTA_KERNEL_DEFCONFIG" in d.keys(): | ||
| 45 | val = d.getVar("DELTA_KERNEL_DEFCONFIG", expand=False) | ||
| 46 | bb.error(f"Detected deprecated/unsupported variable 'DELTA_KERNEL_DEFCONFIG' (value: '{val}').") | ||
| 47 | bb.fatal("Please remove 'DELTA_KERNEL_DEFCONFIG' and use supported kernel configuration methods, " | ||
| 48 | "e.g., configuration fragments via kernel-yocto or a maintained defconfig.") | ||
| 49 | } | ||
| 50 | |||
| 51 | do_deploy:append() { | ||
| 52 | if [ ${@bb.utils.filter('UBOOT_CONFIG', 'crrm', d)} ]; then | ||
| 53 | baseName=${KERNEL_IMAGETYPE}-${KERNEL_IMAGE_NAME} | ||
| 54 | gzip -c ${DEPLOYDIR}/$baseName${KERNEL_IMAGE_BIN_EXT} > \ | ||
| 55 | ${DEPLOYDIR}/$baseName${KERNEL_IMAGE_BIN_EXT}.gz | ||
| 56 | ln -sf $baseName${KERNEL_IMAGE_BIN_EXT}.gz $deployDir/${KERNEL_IMAGETYPE}.gz | ||
| 57 | # FIXME: For now, the CRRM kernel is just a copy of the regular kernel | ||
| 58 | ln -sf $baseName${KERNEL_IMAGE_BIN_EXT} $deployDir/${KERNEL_IMAGETYPE}_crrm | ||
| 59 | ln -sf $baseName${KERNEL_IMAGE_BIN_EXT}.gz $deployDir/${KERNEL_IMAGETYPE}_crrm.gz | ||
| 60 | fi | ||
| 61 | } | ||
| 62 | |||
| 63 | COMPATIBLE_MACHINE = "(imx-nxp-bsp)" | ||
diff --git a/recipes-kernel/linux/linux-qoriq.inc b/recipes-kernel/linux/linux-qoriq.inc index 09de1ba0a..8c89a33aa 100644 --- a/recipes-kernel/linux/linux-qoriq.inc +++ b/recipes-kernel/linux/linux-qoriq.inc | |||
| @@ -22,17 +22,11 @@ PV = "${LINUX_VERSION}+git${SRCPV}" | |||
| 22 | SCMVERSION ?= "y" | 22 | SCMVERSION ?= "y" |
| 23 | LOCALVERSION = "" | 23 | LOCALVERSION = "" |
| 24 | 24 | ||
| 25 | DELTA_KERNEL_DEFCONFIG ?= "" | 25 | KBUILD_DEFCONFIG = "${KERNEL_DEFCONFIG}" |
| 26 | DELTA_KERNEL_DEFCONFIG:prepend:qoriq-arm64 = "lsdk.config " | 26 | EXTRA_KBUILD_DEFCONFIG:qoriq-arm64 = "lsdk.config" |
| 27 | DELTA_KERNEL_DEFCONFIG:prepend:qoriq-arm = "multi_v7_lpae.config lsdk.config " | 27 | EXTRA_KBUILD_DEFCONFIG:qoriq-arm = "multi_v7_lpae.config lsdk.config" |
| 28 | 28 | ||
| 29 | do_merge_delta_config[depends] += "virtual/cross-cc:do_populate_sysroot bison-native:do_populate_sysroot" | 29 | do_configure() { |
| 30 | do_merge_delta_config[dirs] = "${B}" | ||
| 31 | do_kernel_metadata[noexec] = "1" | ||
| 32 | do_kernel_configme[noexec] = "1" | ||
| 33 | do_kernel_configcheck[noexec] = "1" | ||
| 34 | |||
| 35 | do_merge_delta_config() { | ||
| 36 | # create config with make config | 30 | # create config with make config |
| 37 | oe_runmake -C ${S} O=${B} ${KERNEL_DEFCONFIG} | 31 | oe_runmake -C ${S} O=${B} ${KERNEL_DEFCONFIG} |
| 38 | 32 | ||
| @@ -41,9 +35,7 @@ do_merge_delta_config() { | |||
| 41 | echo "CONFIG_CPU_BIG_ENDIAN=y" >> .config | 35 | echo "CONFIG_CPU_BIG_ENDIAN=y" >> .config |
| 42 | echo "CONFIG_MTD_CFI_BE_BYTE_SWAP=y" >> .config | 36 | echo "CONFIG_MTD_CFI_BE_BYTE_SWAP=y" >> .config |
| 43 | fi | 37 | fi |
| 44 | 38 | for deltacfg in ${EXTRA_KBUILD_DEFCONFIG}; do | |
| 45 | # add config fragments | ||
| 46 | for deltacfg in ${DELTA_KERNEL_DEFCONFIG}; do | ||
| 47 | if [ -f ${S}/arch/${ARCH}/configs/${deltacfg} ]; then | 39 | if [ -f ${S}/arch/${ARCH}/configs/${deltacfg} ]; then |
| 48 | oe_runmake -C ${S} O=${B} ${deltacfg} | 40 | oe_runmake -C ${S} O=${B} ${deltacfg} |
| 49 | elif [ -f "${S}/${deltacfg}" ]; then | 41 | elif [ -f "${S}/${deltacfg}" ]; then |
| @@ -55,8 +47,6 @@ do_merge_delta_config() { | |||
| 55 | cp .config ${UNPACKDIR}/defconfig | 47 | cp .config ${UNPACKDIR}/defconfig |
| 56 | } | 48 | } |
| 57 | 49 | ||
| 58 | addtask merge_delta_config before do_kernel_localversion after do_patch | ||
| 59 | |||
| 60 | FILES:${KERNEL_PACKAGE_NAME}-image += "/boot/zImage*" | 50 | FILES:${KERNEL_PACKAGE_NAME}-image += "/boot/zImage*" |
| 61 | INSANE_SKIP:${PN}-src += " buildpaths" | 51 | INSANE_SKIP:${PN}-src += " buildpaths" |
| 62 | COMPATIBLE_MACHINE = "(qoriq)" | 52 | COMPATIBLE_MACHINE = "(qoriq)" |
diff --git a/recipes-kernel/linux/linux-qoriq_6.12.bb b/recipes-kernel/linux/linux-qoriq_6.12.bb index b43fe7d53..aa7561e3e 100644 --- a/recipes-kernel/linux/linux-qoriq_6.12.bb +++ b/recipes-kernel/linux/linux-qoriq_6.12.bb | |||
| @@ -1,9 +1,9 @@ | |||
| 1 | LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" | 1 | LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" |
| 2 | LINUX_VERSION = "6.12.20" | 2 | LINUX_VERSION = "6.12.49" |
| 3 | 3 | ||
| 4 | LINUX_QORIQ_BRANCH ?= "lf-6.12.y" | 4 | LINUX_QORIQ_BRANCH ?= "lf-6.12.y" |
| 5 | LINUX_QORIQ_SRC ?= "git://github.com/nxp-qoriq/linux.git;protocol=https" | 5 | LINUX_QORIQ_SRC ?= "git://github.com/nxp-qoriq/linux.git;protocol=https" |
| 6 | SRC_URI = "${LINUX_QORIQ_SRC};branch=${LINUX_QORIQ_BRANCH}" | 6 | SRC_URI = "${LINUX_QORIQ_SRC};branch=${LINUX_QORIQ_BRANCH}" |
| 7 | SRCREV = "dfaf2136deb2af2e60b994421281ba42f1c087e0" | 7 | SRCREV = "df24f9428e38740256a410b983003a478e72a7c0" |
| 8 | 8 | ||
| 9 | require linux-qoriq.inc | 9 | require linux-qoriq.inc |
diff --git a/recipes-multimedia/ffmpeg/ffmpeg/0001-libavutil-include-assembly-with-full-path-from-sourc.patch b/recipes-multimedia/ffmpeg/ffmpeg/0001-libavutil-include-assembly-with-full-path-from-sourc.patch deleted file mode 100644 index 2b4ca0e9b..000000000 --- a/recipes-multimedia/ffmpeg/ffmpeg/0001-libavutil-include-assembly-with-full-path-from-sourc.patch +++ /dev/null | |||
| @@ -1,97 +0,0 @@ | |||
| 1 | From 24a58d70cbb3997e471366bd5afe54be9007bfb1 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | ||
| 3 | Date: Tue, 10 Nov 2020 15:32:14 +0000 | ||
| 4 | Subject: [PATCH] libavutil: include assembly with full path from source root | ||
| 5 | |||
| 6 | Otherwise nasm writes the full host-specific paths into .o | ||
| 7 | output, which breaks binary reproducibility. | ||
| 8 | |||
| 9 | Upstream-Status: Submitted [by email to jamrial@gmail.com,ffmpeg-devel@ffmpeg.org] | ||
| 10 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | ||
| 11 | --- | ||
| 12 | libavutil/x86/cpuid.asm | 2 +- | ||
| 13 | libavutil/x86/emms.asm | 2 +- | ||
| 14 | libavutil/x86/fixed_dsp.asm | 2 +- | ||
| 15 | libavutil/x86/float_dsp.asm | 2 +- | ||
| 16 | libavutil/x86/lls.asm | 2 +- | ||
| 17 | libavutil/x86/pixelutils.asm | 2 +- | ||
| 18 | 6 files changed, 6 insertions(+), 6 deletions(-) | ||
| 19 | |||
| 20 | diff --git a/libavutil/x86/cpuid.asm b/libavutil/x86/cpuid.asm | ||
| 21 | index c3f7866..766f77f 100644 | ||
| 22 | --- a/libavutil/x86/cpuid.asm | ||
| 23 | +++ b/libavutil/x86/cpuid.asm | ||
| 24 | @@ -21,7 +21,7 @@ | ||
| 25 | ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 26 | ;****************************************************************************** | ||
| 27 | |||
| 28 | -%include "x86util.asm" | ||
| 29 | +%include "libavutil/x86/x86util.asm" | ||
| 30 | |||
| 31 | SECTION .text | ||
| 32 | |||
| 33 | diff --git a/libavutil/x86/emms.asm b/libavutil/x86/emms.asm | ||
| 34 | index 8611762..df84f22 100644 | ||
| 35 | --- a/libavutil/x86/emms.asm | ||
| 36 | +++ b/libavutil/x86/emms.asm | ||
| 37 | @@ -18,7 +18,7 @@ | ||
| 38 | ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 39 | ;****************************************************************************** | ||
| 40 | |||
| 41 | -%include "x86util.asm" | ||
| 42 | +%include "libavutil/x86/x86util.asm" | ||
| 43 | |||
| 44 | SECTION .text | ||
| 45 | |||
| 46 | diff --git a/libavutil/x86/fixed_dsp.asm b/libavutil/x86/fixed_dsp.asm | ||
| 47 | index 979dd5c..2f41185 100644 | ||
| 48 | --- a/libavutil/x86/fixed_dsp.asm | ||
| 49 | +++ b/libavutil/x86/fixed_dsp.asm | ||
| 50 | @@ -20,7 +20,7 @@ | ||
| 51 | ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 52 | ;****************************************************************************** | ||
| 53 | |||
| 54 | -%include "x86util.asm" | ||
| 55 | +%include "libavutil/x86/x86util.asm" | ||
| 56 | |||
| 57 | SECTION .text | ||
| 58 | |||
| 59 | diff --git a/libavutil/x86/float_dsp.asm b/libavutil/x86/float_dsp.asm | ||
| 60 | index 517fd63..b773e61 100644 | ||
| 61 | --- a/libavutil/x86/float_dsp.asm | ||
| 62 | +++ b/libavutil/x86/float_dsp.asm | ||
| 63 | @@ -20,7 +20,7 @@ | ||
| 64 | ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 65 | ;****************************************************************************** | ||
| 66 | |||
| 67 | -%include "x86util.asm" | ||
| 68 | +%include "libavutil/x86/x86util.asm" | ||
| 69 | |||
| 70 | SECTION_RODATA 32 | ||
| 71 | pd_reverse: dd 7, 6, 5, 4, 3, 2, 1, 0 | ||
| 72 | diff --git a/libavutil/x86/lls.asm b/libavutil/x86/lls.asm | ||
| 73 | index 317fba6..d2526d1 100644 | ||
| 74 | --- a/libavutil/x86/lls.asm | ||
| 75 | +++ b/libavutil/x86/lls.asm | ||
| 76 | @@ -20,7 +20,7 @@ | ||
| 77 | ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 78 | ;****************************************************************************** | ||
| 79 | |||
| 80 | -%include "x86util.asm" | ||
| 81 | +%include "libavutil/x86/x86util.asm" | ||
| 82 | |||
| 83 | SECTION .text | ||
| 84 | |||
| 85 | diff --git a/libavutil/x86/pixelutils.asm b/libavutil/x86/pixelutils.asm | ||
| 86 | index 36c57c5..8b45ead 100644 | ||
| 87 | --- a/libavutil/x86/pixelutils.asm | ||
| 88 | +++ b/libavutil/x86/pixelutils.asm | ||
| 89 | @@ -21,7 +21,7 @@ | ||
| 90 | ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 91 | ;****************************************************************************** | ||
| 92 | |||
| 93 | -%include "x86util.asm" | ||
| 94 | +%include "libavutil/x86/x86util.asm" | ||
| 95 | |||
| 96 | SECTION .text | ||
| 97 | |||
diff --git a/recipes-multimedia/ffmpeg/ffmpeg_4.4.1.bb b/recipes-multimedia/ffmpeg/ffmpeg_4.4.1.bb deleted file mode 100644 index 5b1dedcda..000000000 --- a/recipes-multimedia/ffmpeg/ffmpeg_4.4.1.bb +++ /dev/null | |||
| @@ -1,185 +0,0 @@ | |||
| 1 | SUMMARY = "A complete, cross-platform solution to record, convert and stream audio and video." | ||
| 2 | DESCRIPTION = "FFmpeg is the leading multimedia framework, able to decode, encode, transcode, \ | ||
| 3 | mux, demux, stream, filter and play pretty much anything that humans and machines \ | ||
| 4 | have created. It supports the most obscure ancient formats up to the cutting edge." | ||
| 5 | HOMEPAGE = "https://www.ffmpeg.org/" | ||
| 6 | SECTION = "libs" | ||
| 7 | |||
| 8 | LICENSE = "GPL-2.0-or-later & LGPL-2.1-or-later & ISC & MIT & BSD-2-Clause & BSD-3-Clause & IJG" | ||
| 9 | LICENSE:${PN} = "GPL-2.0-or-later" | ||
| 10 | LICENSE:libavcodec = "${@bb.utils.contains('PACKAGECONFIG', 'gpl', 'GPL-2.0-or-later', 'LGPL-2.1-or-later', d)}" | ||
| 11 | LICENSE:libavdevice = "${@bb.utils.contains('PACKAGECONFIG', 'gpl', 'GPL-2.0-or-later', 'LGPL-2.1-or-later', d)}" | ||
| 12 | LICENSE:libavfilter = "${@bb.utils.contains('PACKAGECONFIG', 'gpl', 'GPL-2.0-or-later', 'LGPL-2.1-or-later', d)}" | ||
| 13 | LICENSE:libavformat = "${@bb.utils.contains('PACKAGECONFIG', 'gpl', 'GPL-2.0-or-later', 'LGPL-2.1-or-later', d)}" | ||
| 14 | LICENSE:libavresample = "${@bb.utils.contains('PACKAGECONFIG', 'gpl', 'GPL-2.0-or-later', 'LGPL-2.1-or-later', d)}" | ||
| 15 | LICENSE:libavutil = "${@bb.utils.contains('PACKAGECONFIG', 'gpl', 'GPL-2.0-or-later', 'LGPL-2.1-or-later', d)}" | ||
| 16 | LICENSE:libpostproc = "GPL-2.0-or-later" | ||
| 17 | LICENSE:libswresample = "${@bb.utils.contains('PACKAGECONFIG', 'gpl', 'GPL-2.0-or-later', 'LGPL-2.1-or-later', d)}" | ||
| 18 | LICENSE:libswscale = "${@bb.utils.contains('PACKAGECONFIG', 'gpl', 'GPL-2.0-or-later', 'LGPL-2.1-or-later', d)}" | ||
| 19 | LICENSE_FLAGS = "commercial" | ||
| 20 | |||
| 21 | LIC_FILES_CHKSUM = "file://COPYING.GPLv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ | ||
| 22 | file://COPYING.GPLv3;md5=d32239bcb673463ab874e80d47fae504 \ | ||
| 23 | file://COPYING.LGPLv2.1;md5=bd7a443320af8c812e4c18d1b79df004 \ | ||
| 24 | file://COPYING.LGPLv3;md5=e6a600fd5e1d9cbde2d983680233ad02" | ||
| 25 | |||
| 26 | SRC_URI = "https://www.ffmpeg.org/releases/${BP}.tar.xz \ | ||
| 27 | file://0001-libavutil-include-assembly-with-full-path-from-sourc.patch \ | ||
| 28 | " | ||
| 29 | SRC_URI[sha256sum] = "eadbad9e9ab30b25f5520fbfde99fae4a92a1ae3c0257a8d68569a4651e30e02" | ||
| 30 | |||
| 31 | # Build fails when thumb is enabled: https://bugzilla.yoctoproject.org/show_bug.cgi?id=7717 | ||
| 32 | ARM_INSTRUCTION_SET:armv4 = "arm" | ||
| 33 | ARM_INSTRUCTION_SET:armv5 = "arm" | ||
| 34 | ARM_INSTRUCTION_SET:armv6 = "arm" | ||
| 35 | |||
| 36 | # Should be API compatible with libav (which was a fork of ffmpeg) | ||
| 37 | # libpostproc was previously packaged from a separate recipe | ||
| 38 | PROVIDES = "libav libpostproc" | ||
| 39 | |||
| 40 | DEPENDS = "nasm-native" | ||
| 41 | |||
| 42 | inherit autotools pkgconfig | ||
| 43 | |||
| 44 | PACKAGECONFIG ??= "avdevice avfilter avcodec avformat swresample swscale postproc avresample \ | ||
| 45 | alsa bzlib lzma pic pthreads shared theora zlib \ | ||
| 46 | ${@bb.utils.contains('AVAILTUNES', 'mips32r2', 'mips32r2', '', d)} \ | ||
| 47 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xv xcb', '', d)}" | ||
| 48 | |||
| 49 | # libraries to build in addition to avutil | ||
| 50 | PACKAGECONFIG[avdevice] = "--enable-avdevice,--disable-avdevice" | ||
| 51 | PACKAGECONFIG[avfilter] = "--enable-avfilter,--disable-avfilter" | ||
| 52 | PACKAGECONFIG[avcodec] = "--enable-avcodec,--disable-avcodec" | ||
| 53 | PACKAGECONFIG[avformat] = "--enable-avformat,--disable-avformat" | ||
| 54 | PACKAGECONFIG[swresample] = "--enable-swresample,--disable-swresample" | ||
| 55 | PACKAGECONFIG[swscale] = "--enable-swscale,--disable-swscale" | ||
| 56 | PACKAGECONFIG[postproc] = "--enable-postproc,--disable-postproc" | ||
| 57 | PACKAGECONFIG[avresample] = "--enable-avresample,--disable-avresample" | ||
| 58 | |||
| 59 | # features to support | ||
| 60 | PACKAGECONFIG[alsa] = "--enable-alsa,--disable-alsa,alsa-lib" | ||
| 61 | PACKAGECONFIG[altivec] = "--enable-altivec,--disable-altivec," | ||
| 62 | PACKAGECONFIG[bzlib] = "--enable-bzlib,--disable-bzlib,bzip2" | ||
| 63 | PACKAGECONFIG[fdk-aac] = "--enable-libfdk-aac --enable-nonfree,--disable-libfdk-aac,fdk-aac" | ||
| 64 | PACKAGECONFIG[gpl] = "--enable-gpl,--disable-gpl" | ||
| 65 | PACKAGECONFIG[gsm] = "--enable-libgsm,--disable-libgsm,libgsm" | ||
| 66 | PACKAGECONFIG[jack] = "--enable-indev=jack,--disable-indev=jack,jack" | ||
| 67 | PACKAGECONFIG[libopus] = "--enable-libopus,--disable-libopus,libopus" | ||
| 68 | PACKAGECONFIG[libvorbis] = "--enable-libvorbis,--disable-libvorbis,libvorbis" | ||
| 69 | PACKAGECONFIG[lzma] = "--enable-lzma,--disable-lzma,xz" | ||
| 70 | PACKAGECONFIG[mfx] = "--enable-libmfx,--disable-libmfx,intel-mediasdk" | ||
| 71 | PACKAGECONFIG[mp3lame] = "--enable-libmp3lame,--disable-libmp3lame,lame" | ||
| 72 | PACKAGECONFIG[openssl] = "--enable-openssl,--disable-openssl,openssl" | ||
| 73 | PACKAGECONFIG[sdl2] = "--enable-sdl2,--disable-sdl2,virtual/libsdl2" | ||
| 74 | PACKAGECONFIG[speex] = "--enable-libspeex,--disable-libspeex,speex" | ||
| 75 | PACKAGECONFIG[srt] = "--enable-libsrt,--disable-libsrt,srt" | ||
| 76 | PACKAGECONFIG[theora] = "--enable-libtheora,--disable-libtheora,libtheora libogg" | ||
| 77 | PACKAGECONFIG[vaapi] = "--enable-vaapi,--disable-vaapi,libva" | ||
| 78 | PACKAGECONFIG[vdpau] = "--enable-vdpau,--disable-vdpau,libvdpau" | ||
| 79 | PACKAGECONFIG[vpx] = "--enable-libvpx,--disable-libvpx,libvpx" | ||
| 80 | PACKAGECONFIG[x264] = "--enable-libx264,--disable-libx264,x264" | ||
| 81 | PACKAGECONFIG[x265] = "--enable-libx265,--disable-libx265,x265" | ||
| 82 | PACKAGECONFIG[xcb] = "--enable-libxcb,--disable-libxcb,libxcb" | ||
| 83 | PACKAGECONFIG[xv] = "--enable-outdev=xv,--disable-outdev=xv,libxv" | ||
| 84 | PACKAGECONFIG[zlib] = "--enable-zlib,--disable-zlib,zlib" | ||
| 85 | |||
| 86 | # other configuration options | ||
| 87 | PACKAGECONFIG[mips32r2] = ",--disable-mipsdsp --disable-mipsdspr2" | ||
| 88 | PACKAGECONFIG[pic] = "--enable-pic" | ||
| 89 | PACKAGECONFIG[pthreads] = "--enable-pthreads,--disable-pthreads" | ||
| 90 | PACKAGECONFIG[shared] = "--enable-shared" | ||
| 91 | PACKAGECONFIG[strip] = ",--disable-stripping" | ||
| 92 | |||
| 93 | # Check codecs that require --enable-nonfree | ||
| 94 | USE_NONFREE = "${@bb.utils.contains_any('PACKAGECONFIG', [ 'openssl' ], 'yes', '', d)}" | ||
| 95 | |||
| 96 | def cpu(d): | ||
| 97 | for arg in (d.getVar('TUNE_CCARGS') or '').split(): | ||
| 98 | if arg.startswith('-mcpu='): | ||
| 99 | return arg[6:] | ||
| 100 | return 'generic' | ||
| 101 | |||
| 102 | EXTRA_OECONF = " \ | ||
| 103 | ${@bb.utils.contains('USE_NONFREE', 'yes', '--enable-nonfree', '', d)} \ | ||
| 104 | \ | ||
| 105 | --cross-prefix=${TARGET_PREFIX} \ | ||
| 106 | \ | ||
| 107 | --ld='${CCLD}' \ | ||
| 108 | --cc='${CC}' \ | ||
| 109 | --cxx='${CXX}' \ | ||
| 110 | --arch=${TARGET_ARCH} \ | ||
| 111 | --target-os='linux' \ | ||
| 112 | --enable-cross-compile \ | ||
| 113 | --extra-cflags='${CFLAGS} ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}' \ | ||
| 114 | --extra-ldflags='${LDFLAGS}' \ | ||
| 115 | --sysroot='${STAGING_DIR_TARGET}' \ | ||
| 116 | ${EXTRA_FFCONF} \ | ||
| 117 | --libdir=${libdir} \ | ||
| 118 | --shlibdir=${libdir} \ | ||
| 119 | --datadir=${datadir}/ffmpeg \ | ||
| 120 | --cpu=${@cpu(d)} \ | ||
| 121 | --pkg-config=pkg-config \ | ||
| 122 | " | ||
| 123 | |||
| 124 | EXTRA_OECONF:append:linux-gnux32 = " --disable-asm" | ||
| 125 | |||
| 126 | EXTRA_OECONF += "${@bb.utils.contains('TUNE_FEATURES', 'mipsisa64r6', '--disable-mips64r2 --disable-mips32r2', '', d)}" | ||
| 127 | EXTRA_OECONF += "${@bb.utils.contains('TUNE_FEATURES', 'mipsisa64r2', '--disable-mips64r6 --disable-mips32r6', '', d)}" | ||
| 128 | EXTRA_OECONF += "${@bb.utils.contains('TUNE_FEATURES', 'mips32r2', '--disable-mips64r6 --disable-mips32r6', '', d)}" | ||
| 129 | EXTRA_OECONF += "${@bb.utils.contains('TUNE_FEATURES', 'mips32r6', '--disable-mips64r2 --disable-mips32r2', '', d)}" | ||
| 130 | EXTRA_OECONF:append:mips = " --extra-libs=-latomic --disable-mips32r5 --disable-mipsdsp --disable-mipsdspr2 \ | ||
| 131 | --disable-loongson2 --disable-loongson3 --disable-mmi --disable-msa --disable-msa2" | ||
| 132 | EXTRA_OECONF:append:riscv32 = " --extra-libs=-latomic" | ||
| 133 | EXTRA_OECONF:append:armv5 = " --extra-libs=-latomic" | ||
| 134 | EXTRA_OECONF:append:powerpc = " --extra-libs=-latomic" | ||
| 135 | |||
| 136 | # gold crashes on x86, another solution is to --disable-asm but thats more hacky | ||
| 137 | # ld.gold: internal error in relocate_section, at ../../gold/i386.cc:3684 | ||
| 138 | |||
| 139 | LDFLAGS:append:x86 = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}" | ||
| 140 | |||
| 141 | EXTRA_OEMAKE = "V=1" | ||
| 142 | |||
| 143 | do_configure() { | ||
| 144 | ${S}/configure ${EXTRA_OECONF} | ||
| 145 | } | ||
| 146 | |||
| 147 | # patch out build host paths for reproducibility | ||
| 148 | do_compile:prepend:class-target() { | ||
| 149 | sed -i -e "s,${WORKDIR},,g" ${B}/config.h | ||
| 150 | } | ||
| 151 | |||
| 152 | PACKAGES =+ "libavcodec \ | ||
| 153 | libavdevice \ | ||
| 154 | libavfilter \ | ||
| 155 | libavformat \ | ||
| 156 | libavresample \ | ||
| 157 | libavutil \ | ||
| 158 | libpostproc \ | ||
| 159 | libswresample \ | ||
| 160 | libswscale" | ||
| 161 | |||
| 162 | FILES:libavcodec = "${libdir}/libavcodec${SOLIBS}" | ||
| 163 | FILES:libavdevice = "${libdir}/libavdevice${SOLIBS}" | ||
| 164 | FILES:libavfilter = "${libdir}/libavfilter${SOLIBS}" | ||
| 165 | FILES:libavformat = "${libdir}/libavformat${SOLIBS}" | ||
| 166 | FILES:libavresample = "${libdir}/libavresample${SOLIBS}" | ||
| 167 | FILES:libavutil = "${libdir}/libavutil${SOLIBS}" | ||
| 168 | FILES:libpostproc = "${libdir}/libpostproc${SOLIBS}" | ||
| 169 | FILES:libswresample = "${libdir}/libswresample${SOLIBS}" | ||
| 170 | FILES:libswscale = "${libdir}/libswscale${SOLIBS}" | ||
| 171 | |||
| 172 | # ffmpeg disables PIC on some platforms (e.g. x86-32) | ||
| 173 | INSANE_SKIP:${MLPREFIX}libavcodec = "textrel" | ||
| 174 | INSANE_SKIP:${MLPREFIX}libavdevice = "textrel" | ||
| 175 | INSANE_SKIP:${MLPREFIX}libavfilter = "textrel" | ||
| 176 | INSANE_SKIP:${MLPREFIX}libavformat = "textrel" | ||
| 177 | INSANE_SKIP:${MLPREFIX}libavutil = "textrel" | ||
| 178 | INSANE_SKIP:${MLPREFIX}libavresample = "textrel" | ||
| 179 | INSANE_SKIP:${MLPREFIX}libswscale = "textrel" | ||
| 180 | INSANE_SKIP:${MLPREFIX}libswresample = "textrel" | ||
| 181 | INSANE_SKIP:${MLPREFIX}libpostproc = "textrel" | ||
| 182 | |||
| 183 | # Downgrade for NXP BSP | ||
| 184 | DEFAULT_PREFERENCE = "-1" | ||
| 185 | COMPATIBLE_MACHINE = "(imx-nxp-bsp)" | ||
diff --git a/recipes-security/optee-qoriq/optee-client-qoriq_4.6.0.bb b/recipes-security/optee-qoriq/optee-client-qoriq_4.6.0.bb deleted file mode 100644 index 4b61f7c04..000000000 --- a/recipes-security/optee-qoriq/optee-client-qoriq_4.6.0.bb +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | require optee-client.nxp.inc | ||
| 2 | |||
| 3 | OPTEE_CLIENT_BRANCH = "lf-6.12.20_2.0.0" | ||
| 4 | SRCREV = "02e7f9213b0d7db9c35ebf1e41e733fc9c5a3f75" | ||
diff --git a/recipes-security/optee-qoriq/optee-client-qoriq_4.8.0.bb b/recipes-security/optee-qoriq/optee-client-qoriq_4.8.0.bb new file mode 100644 index 000000000..6b1144b98 --- /dev/null +++ b/recipes-security/optee-qoriq/optee-client-qoriq_4.8.0.bb | |||
| @@ -0,0 +1,4 @@ | |||
| 1 | require optee-client.nxp.inc | ||
| 2 | |||
| 3 | OPTEE_CLIENT_BRANCH = "lf-6.12.49_2.2.0" | ||
| 4 | SRCREV = "7443d47f9468a38721cec802bed5ba4222690697" | ||
diff --git a/recipes-security/optee-qoriq/optee-os-qoriq-tadevkit_4.6.0.bb b/recipes-security/optee-qoriq/optee-os-qoriq-tadevkit_4.8.0.bb index e7847b81e..491817ef1 100644 --- a/recipes-security/optee-qoriq/optee-os-qoriq-tadevkit_4.6.0.bb +++ b/recipes-security/optee-qoriq/optee-os-qoriq-tadevkit_4.8.0.bb | |||
| @@ -6,8 +6,8 @@ HOMEPAGE = "https://www.op-tee.org/" | |||
| 6 | 6 | ||
| 7 | DEPENDS += "python3-pycryptodome-native" | 7 | DEPENDS += "python3-pycryptodome-native" |
| 8 | 8 | ||
| 9 | OPTEE_OS_BRANCH = "lf-6.12.20_2.0.0" | 9 | OPTEE_OS_BRANCH = "lf-6.12.49_2.2.0" |
| 10 | SRCREV = "87964807d80baf1dcfd89cafc66de34a1cf16bf3" | 10 | SRCREV = "b3883a773a9d15ec6439f9229e48f540c37e0d00" |
| 11 | 11 | ||
| 12 | do_install() { | 12 | do_install() { |
| 13 | #install TA devkit | 13 | #install TA devkit |
diff --git a/recipes-security/optee-qoriq/optee-os-qoriq_4.6.0.bb b/recipes-security/optee-qoriq/optee-os-qoriq_4.8.0.bb index cd568b3dc..3241ab8c4 100644 --- a/recipes-security/optee-qoriq/optee-os-qoriq_4.6.0.bb +++ b/recipes-security/optee-qoriq/optee-os-qoriq_4.8.0.bb | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | require optee-os.nxp.inc | 1 | require optee-os.nxp.inc |
| 2 | 2 | ||
| 3 | OPTEE_OS_BRANCH = "lf-6.12.20_2.0.0" | 3 | OPTEE_OS_BRANCH = "lf-6.12.49_2.2.0" |
| 4 | SRCREV = "87964807d80baf1dcfd89cafc66de34a1cf16bf3" | 4 | SRCREV = "b3883a773a9d15ec6439f9229e48f540c37e0d00" |
| 5 | 5 | ||
| 6 | do_install:append () { | 6 | do_install:append () { |
| 7 | install -d ${D}${nonarch_base_libdir}/firmware/ | 7 | install -d ${D}${nonarch_base_libdir}/firmware/ |
diff --git a/recipes-security/optee-qoriq/optee-os.nxp.inc b/recipes-security/optee-qoriq/optee-os.nxp.inc index 88ba3fbe2..1a837d54a 100644 --- a/recipes-security/optee-qoriq/optee-os.nxp.inc +++ b/recipes-security/optee-qoriq/optee-os.nxp.inc | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | # Copyright 2020-2021,2025 NXP | 1 | # Copyright 2020-2021,2025-2026 NXP |
| 2 | require recipes-security/optee-imx/optee-os-fslc.inc | 2 | require recipes-security/optee-imx/optee-os-fslc.inc |
| 3 | 3 | ||
| 4 | DEPENDS:append = " dtc-native" | 4 | DEPENDS:append = " dtc-native" |
| @@ -9,7 +9,6 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/../optee-imx/optee-os:" | |||
| 9 | 9 | ||
| 10 | SRC_URI:remove = "git://github.com/OP-TEE/optee_os.git;branch=master;protocol=https" | 10 | SRC_URI:remove = "git://github.com/OP-TEE/optee_os.git;branch=master;protocol=https" |
| 11 | SRC_URI:prepend = "${OPTEE_OS_SRC};branch=${OPTEE_OS_BRANCH} " | 11 | SRC_URI:prepend = "${OPTEE_OS_SRC};branch=${OPTEE_OS_BRANCH} " |
| 12 | SRC_URI:append = " file://0007-allow-setting-sysroot-for-clang.patch" | ||
| 13 | 12 | ||
| 14 | OPTEE_OS_SRC ?= "git://github.com/nxp-qoriq/optee_os.git;protocol=https" | 13 | OPTEE_OS_SRC ?= "git://github.com/nxp-qoriq/optee_os.git;protocol=https" |
| 15 | 14 | ||
diff --git a/recipes-security/optee-qoriq/optee-test-qoriq_4.6.0.bb b/recipes-security/optee-qoriq/optee-test-qoriq_4.8.0.bb index d008a6211..698c5dc85 100644 --- a/recipes-security/optee-qoriq/optee-test-qoriq_4.6.0.bb +++ b/recipes-security/optee-qoriq/optee-test-qoriq_4.8.0.bb | |||
| @@ -6,5 +6,5 @@ LIC_FILES_CHKSUM = "file://LICENSE.md;md5=a8fa504109e4cd7ea575bc49ea4be560 \ | |||
| 6 | file://LICENSE-BSD;md5=dca16d6efa93b55d0fd662ae5cd6feeb \ | 6 | file://LICENSE-BSD;md5=dca16d6efa93b55d0fd662ae5cd6feeb \ |
| 7 | file://LICENSE-GPL;md5=10e86b5d2a6cb0e2b9dcfdd26a9ac58d" | 7 | file://LICENSE-GPL;md5=10e86b5d2a6cb0e2b9dcfdd26a9ac58d" |
| 8 | 8 | ||
| 9 | OPTEE_TEST_BRANCH = "lf-6.12.20_2.0.0" | 9 | OPTEE_TEST_BRANCH = "lf-6.12.49_2.2.0" |
| 10 | SRCREV = "010f088f05b5ebf392c6e235d6e53d391755722f" | 10 | SRCREV = "3e16153533f8d87939beb3fa130c87746d08ef1d" |
diff --git a/recipes-security/optee-qoriq/optee-test.nxp.inc b/recipes-security/optee-qoriq/optee-test.nxp.inc index 48d5a4211..6bf158d12 100644 --- a/recipes-security/optee-qoriq/optee-test.nxp.inc +++ b/recipes-security/optee-qoriq/optee-test.nxp.inc | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | # Copyright 2020-2021,2025 NXP | 1 | # Copyright 2020-2021,2025-2026 NXP |
| 2 | require recipes-security/optee-imx/optee-test-fslc.inc | 2 | require recipes-security/optee-imx/optee-test-fslc.inc |
| 3 | 3 | ||
| 4 | DEPENDS:remove = "optee-client optee-os-tadevkit" | 4 | DEPENDS:remove = "optee-client optee-os-tadevkit" |
| @@ -10,6 +10,4 @@ SRC_URI:prepend = "${OPTEE_TEST_SRC};branch=${OPTEE_TEST_BRANCH} " | |||
| 10 | 10 | ||
| 11 | OPTEE_TEST_SRC ?= "git://github.com/nxp-qoriq/optee_test.git;protocol=https" | 11 | OPTEE_TEST_SRC ?= "git://github.com/nxp-qoriq/optee_test.git;protocol=https" |
| 12 | 12 | ||
| 13 | CFLAGS += " -Wno-error=unterminated-string-initialization" | ||
| 14 | |||
| 15 | COMPATIBLE_MACHINE = "(qoriq-arm64)" | 13 | COMPATIBLE_MACHINE = "(qoriq-arm64)" |
