diff options
254 files changed, 2135 insertions, 1326 deletions
| @@ -1,4 +1,4 @@ | |||
| 1 | LA_OPT_NXP_Software_License v58 November 2024 | 1 | LA_OPT_NXP_Software_License v62 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 |
| @@ -157,6 +157,8 @@ of the Licensed Software to anyone other than NXP. You may advise NXP of any | |||
| 157 | results obtained from your use of the Licensed Software, including any problems | 157 | results obtained from your use of the Licensed Software, including any problems |
| 158 | or suggested improvements thereof, and NXP retains the right to use such | 158 | or suggested improvements thereof, and NXP retains the right to use such |
| 159 | results and related information in any manner it deems appropriate. | 159 | results and related information in any manner it deems appropriate. |
| 160 | 3.9. Licensee may not use the Licensed Software as data or training | ||
| 161 | input to any artificial intelligence models or machine learning algorithms. | ||
| 160 | 4. OPEN SOURCE. Open source software included in the Licensed | 162 | 4. OPEN SOURCE. Open source software included in the Licensed |
| 161 | Software is not licensed under the terms of this Agreement but is instead | 163 | Software is not licensed under the terms of this Agreement but is instead |
| 162 | licensed under the terms of the applicable open source license(s), such as the | 164 | licensed under the terms of the applicable open source license(s), such as the |
| @@ -222,9 +224,10 @@ to you. | |||
| 222 | disclaims any warranty for the Licensed Software. The Licensed Software is | 224 | disclaims any warranty for the Licensed Software. The Licensed Software is |
| 223 | provided "AS IS", without warranty of any kind, either express or implied, | 225 | provided "AS IS", without warranty of any kind, either express or implied, |
| 224 | including without limitation the implied warranties of merchantability, fitness | 226 | including without limitation the implied warranties of merchantability, fitness |
| 225 | for a particular purpose, or non-infringement. You assume the entire risk | 227 | for a particular purpose, non-infringement, or any warranty that the Licensed |
| 226 | arising out of the use or performance of the licensed software, or any systems | 228 | Software is free from vulnerabilities. You assume the entire risk arising out |
| 227 | you design using the licensed software (if any). | 229 | of the use or performance of the licensed software, or any systems you design |
| 230 | using the licensed software (if any). | ||
| 228 | 10. INDEMNITY. You agree to fully defend and indemnify NXP from all | 231 | 10. INDEMNITY. You agree to fully defend and indemnify NXP from all |
| 229 | claims, liabilities, and costs (including reasonable attorney’s fees) related | 232 | claims, liabilities, and costs (including reasonable attorney’s fees) related |
| 230 | to (1) your use (including your subcontractor’s or distributee’s use, if | 233 | to (1) your use (including your subcontractor’s or distributee’s use, if |
| @@ -242,6 +245,7 @@ COSTS, DAMAGES, CLAIMS, OR LOSSES WHATSOEVER ARISING OUT OF OR IN CONNECTION | |||
| 242 | WITH THIS AGREEMENT OR PRODUCT(S) SUPPLIED UNDER THIS AGREEMENT IS LIMITED TO | 245 | WITH THIS AGREEMENT OR PRODUCT(S) SUPPLIED UNDER THIS AGREEMENT IS LIMITED TO |
| 243 | THE AGGREGATE AMOUNT PAID BY YOU TO NXP IN CONNECTION WITH THE LICENSED | 246 | THE AGGREGATE AMOUNT PAID BY YOU TO NXP IN CONNECTION WITH THE LICENSED |
| 244 | SOFTWARE PROVIDED UNDER THIS AGREEMENT TO WHICH LOSSES OR DAMAGES ARE CLAIMED. | 247 | SOFTWARE PROVIDED UNDER THIS AGREEMENT TO WHICH LOSSES OR DAMAGES ARE CLAIMED. |
| 248 | |||
| 245 | 12. EXPORT COMPLIANCE. | 249 | 12. EXPORT COMPLIANCE. |
| 246 | 12.1 Each party shall comply with all applicable export and import control | 250 | 12.1 Each party shall comply with all applicable export and import control |
| 247 | laws and regulations including but not limited to the US Export Administration | 251 | laws and regulations including but not limited to the US Export Administration |
| @@ -259,7 +263,7 @@ without obtaining prior written authorization from the applicable competent | |||
| 259 | government authorities to the extent required by those laws. | 263 | government authorities to the extent required by those laws. |
| 260 | 12.2 Prohibition of Export to Russian Federation | 264 | 12.2 Prohibition of Export to Russian Federation |
| 261 | 265 | ||
| 262 | (a) With respect to activitit that falls under the scope of Article 12g, | 266 | (a) With respect to activity that falls under the scope of Article 12g, |
| 263 | 12ga of Council Regulation (EU) No 833/2014, or Council Regulation (EU) No | 267 | 12ga of Council Regulation (EU) No 833/2014, or Council Regulation (EU) No |
| 264 | 765/2006 (as the case requires), you (a) will not sell, export or re-export, | 268 | 765/2006 (as the case requires), you (a) will not sell, export or re-export, |
| 265 | directly or indirectly any item, and (b) will not sell, license or sublicense | 269 | directly or indirectly any item, and (b) will not sell, license or sublicense |
| @@ -572,7 +576,7 @@ provide Fraunhofer your name and contact information. | |||
| 572 | 576 | ||
| 573 | Future Technology Devices International Ltd.: Future Technology Devices | 577 | Future Technology Devices International Ltd.: Future Technology Devices |
| 574 | International software must be used consistent with the terms found here: | 578 | International software must be used consistent with the terms found here: |
| 575 | http://www.ftdichip.com/Drivers/FTDriverLicenceTerms.htm | 579 | https://ftdichip.com/driver-licence-terms-details/ |
| 576 | 580 | ||
| 577 | Global Locate (Broadcom Corporation): Use of Global Locate, Inc. software is | 581 | Global Locate (Broadcom Corporation): Use of Global Locate, Inc. software is |
| 578 | limited to evaluation and demonstration only. Permitted distributions must be | 582 | limited to evaluation and demonstration only. Permitted distributions must be |
| @@ -633,10 +637,17 @@ Licensed Software includes proprietary software of MindTree in source code | |||
| 633 | format, Licensee may make modifications and create derivative works only to the | 637 | format, Licensee may make modifications and create derivative works only to the |
| 634 | extent necessary for debugging of the Licensed Software. | 638 | extent necessary for debugging of the Licensed Software. |
| 635 | 639 | ||
| 636 | MM SOLUTIONS AD: Use of MM SOLUTIONS AEC (Auto Exposure Control) and AWB (Auto | 640 | MM SOLUTIONS EAD: Use of the following MM SOLUTIONS software is limited to use |
| 637 | White Balance) software is limited to demonstration, testing, and evaluation | 641 | in conjuncture with NXP Products that have the Imaging Subsystem Processor |
| 638 | only. In no event may Licensee distribute or sublicense the MM SOLUTIONS | 642 | (ISP) enabled (fusing configuration), as indicated in the applicable data |
| 639 | software. Further rights must be obtained directly from MM SOLUTIONS. | 643 | sheet: (i) MMS Tuning Tool; (ii) Camera Development Kit (uGuzzi); (iii) and |
| 644 | additional Camera Software. For the purposes of this Agreement, “Camera | ||
| 645 | Software” means: (a) AEC (Auto Exposure Control); (b) AWB (Auto White | ||
| 646 | Balance), (c) Auto Focus; (d) Wide Dynamic Range; (e) LED Flicker Mitigation; | ||
| 647 | and (f) Multi-Camera Harmonization. In no event may Licensee distribute or | ||
| 648 | sublicense the MM SOLUTIONS software, unless otherwise licensed to do so by | ||
| 649 | issuance of the distribution rights under Section 2.3 of the Agreement. Any | ||
| 650 | further rights must be obtained directly from MM SOLUTIONS directly. | ||
| 640 | 651 | ||
| 641 | MPEG LA: Use of MPEG LA audio or video codec technology is limited to | 652 | MPEG LA: Use of MPEG LA audio or video codec technology is limited to |
| 642 | evaluation and demonstration only. Permitted distributions must be similarly | 653 | evaluation and demonstration only. Permitted distributions must be similarly |
| @@ -647,10 +658,19 @@ Licensee under any circumstance, even by a signed written amendment to this | |||
| 647 | Agreement. | 658 | Agreement. |
| 648 | 659 | ||
| 649 | NXP Voice Software: VoiceSpot, VoiceSeeker (including AEC), VIT Speech to | 660 | NXP Voice Software: VoiceSpot, VoiceSeeker (including AEC), VIT Speech to |
| 650 | Intent, and Conversa may be used for evaluation or demonstration purposes only. | 661 | Intent, and Conversa are subject to the terms of Section 2.2 only. Any |
| 651 | Any commercial distribution rights are subject to a separate royalty agreement | 662 | commercial distribution rights are subject to a separate royalty agreement |
| 652 | obtained from NXP. | 663 | obtained from NXP. |
| 653 | 664 | ||
| 665 | Together with the voice communication algorithm Conversa Licensee may get a | ||
| 666 | tuning tool from DevExpress and/or Lightning Chart in form of certain libraries | ||
| 667 | noted as ([name].dll) (“Tool”). Conversa as well as the Tool may only be | ||
| 668 | used by Licensee internally during testing, evaluation or product development | ||
| 669 | solely for tuning purposes of Licensee’s products in connection with | ||
| 670 | Conversa. Any use of Conversa or the Tool outside the scope of this license is | ||
| 671 | strictly prohibited, distributing the Libraries in any form. Licensee may use | ||
| 672 | Conversa in connection with its products only following the execution of a | ||
| 673 | separate royalty agreement with NXP. | ||
| 654 | NXP Wireless Charging Library: License to the Software is limited to use in | 674 | NXP Wireless Charging Library: License to the Software is limited to use in |
| 655 | inductive coupling or wireless charging applications | 675 | inductive coupling or wireless charging applications |
| 656 | 676 | ||
| @@ -2,20 +2,20 @@ | |||
| 2 | 2 | ||
| 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 = "GPL-2.0-only" | 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_1.0.0.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.6.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" |
| 10 | ./recipes-bsp/ddr-phy/ddr-phy_git.bb: LICENSE = "NXP-Binary-EULA" | 10 | ./recipes-bsp/ddr-phy/ddr-phy_git.bb: LICENSE = "NXP-Binary-EULA" |
| 11 | ./recipes-bsp/dp-firmware-cadence/dp-firmware-cadence_22.04.bb: LICENSE = "Proprietary" | 11 | ./recipes-bsp/dp-firmware-cadence/dp-firmware-cadence_22.04.bb: LICENSE = "Proprietary" |
| 12 | ./recipes-bsp/firmware-imx/firmware-ele-imx_2.0.1.bb: LICENSE = "Proprietary" | 12 | ./recipes-bsp/firmware-imx/firmware-ele-imx_2.0.2.bb: LICENSE = "Proprietary" |
| 13 | ./recipes-bsp/firmware-imx/firmware-imx-8.27.inc: LICENSE = "Proprietary" | 13 | ./recipes-bsp/firmware-imx/firmware-imx-8.28.inc: LICENSE = "Proprietary" |
| 14 | ./recipes-bsp/firmware-imx/firmware-nxp-wifi_1.1.bb: LICENSE = "Proprietary" | 14 | ./recipes-bsp/firmware-imx/firmware-nxp-wifi_1.1.bb: LICENSE = "Proprietary" |
| 15 | ./recipes-bsp/firmware-imx/firmware-sof-imx_2.3.0.bb: LICENSE = "BSD-3-Clause" | 15 | ./recipes-bsp/firmware-imx/firmware-sof-imx_2.3.0.bb: LICENSE = "BSD-3-Clause" |
| 16 | ./recipes-bsp/firmware-upower/firmware-upower_1.3.1.bb: LICENSE = "Proprietary" | 16 | ./recipes-bsp/firmware-upower/firmware-upower_1.3.1.bb: LICENSE = "Proprietary" |
| 17 | ./recipes-bsp/fsl-tlu/fsl-tlu_1.0.0.bb: LICENSE = "GPL-2.0-only" | 17 | ./recipes-bsp/fsl-tlu/fsl-tlu_1.0.0.bb: LICENSE = "GPL-2.0-only" |
| 18 | ./recipes-bsp/imx-atf/imx-atf_2.10.bb: LICENSE = "BSD-3-Clause" | 18 | ./recipes-bsp/imx-atf/imx-atf_2.12.bb: LICENSE = "BSD-3-Clause" |
| 19 | ./recipes-bsp/imx-kobs/imx-kobs_git.bb: LICENSE = "GPL-2.0-only" | 19 | ./recipes-bsp/imx-kobs/imx-kobs_git.bb: LICENSE = "GPL-2.0-only" |
| 20 | ./recipes-bsp/imx-lib/imx-lib_git.bb: LICENSE = "LGPL-2.1-only" | 20 | ./recipes-bsp/imx-lib/imx-lib_git.bb: LICENSE = "LGPL-2.1-only" |
| 21 | ./recipes-bsp/imx-mkimage/imx-boot_1.0.bb: LICENSE = "GPL-2.0-only" | 21 | ./recipes-bsp/imx-mkimage/imx-boot_1.0.bb: LICENSE = "GPL-2.0-only" |
| @@ -32,8 +32,8 @@ This file lists all licenses used by recipes in the meta-freescale layer. | |||
| 32 | ./recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.36.0.bb: LICENSE = "Proprietary" | 32 | ./recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.36.0.bb: LICENSE = "Proprietary" |
| 33 | ./recipes-bsp/imx-vpu/imx-vpu_5.4.39.3.bb: LICENSE = "Proprietary" | 33 | ./recipes-bsp/imx-vpu/imx-vpu_5.4.39.3.bb: LICENSE = "Proprietary" |
| 34 | ./recipes-bsp/inphi/inphi_git.bb: LICENSE = "NXP-Binary-EULA" | 34 | ./recipes-bsp/inphi/inphi_git.bb: LICENSE = "NXP-Binary-EULA" |
| 35 | ./recipes-bsp/isp-imx/basler-camera_4.2.2.25.1.bb: LICENSE = "Proprietary" | 35 | ./recipes-bsp/isp-imx/basler-camera_4.2.2.25.2.bb: LICENSE = "Proprietary" |
| 36 | ./recipes-bsp/isp-imx/isp-imx_4.2.2.25.1.bb: LICENSE = "Proprietary" | 36 | ./recipes-bsp/isp-imx/isp-imx_4.2.2.25.2.bb: LICENSE = "Proprietary" |
| 37 | ./recipes-bsp/libimxdmabuffer/libimxdmabuffer_1.1.3.bb: LICENSE = "LGPL-2.1-only" | 37 | ./recipes-bsp/libimxdmabuffer/libimxdmabuffer_1.1.3.bb: LICENSE = "LGPL-2.1-only" |
| 38 | ./recipes-bsp/ls2-phy/ls2-phy_git.bb: LICENSE = "NXP-Binary-EULA" | 38 | ./recipes-bsp/ls2-phy/ls2-phy_git.bb: LICENSE = "NXP-Binary-EULA" |
| 39 | ./recipes-bsp/mc-utils/mc-utils_git.bb: LICENSE = "BSD-3-Clause" | 39 | ./recipes-bsp/mc-utils/mc-utils_git.bb: LICENSE = "BSD-3-Clause" |
| @@ -43,7 +43,7 @@ This file lists all licenses used by recipes in the meta-freescale layer. | |||
| 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_2024.04.inc: LICENSE = "GPL-2.0-or-later" |
| 46 | ./recipes-bsp/u-boot/u-boot-qoriq_2021.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-core/udev/udev-rules-imx.bb: LICENSE = "MIT" | 48 | ./recipes-core/udev/udev-rules-imx.bb: LICENSE = "MIT" |
| 49 | ./recipes-core/udev/udev-rules-qoriq.bb: LICENSE = "MIT" | 49 | ./recipes-core/udev/udev-rules-qoriq.bb: LICENSE = "MIT" |
| @@ -52,13 +52,15 @@ This file lists all licenses used by recipes in the meta-freescale layer. | |||
| 52 | ./recipes-devtools/qemu/qemu.inc: LICENSE = "GPL-2.0-only & LGPL-2.1-only" | 52 | ./recipes-devtools/qemu/qemu.inc: LICENSE = "GPL-2.0-only & LGPL-2.1-only" |
| 53 | ./recipes-devtools/qoriq-cst/qoriq-cst_git.bb: LICENSE = "BSD-3-Clause" | 53 | ./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" | 54 | ./recipes-devtools/utp-com/utp-com_git.bb: LICENSE = "GPL-2.0-only" |
| 55 | ./recipes-devtools/uuu/uuu-bin_1.5.165.bb: LICENSE = "BSD-3-Clause & LGPL-2.1-or-later" | 55 | ./recipes-devtools/uuu/uuu-bin_1.5.233.bb: LICENSE = "BSD-3-Clause & LGPL-2.1-or-later" |
| 56 | ./recipes-devtools/uuu/uuu_git.bb: LICENSE = "BSD-3-Clause" | 56 | ./recipes-devtools/uuu/uuu_git.bb: LICENSE = "BSD-3-Clause" |
| 57 | ./recipes-downgrade/glslang/glslang_1.3.275.0.imx.bb: LICENSE = "BSD-3-Clause & BSD-2-Clause & MIT & Apache-2.0 & GPL-3-with-bison-exception" | ||
| 57 | ./recipes-downgrade/spir/spirv-headers_1.3.275.0.imx.bb: LICENSE = "MIT" | 58 | ./recipes-downgrade/spir/spirv-headers_1.3.275.0.imx.bb: LICENSE = "MIT" |
| 58 | ./recipes-downgrade/spir/spirv-tools_1.3.275.0.imx.bb: LICENSE = "Apache-2.0" | 59 | ./recipes-downgrade/spir/spirv-tools_1.3.275.0.imx.bb: LICENSE = "Apache-2.0" |
| 59 | ./recipes-downgrade/vulkan/vulkan-headers_1.3.275.0.imx.bb: LICENSE = "Apache-2.0 & MIT" | 60 | ./recipes-downgrade/vulkan/vulkan-headers_1.3.275.0.imx.bb: LICENSE = "Apache-2.0 & MIT" |
| 60 | ./recipes-downgrade/vulkan/vulkan-loader_1.3.275.0.imx.bb: LICENSE = "Apache-2.0" | 61 | ./recipes-downgrade/vulkan/vulkan-loader_1.3.275.0.imx.bb: LICENSE = "Apache-2.0" |
| 61 | ./recipes-downgrade/vulkan/vulkan-tools_1.3.275.0.imx.bb: LICENSE = "Apache-2.0" | 62 | ./recipes-downgrade/vulkan/vulkan-tools_1.3.275.0.imx.bb: LICENSE = "Apache-2.0" |
| 63 | ./recipes-downgrade/vulkan/vulkan-utility-libraries_1.3.275.0.imx.bb: LICENSE = "Apache-2.0" | ||
| 62 | ./recipes-downgrade/vulkan/vulkan-validation-layers_1.3.275.0.imx.bb: LICENSE = "Apache-2.0 & MIT" | 64 | ./recipes-downgrade/vulkan/vulkan-validation-layers_1.3.275.0.imx.bb: LICENSE = "Apache-2.0 & MIT" |
| 63 | ./recipes-dpaa/eth-config/eth-config_git.bb: LICENSE = "BSD-3-Clause & GPL-2.0-or-later" | 65 | ./recipes-dpaa/eth-config/eth-config_git.bb: LICENSE = "BSD-3-Clause & GPL-2.0-or-later" |
| 64 | ./recipes-dpaa/flib/flib_git.bb: LICENSE = "BSD-3-Clause & GPL-2.0-only" | 66 | ./recipes-dpaa/flib/flib_git.bb: LICENSE = "BSD-3-Clause & GPL-2.0-only" |
| @@ -88,24 +90,25 @@ This file lists all licenses used by recipes in the meta-freescale layer. | |||
| 88 | ./recipes-fsl/mcore-demos/imx-mcore-demos.inc: LICENSE = "Proprietary" | 90 | ./recipes-fsl/mcore-demos/imx-mcore-demos.inc: LICENSE = "Proprietary" |
| 89 | ./recipes-fsl/packagegroups/packagegroup-fsl-mfgtool.bb: LICENSE = "MIT" | 91 | ./recipes-fsl/packagegroups/packagegroup-fsl-mfgtool.bb: LICENSE = "MIT" |
| 90 | ./recipes-graphics/drm/libdrm_2.4.123.imx.bb: LICENSE = "MIT" | 92 | ./recipes-graphics/drm/libdrm_2.4.123.imx.bb: LICENSE = "MIT" |
| 91 | ./recipes-graphics/imx-g2d/imx-dpu-g2d_2.3.0.bb: LICENSE = "Proprietary" | 93 | ./recipes-graphics/imx-g2d/imx-dpu-g2d_2.4.0.0.bb: LICENSE = "Proprietary" |
| 92 | ./recipes-graphics/imx-g2d/imx-g2d-samples_git.bb: LICENSE = "BSD-3-Clause" | 94 | ./recipes-graphics/imx-g2d/imx-g2d-samples_git.bb: LICENSE = "BSD-3-Clause" |
| 93 | ./recipes-graphics/imx-g2d/imx-gpu-g2d_6.4.11.p3.0.bb: LICENSE = "Proprietary" | 95 | ./recipes-graphics/imx-g2d/imx-gpu-g2d_6.4.11.p3.2.bb: LICENSE = "Proprietary" |
| 94 | ./recipes-graphics/imx-g2d/imx-pxp-g2d_git.bb: LICENSE = "Proprietary" | 96 | ./recipes-graphics/imx-g2d/imx-pxp-g2d_git.bb: LICENSE = "Proprietary" |
| 95 | ./recipes-graphics/imx-gpu-apitrace/imx-gpu-apitrace_10.0.0.bb: LICENSE = "MIT" | 97 | ./recipes-graphics/imx-gpu-apitrace/imx-gpu-apitrace_10.0.0.bb: LICENSE = "MIT" |
| 96 | ./recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc: LICENSE = "Proprietary" | 98 | ./recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc: LICENSE = "Proprietary" |
| 97 | ./recipes-graphics/mali/mali-imx_r53.0.bb: LICENSE = "Proprietary" | 99 | ./recipes-graphics/mali/mali-imx_r54.0.bb: LICENSE = "Proprietary" |
| 98 | ./recipes-graphics/mesa/mesa-etnaviv-env_0.1.bb: LICENSE = "MIT" | 100 | ./recipes-graphics/mesa/mesa-etnaviv-env_0.1.bb: LICENSE = "MIT" |
| 99 | ./recipes-graphics/wayland/wayland-protocols_1.37.imx.bb: LICENSE = "MIT" | 101 | ./recipes-graphics/vulkan/vulkan-wsi-layer_git.bb: LICENSE = "MIT" |
| 102 | ./recipes-graphics/wayland/wayland-protocols_1.41.imx.bb: LICENSE = "MIT" | ||
| 100 | ./recipes-graphics/wayland/weston_10.0.5.imx.bb: LICENSE = "MIT" | 103 | ./recipes-graphics/wayland/weston_10.0.5.imx.bb: LICENSE = "MIT" |
| 101 | ./recipes-graphics/wayland/weston_14.0.1.imx.bb: LICENSE = "MIT" | 104 | ./recipes-graphics/wayland/weston_14.0.2.imx.bb: LICENSE = "MIT" |
| 102 | ./recipes-graphics/xwayland/xwayland_24.1.6.imx.bb: LICENSE = "MIT" | 105 | ./recipes-graphics/xwayland/xwayland_24.1.6.imx.bb: LICENSE = "MIT" |
| 103 | ./recipes-kernel/ceetm/ceetm_git.bb: LICENSE = "GPL-2.0-only" | 106 | ./recipes-kernel/ceetm/ceetm_git.bb: LICENSE = "GPL-2.0-only" |
| 104 | ./recipes-kernel/kernel-modules/kernel-module-ar_git.bb: LICENSE = "GPL-2.0-only & BSD" | 107 | ./recipes-kernel/kernel-modules/kernel-module-ar_git.bb: LICENSE = "GPL-2.0-only & BSD" |
| 105 | ./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.p2.2+fslc.bb: LICENSE = "GPL-2.0-only" |
| 106 | ./recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.4.11.p3.0.bb: LICENSE = "GPL-2.0-only" | 109 | ./recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.4.11.p3.2.bb: LICENSE = "GPL-2.0-only" |
| 107 | ./recipes-kernel/kernel-modules/kernel-module-ipc.inc: LICENSE = "BSD" | 110 | ./recipes-kernel/kernel-modules/kernel-module-ipc.inc: LICENSE = "BSD" |
| 108 | ./recipes-kernel/kernel-modules/kernel-module-isp-vvcam_4.2.2.25.1.bb: LICENSE = "GPL-2.0-only" | 111 | ./recipes-kernel/kernel-modules/kernel-module-isp-vvcam_4.2.2.25.2.bb: LICENSE = "GPL-2.0-only" |
| 109 | ./recipes-kernel/kernel-modules/kernel-module-ls-debug_git.bb: LICENSE = "GPL-2.0-or-later" | 112 | ./recipes-kernel/kernel-modules/kernel-module-ls-debug_git.bb: LICENSE = "GPL-2.0-or-later" |
| 110 | ./recipes-kernel/kernel-modules/kernel-module-nxp-wlan_git.bb: LICENSE = "GPL-2.0-only" | 113 | ./recipes-kernel/kernel-modules/kernel-module-nxp-wlan_git.bb: LICENSE = "GPL-2.0-only" |
| 111 | ./recipes-kernel/kernel-modules/kernel-module-uio-seville_0.1.bb: LICENSE = "GPL-2.0-only" | 114 | ./recipes-kernel/kernel-modules/kernel-module-uio-seville_0.1.bb: LICENSE = "GPL-2.0-only" |
| @@ -128,38 +131,37 @@ LICENSE:libpostproc = "GPL-2.0-or-later" | |||
| 128 | LICENSE:libswresample = "${@bb.utils.contains('PACKAGECONFIG', 'gpl', 'GPL-2.0-or-later', 'LGPL-2.1-or-later', d)}" | 131 | LICENSE:libswresample = "${@bb.utils.contains('PACKAGECONFIG', 'gpl', 'GPL-2.0-or-later', 'LGPL-2.1-or-later', d)}" |
| 129 | LICENSE:libswscale = "${@bb.utils.contains('PACKAGECONFIG', 'gpl', 'GPL-2.0-or-later', 'LGPL-2.1-or-later', d)}" | 132 | LICENSE:libswscale = "${@bb.utils.contains('PACKAGECONFIG', 'gpl', 'GPL-2.0-or-later', 'LGPL-2.1-or-later', d)}" |
| 130 | LICENSE_FLAGS = "commercial" | 133 | LICENSE_FLAGS = "commercial" |
| 131 | ./recipes-multimedia/gstreamer/gst-devtools_1.22.5.imx.bb: LICENSE = "LGPL-2.1-or-later" | 134 | ./recipes-multimedia/gstreamer/gst-devtools_1.26.0.imx.bb: LICENSE = "LGPL-2.1-or-later" |
| 132 | ./recipes-multimedia/gstreamer/gst-examples_1.24.7.imx.bb: LICENSE = "LGPL-2.0-or-later" | 135 | ./recipes-multimedia/gstreamer/gst-examples_1.24.7.imx.bb: LICENSE = "LGPL-2.0-or-later" |
| 133 | ./recipes-multimedia/gstreamer/gstreamer1.0-libav_1.24.7.imx.bb: LICENSE_FLAGS = "commercial" | 136 | ./recipes-multimedia/gstreamer/gstreamer1.0-libav_1.26.0.imx.bb: LICENSE_FLAGS = "commercial" |
| 134 | LICENSE = "LGPL-2.1-or-later" | 137 | LICENSE = "LGPL-2.1-or-later" |
| 135 | ./recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.24.7.imx.bb: LICENSE = "LGPL-2.1-or-later & GPL-2.0-or-later" | 138 | ./recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.26.0.imx.bb: LICENSE = "LGPL-2.1-or-later & GPL-2.0-or-later" |
| 136 | ./recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.24.7.imx.bb: LICENSE = "LGPL-2.1-or-later" | 139 | ./recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.26.0.imx.bb: LICENSE = "LGPL-2.1-or-later" |
| 137 | ./recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.24.7.imx.bb: LICENSE = "LGPL-2.1-or-later" | 140 | ./recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.26.0.imx.bb: LICENSE = "LGPL-2.1-or-later" |
| 138 | ./recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_2.2.0.bb: LICENSE = "LGPL-2.0-or-later" | 141 | ./recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_2.2.0.bb: LICENSE = "LGPL-2.0-or-later" |
| 139 | ./recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.24.0.imx.bb: LICENSE = "LGPL-2.1-or-later & GPL-2.0-or-later" | 142 | ./recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.26.0.imx.bb: LICENSE = "LGPL-2.1-or-later & GPL-2.0-or-later" |
| 140 | LICENSE_FLAGS = "commercial" | 143 | LICENSE_FLAGS = "commercial" |
| 141 | ./recipes-multimedia/gstreamer/gstreamer1.0-python_1.24.0.imx.bb: LICENSE = "LGPL-2.1-or-later" | 144 | ./recipes-multimedia/gstreamer/gstreamer1.0-python_1.26.0.imx.bb: LICENSE = "LGPL-2.1-or-later" |
| 142 | ./recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.24.0.imx.bb: LICENSE = "LGPL-2.1-or-later" | 145 | ./recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.26.0.imx.bb: LICENSE = "LGPL-2.1-or-later" |
| 143 | ./recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.24.0.imx.bb: LICENSE = "LGPL-2.1-or-later" | 146 | ./recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.26.0.imx.bb: LICENSE = "LGPL-2.1-or-later" |
| 144 | ./recipes-multimedia/gstreamer/gstreamer1.0_1.24.7.imx.bb: LICENSE = "LGPL-2.1-or-later" | 147 | ./recipes-multimedia/gstreamer/gstreamer1.0_1.26.0.imx.bb: LICENSE = "LGPL-2.1-or-later" |
| 145 | ./recipes-multimedia/gstreamer/imx-gst1.0-plugin_git.bb: LICENSE = "GPL-2.0-only & LGPL-2.0-only & LGPL-2.1-only" | 148 | ./recipes-multimedia/gstreamer/imx-gst1.0-plugin_git.bb: LICENSE = "GPL-2.0-only & LGPL-2.0-only & LGPL-2.1-only" |
| 146 | ./recipes-multimedia/imx-codec/imx-codec_4.9.3.bb: LICENSE = "Proprietary" | 149 | ./recipes-multimedia/imx-codec/imx-codec_4.10.0.bb: LICENSE = "Proprietary" |
| 147 | ./recipes-multimedia/imx-dsp/imx-dsp-codec-ext_2.1.8.bb: LICENSE = "Proprietary" | 150 | ./recipes-multimedia/imx-dsp/imx-dsp-codec-ext_2.1.8.bb: LICENSE = "Proprietary" |
| 148 | ./recipes-multimedia/imx-dsp/imx-dsp_2.1.10.bb: LICENSE = "Proprietary" | 151 | ./recipes-multimedia/imx-dsp/imx-dsp_2.1.10.bb: LICENSE = "Proprietary" |
| 149 | ./recipes-multimedia/imx-dspc-asrc/imx-dspc-asrc_1.0.1.bb: LICENSE = "Proprietary" | 152 | ./recipes-multimedia/imx-dspc-asrc/imx-dspc-asrc_1.0.2.bb: LICENSE = "Proprietary" |
| 150 | ./recipes-multimedia/imx-opencl-converter/imx-opencl-converter_0.7.0.bb: LICENSE = "Proprietary" | 153 | ./recipes-multimedia/imx-opencl-converter/imx-opencl-converter_0.8.0.bb: LICENSE = "Proprietary" |
| 151 | ./recipes-multimedia/imx-parser/imx-parser_4.9.3.bb: LICENSE = "Proprietary" | 154 | ./recipes-multimedia/imx-parser/imx-parser_4.10.0.bb: LICENSE = "Proprietary" |
| 152 | ./recipes-multimedia/imx-sw-pdm/imx-sw-pdm_1.0.3.bb: LICENSE = "Proprietary" | 155 | ./recipes-multimedia/imx-sw-pdm/imx-sw-pdm_1.0.3.bb: LICENSE = "Proprietary" |
| 153 | ./recipes-multimedia/imx-vpuwrap/imx-vpuwrap_git.bb: LICENSE = "Proprietary" | 156 | ./recipes-multimedia/imx-vpuwrap/imx-vpuwrap_git.bb: LICENSE = "Proprietary" |
| 154 | ./recipes-multimedia/libimxvpuapi/libimxvpuapi2_2.3.1.bb: LICENSE = "LGPL-2.1-only" | 157 | ./recipes-multimedia/libimxvpuapi/libimxvpuapi2_2.3.1.bb: LICENSE = "LGPL-2.1-only" |
| 155 | ./recipes-multimedia/libimxvpuapi/libimxvpuapi_git.bb: LICENSE = "LGPL-2.1-only" | 158 | ./recipes-multimedia/libimxvpuapi/libimxvpuapi_git.bb: LICENSE = "LGPL-2.1-only" |
| 159 | ./recipes-multimedia/nxp-afe/nxp-afe-voiceseeker_git.bb: LICENSE = "Proprietary" | ||
| 160 | ./recipes-multimedia/nxp-afe/nxp-afe_git.bb: LICENSE = "BSD-3-Clause" | ||
| 156 | ./recipes-multimedia/tinycompress/tinycompress_1.2.5.bb: LICENSE = "LGPL-2.1-only | BSD-3-Clause" | 161 | ./recipes-multimedia/tinycompress/tinycompress_1.2.5.bb: LICENSE = "LGPL-2.1-only | BSD-3-Clause" |
| 157 | ./recipes-security/optee-imx/optee-client-fslc.inc: LICENSE = "BSD-2-Clause" | 162 | ./recipes-security/optee-imx/optee-client-fslc.inc: LICENSE = "BSD-2-Clause" |
| 158 | ./recipes-security/optee-imx/optee-os-fslc.inc: LICENSE = "BSD-2-Clause" | 163 | ./recipes-security/optee-imx/optee-os-fslc.inc: LICENSE = "BSD-2-Clause" |
| 159 | ./recipes-security/optee-imx/optee-test-fslc.inc: LICENSE = "BSD-2-Clause & GPL-2.0-only" | 164 | ./recipes-security/optee-imx/optee-test-fslc.inc: LICENSE = "BSD-2-Clause & GPL-2.0-only" |
| 160 | ./recipes-security/optee-qoriq/optee-client.nxp.inc: LICENSE = "BSD" | ||
| 161 | ./recipes-security/optee-qoriq/optee-os.nxp.inc: LICENSE = "BSD" | ||
| 162 | ./recipes-security/optee-qoriq/optee-test.nxp.inc: LICENSE = "BSD & GPL-2.0-only" | ||
| 163 | ./recipes-security/smw/keyctl-caam_git.bb: LICENSE = "BSD-3-Clause" | 165 | ./recipes-security/smw/keyctl-caam_git.bb: LICENSE = "BSD-3-Clause" |
| 164 | ./recipes-security/smw/smw_git.bb: LICENSE = "BSD-3-Clause" | 166 | ./recipes-security/smw/smw_git.bb: LICENSE = "BSD-3-Clause" |
| 165 | LICENSE = "Apache-2.0 & BSD-3-Clause & Zlib" | 167 | LICENSE = "Apache-2.0 & BSD-3-Clause & Zlib" |
diff --git a/classes/fsl-eula-unpack.bbclass b/classes/fsl-eula-unpack.bbclass index 5b165e481..f8861cd14 100644 --- a/classes/fsl-eula-unpack.bbclass +++ b/classes/fsl-eula-unpack.bbclass | |||
| @@ -62,6 +62,8 @@ FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V53 = "44a8052c384584ba09077e85 | |||
| 62 | FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V56 = "10c0fda810c63b052409b15a5445671a" | 62 | FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V56 = "10c0fda810c63b052409b15a5445671a" |
| 63 | FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V57 = "ca53281cc0caa7e320d4945a896fb837" | 63 | FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V57 = "ca53281cc0caa7e320d4945a896fb837" |
| 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" | ||
| 66 | FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V62 = "a93b654673e1bc8398ed1f30e0813359" | ||
| 65 | 67 | ||
| 66 | FSL_EULA_FILE_MD5SUMS = " \ | 68 | FSL_EULA_FILE_MD5SUMS = " \ |
| 67 | ${FSL_EULA_FILE_MD5SUM_LA_OPT_BASE_LICENSE_V8} \ | 69 | ${FSL_EULA_FILE_MD5SUM_LA_OPT_BASE_LICENSE_V8} \ |
| @@ -120,11 +122,13 @@ FSL_EULA_FILE_MD5SUMS = " \ | |||
| 120 | ${FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V56} \ | 122 | ${FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V56} \ |
| 121 | ${FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V57} \ | 123 | ${FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V57} \ |
| 122 | ${FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V58} \ | 124 | ${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_V62} \ | ||
| 123 | " | 127 | " |
| 124 | 128 | ||
| 125 | # The checksum for the EULA in the layer | 129 | # The checksum for the EULA in the layer |
| 126 | FSL_EULA_FILE_MD5SUM ?= \ | 130 | FSL_EULA_FILE_MD5SUM ?= \ |
| 127 | "${FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V58}" | 131 | "${FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V62}" |
| 128 | 132 | ||
| 129 | LIC_FILES_CHKSUM_LAYER ?= "file://${FSL_EULA_FILE};md5=${FSL_EULA_FILE_MD5SUM}" | 133 | LIC_FILES_CHKSUM_LAYER ?= "file://${FSL_EULA_FILE};md5=${FSL_EULA_FILE_MD5SUM}" |
| 130 | LIC_FILES_CHKSUM_LAYER[vardepsexclude] += "FSL_EULA_FILE" | 134 | LIC_FILES_CHKSUM_LAYER[vardepsexclude] += "FSL_EULA_FILE" |
| @@ -166,7 +170,7 @@ python fsl_bin_do_unpack() { | |||
| 166 | 170 | ||
| 167 | localdata = bb.data.createCopy(d) | 171 | localdata = bb.data.createCopy(d) |
| 168 | 172 | ||
| 169 | rootdir = localdata.getVar('WORKDIR', True) | 173 | rootdir = localdata.getVar('UNPACKDIR', True) |
| 170 | fetcher = bb.fetch2.Fetch(src_uri, localdata) | 174 | fetcher = bb.fetch2.Fetch(src_uri, localdata) |
| 171 | 175 | ||
| 172 | found = 0 | 176 | found = 0 |
diff --git a/classes/fsl-kernel-localversion.bbclass b/classes/fsl-kernel-localversion.bbclass index 9ef0a62f6..fae3fe1d9 100644 --- a/classes/fsl-kernel-localversion.bbclass +++ b/classes/fsl-kernel-localversion.bbclass | |||
| @@ -13,7 +13,8 @@ SCMVERSION ??= "y" | |||
| 13 | LOCALVERSION ??= "+fslc" | 13 | LOCALVERSION ??= "+fslc" |
| 14 | 14 | ||
| 15 | # LINUX_VERSION_EXTENSION is used as CONFIG_LOCALVERSION by kernel-yocto class | 15 | # LINUX_VERSION_EXTENSION is used as CONFIG_LOCALVERSION by kernel-yocto class |
| 16 | LINUX_VERSION_EXTENSION ?= "${LOCALVERSION}" | 16 | LINUX_VERSION_EXTENSION ?= \ |
| 17 | "${@bb.utils.contains('SCMVERSION', 'y', '', '${LOCALVERSION}', d)}" | ||
| 17 | 18 | ||
| 18 | do_kernel_localversion[dirs] += "${S} ${B}" | 19 | do_kernel_localversion[dirs] += "${S} ${B}" |
| 19 | do_kernel_localversion() { | 20 | do_kernel_localversion() { |
diff --git a/classes/imx-boot-container.bbclass b/classes/imx-boot-container.bbclass index b0d3dc1fb..7c9f34927 100644 --- a/classes/imx-boot-container.bbclass +++ b/classes/imx-boot-container.bbclass | |||
| @@ -52,17 +52,21 @@ do_resolve_and_populate_binaries() { | |||
| 52 | for config in ${UBOOT_MACHINE}; do | 52 | for config in ${UBOOT_MACHINE}; do |
| 53 | i=$(expr $i + 1); | 53 | i=$(expr $i + 1); |
| 54 | for type in ${UBOOT_CONFIG}; do | 54 | for type in ${UBOOT_CONFIG}; do |
| 55 | builddir="${config}-${type}" | ||
| 55 | j=$(expr $j + 1); | 56 | j=$(expr $j + 1); |
| 56 | if [ $j -eq $i ]; then | 57 | if [ $j -eq $i ]; then |
| 57 | for firmware in ${IMX_BOOT_CONTAINER_FIRMWARE}; do | 58 | for firmware in ${IMX_BOOT_CONTAINER_FIRMWARE}; do |
| 58 | bbnote "Copy firmware: ${firmware} from ${DEPLOY_DIR_IMAGE} -> ${B}/${config}/" | 59 | bbnote "Copy firmware: ${firmware} from ${DEPLOY_DIR_IMAGE} -> ${B}/${builddir}/" |
| 59 | cp ${DEPLOY_DIR_IMAGE}/${firmware} ${B}/${config}/ | 60 | cp ${DEPLOY_DIR_IMAGE}/${firmware} ${B}/${builddir}/ |
| 60 | done | 61 | done |
| 61 | if [ -n "${ATF_MACHINE_NAME}" ]; then | 62 | if [ -n "${ATF_MACHINE_NAME}" ]; then |
| 62 | cp ${DEPLOY_DIR_IMAGE}/${ATF_MACHINE_NAME} ${B}/${config}/bl31.bin | 63 | cp ${DEPLOY_DIR_IMAGE}/${ATF_MACHINE_NAME} ${B}/${builddir}/bl31.bin |
| 63 | else | 64 | else |
| 64 | bberror "ATF binary is undefined, result binary would be unusable!" | 65 | bberror "ATF binary is undefined, result binary would be unusable!" |
| 65 | fi | 66 | fi |
| 67 | if [ "${@bb.utils.contains('MACHINE_FEATURES', 'optee', '1' , '0' , d)}" = "1" ] ; then | ||
| 68 | cp ${DEPLOY_DIR_IMAGE}/${OPTEE_BOOT_IMAGE} ${B}/${builddir}/ | ||
| 69 | fi | ||
| 66 | fi | 70 | fi |
| 67 | done | 71 | done |
| 68 | unset j | 72 | unset j |
| @@ -87,10 +91,11 @@ do_deploy:append() { | |||
| 87 | for config in ${UBOOT_MACHINE}; do | 91 | for config in ${UBOOT_MACHINE}; do |
| 88 | i=$(expr $i + 1); | 92 | i=$(expr $i + 1); |
| 89 | for type in ${UBOOT_CONFIG}; do | 93 | for type in ${UBOOT_CONFIG}; do |
| 94 | builddir="${config}-${type}" | ||
| 90 | j=$(expr $j + 1); | 95 | j=$(expr $j + 1); |
| 91 | if [ $j -eq $i ] | 96 | if [ $j -eq $i ] |
| 92 | then | 97 | then |
| 93 | install -m 0644 ${B}/${config}/flash.bin ${DEPLOYDIR}/flash.bin-${MACHINE}-${type} | 98 | install -m 0644 ${B}/${builddir}/flash.bin ${DEPLOYDIR}/flash.bin-${MACHINE}-${type} |
| 94 | # When there's more than one word in UBOOT_CONFIG, | 99 | # When there's more than one word in UBOOT_CONFIG, |
| 95 | # the first UBOOT_CONFIG listed will be the imx-boot binary | 100 | # the first UBOOT_CONFIG listed will be the imx-boot binary |
| 96 | if [ ! -f "${DEPLOYDIR}/imx-boot" ]; then | 101 | if [ ! -f "${DEPLOYDIR}/imx-boot" ]; then |
diff --git a/conf/layer.conf b/conf/layer.conf index d35660501..4b0a5f77f 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 = "walnascar" | 11 | LAYERSERIES_COMPAT_freescale-layer = "whinlatter" |
| 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/imx8mnul-ddr3l-evk.conf b/conf/machine/imx8mnul-ddr3l-evk.conf index 7d87010b4..f0488912f 100644 --- a/conf/machine/imx8mnul-ddr3l-evk.conf +++ b/conf/machine/imx8mnul-ddr3l-evk.conf | |||
| @@ -58,8 +58,6 @@ IMX_BOOT_SOC_TARGET = "iMX8MN" | |||
| 58 | 58 | ||
| 59 | SERIAL_CONSOLES = "115200;ttymxc1" | 59 | SERIAL_CONSOLES = "115200;ttymxc1" |
| 60 | 60 | ||
| 61 | IMAGE_BOOTLOADER = "imx-boot" | ||
| 62 | |||
| 63 | BOOT_SPACE = "65536" | 61 | BOOT_SPACE = "65536" |
| 64 | LOADADDR = "" | 62 | LOADADDR = "" |
| 65 | UBOOT_MAKE_TARGET = "all" | 63 | UBOOT_MAKE_TARGET = "all" |
diff --git a/conf/machine/imx95-19x19-verdin.conf b/conf/machine/imx95-19x19-verdin.conf index 38acc47da..5ae9ac665 100644 --- a/conf/machine/imx95-19x19-verdin.conf +++ b/conf/machine/imx95-19x19-verdin.conf | |||
| @@ -8,6 +8,12 @@ MACHINEOVERRIDES =. "mx95:" | |||
| 8 | 8 | ||
| 9 | require conf/machine/include/imx95-evk.inc | 9 | require conf/machine/include/imx95-evk.inc |
| 10 | 10 | ||
| 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 | ||
| 13 | #IMX_SOC_REV:${MACHINE} = "A0" | ||
| 14 | # When building for A0/A1 iMX95 SoCs, set OEI_DDRCONFIG accordingly | ||
| 15 | OEI_DDRCONFIG = "${@'XIMX95LPD5EVK19_6400mbps_train_timing_a1' if d.getVar('IMX_SOC_REV')[0] == 'A' else ''}" | ||
| 16 | |||
| 11 | KERNEL_DEVICETREE_BASENAME = "imx95-19x19-verdin" | 17 | KERNEL_DEVICETREE_BASENAME = "imx95-19x19-verdin" |
| 12 | 18 | ||
| 13 | KERNEL_DEVICETREE:append:use-nxp-bsp = " \ | 19 | KERNEL_DEVICETREE:append:use-nxp-bsp = " \ |
diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc index 15d7b2e8d..4e0b2f927 100644 --- a/conf/machine/include/imx-base.inc +++ b/conf/machine/include/imx-base.inc | |||
| @@ -185,6 +185,7 @@ IMX_SOC_REV:mx8ulp-generic-bsp ??= \ | |||
| 185 | "${@bb.utils.contains('MACHINE_FEATURES', 'soc-reva0', 'A0', \ | 185 | "${@bb.utils.contains('MACHINE_FEATURES', 'soc-reva0', 'A0', \ |
| 186 | 'A2', d)}" | 186 | 'A2', d)}" |
| 187 | IMX_SOC_REV:mx93-generic-bsp ??= "A1" | 187 | IMX_SOC_REV:mx93-generic-bsp ??= "A1" |
| 188 | IMX_SOC_REV:mx95-generic-bsp ??= "B0" | ||
| 188 | 189 | ||
| 189 | IMX_SOC_REV_LOWER = "${@d.getVar('IMX_SOC_REV').lower()}" | 190 | IMX_SOC_REV_LOWER = "${@d.getVar('IMX_SOC_REV').lower()}" |
| 190 | IMX_SOC_REV_UPPER = "${@d.getVar('IMX_SOC_REV').upper()}" | 191 | IMX_SOC_REV_UPPER = "${@d.getVar('IMX_SOC_REV').upper()}" |
| @@ -361,7 +362,7 @@ MACHINE_SOCARCH_FILTER:append:imxgpu = " \ | |||
| 361 | virtual/egl \ | 362 | virtual/egl \ |
| 362 | virtual/libopenvg \ | 363 | virtual/libopenvg \ |
| 363 | virtual/mesa \ | 364 | virtual/mesa \ |
| 364 | virtual/opencl-icd \ | 365 | virtual/libopencl1 \ |
| 365 | libdrm \ | 366 | libdrm \ |
| 366 | cairo \ | 367 | cairo \ |
| 367 | libgal-imx \ | 368 | libgal-imx \ |
| @@ -527,30 +528,20 @@ MACHINE_GSTREAMER_1_0_PLUGIN:mx8ulp-nxp-bsp ?= "imx-gst1.0-plugin" | |||
| 527 | MACHINE_GSTREAMER_1_0_PLUGIN:mx93-nxp-bsp ?= "imx-gst1.0-plugin" | 528 | MACHINE_GSTREAMER_1_0_PLUGIN:mx93-nxp-bsp ?= "imx-gst1.0-plugin" |
| 528 | 529 | ||
| 529 | # GStreamer forked recipes | 530 | # GStreamer forked recipes |
| 530 | PREFERRED_VERSION_gstreamer1.0:mx8-nxp-bsp ??= "1.24.7.imx" | 531 | PREFERRED_VERSION_gstreamer1.0:imx-nxp-bsp ??= "1.26.0.imx" |
| 531 | PREFERRED_VERSION_gstreamer1.0-plugins-bad:mx8-nxp-bsp ??= "1.24.7.imx" | 532 | PREFERRED_VERSION_gstreamer1.0-plugins-bad:imx-nxp-bsp ??= "1.26.0.imx" |
| 532 | PREFERRED_VERSION_gstreamer1.0-plugins-base:mx8-nxp-bsp ??= "1.24.7.imx" | 533 | PREFERRED_VERSION_gstreamer1.0-plugins-base:imx-nxp-bsp ??= "1.26.0.imx" |
| 533 | PREFERRED_VERSION_gstreamer1.0-plugins-good:mx8-nxp-bsp ??= "1.24.7.imx" | 534 | PREFERRED_VERSION_gstreamer1.0-plugins-good:imx-nxp-bsp ??= "1.26.0.imx" |
| 534 | PREFERRED_VERSION_gstreamer1.0:mx9-nxp-bsp ??= "1.24.7.imx" | 535 | |
| 535 | PREFERRED_VERSION_gstreamer1.0-plugins-bad:mx9-nxp-bsp ??= "1.24.7.imx" | ||
| 536 | PREFERRED_VERSION_gstreamer1.0-plugins-base:mx9-nxp-bsp ??= "1.24.7.imx" | ||
| 537 | PREFERRED_VERSION_gstreamer1.0-plugins-good:mx9-nxp-bsp ??= "1.24.7.imx" | ||
| 538 | 536 | ||
| 539 | # GStreamer copied recipes | 537 | # GStreamer copied recipes |
| 540 | PREFERRED_VERSION_gst-devtools:mx8-nxp-bsp ??= "1.24.0.imx" | 538 | PREFERRED_VERSION_gst-devtools:imx-nxp-bsp ??= "1.26.0.imx" |
| 541 | PREFERRED_VERSION_gst-examples:mx8-nxp-bsp ??= "1.24.7.imx" | 539 | PREFERRED_VERSION_gst-examples:imx-nxp-bsp ??= "1.24.7.imx" |
| 542 | PREFERRED_VERSION_gstreamer1.0-libav:mx8-nxp-bsp ??= "1.24.7.imx" | 540 | PREFERRED_VERSION_gstreamer1.0-libav:imx-nxp-bsp ??= "1.26.0.imx" |
| 543 | PREFERRED_VERSION_gstreamer1.0-plugins-ugly:mx8-nxp-bsp ??= "1.24.0.imx" | 541 | PREFERRED_VERSION_gstreamer1.0-plugins-ugly:imx-nxp-bsp ??= "1.26.0.imx" |
| 544 | PREFERRED_VERSION_gstreamer1.0-python:mx8-nxp-bsp ??= "1.24.0.imx" | 542 | PREFERRED_VERSION_gstreamer1.0-python:imx-nxp-bsp ??= "1.26.0.imx" |
| 545 | PREFERRED_VERSION_gstreamer1.0-rtsp-server:mx8-nxp-bsp ??= "1.24.0.imx" | 543 | PREFERRED_VERSION_gstreamer1.0-rtsp-server:imx-nxp-bsp ??= "1.26.0.imx" |
| 546 | PREFERRED_VERSION_gstreamer1.0-vaapi:mx8-nxp-bsp ??= "1.24.0.imx" | 544 | PREFERRED_VERSION_gstreamer1.0-vaapi:imx-nxp-bsp ??= "1.26.0.imx" |
| 547 | PREFERRED_VERSION_gst-devtools:mx9-nxp-bsp ??= "1.24.0.imx" | ||
| 548 | PREFERRED_VERSION_gst-examples:mx9-nxp-bsp ??= "1.24.7.imx" | ||
| 549 | PREFERRED_VERSION_gstreamer1.0-libav:mx9-nxp-bsp ??= "1.24.7.imx" | ||
| 550 | PREFERRED_VERSION_gstreamer1.0-plugins-ugly:mx9-nxp-bsp ??= "1.24.0.imx" | ||
| 551 | PREFERRED_VERSION_gstreamer1.0-python:mx9-nxp-bsp ??= "1.24.0.imx" | ||
| 552 | PREFERRED_VERSION_gstreamer1.0-rtsp-server:mx9-nxp-bsp ??= "1.24.0.imx" | ||
| 553 | PREFERRED_VERSION_gstreamer1.0-vaapi:mx9-nxp-bsp ??= "1.24.0.imx" | ||
| 554 | 545 | ||
| 555 | # GStreamer downgrade ffmpeg | 546 | # GStreamer downgrade ffmpeg |
| 556 | PREFERRED_VERSION_ffmpeg:mx8-nxp-bsp ??= "4.4.1" | 547 | PREFERRED_VERSION_ffmpeg:mx8-nxp-bsp ??= "4.4.1" |
| @@ -580,39 +571,44 @@ PREFERRED_PROVIDER_virtual/libgles3:imxgpu3d ?= "${IMXGPU_GRAPHICS_PROVIDER}" | |||
| 580 | PREFERRED_PROVIDER_opencl-clhpp:imxviv ?= "imx-gpu-viv" | 571 | PREFERRED_PROVIDER_opencl-clhpp:imxviv ?= "imx-gpu-viv" |
| 581 | PREFERRED_PROVIDER_opencl-headers:imxviv ?= "imx-gpu-viv" | 572 | PREFERRED_PROVIDER_opencl-headers:imxviv ?= "imx-gpu-viv" |
| 582 | PREFERRED_PROVIDER_opencl-icd-loader:imxviv ?= "imx-gpu-viv" | 573 | PREFERRED_PROVIDER_opencl-icd-loader:imxviv ?= "imx-gpu-viv" |
| 583 | PREFERRED_PROVIDER_virtual/opencl-icd:imxviv ?= "imx-gpu-viv" | 574 | PREFERRED_PROVIDER_virtual/libopencl1:imxviv ?= "imx-gpu-viv" |
| 584 | 575 | ||
| 585 | PREFERRED_PROVIDER_virtual/libg2d ?= "imx-gpu-g2d" | 576 | PREFERRED_PROVIDER_virtual/libg2d ?= "imx-gpu-g2d" |
| 586 | PREFERRED_PROVIDER_virtual/libg2d:imxdpu ?= "imx-dpu-g2d" | 577 | PREFERRED_PROVIDER_virtual/libg2d:imxdpu ?= "imx-dpu-g2d" |
| 587 | PREFERRED_PROVIDER_virtual/libg2d:mx93-nxp-bsp ?= "imx-pxp-g2d" | 578 | PREFERRED_PROVIDER_virtual/libg2d:mx93-nxp-bsp ?= "imx-pxp-g2d" |
| 588 | 579 | ||
| 589 | PREFERRED_VERSION_weston:imx-nxp-bsp ??= "14.0.1.imx" | 580 | # Set preferred Vulkan ICD runtime |
| 581 | PREFERRED_RPROVIDER_virtual-vulkan-icd ?= "mesa" | ||
| 582 | PREFERRED_RPROVIDER_virtual-vulkan-icd:imxviv ?= "libvulkan-imx" | ||
| 583 | PREFERRED_RPROVIDER_virtual-vulkan-icd:imxmali ?= "mali-imx-libvulkan" | ||
| 584 | |||
| 585 | PREFERRED_VERSION_weston:imx-nxp-bsp ??= "14.0.2.imx" | ||
| 590 | # i.MX 6 & 7 stay on weston 10.0 for fbdev | 586 | # i.MX 6 & 7 stay on weston 10.0 for fbdev |
| 591 | PREFERRED_VERSION_weston:mx6-nxp-bsp ??= "10.0.5.imx" | 587 | PREFERRED_VERSION_weston:mx6-nxp-bsp ??= "10.0.5.imx" |
| 592 | PREFERRED_VERSION_weston:mx7-nxp-bsp ??= "10.0.5.imx" | 588 | PREFERRED_VERSION_weston:mx7-nxp-bsp ??= "10.0.5.imx" |
| 593 | PREFERRED_VERSION_weston:imx-mainline-bsp = "" | 589 | PREFERRED_VERSION_weston:imx-mainline-bsp = "" |
| 594 | 590 | ||
| 595 | PREFERRED_VERSION_wayland-protocols:imx-nxp-bsp ??= "1.37.imx" | 591 | PREFERRED_VERSION_wayland-protocols:imx-nxp-bsp ??= "1.41.imx" |
| 596 | 592 | ||
| 597 | PREFERRED_VERSION_xwayland:imx-nxp-bsp ??= "24.1.6.imx" | 593 | PREFERRED_VERSION_xwayland:imx-nxp-bsp ??= "24.1.6.imx" |
| 598 | 594 | ||
| 599 | # Use i.MX libdrm Version | 595 | # Use i.MX libdrm Version |
| 600 | PREFERRED_VERSION_libdrm:imx-nxp-bsp ??= "2.4.123.imx" | 596 | PREFERRED_VERSION_libdrm:imx-nxp-bsp ??= "2.4.123.imx" |
| 601 | 597 | ||
| 598 | PREFERRED_VERSION_glslang:imxvulkan ??= "1.3.275.0.imx" | ||
| 602 | PREFERRED_VERSION_spirv-headers:imxvulkan ??= "1.3.275.0.imx" | 599 | PREFERRED_VERSION_spirv-headers:imxvulkan ??= "1.3.275.0.imx" |
| 603 | PREFERRED_VERSION_spirv-tools:imxvulkan ??= "1.3.275.0.imx" | 600 | PREFERRED_VERSION_spirv-tools:imxvulkan ??= "1.3.275.0.imx" |
| 604 | PREFERRED_VERSION_vulkan-headers:imxvulkan ??= "1.3.275.0.imx" | 601 | PREFERRED_VERSION_vulkan-headers:imxvulkan ??= "1.3.275.0.imx" |
| 605 | PREFERRED_VERSION_vulkan-loader:imxvulkan ??= "1.3.275.0.imx" | 602 | PREFERRED_VERSION_vulkan-loader:imxvulkan ??= "1.3.275.0.imx" |
| 606 | PREFERRED_VERSION_vulkan-tools:imxvulkan ??= "1.3.275.0.imx" | 603 | PREFERRED_VERSION_vulkan-tools:imxvulkan ??= "1.3.275.0.imx" |
| 604 | PREFERRED_VERSION_vulkan-utility-libraries:imxvulkan ??= "1.3.275.0.imx" | ||
| 607 | PREFERRED_VERSION_vulkan-validation-layers:imxvulkan ??= "1.3.275.0.imx" | 605 | PREFERRED_VERSION_vulkan-validation-layers:imxvulkan ??= "1.3.275.0.imx" |
| 608 | 606 | ||
| 609 | # Use i.MX optee Version | 607 | # Use i.MX optee Version |
| 610 | PREFERRED_VERSION_optee-os:mx8-nxp-bsp ??= "4.4.0.imx" | 608 | PREFERRED_VERSION_optee-os:imx-nxp-bsp ??= "4.6.0.imx" |
| 611 | PREFERRED_VERSION_optee-os:mx9-nxp-bsp ??= "4.4.0.imx" | 609 | PREFERRED_VERSION_optee-client:imx-nxp-bsp ??= "4.6.0.imx" |
| 612 | PREFERRED_VERSION_optee-client:mx8-nxp-bsp ??= "4.4.0.imx" | 610 | PREFERRED_VERSION_optee-test:imx-nxp-bsp ??= "4.6.0.imx" |
| 613 | PREFERRED_VERSION_optee-client:mx9-nxp-bsp ??= "4.4.0.imx" | 611 | PREFERRED_VERSION_optee-os-tadevkit:imx-nxp-bsp ??= "4.6.0.imx" |
| 614 | PREFERRED_VERSION_optee-test:mx8-nxp-bsp ??= "4.4.0.imx" | ||
| 615 | PREFERRED_VERSION_optee-test:mx9-nxp-bsp ??= "4.4.0.imx" | ||
| 616 | 612 | ||
| 617 | # Use i.MX opencv Version | 613 | # Use i.MX opencv Version |
| 618 | PREFERRED_VERSION_opencv:mx8-nxp-bsp ??= "4.6.0.imx" | 614 | PREFERRED_VERSION_opencv:mx8-nxp-bsp ??= "4.6.0.imx" |
diff --git a/conf/machine/ls1012afrwy.conf b/conf/machine/ls1012afrwy.conf index 7de1e990a..2bc827153 100644 --- a/conf/machine/ls1012afrwy.conf +++ b/conf/machine/ls1012afrwy.conf | |||
| @@ -12,8 +12,7 @@ require conf/machine/include/arm/arch-arm64.inc | |||
| 12 | 12 | ||
| 13 | MACHINE_FEATURES += "optee" | 13 | MACHINE_FEATURES += "optee" |
| 14 | 14 | ||
| 15 | KERNEL_CLASSES = " kernel-fitimage " | 15 | KERNEL_CLASSES += "kernel-fit-extra-artifacts" |
| 16 | KERNEL_IMAGETYPES = "fitImage" | ||
| 17 | 16 | ||
| 18 | UBOOT_DTB_LOADADDRESS = "0x90000000" | 17 | UBOOT_DTB_LOADADDRESS = "0x90000000" |
| 19 | UBOOT_ENTRYPOINT = "0x80080000" | 18 | UBOOT_ENTRYPOINT = "0x80080000" |
diff --git a/conf/machine/ls1012ardb.conf b/conf/machine/ls1012ardb.conf index 879e3f8fb..a170b0529 100644 --- a/conf/machine/ls1012ardb.conf +++ b/conf/machine/ls1012ardb.conf | |||
| @@ -12,8 +12,7 @@ require conf/machine/include/arm/arch-arm64.inc | |||
| 12 | 12 | ||
| 13 | MACHINE_FEATURES += "optee" | 13 | MACHINE_FEATURES += "optee" |
| 14 | 14 | ||
| 15 | KERNEL_CLASSES = " kernel-fitimage " | 15 | KERNEL_CLASSES += "kernel-fit-extra-artifacts" |
| 16 | KERNEL_IMAGETYPES = "fitImage" | ||
| 17 | 16 | ||
| 18 | UBOOT_DTB_LOADADDRESS = "0x90000000" | 17 | UBOOT_DTB_LOADADDRESS = "0x90000000" |
| 19 | UBOOT_ENTRYPOINT = "0x80080000" | 18 | UBOOT_ENTRYPOINT = "0x80080000" |
diff --git a/conf/machine/ls1028ardb.conf b/conf/machine/ls1028ardb.conf index 268a60c3e..68249a402 100644 --- a/conf/machine/ls1028ardb.conf +++ b/conf/machine/ls1028ardb.conf | |||
| @@ -11,8 +11,7 @@ require conf/machine/include/arm/arch-arm64.inc | |||
| 11 | 11 | ||
| 12 | MACHINE_FEATURES += "optee" | 12 | MACHINE_FEATURES += "optee" |
| 13 | 13 | ||
| 14 | KERNEL_CLASSES = " kernel-fitimage " | 14 | KERNEL_CLASSES += "kernel-fit-extra-artifacts" |
| 15 | KERNEL_IMAGETYPES = "fitImage" | ||
| 16 | 15 | ||
| 17 | UBOOT_DTB_LOADADDRESS = "0x90000000" | 16 | UBOOT_DTB_LOADADDRESS = "0x90000000" |
| 18 | UBOOT_ENTRYPOINT = "0x80080000" | 17 | UBOOT_ENTRYPOINT = "0x80080000" |
diff --git a/conf/machine/ls1043ardb.conf b/conf/machine/ls1043ardb.conf index 4ff3c0acb..8723a7ddd 100644 --- a/conf/machine/ls1043ardb.conf +++ b/conf/machine/ls1043ardb.conf | |||
| @@ -12,8 +12,7 @@ require conf/machine/include/arm/arch-arm64.inc | |||
| 12 | 12 | ||
| 13 | MACHINE_FEATURES += "optee" | 13 | MACHINE_FEATURES += "optee" |
| 14 | 14 | ||
| 15 | KERNEL_CLASSES = " kernel-fitimage " | 15 | KERNEL_CLASSES += "kernel-fit-extra-artifacts" |
| 16 | KERNEL_IMAGETYPES = "fitImage" | ||
| 17 | 16 | ||
| 18 | UBOOT_DTB_LOADADDRESS = "0x90000000" | 17 | UBOOT_DTB_LOADADDRESS = "0x90000000" |
| 19 | UBOOT_ENTRYPOINT = "0x80080000" | 18 | UBOOT_ENTRYPOINT = "0x80080000" |
diff --git a/conf/machine/ls1046afrwy.conf b/conf/machine/ls1046afrwy.conf index eb3c0bb6f..4de0d9def 100644 --- a/conf/machine/ls1046afrwy.conf +++ b/conf/machine/ls1046afrwy.conf | |||
| @@ -11,8 +11,7 @@ require conf/machine/include/arm/arch-arm64.inc | |||
| 11 | 11 | ||
| 12 | MACHINE_FEATURES += "optee" | 12 | MACHINE_FEATURES += "optee" |
| 13 | 13 | ||
| 14 | KERNEL_CLASSES = " kernel-fitimage " | 14 | KERNEL_CLASSES += "kernel-fit-extra-artifacts" |
| 15 | KERNEL_IMAGETYPES = "fitImage" | ||
| 16 | 15 | ||
| 17 | UBOOT_DTB_LOADADDRESS = "0x90000000" | 16 | UBOOT_DTB_LOADADDRESS = "0x90000000" |
| 18 | UBOOT_ENTRYPOINT = "0x80080000" | 17 | UBOOT_ENTRYPOINT = "0x80080000" |
diff --git a/conf/machine/ls1046ardb.conf b/conf/machine/ls1046ardb.conf index 2b82c98f0..b2d9fa1ca 100644 --- a/conf/machine/ls1046ardb.conf +++ b/conf/machine/ls1046ardb.conf | |||
| @@ -11,8 +11,7 @@ require conf/machine/include/arm/arch-arm64.inc | |||
| 11 | 11 | ||
| 12 | MACHINE_FEATURES += "optee" | 12 | MACHINE_FEATURES += "optee" |
| 13 | 13 | ||
| 14 | KERNEL_CLASSES = " kernel-fitimage " | 14 | KERNEL_CLASSES += "kernel-fit-extra-artifacts" |
| 15 | KERNEL_IMAGETYPES = "fitImage" | ||
| 16 | 15 | ||
| 17 | UBOOT_DTB_LOADADDRESS = "0x90000000" | 16 | UBOOT_DTB_LOADADDRESS = "0x90000000" |
| 18 | UBOOT_ENTRYPOINT = "0x80080000" | 17 | UBOOT_ENTRYPOINT = "0x80080000" |
diff --git a/conf/machine/ls1088ardb-pb.conf b/conf/machine/ls1088ardb-pb.conf index f9d05b690..ba66ab355 100644 --- a/conf/machine/ls1088ardb-pb.conf +++ b/conf/machine/ls1088ardb-pb.conf | |||
| @@ -11,8 +11,7 @@ require conf/machine/include/arm/arch-arm64.inc | |||
| 11 | 11 | ||
| 12 | MACHINE_FEATURES += "optee" | 12 | MACHINE_FEATURES += "optee" |
| 13 | 13 | ||
| 14 | KERNEL_CLASSES = " kernel-fitimage " | 14 | KERNEL_CLASSES += "kernel-fit-extra-artifacts" |
| 15 | KERNEL_IMAGETYPES = "fitImage" | ||
| 16 | 15 | ||
| 17 | UBOOT_DTB_LOADADDRESS = "0x90000000" | 16 | UBOOT_DTB_LOADADDRESS = "0x90000000" |
| 18 | UBOOT_ENTRYPOINT = "0x80080000" | 17 | UBOOT_ENTRYPOINT = "0x80080000" |
diff --git a/conf/machine/ls1088ardb.conf b/conf/machine/ls1088ardb.conf index 1b7a4f3cb..13a1f6240 100644 --- a/conf/machine/ls1088ardb.conf +++ b/conf/machine/ls1088ardb.conf | |||
| @@ -11,8 +11,7 @@ require conf/machine/include/arm/arch-arm64.inc | |||
| 11 | 11 | ||
| 12 | MACHINE_FEATURES += "optee" | 12 | MACHINE_FEATURES += "optee" |
| 13 | 13 | ||
| 14 | KERNEL_CLASSES = " kernel-fitimage " | 14 | KERNEL_CLASSES += "kernel-fit-extra-artifacts" |
| 15 | KERNEL_IMAGETYPES = "fitImage" | ||
| 16 | 15 | ||
| 17 | UBOOT_DTB_LOADADDRESS = "0x90000000" | 16 | UBOOT_DTB_LOADADDRESS = "0x90000000" |
| 18 | UBOOT_ENTRYPOINT = "0x80080000" | 17 | UBOOT_ENTRYPOINT = "0x80080000" |
diff --git a/conf/machine/ls2088ardb.conf b/conf/machine/ls2088ardb.conf index 8c8e586a4..617591e4b 100644 --- a/conf/machine/ls2088ardb.conf +++ b/conf/machine/ls2088ardb.conf | |||
| @@ -11,8 +11,7 @@ MACHINEOVERRIDES =. "fsl-lsch3:ls2088a:" | |||
| 11 | 11 | ||
| 12 | MACHINE_FEATURES += "optee" | 12 | MACHINE_FEATURES += "optee" |
| 13 | 13 | ||
| 14 | KERNEL_CLASSES = " kernel-fitimage " | 14 | KERNEL_CLASSES += "kernel-fit-extra-artifacts" |
| 15 | KERNEL_IMAGETYPES = "fitImage" | ||
| 16 | 15 | ||
| 17 | UBOOT_DTB_LOADADDRESS = "0x90000000" | 16 | UBOOT_DTB_LOADADDRESS = "0x90000000" |
| 18 | UBOOT_ENTRYPOINT = "0x80080000" | 17 | UBOOT_ENTRYPOINT = "0x80080000" |
diff --git a/conf/machine/lx2160ardb.conf b/conf/machine/lx2160ardb.conf index 1945ad310..c8fbcc1cd 100644 --- a/conf/machine/lx2160ardb.conf +++ b/conf/machine/lx2160ardb.conf | |||
| @@ -11,8 +11,7 @@ MACHINEOVERRIDES =. "fsl-lsch3:lx2160a:" | |||
| 11 | 11 | ||
| 12 | MACHINE_FEATURES += "optee" | 12 | MACHINE_FEATURES += "optee" |
| 13 | 13 | ||
| 14 | KERNEL_CLASSES = " kernel-fitimage " | 14 | KERNEL_CLASSES += "kernel-fit-extra-artifacts" |
| 15 | KERNEL_IMAGETYPES = "fitImage" | ||
| 16 | 15 | ||
| 17 | DTB_LOAD = "0x90000000" | 16 | DTB_LOAD = "0x90000000" |
| 18 | UBOOT_ENTRYPOINT = "0x80080000" | 17 | UBOOT_ENTRYPOINT = "0x80080000" |
diff --git a/conf/machine/lx2162aqds.conf b/conf/machine/lx2162aqds.conf index 80f91331b..1842daff6 100644 --- a/conf/machine/lx2162aqds.conf +++ b/conf/machine/lx2162aqds.conf | |||
| @@ -11,8 +11,7 @@ MACHINEOVERRIDES =. "fsl-lsch3:lx2162a:" | |||
| 11 | 11 | ||
| 12 | MACHINE_FEATURES += "optee" | 12 | MACHINE_FEATURES += "optee" |
| 13 | 13 | ||
| 14 | KERNEL_CLASSES = " kernel-fitimage " | 14 | KERNEL_CLASSES += "kernel-fit-extra-artifacts" |
| 15 | KERNEL_IMAGETYPES = "fitImage" | ||
| 16 | 15 | ||
| 17 | DTB_LOAD = "0x90000000" | 16 | DTB_LOAD = "0x90000000" |
| 18 | UBOOT_ENTRYPOINT = "0x80080000" | 17 | UBOOT_ENTRYPOINT = "0x80080000" |
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 new file mode 100644 index 000000000..0fce6af1a --- /dev/null +++ b/dynamic-layers/arm-toolchain/recipes-bsp/imx-oei/imx-oei.inc | |||
| @@ -0,0 +1,54 @@ | |||
| 1 | INHIBIT_DEFAULT_DEPS = "1" | ||
| 2 | DEPENDS = "gcc-arm-none-eabi-native" | ||
| 3 | |||
| 4 | inherit deploy | ||
| 5 | |||
| 6 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
| 7 | |||
| 8 | OEI_CONFIGS ?= "UNDEFINED" | ||
| 9 | OEI_CORE ?= "UNDEFINED" | ||
| 10 | OEI_SOC ?= "UNDEFINED" | ||
| 11 | OEI_BOARD ?= "UNDEFINED" | ||
| 12 | OEI_DDRCONFIG ?= "" | ||
| 13 | OEI_DEBUG ?= "0" | ||
| 14 | |||
| 15 | LDFLAGS[unexport] = "1" | ||
| 16 | |||
| 17 | EXTRA_OEMAKE = "\ | ||
| 18 | board=${OEI_BOARD} \ | ||
| 19 | DEBUG=${OEI_DEBUG} \ | ||
| 20 | OEI_CROSS_COMPILE=arm-none-eabi-" | ||
| 21 | |||
| 22 | EXTRA_OEMAKE:append:mx95-generic-bsp = " r=${IMX_SOC_REV}" | ||
| 23 | EXTRA_OEMAKE:append = " ${@' DDR_CONFIG=${OEI_DDRCONFIG}' if d.getVar('OEI_DDRCONFIG') else ''}" | ||
| 24 | |||
| 25 | do_configure() { | ||
| 26 | for oei_config in ${OEI_CONFIGS}; do | ||
| 27 | oe_runmake clean oei=$oei_config | ||
| 28 | done | ||
| 29 | } | ||
| 30 | |||
| 31 | do_compile() { | ||
| 32 | for oei_config in ${OEI_CONFIGS}; do | ||
| 33 | oe_runmake oei=$oei_config | ||
| 34 | done | ||
| 35 | } | ||
| 36 | |||
| 37 | do_install() { | ||
| 38 | install -d ${D}/firmware | ||
| 39 | for oei_config in ${OEI_CONFIGS}; do | ||
| 40 | install -m 0644 ${B}/build/${OEI_BOARD}/$oei_config/oei-*.bin ${D}/firmware | ||
| 41 | done | ||
| 42 | } | ||
| 43 | |||
| 44 | addtask deploy after do_install | ||
| 45 | do_deploy() { | ||
| 46 | cp -rf ${D}/firmware/* ${DEPLOYDIR}/ | ||
| 47 | } | ||
| 48 | |||
| 49 | FILES:${PN} = "/firmware" | ||
| 50 | SYSROOT_DIRS += "/firmware" | ||
| 51 | |||
| 52 | PROVIDES += "virtual/imx-oei" | ||
| 53 | |||
| 54 | COMPATIBLE_MACHINE = "(mx95-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 d07138758..29a58ed08 100644 --- a/dynamic-layers/arm-toolchain/recipes-bsp/imx-oei/imx-oei_1.0.0.bb +++ b/dynamic-layers/arm-toolchain/recipes-bsp/imx-oei/imx-oei_1.0.0.bb | |||
| @@ -1,61 +1,17 @@ | |||
| 1 | SUMMARY = "i.MX Optional Execution Image" | 1 | SUMMARY = "i.MX Optional Execution Image" |
| 2 | 2 | DESCRIPTION = "\ | |
| 3 | LICENSE = "GPL-2.0-only" | 3 | The Optional Executable Image (OEI) is an optional plugin loaded and executed \ |
| 4 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=59530bdf33659b29e73d4adb9f9f6552" | 4 | by Cortex-M processor ROM on many NXP i.MX processors. The Cortex-M is the \ |
| 5 | 5 | boot core, runs the boot ROM which loads the OEI, and then branches to the \ | |
| 6 | INHIBIT_DEFAULT_DEPS = "1" | 6 | OEI. The OEI then configures some aspects of the hardware such as DDR config, \ |
| 7 | DEPENDS = "gcc-arm-none-eabi-native" | 7 | init TCM ECC, etc. There could be multiple OEI images in the boot container. \ |
| 8 | After execution of OEI, the processor returns to ROM execution." | ||
| 9 | LICENSE = "BSD-3-Clause" | ||
| 10 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b66f32a90f9577a5a3255c21d79bc619" | ||
| 8 | 11 | ||
| 9 | SRC_URI = "${IMX_OEI_SRC};branch=${SRCBRANCH}" | 12 | SRC_URI = "${IMX_OEI_SRC};branch=${SRCBRANCH}" |
| 10 | 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" |
| 11 | SRCBRANCH = "master" | 14 | SRCBRANCH = "master" |
| 12 | SRCREV = "1a572a640ef8d6883e8ca39744cd6d2d5dbed678" | 15 | SRCREV = "ca91ce798b2f3a2a0bab8c0f835f4bea88c9b080" |
| 13 | |||
| 14 | S = "${WORKDIR}/git" | ||
| 15 | |||
| 16 | inherit deploy | ||
| 17 | |||
| 18 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
| 19 | |||
| 20 | OEI_CONFIGS ?= "UNDEFINED" | ||
| 21 | OEI_CORE ?= "UNDEFINED" | ||
| 22 | OEI_SOC ?= "UNDEFINED" | ||
| 23 | OEI_BOARD ?= "UNDEFINED" | ||
| 24 | |||
| 25 | LDFLAGS[unexport] = "1" | ||
| 26 | |||
| 27 | EXTRA_OEMAKE = "\ | ||
| 28 | board=${OEI_BOARD} \ | ||
| 29 | DEBUG=1 \ | ||
| 30 | OEI_CROSS_COMPILE=arm-none-eabi-" | ||
| 31 | |||
| 32 | do_configure() { | ||
| 33 | for oei_config in ${OEI_CONFIGS}; do | ||
| 34 | oe_runmake clean oei=$oei_config | ||
| 35 | done | ||
| 36 | } | ||
| 37 | |||
| 38 | do_compile() { | ||
| 39 | for oei_config in ${OEI_CONFIGS}; do | ||
| 40 | oe_runmake oei=$oei_config | ||
| 41 | done | ||
| 42 | } | ||
| 43 | |||
| 44 | do_install() { | ||
| 45 | install -d ${D}/firmware | ||
| 46 | for oei_config in ${OEI_CONFIGS}; do | ||
| 47 | install -m 0644 ${B}/build/${OEI_BOARD}/$oei_config/oei-*.bin ${D}/firmware | ||
| 48 | done | ||
| 49 | } | ||
| 50 | |||
| 51 | addtask deploy after do_install | ||
| 52 | do_deploy() { | ||
| 53 | cp -rf ${D}/firmware/* ${DEPLOYDIR}/ | ||
| 54 | } | ||
| 55 | |||
| 56 | FILES:${PN} = "/firmware" | ||
| 57 | SYSROOT_DIRS += "/firmware" | ||
| 58 | |||
| 59 | PROVIDES += "virtual/imx-oei" | ||
| 60 | 16 | ||
| 61 | COMPATIBLE_MACHINE = "(mx95-generic-bsp)" | 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 d8033622c..1d23a22cd 100644 --- a/dynamic-layers/arm-toolchain/recipes-bsp/imx-system-manager/imx-system-manager.inc +++ b/dynamic-layers/arm-toolchain/recipes-bsp/imx-system-manager/imx-system-manager.inc | |||
| @@ -18,7 +18,7 @@ SYSTEM_MANAGER_CONFIG ?= "INVALID" | |||
| 18 | LDFLAGS[unexport] = "1" | 18 | LDFLAGS[unexport] = "1" |
| 19 | 19 | ||
| 20 | EXTRA_OEMAKE = " \ | 20 | EXTRA_OEMAKE = " \ |
| 21 | V=y \ | 21 | V=1 \ |
| 22 | SM_CROSS_COMPILE=arm-none-eabi- \ | 22 | SM_CROSS_COMPILE=arm-none-eabi- \ |
| 23 | ${PACKAGECONFIG_CONFARGS} \ | 23 | ${PACKAGECONFIG_CONFARGS} \ |
| 24 | " | 24 | " |
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_1.0.0.bb index eceaaa674..55826b016 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_1.0.0.bb | |||
| @@ -16,8 +16,6 @@ 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 = "709deccd9338399eb39b5cf99a60eab4fa60d539" |
| 18 | 18 | ||
| 19 | S = "${WORKDIR}/git" | ||
| 20 | |||
| 21 | require imx-system-manager.inc | 19 | require imx-system-manager.inc |
| 22 | 20 | ||
| 23 | PACKAGECONFIG ??= "m2" | 21 | PACKAGECONFIG ??= "m2" |
diff --git a/dynamic-layers/multimedia-layer/recipes-multimedia/pipewire/pipewire_%.bbappend b/dynamic-layers/multimedia-layer/recipes-multimedia/pipewire/pipewire_%.bbappend index 1b527fc69..865b29349 100644 --- a/dynamic-layers/multimedia-layer/recipes-multimedia/pipewire/pipewire_%.bbappend +++ b/dynamic-layers/multimedia-layer/recipes-multimedia/pipewire/pipewire_%.bbappend | |||
| @@ -6,10 +6,13 @@ SYSTEMD_AUTO_ENABLE:imx-nxp-bsp = "disable" | |||
| 6 | 6 | ||
| 7 | DEPENDS:append:mx95-nxp-bsp = " libdrm" | 7 | DEPENDS:append:mx95-nxp-bsp = " libdrm" |
| 8 | 8 | ||
| 9 | PACKAGECONFIG:remove:mx6-nxp-bsp = "gstreamer" | 9 | PACKAGECONFIG:remove = "${PACKAGECONFIG_REMOVE}" |
| 10 | PACKAGECONFIG:remove:mx7-nxp-bsp = "gstreamer" | 10 | PACKAGECONFIG_REMOVE ?= "" |
| 11 | PACKAGECONFIG:remove:mx8-nxp-bsp = "gstreamer" | 11 | PACKAGECONFIG_REMOVE:mx6-nxp-bsp ?= "gstreamer" |
| 12 | PACKAGECONFIG:remove:mx93-nxp-bsp = "gstreamer" | 12 | PACKAGECONFIG_REMOVE:mx7-nxp-bsp ?= "gstreamer" |
| 13 | PACKAGECONFIG_REMOVE:mx8-nxp-bsp ?= "gstreamer" | ||
| 14 | PACKAGECONFIG_REMOVE:mx93-nxp-bsp ?= "gstreamer" | ||
| 15 | |||
| 13 | PACKAGECONFIG:class-target:append:imx-nxp-bsp = " ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez-lc3', '', d)}" | 16 | PACKAGECONFIG:class-target:append:imx-nxp-bsp = " ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez-lc3', '', d)}" |
| 14 | 17 | ||
| 15 | # FIXME: Needs to qualify on PACKAGECONFIG | 18 | # FIXME: Needs to qualify on PACKAGECONFIG |
diff --git a/dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc_git.bb b/dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc_git.bb index 2219a6c04..227b6291b 100644 --- a/dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc_git.bb +++ b/dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc_git.bb | |||
| @@ -9,8 +9,6 @@ DEPENDS = "libxml2 fmlib tclap" | |||
| 9 | SRC_URI = "git://github.com/nxp-qoriq/fmc;protocol=https;nobranch=1" | 9 | SRC_URI = "git://github.com/nxp-qoriq/fmc;protocol=https;nobranch=1" |
| 10 | SRCREV = "5b9f4b16a864e9dfa58cdcc860be278a7f66ac18" | 10 | SRCREV = "5b9f4b16a864e9dfa58cdcc860be278a7f66ac18" |
| 11 | 11 | ||
| 12 | S = "${WORKDIR}/git" | ||
| 13 | |||
| 14 | EXTRA_OEMAKE = 'FMD_USPACE_HEADER_PATH="${STAGING_INCDIR}/fmd" \ | 12 | EXTRA_OEMAKE = 'FMD_USPACE_HEADER_PATH="${STAGING_INCDIR}/fmd" \ |
| 15 | FMD_USPACE_LIB_PATH="${STAGING_LIBDIR}" LIBXML2_HEADER_PATH="${STAGING_INCDIR}/libxml2" \ | 13 | FMD_USPACE_LIB_PATH="${STAGING_LIBDIR}" LIBXML2_HEADER_PATH="${STAGING_INCDIR}/libxml2" \ |
| 16 | TCLAP_HEADER_PATH="${STAGING_INCDIR}" ' | 14 | TCLAP_HEADER_PATH="${STAGING_INCDIR}" ' |
diff --git a/dynamic-layers/qt5-layer/recipes-qt/qt5/qtwayland_%.bbappend b/dynamic-layers/qt5-layer/recipes-qt/qt5/qtwayland_%.bbappend index 659a7cc0a..35a128174 100644 --- a/dynamic-layers/qt5-layer/recipes-qt/qt5/qtwayland_%.bbappend +++ b/dynamic-layers/qt5-layer/recipes-qt/qt5/qtwayland_%.bbappend | |||
| @@ -6,4 +6,4 @@ PACKAGECONFIG:remove:mx7-nxp-bsp = "xcomposite-egl xcomposite-glx" | |||
| 6 | 6 | ||
| 7 | # i.MX8 does never provide native x11, so required dependencies are not met | 7 | # i.MX8 does never provide native x11, so required dependencies are not met |
| 8 | PACKAGECONFIG:remove:mx8-nxp-bsp = "xcomposite-egl xcomposite-glx" | 8 | PACKAGECONFIG:remove:mx8-nxp-bsp = "xcomposite-egl xcomposite-glx" |
| 9 | PACKAGECONFIG:remove:mx95-nxp-bsp = "xcomposite-egl xcomposite-glx" | 9 | PACKAGECONFIG:remove:mx9-nxp-bsp = "xcomposite-egl xcomposite-glx" |
diff --git a/dynamic-layers/qt6-layer/recipes-qt/qt6/qtwayland_%.bbappend b/dynamic-layers/qt6-layer/recipes-qt/qt6/qtwayland_%.bbappend index f2b0b8025..9d0cae8f9 100644 --- a/dynamic-layers/qt6-layer/recipes-qt/qt6/qtwayland_%.bbappend +++ b/dynamic-layers/qt6-layer/recipes-qt/qt6/qtwayland_%.bbappend | |||
| @@ -4,4 +4,4 @@ PACKAGECONFIG:remove:use-mainline-bsp = "xcomposite-glx" | |||
| 4 | PACKAGECONFIG:remove:mx6-nxp-bsp = "xcomposite-egl xcomposite-glx" | 4 | PACKAGECONFIG:remove:mx6-nxp-bsp = "xcomposite-egl xcomposite-glx" |
| 5 | PACKAGECONFIG:remove:mx7-nxp-bsp = "xcomposite-egl xcomposite-glx" | 5 | PACKAGECONFIG:remove:mx7-nxp-bsp = "xcomposite-egl xcomposite-glx" |
| 6 | PACKAGECONFIG:remove:mx8-nxp-bsp = "xcomposite-egl xcomposite-glx" | 6 | PACKAGECONFIG:remove:mx8-nxp-bsp = "xcomposite-egl xcomposite-glx" |
| 7 | PACKAGECONFIG:remove:mx95-nxp-bsp = "xcomposite-egl xcomposite-glx" | 7 | PACKAGECONFIG:remove:mx9-nxp-bsp = "xcomposite-egl xcomposite-glx" |
diff --git a/recipes-bsp/atf/qoriq-atf-2.6.inc b/recipes-bsp/atf/qoriq-atf-2.12.inc index d5ef5e75e..a025401e0 100644 --- a/recipes-bsp/atf/qoriq-atf-2.6.inc +++ b/recipes-bsp/atf/qoriq-atf-2.12.inc | |||
| @@ -3,10 +3,7 @@ DESCRIPTION = "ARM Trusted Firmware" | |||
| 3 | LICENSE = "BSD-3-Clause" | 3 | LICENSE = "BSD-3-Clause" |
| 4 | LIC_FILES_CHKSUM = "file://license.rst;md5=1dd070c98a281d18d9eefd938729b031" | 4 | LIC_FILES_CHKSUM = "file://license.rst;md5=1dd070c98a281d18d9eefd938729b031" |
| 5 | 5 | ||
| 6 | ATF_BRANCH ?= "lf_v2.6" | 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 = "616a4588f333522d50a55bedd2b9a90a51474a75" | 9 | SRCREV = "6ddd57019494cabfca5065368349109c37f2cc9f" |
| 10 | |||
| 11 | S = "${WORKDIR}/git" | ||
| 12 | |||
diff --git a/recipes-bsp/atf/qoriq-atf-tools_2.6.bb b/recipes-bsp/atf/qoriq-atf-tools_2.12.bb index 2c1db306c..2c1db306c 100644 --- a/recipes-bsp/atf/qoriq-atf-tools_2.6.bb +++ b/recipes-bsp/atf/qoriq-atf-tools_2.12.bb | |||
diff --git a/recipes-bsp/atf/qoriq-atf_2.6.bb b/recipes-bsp/atf/qoriq-atf_2.12.bb index 9f2b0e47a..4eb7be9d3 100644 --- a/recipes-bsp/atf/qoriq-atf_2.6.bb +++ b/recipes-bsp/atf/qoriq-atf_2.12.bb | |||
| @@ -7,9 +7,8 @@ do_compile[depends] += "u-boot:do_deploy rcw:do_deploy uefi:do_deploy" | |||
| 7 | 7 | ||
| 8 | PV:append = "+${SRCPV}" | 8 | PV:append = "+${SRCPV}" |
| 9 | 9 | ||
| 10 | SRC_URI += "git://github.com/ARMmbed/mbedtls;protocol=https;nobranch=1;destsuffix=git/mbedtls;name=mbedtls \ | 10 | SRC_URI += "git://github.com/ARMmbed/mbedtls;protocol=https;nobranch=1;destsuffix=${S}/mbedtls;name=mbedtls \ |
| 11 | git://github.com/nxp/ddr-phy-binary;protocol=https;nobranch=1;destsuffix=git/ddr-phy-binary;name=ddr \ | 11 | git://github.com/nxp/ddr-phy-binary;protocol=https;nobranch=1;destsuffix=${S}/ddr-phy-binary;name=ddr \ |
| 12 | file://tf-a-tests-no-warn-rwx-segments.patch \ | ||
| 13 | " | 12 | " |
| 14 | SRCREV_mbedtls = "0795874acdf887290b2571b193cafd3c4041a708" | 13 | SRCREV_mbedtls = "0795874acdf887290b2571b193cafd3c4041a708" |
| 15 | SRCREV_ddr = "fbc036b88acb6c06ffed02c898cbae9856ec75ba" | 14 | SRCREV_ddr = "fbc036b88acb6c06ffed02c898cbae9856ec75ba" |
diff --git a/recipes-bsp/boot-format/boot-format_git.bb b/recipes-bsp/boot-format/boot-format_git.bb index 0916b45ba..6b53e228f 100644 --- a/recipes-bsp/boot-format/boot-format_git.bb +++ b/recipes-bsp/boot-format/boot-format_git.bb | |||
| @@ -7,7 +7,6 @@ SRC_URI = "git://github.com/nxp-qoriq-yocto-sdk/boot-format;protocol=https;nobra | |||
| 7 | file://flags.patch" | 7 | file://flags.patch" |
| 8 | SRCREV = "4eb81a6797ef4e58bf7d9b2d58afb37a21c1f550" | 8 | SRCREV = "4eb81a6797ef4e58bf7d9b2d58afb37a21c1f550" |
| 9 | 9 | ||
| 10 | S = "${WORKDIR}/git" | ||
| 11 | EXTRA_OEMAKE = 'CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"' | 10 | EXTRA_OEMAKE = 'CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"' |
| 12 | 11 | ||
| 13 | do_install(){ | 12 | do_install(){ |
diff --git a/recipes-bsp/ddr-phy/ddr-phy_git.bb b/recipes-bsp/ddr-phy/ddr-phy_git.bb index 8ea92502f..5cfeb935e 100644 --- a/recipes-bsp/ddr-phy/ddr-phy_git.bb +++ b/recipes-bsp/ddr-phy/ddr-phy_git.bb | |||
| @@ -7,8 +7,6 @@ inherit deploy | |||
| 7 | SRC_URI = "git://github.com/nxp/ddr-phy-binary.git;nobranch=1;protocol=https" | 7 | SRC_URI = "git://github.com/nxp/ddr-phy-binary.git;nobranch=1;protocol=https" |
| 8 | SRCREV = "fbc036b88acb6c06ffed02c898cbae9856ec75ba" | 8 | SRCREV = "fbc036b88acb6c06ffed02c898cbae9856ec75ba" |
| 9 | 9 | ||
| 10 | S = "${WORKDIR}/git" | ||
| 11 | |||
| 12 | REGLEX = "lx2160a" | 10 | REGLEX = "lx2160a" |
| 13 | 11 | ||
| 14 | DEPENDS += "qoriq-atf-tools-native" | 12 | DEPENDS += "qoriq-atf-tools-native" |
diff --git a/recipes-bsp/dp-firmware-cadence/dp-firmware-cadence_22.04.bb b/recipes-bsp/dp-firmware-cadence/dp-firmware-cadence_22.04.bb index 01e3a2a61..79fff49e6 100644 --- a/recipes-bsp/dp-firmware-cadence/dp-firmware-cadence_22.04.bb +++ b/recipes-bsp/dp-firmware-cadence/dp-firmware-cadence_22.04.bb | |||
| @@ -8,7 +8,7 @@ SRC_URI = "${FSL_MIRROR}/firmware-imx-8.16.bin;fsl-eula=true" | |||
| 8 | 8 | ||
| 9 | SRC_URI[sha256sum] = "65f829a9e2597bffc58a680aaefa638122144a083633d1ae09b3aec1d9f8ab84" | 9 | SRC_URI[sha256sum] = "65f829a9e2597bffc58a680aaefa638122144a083633d1ae09b3aec1d9f8ab84" |
| 10 | 10 | ||
| 11 | S = "${WORKDIR}/firmware-imx-8.16" | 11 | S = "${UNPACKDIR}/firmware-imx-8.16" |
| 12 | 12 | ||
| 13 | do_install () { | 13 | do_install () { |
| 14 | install -d ${D}/boot | 14 | install -d ${D}/boot |
diff --git a/recipes-bsp/firmware-imx/firmware-ele-imx_2.0.1.bb b/recipes-bsp/firmware-imx/firmware-ele-imx_2.0.2.bb index d9a6218e7..f776e463d 100644 --- a/recipes-bsp/firmware-imx/firmware-ele-imx_2.0.1.bb +++ b/recipes-bsp/firmware-imx/firmware-ele-imx_2.0.2.bb | |||
| @@ -3,15 +3,15 @@ SUMMARY = "NXP i.MX ELE firmware" | |||
| 3 | DESCRIPTION = "EdgeLock Secure Enclave firmware for i.MX series SoCs" | 3 | DESCRIPTION = "EdgeLock Secure Enclave firmware for i.MX series SoCs" |
| 4 | SECTION = "base" | 4 | SECTION = "base" |
| 5 | LICENSE = "Proprietary" | 5 | LICENSE = "Proprietary" |
| 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=c0fb372b5d7f12181de23ef480f225f3" | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=a93b654673e1bc8398ed1f30e0813359" |
| 7 | 7 | ||
| 8 | inherit fsl-eula-unpack use-imx-security-controller-firmware deploy | 8 | inherit fsl-eula-unpack use-imx-security-controller-firmware deploy |
| 9 | 9 | ||
| 10 | SRC_URI = "${FSL_MIRROR}/${BP}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true" | 10 | SRC_URI = "${FSL_MIRROR}/${BP}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true" |
| 11 | IMX_SRCREV_ABBREV = "19b6ee2" | 11 | IMX_SRCREV_ABBREV = "89161a8" |
| 12 | SRC_URI[sha256sum] = "14ad172ed70d2f16decca4b55e508dad32923390a298f10a598e8bc7778b6b66" | 12 | SRC_URI[sha256sum] = "2d29f0a4de3662ba15f6a7d9069702d4eaed415d96a17f29d5b127f2c6fdd634" |
| 13 | 13 | ||
| 14 | S = "${WORKDIR}/${BP}-${IMX_SRCREV_ABBREV}" | 14 | S = "${UNPACKDIR}/${BP}-${IMX_SRCREV_ABBREV}" |
| 15 | 15 | ||
| 16 | do_compile[noexec] = "1" | 16 | do_compile[noexec] = "1" |
| 17 | 17 | ||
| @@ -24,7 +24,7 @@ do_install() { | |||
| 24 | } | 24 | } |
| 25 | 25 | ||
| 26 | do_deploy () { | 26 | do_deploy () { |
| 27 | # Deploy the related firmware to be package by imx-boot | 27 | # Deploy the related firmware to be packaged by imx-boot |
| 28 | install -m 0644 ${S}/${SECO_FIRMWARE_NAME} ${DEPLOYDIR} | 28 | install -m 0644 ${S}/${SECO_FIRMWARE_NAME} ${DEPLOYDIR} |
| 29 | } | 29 | } |
| 30 | addtask deploy after do_install before do_build | 30 | addtask deploy after do_install before do_build |
diff --git a/recipes-bsp/firmware-imx/firmware-imx-8.27.inc b/recipes-bsp/firmware-imx/firmware-imx-8.28.inc index 022289d37..db8a78528 100644 --- a/recipes-bsp/firmware-imx/firmware-imx-8.27.inc +++ b/recipes-bsp/firmware-imx/firmware-imx-8.28.inc | |||
| @@ -1,16 +1,16 @@ | |||
| 1 | # Copyright (C) 2012-2016 Freescale Semiconductor | 1 | # Copyright (C) 2012-2016 Freescale Semiconductor |
| 2 | # Copyright 2017-2024 NXP | 2 | # Copyright 2017-2025 NXP |
| 3 | # Copyright (C) 2018 O.S. Systems Software LTDA. | 3 | # Copyright (C) 2018 O.S. Systems Software LTDA. |
| 4 | SECTION = "base" | 4 | SECTION = "base" |
| 5 | LICENSE = "Proprietary" | 5 | LICENSE = "Proprietary" |
| 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=c0fb372b5d7f12181de23ef480f225f3" | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=a93b654673e1bc8398ed1f30e0813359" |
| 7 | 7 | ||
| 8 | # Note: This .inc file is used from differently named recipes, so the package | 8 | # Note: This .inc file is used from differently named recipes, so the package |
| 9 | # name must be hard-coded, i.e., ${BPN} cannot be used. | 9 | # name must be hard-coded, i.e., ${BPN} cannot be used. |
| 10 | SRC_URI = "${FSL_MIRROR}/firmware-imx-${PV}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true" | 10 | SRC_URI = "${FSL_MIRROR}/firmware-imx-${PV}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true" |
| 11 | IMX_SRCREV_ABBREV = "5af0ceb" | 11 | IMX_SRCREV_ABBREV = "994fa14" |
| 12 | SRC_URI[sha256sum] = "61f925e606ab020b1a36f3f7f7e459c6847f5b9dbc79421f9ef86e8fc124eb2f" | 12 | SRC_URI[sha256sum] = "55996f340e87825685a00cd309901189066ec9545ee607734f942c3cde4d69dc" |
| 13 | 13 | ||
| 14 | S = "${WORKDIR}/firmware-imx-${PV}-${IMX_SRCREV_ABBREV}" | 14 | S = "${UNPACKDIR}/firmware-imx-${PV}-${IMX_SRCREV_ABBREV}" |
| 15 | 15 | ||
| 16 | inherit fsl-eula-unpack | 16 | inherit fsl-eula-unpack |
diff --git a/recipes-bsp/firmware-imx/firmware-imx_8.27.bb b/recipes-bsp/firmware-imx/firmware-imx_8.28.bb index 7bac8106d..2cd449165 100644 --- a/recipes-bsp/firmware-imx/firmware-imx_8.27.bb +++ b/recipes-bsp/firmware-imx/firmware-imx_8.28.bb | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | # Copyright (C) 2012-2016 Freescale Semiconductor | 1 | # Copyright (C) 2012-2016 Freescale Semiconductor |
| 2 | # Copyright 2017-2021,2024 NXP | 2 | # Copyright 2017-2021,2024-2025 NXP |
| 3 | # Copyright (C) 2018 O.S. Systems Software LTDA. | 3 | # Copyright (C) 2018 O.S. Systems Software LTDA. |
| 4 | SUMMARY = "Freescale i.MX firmware" | 4 | SUMMARY = "Freescale i.MX firmware" |
| 5 | DESCRIPTION = "Freescale i.MX firmware such as for the VPU" | 5 | DESCRIPTION = "Freescale i.MX firmware such as for the VPU" |
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 fe520ea84..51e8b69e4 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-2024 NXP | 1 | # Copyright 2020-2025 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,13 +7,12 @@ 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=c0fb372b5d7f12181de23ef480f225f3" | 10 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a93b654673e1bc8398ed1f30e0813359" |
| 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.3_1.0.0" | 13 | SRCBRANCH = "lf-6.12.20_2.0.0" |
| 14 | SRCREV = "eef7ef94bc44cacd3b068f66658ef33391547daa" | 14 | SRCREV = "d31ea8aaba67e188ba0071a90da0364e3946c83a" |
| 15 | 15 | ||
| 16 | S = "${WORKDIR}/git" | ||
| 17 | 16 | ||
| 18 | inherit allarch | 17 | inherit allarch |
| 19 | 18 | ||
| @@ -69,8 +68,10 @@ PACKAGES =+ " \ | |||
| 69 | ${PN}-nxp9098-pcie \ | 68 | ${PN}-nxp9098-pcie \ |
| 70 | ${PN}-nxp9098-common \ | 69 | ${PN}-nxp9098-common \ |
| 71 | ${PN}-nxp9098-sdio \ | 70 | ${PN}-nxp9098-sdio \ |
| 71 | ${PN}-nxpaw693-pcie \ | ||
| 72 | ${PN}-nxpiw416-sdio \ | 72 | ${PN}-nxpiw416-sdio \ |
| 73 | ${PN}-nxpiw610-sdio \ | 73 | ${PN}-nxpiw610-sdio \ |
| 74 | ${PN}-nxpiw610-usb \ | ||
| 74 | ${PN}-nxpiw612-sdio \ | 75 | ${PN}-nxpiw612-sdio \ |
| 75 | " | 76 | " |
| 76 | 77 | ||
| @@ -162,6 +163,7 @@ RCONFLICTS:${PN}-nxpiw416-sdio = "linux-firmware-nxpiw416-sdio" | |||
| 162 | FILES:${PN}-nxpiw610-sdio += " \ | 163 | FILES:${PN}-nxpiw610-sdio += " \ |
| 163 | ${nonarch_base_libdir}/firmware/nxp/sd_iw610.bin.se \ | 164 | ${nonarch_base_libdir}/firmware/nxp/sd_iw610.bin.se \ |
| 164 | ${nonarch_base_libdir}/firmware/nxp/sduart_iw610.bin.se \ | 165 | ${nonarch_base_libdir}/firmware/nxp/sduart_iw610.bin.se \ |
| 166 | ${nonarch_base_libdir}/firmware/nxp/sduartspi_iw610.bin.se \ | ||
| 165 | ${nonarch_base_libdir}/firmware/nxp/uart_iw610_bt.bin.se \ | 167 | ${nonarch_base_libdir}/firmware/nxp/uart_iw610_bt.bin.se \ |
| 166 | ${nonarch_base_libdir}/firmware/nxp/uartspi_iw610.bin.se \ | 168 | ${nonarch_base_libdir}/firmware/nxp/uartspi_iw610.bin.se \ |
| 167 | " | 169 | " |
| @@ -170,6 +172,11 @@ RPROVIDES:${PN}-nxpiw610-sdio = "linux-firmware-nxpiw610-sdio" | |||
| 170 | RREPLACES:${PN}-nxpiw610-sdio = "linux-firmware-nxpiw610-sdio" | 172 | RREPLACES:${PN}-nxpiw610-sdio = "linux-firmware-nxpiw610-sdio" |
| 171 | RCONFLICTS:${PN}-nxpiw610-sdio = "linux-firmware-nxpiw610-sdio" | 173 | RCONFLICTS:${PN}-nxpiw610-sdio = "linux-firmware-nxpiw610-sdio" |
| 172 | 174 | ||
| 175 | FILES:${PN}-nxpiw610-usb += " \ | ||
| 176 | ${nonarch_base_libdir}/firmware/nxp/usb*_iw610.bin.se \ | ||
| 177 | " | ||
| 178 | RDEPENDS:${PN}-nxpiw610-usb += "${PN}-nxp-common" | ||
| 179 | |||
| 173 | FILES:${PN}-nxpiw612-sdio = " \ | 180 | FILES:${PN}-nxpiw612-sdio = " \ |
| 174 | ${nonarch_base_libdir}/firmware/nxp/sduart_nw61x_v1.bin.se \ | 181 | ${nonarch_base_libdir}/firmware/nxp/sduart_nw61x_v1.bin.se \ |
| 175 | ${nonarch_base_libdir}/firmware/nxp/sd_w61x_v1.bin.se \ | 182 | ${nonarch_base_libdir}/firmware/nxp/sd_w61x_v1.bin.se \ |
| @@ -182,6 +189,12 @@ RPROVIDES:${PN}-nxpiw612-sdio = "linux-firmware-nxpiw612-sdio" | |||
| 182 | RREPLACES:${PN}-nxpiw612-sdio = "linux-firmware-nxpiw612-sdio" | 189 | RREPLACES:${PN}-nxpiw612-sdio = "linux-firmware-nxpiw612-sdio" |
| 183 | RCONFLICTS:${PN}-nxpiw612-sdio = "linux-firmware-nxpiw612-sdio" | 190 | RCONFLICTS:${PN}-nxpiw612-sdio = "linux-firmware-nxpiw612-sdio" |
| 184 | 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 | |||
| 185 | RDEPENDS:${PN}-all-sdio = " \ | 198 | RDEPENDS:${PN}-all-sdio = " \ |
| 186 | ${PN}-nxp8801-sdio \ | 199 | ${PN}-nxp8801-sdio \ |
| 187 | ${PN}-nxp8987-sdio \ | 200 | ${PN}-nxp8987-sdio \ |
| @@ -194,4 +207,9 @@ RDEPENDS:${PN}-all-sdio = " \ | |||
| 194 | RDEPENDS:${PN}-all-pcie = " \ | 207 | RDEPENDS:${PN}-all-pcie = " \ |
| 195 | ${PN}-nxp8997-pcie \ | 208 | ${PN}-nxp8997-pcie \ |
| 196 | ${PN}-nxp9098-pcie \ | 209 | ${PN}-nxp9098-pcie \ |
| 210 | ${PN}-nxpaw693-pcie \ | ||
| 211 | " | ||
| 212 | |||
| 213 | RDEPENDS:${PN}-all-usb = " \ | ||
| 214 | ${PN}-nxpiw610-usb \ | ||
| 197 | " | 215 | " |
diff --git a/recipes-bsp/firmware-imx/firmware-sof-imx_2.3.0.bb b/recipes-bsp/firmware-imx/firmware-sof-imx_2.3.0.bb index 6e6f90cab..7c5022761 100644 --- a/recipes-bsp/firmware-imx/firmware-sof-imx_2.3.0.bb +++ b/recipes-bsp/firmware-imx/firmware-sof-imx_2.3.0.bb | |||
| @@ -10,7 +10,7 @@ LIC_FILES_CHKSUM = "file://LICENCE;md5=0f00d99239d922ffd13cabef83b33444" | |||
| 10 | SRC_URI = "${FSL_MIRROR}/sof-imx-${PV}.tar.gz" | 10 | SRC_URI = "${FSL_MIRROR}/sof-imx-${PV}.tar.gz" |
| 11 | SRC_URI[sha256sum] = "eb86c90aec92b3b376e7afca6aa5db4767b5d8868553595907ba37665329f16b" | 11 | SRC_URI[sha256sum] = "eb86c90aec92b3b376e7afca6aa5db4767b5d8868553595907ba37665329f16b" |
| 12 | 12 | ||
| 13 | S = "${WORKDIR}/sof-imx-${PV}" | 13 | S = "${UNPACKDIR}/sof-imx-${PV}" |
| 14 | 14 | ||
| 15 | inherit allarch | 15 | inherit allarch |
| 16 | 16 | ||
diff --git a/recipes-bsp/firmware-imx/imx-boot-firmware-files_8.27.bb b/recipes-bsp/firmware-imx/imx-boot-firmware-files_8.28.bb index c35e31e07..4c0d51c8a 100644 --- a/recipes-bsp/firmware-imx/imx-boot-firmware-files_8.27.bb +++ b/recipes-bsp/firmware-imx/imx-boot-firmware-files_8.28.bb | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | # Copyright (C) 2018-2024 NXP | 1 | # Copyright (C) 2018-2025 NXP |
| 2 | SUMMARY = "Freescale i.MX Firmware files used for boot" | 2 | SUMMARY = "Freescale i.MX Firmware files used for boot" |
| 3 | 3 | ||
| 4 | require firmware-imx-${PV}.inc | 4 | require firmware-imx-${PV}.inc |
diff --git a/recipes-bsp/firmware-upower/firmware-upower_1.3.1.bb b/recipes-bsp/firmware-upower/firmware-upower_1.3.1.bb index 7592a629c..2b5a9f50d 100644 --- a/recipes-bsp/firmware-upower/firmware-upower_1.3.1.bb +++ b/recipes-bsp/firmware-upower/firmware-upower_1.3.1.bb | |||
| @@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=db4762b09b6bda63da103963e6e081de" | |||
| 6 | 6 | ||
| 7 | SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}.bin;fsl-eula=true" | 7 | SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}.bin;fsl-eula=true" |
| 8 | 8 | ||
| 9 | S = "${WORKDIR}/${PN}-${PV}" | 9 | S = "${UNPACKDIR}/${PN}-${PV}" |
| 10 | 10 | ||
| 11 | inherit fsl-eula-unpack pkgconfig deploy | 11 | inherit fsl-eula-unpack pkgconfig deploy |
| 12 | 12 | ||
diff --git a/recipes-bsp/fsl-tlu/fsl-tlu_1.0.0.bb b/recipes-bsp/fsl-tlu/fsl-tlu_1.0.0.bb index 3883c0246..260b01001 100644 --- a/recipes-bsp/fsl-tlu/fsl-tlu_1.0.0.bb +++ b/recipes-bsp/fsl-tlu/fsl-tlu_1.0.0.bb | |||
| @@ -8,8 +8,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=8a71d0475d08eee76d8b6d0c6dbec543" | |||
| 8 | SRC_URI = "git://github.com/nxp-qoriq-yocto-sdk/fsl-tlu;protocol=https;nobranch=1" | 8 | SRC_URI = "git://github.com/nxp-qoriq-yocto-sdk/fsl-tlu;protocol=https;nobranch=1" |
| 9 | SRCREV = "8837cce3c86b30c0931c319e9e1a8ca622ae5354" | 9 | SRCREV = "8837cce3c86b30c0931c319e9e1a8ca622ae5354" |
| 10 | 10 | ||
| 11 | S = "${WORKDIR}/git" | ||
| 12 | |||
| 13 | do_install() { | 11 | do_install() { |
| 14 | install -d ${D}${sbindir}/fsl_tlu | 12 | install -d ${D}${sbindir}/fsl_tlu |
| 15 | find . -type f -exec cp {} ${D}${sbindir}/fsl_tlu/ \; | 13 | find . -type f -exec cp {} ${D}${sbindir}/fsl_tlu/ \; |
diff --git a/recipes-bsp/imx-atf/imx-atf_2.10.bb b/recipes-bsp/imx-atf/imx-atf_2.12.bb index 13478bbe6..ba494594f 100644 --- a/recipes-bsp/imx-atf/imx-atf_2.10.bb +++ b/recipes-bsp/imx-atf/imx-atf_2.12.bb | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | # Copyright (C) 2017-2024 NXP | 1 | # Copyright (C) 2017-2025 NXP |
| 2 | 2 | ||
| 3 | DESCRIPTION = "i.MX ARM Trusted Firmware" | 3 | DESCRIPTION = "i.MX ARM Trusted Firmware" |
| 4 | SECTION = "BSP" | 4 | SECTION = "BSP" |
| @@ -9,10 +9,8 @@ PV .= "+git${SRCPV}" | |||
| 9 | 9 | ||
| 10 | SRC_URI = "git://github.com/nxp-imx/imx-atf.git;protocol=https;branch=${SRCBRANCH} \ | 10 | SRC_URI = "git://github.com/nxp-imx/imx-atf.git;protocol=https;branch=${SRCBRANCH} \ |
| 11 | file://0001-imx93-trdc-Fix-header-guard.patch" | 11 | file://0001-imx93-trdc-Fix-header-guard.patch" |
| 12 | SRCBRANCH = "lf_v2.10" | 12 | SRCBRANCH = "lf_v2.12" |
| 13 | SRCREV = "78a14c75a06dea39036c44ae0f9d23acc7bcaef2" | 13 | SRCREV = "6ddd57019494cabfca5065368349109c37f2cc9f" |
| 14 | |||
| 15 | S = "${WORKDIR}/git" | ||
| 16 | 14 | ||
| 17 | inherit deploy | 15 | inherit deploy |
| 18 | 16 | ||
diff --git a/recipes-bsp/imx-kobs/imx-kobs_git.bb b/recipes-bsp/imx-kobs/imx-kobs_git.bb index bdb02475a..4f0ed79a1 100644 --- a/recipes-bsp/imx-kobs/imx-kobs_git.bb +++ b/recipes-bsp/imx-kobs/imx-kobs_git.bb | |||
| @@ -12,7 +12,6 @@ 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 = "ff13a99a22aa73cca0e09a33c2ebb6a94ad698da" |
| 15 | S = "${WORKDIR}/git" | ||
| 16 | 15 | ||
| 17 | inherit autotools pkgconfig | 16 | inherit autotools pkgconfig |
| 18 | 17 | ||
diff --git a/recipes-bsp/imx-lib/imx-lib_git.bb b/recipes-bsp/imx-lib/imx-lib_git.bb index cff0313e2..5cf1b5744 100644 --- a/recipes-bsp/imx-lib/imx-lib_git.bb +++ b/recipes-bsp/imx-lib/imx-lib_git.bb | |||
| @@ -14,11 +14,9 @@ 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 | file://0001-Fix-gcc-15-errors.patch" |
| 17 | SRCBRANCH = "lf-6.12.3_1.0.0" | 17 | SRCBRANCH = "lf-6.12.20_2.0.0" |
| 18 | SRCREV = "8f124c3914d82019849fb697baeb730e4cb1b547" | 18 | SRCREV = "8f124c3914d82019849fb697baeb730e4cb1b547" |
| 19 | 19 | ||
| 20 | S = "${WORKDIR}/git" | ||
| 21 | |||
| 22 | inherit use-imx-headers | 20 | inherit use-imx-headers |
| 23 | 21 | ||
| 24 | PLATFORM:mx6q-nxp-bsp = "IMX6Q" | 22 | PLATFORM:mx6q-nxp-bsp = "IMX6Q" |
diff --git a/recipes-bsp/imx-mkimage/imx-mkimage_git.inc b/recipes-bsp/imx-mkimage/imx-mkimage_git.inc index ad464aee2..a14d98241 100644 --- a/recipes-bsp/imx-mkimage/imx-mkimage_git.inc +++ b/recipes-bsp/imx-mkimage/imx-mkimage_git.inc | |||
| @@ -5,10 +5,8 @@ DEPENDS = "zlib-native openssl-native" | |||
| 5 | SRC_URI = "git://github.com/nxp-imx/imx-mkimage.git;protocol=https;branch=${SRCBRANCH} \ | 5 | SRC_URI = "git://github.com/nxp-imx/imx-mkimage.git;protocol=https;branch=${SRCBRANCH} \ |
| 6 | file://0001-iMX8M-soc.mak-use-native-mkimage-from-sysroot.patch \ | 6 | file://0001-iMX8M-soc.mak-use-native-mkimage-from-sysroot.patch \ |
| 7 | " | 7 | " |
| 8 | SRCBRANCH = "lf-6.12.3_1.0.0" | 8 | SRCBRANCH = "lf-6.12.20_2.0.0" |
| 9 | SRCREV = "9e60b1f7a87a6397cf8db10e07293075f489e974" | 9 | SRCREV = "4c2e5b25232f5aa003976ddca9d1d2fb9667beb1" |
| 10 | |||
| 11 | S = "${WORKDIR}/git" | ||
| 12 | 10 | ||
| 13 | BOOT_TOOLS = "imx-boot-tools" | 11 | BOOT_TOOLS = "imx-boot-tools" |
| 14 | SYSROOT_DIRS += "/boot" | 12 | SYSROOT_DIRS += "/boot" |
diff --git a/recipes-bsp/imx-sc-firmware/imx-sc-firmware_1.18.0.bb b/recipes-bsp/imx-sc-firmware/imx-sc-firmware_1.18.0.bb index 1354356b6..42e8f6e19 100644 --- a/recipes-bsp/imx-sc-firmware/imx-sc-firmware_1.18.0.bb +++ b/recipes-bsp/imx-sc-firmware/imx-sc-firmware_1.18.0.bb | |||
| @@ -12,7 +12,7 @@ SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true" | |||
| 12 | SRC_URI[sha256sum] = "392f1e5cdf1c8d7ed75409a2c46b00a332ace677f0e2700b587fe9ae800a1ff3" | 12 | SRC_URI[sha256sum] = "392f1e5cdf1c8d7ed75409a2c46b00a332ace677f0e2700b587fe9ae800a1ff3" |
| 13 | IMX_SRCREV_ABBREV = "654907b" | 13 | IMX_SRCREV_ABBREV = "654907b" |
| 14 | 14 | ||
| 15 | S = "${WORKDIR}/${BPN}-${PV}-${IMX_SRCREV_ABBREV}" | 15 | S = "${UNPACKDIR}/${BPN}-${PV}-${IMX_SRCREV_ABBREV}" |
| 16 | 16 | ||
| 17 | BOARD_TYPE ?= "mek" | 17 | BOARD_TYPE ?= "mek" |
| 18 | SC_FIRMWARE_NAME ?= "INVALID" | 18 | SC_FIRMWARE_NAME ?= "INVALID" |
diff --git a/recipes-bsp/imx-seco/imx-seco-libs_git.bb b/recipes-bsp/imx-seco/imx-seco-libs_git.bb index 353dcb910..fe366aacb 100644 --- a/recipes-bsp/imx-seco/imx-seco-libs_git.bb +++ b/recipes-bsp/imx-seco/imx-seco-libs_git.bb | |||
| @@ -16,8 +16,6 @@ SRC_URI = "git://github.com/NXP/imx-seco-libs.git;protocol=https;branch=${SRCBRA | |||
| 16 | file://0001-Fix-return-value-of-void-functions.patch" | 16 | file://0001-Fix-return-value-of-void-functions.patch" |
| 17 | SRCREV = "273553f207425f773400be7a7f3a7c425d892d6f" | 17 | SRCREV = "273553f207425f773400be7a7f3a7c425d892d6f" |
| 18 | 18 | ||
| 19 | S = "${WORKDIR}/git" | ||
| 20 | |||
| 21 | TARGET_CC_ARCH += "${LDFLAGS}" | 19 | TARGET_CC_ARCH += "${LDFLAGS}" |
| 22 | 20 | ||
| 23 | do_install () { | 21 | do_install () { |
diff --git a/recipes-bsp/imx-seco/imx-seco_5.9.4.1.bb b/recipes-bsp/imx-seco/imx-seco_5.9.4.1.bb index 352fc49ee..2710297d6 100644 --- a/recipes-bsp/imx-seco/imx-seco_5.9.4.1.bb +++ b/recipes-bsp/imx-seco/imx-seco_5.9.4.1.bb | |||
| @@ -13,7 +13,7 @@ SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true" | |||
| 13 | SRC_URI[sha256sum] = "bd8dc01966076836aabff53f2463295294166595006e1db430db21b6ffa6b667" | 13 | SRC_URI[sha256sum] = "bd8dc01966076836aabff53f2463295294166595006e1db430db21b6ffa6b667" |
| 14 | IMX_SRCREV_ABBREV = "0333596" | 14 | IMX_SRCREV_ABBREV = "0333596" |
| 15 | 15 | ||
| 16 | S = "${WORKDIR}/${BPN}-${PV}-${IMX_SRCREV_ABBREV}" | 16 | S = "${UNPACKDIR}/${BPN}-${PV}-${IMX_SRCREV_ABBREV}" |
| 17 | 17 | ||
| 18 | do_compile[noexec] = "1" | 18 | do_compile[noexec] = "1" |
| 19 | 19 | ||
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 cebfbdf91..525824f79 100644 --- a/recipes-bsp/imx-secure-enclave/imx-secure-enclave_git.bb +++ b/recipes-bsp/imx-secure-enclave/imx-secure-enclave_git.bb | |||
| @@ -14,8 +14,6 @@ SRCREV = "dffbb844e86f4a49058ffbb40548474059969c27" | |||
| 14 | 14 | ||
| 15 | PV = "lf-6.6.52_2.2.0" | 15 | PV = "lf-6.6.52_2.2.0" |
| 16 | 16 | ||
| 17 | S = "${WORKDIR}/git" | ||
| 18 | |||
| 19 | EXTRA_OEMAKE += "PLAT=ele" | 17 | EXTRA_OEMAKE += "PLAT=ele" |
| 20 | 18 | ||
| 21 | TARGET_CC_ARCH += "${LDFLAGS}" | 19 | TARGET_CC_ARCH += "${LDFLAGS}" |
diff --git a/recipes-bsp/imx-test/imx-test_git.bb b/recipes-bsp/imx-test/imx-test_git.bb index 0a0934694..3dd6153a0 100644 --- a/recipes-bsp/imx-test/imx-test_git.bb +++ b/recipes-bsp/imx-test/imx-test_git.bb | |||
| @@ -14,16 +14,15 @@ DEPENDS:append:mx6-nxp-bsp = " imx-lib" | |||
| 14 | DEPENDS:append:mx7-nxp-bsp = " imx-lib" | 14 | DEPENDS:append:mx7-nxp-bsp = " imx-lib" |
| 15 | DEPENDS:append:mx8ulp-nxp-bsp = " imx-lib" | 15 | DEPENDS:append:mx8ulp-nxp-bsp = " imx-lib" |
| 16 | DEPENDS:append:mx93-nxp-bsp = " imx-lib" | 16 | DEPENDS:append:mx93-nxp-bsp = " imx-lib" |
| 17 | DEPENDS:append:mx943-nxp-bsp = " imx-lib" | ||
| 17 | 18 | ||
| 18 | PE = "1" | 19 | PE = "1" |
| 19 | PV = "7.0+${SRCPV}" | 20 | PV = "7.0+${SRCPV}" |
| 20 | 21 | ||
| 21 | SRC_URI = "git://github.com/nxp-imx/imx-test.git;protocol=https;branch=${SRCBRANCH} \ | 22 | SRC_URI = "git://github.com/nxp-imx/imx-test.git;protocol=https;branch=${SRCBRANCH} \ |
| 22 | file://memtool_profile" | 23 | file://memtool_profile" |
| 23 | SRCBRANCH = "lf-6.12.3_1.0.0" | 24 | SRCBRANCH = "lf-6.12.20_2.0.0" |
| 24 | SRCREV = "92a497313016bfa536d561e13fcbad2d273ded4c" | 25 | SRCREV = "38f9cf1f08bb6fcdd6aaf9191e0b53f02e02537b" |
| 25 | |||
| 26 | S = "${WORKDIR}/git" | ||
| 27 | 26 | ||
| 28 | inherit module-base use-imx-headers | 27 | inherit module-base use-imx-headers |
| 29 | 28 | ||
| @@ -42,6 +41,7 @@ PLATFORM:mx8-nxp-bsp = "IMX8" | |||
| 42 | PLATFORM:mx8ulp-nxp-bsp = "IMX8ULP" | 41 | PLATFORM:mx8ulp-nxp-bsp = "IMX8ULP" |
| 43 | PLATFORM:mx91-nxp-bsp = "IMX8" | 42 | PLATFORM:mx91-nxp-bsp = "IMX8" |
| 44 | PLATFORM:mx93-nxp-bsp = "IMX8ULP" | 43 | PLATFORM:mx93-nxp-bsp = "IMX8ULP" |
| 44 | PLATFORM:mx943-nxp-bsp = "IMX8ULP" | ||
| 45 | PLATFORM:mx95-nxp-bsp = "IMX8" | 45 | PLATFORM:mx95-nxp-bsp = "IMX8" |
| 46 | 46 | ||
| 47 | PARALLEL_MAKE = "-j 1" | 47 | PARALLEL_MAKE = "-j 1" |
diff --git a/recipes-bsp/imx-uuc/imx-uuc_git.bb b/recipes-bsp/imx-uuc/imx-uuc_git.bb index 754e68eb0..54997ae37 100644 --- a/recipes-bsp/imx-uuc/imx-uuc_git.bb +++ b/recipes-bsp/imx-uuc/imx-uuc_git.bb | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | # Copyright (C) 2016 Freescale Semiconductor | 1 | # Copyright (C) 2016 Freescale Semiconductor |
| 2 | # Copyright (C) 2017-2019,2024 NXP | 2 | # Copyright (C) 2017-2019,2024-2025 NXP |
| 3 | SUMMARY = "A Daemon wait for NXP mfgtools host's command" | 3 | SUMMARY = "A Daemon wait for NXP mfgtools host's command" |
| 4 | SECTION = "base" | 4 | SECTION = "base" |
| 5 | DEPENDS = "virtual/kernel dosfstools-native" | 5 | DEPENDS = "virtual/kernel dosfstools-native" |
| @@ -9,11 +9,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263" | |||
| 9 | PR = "r1" | 9 | PR = "r1" |
| 10 | PV = "0.5.1+git${SRCPV}" | 10 | PV = "0.5.1+git${SRCPV}" |
| 11 | 11 | ||
| 12 | SRC_URI = "git://github.com/NXPmicro/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 = "25f65e10368aa07056f9536e88ed911ac7f38f99" |
| 14 | 14 | ||
| 15 | S = "${WORKDIR}/git" | ||
| 16 | |||
| 17 | do_install() { | 15 | do_install() { |
| 18 | oe_runmake 'DESTDIR=${D}' install | 16 | oe_runmake 'DESTDIR=${D}' install |
| 19 | } | 17 | } |
diff --git a/recipes-bsp/imx-vpu-hantro-vc/imx-vpu-hantro-vc_1.10.1.bb b/recipes-bsp/imx-vpu-hantro-vc/imx-vpu-hantro-vc_1.10.1.bb index 5aaf92c5f..68c2a4979 100644 --- a/recipes-bsp/imx-vpu-hantro-vc/imx-vpu-hantro-vc_1.10.1.bb +++ b/recipes-bsp/imx-vpu-hantro-vc/imx-vpu-hantro-vc_1.10.1.bb | |||
| @@ -14,7 +14,7 @@ IMX_SRCREV_ABBREV = "c0244a1" | |||
| 14 | 14 | ||
| 15 | SRC_URI[sha256sum] = "713ba375f25490727fcc62bab5d5508f74de03204b4c153464b696b652c5c7df" | 15 | SRC_URI[sha256sum] = "713ba375f25490727fcc62bab5d5508f74de03204b4c153464b696b652c5c7df" |
| 16 | 16 | ||
| 17 | S = "${WORKDIR}/${BP}-${IMX_SRCREV_ABBREV}" | 17 | S = "${UNPACKDIR}/${BP}-${IMX_SRCREV_ABBREV}" |
| 18 | 18 | ||
| 19 | # SCR is the location and name of the Software Content Register file | 19 | # SCR is the location and name of the Software Content Register file |
| 20 | # relative to ${D}${D_SUBDIR}. | 20 | # relative to ${D}${D_SUBDIR}. |
diff --git a/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro-daemon_1.5.0.bb b/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro-daemon_1.5.0.bb index ac42b6870..940b9fa41 100644 --- a/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro-daemon_1.5.0.bb +++ b/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro-daemon_1.5.0.bb | |||
| @@ -11,7 +11,7 @@ IMX_SRCREV_ABBREV = "3200e68" | |||
| 11 | 11 | ||
| 12 | SRC_URI[sha256sum] = "e7806a92d4a5ab51b76d9edef5175a95625c4ac3cab467fe1519bb0ce16e6535" | 12 | SRC_URI[sha256sum] = "e7806a92d4a5ab51b76d9edef5175a95625c4ac3cab467fe1519bb0ce16e6535" |
| 13 | 13 | ||
| 14 | S = "${WORKDIR}/${BP}-${IMX_SRCREV_ABBREV}" | 14 | S = "${UNPACKDIR}/${BP}-${IMX_SRCREV_ABBREV}" |
| 15 | 15 | ||
| 16 | PLATFORM:mx8mm-nxp-bsp = "IMX8MM" | 16 | PLATFORM:mx8mm-nxp-bsp = "IMX8MM" |
| 17 | PLATFORM:mx8mq-nxp-bsp = "IMX8MQ" | 17 | PLATFORM:mx8mq-nxp-bsp = "IMX8MQ" |
diff --git a/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.36.0.bb b/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.36.0.bb index 3a171942f..d766e0191 100644 --- a/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.36.0.bb +++ b/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.36.0.bb | |||
| @@ -15,7 +15,7 @@ IMX_SRCREV_ABBREV = "194a305" | |||
| 15 | 15 | ||
| 16 | SRC_URI[sha256sum] = "0ef1fb5c6653c08f2d2812c72dedf3e8beb091dd5b3d70d6e26f41bac4ebffa7" | 16 | SRC_URI[sha256sum] = "0ef1fb5c6653c08f2d2812c72dedf3e8beb091dd5b3d70d6e26f41bac4ebffa7" |
| 17 | 17 | ||
| 18 | S = "${WORKDIR}/${BP}-${IMX_SRCREV_ABBREV}" | 18 | S = "${UNPACKDIR}/${BP}-${IMX_SRCREV_ABBREV}" |
| 19 | 19 | ||
| 20 | inherit fsl-eula-unpack use-imx-headers | 20 | inherit fsl-eula-unpack use-imx-headers |
| 21 | 21 | ||
diff --git a/recipes-bsp/inphi/inphi_git.bb b/recipes-bsp/inphi/inphi_git.bb index 4deacb581..5c2e4197f 100644 --- a/recipes-bsp/inphi/inphi_git.bb +++ b/recipes-bsp/inphi/inphi_git.bb | |||
| @@ -7,8 +7,6 @@ inherit deploy | |||
| 7 | SRC_URI = "git://github.com/nxp/qoriq-firmware-inphi.git;nobranch=1;protocol=https" | 7 | SRC_URI = "git://github.com/nxp/qoriq-firmware-inphi.git;nobranch=1;protocol=https" |
| 8 | SRCREV = "f22e9ff3bfed8342da6efb699e473b11fbad5695" | 8 | SRCREV = "f22e9ff3bfed8342da6efb699e473b11fbad5695" |
| 9 | 9 | ||
| 10 | S = "${WORKDIR}/git" | ||
| 11 | |||
| 12 | do_install () { | 10 | do_install () { |
| 13 | install -d ${D}/boot | 11 | install -d ${D}/boot |
| 14 | cp -fr ${S}/in112525-phy-ucode.txt ${D}/boot | 12 | cp -fr ${S}/in112525-phy-ucode.txt ${D}/boot |
diff --git a/recipes-bsp/isp-imx/basler-camera_4.2.2.25.1.bb b/recipes-bsp/isp-imx/basler-camera_4.2.2.25.2.bb index 550250b2d..012e1f2b7 100644 --- a/recipes-bsp/isp-imx/basler-camera_4.2.2.25.1.bb +++ b/recipes-bsp/isp-imx/basler-camera_4.2.2.25.2.bb | |||
| @@ -2,17 +2,17 @@ | |||
| 2 | 2 | ||
| 3 | DESCRIPTION = "Basler camera binary drivers" | 3 | DESCRIPTION = "Basler camera binary drivers" |
| 4 | LICENSE = "Proprietary" | 4 | LICENSE = "Proprietary" |
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=c0fb372b5d7f12181de23ef480f225f3" | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=a93b654673e1bc8398ed1f30e0813359" |
| 6 | 6 | ||
| 7 | IMX_SRCREV_ABBREV = "d1f506a" | 7 | IMX_SRCREV_ABBREV = "dd86758" |
| 8 | 8 | ||
| 9 | inherit fsl-eula-unpack | 9 | inherit fsl-eula-unpack |
| 10 | 10 | ||
| 11 | SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true" | 11 | SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true" |
| 12 | 12 | ||
| 13 | SRC_URI[sha256sum] = "49d1b3691d18e2ba5f43a6e2c59ac16767b6e077a118cafec7f51293d6bf30f3" | 13 | SRC_URI[sha256sum] = "aa86adeb0c53c3306f7e1c004ffa78ebb7db3e9136c78759e4029b4b5e1b1a64" |
| 14 | 14 | ||
| 15 | S = "${WORKDIR}/${BPN}-${PV}-${IMX_SRCREV_ABBREV}" | 15 | S = "${UNPACKDIR}/${BPN}-${PV}-${IMX_SRCREV_ABBREV}" |
| 16 | 16 | ||
| 17 | do_compile[noexec] = "1" | 17 | do_compile[noexec] = "1" |
| 18 | 18 | ||
diff --git a/recipes-bsp/isp-imx/isp-imx/0001-isp-imx-start_isp-don-t-report-error-if-no-camera-is.patch b/recipes-bsp/isp-imx/isp-imx/0001-isp-imx-start_isp-don-t-report-error-if-no-camera-is.patch new file mode 100644 index 000000000..617abde6f --- /dev/null +++ b/recipes-bsp/isp-imx/isp-imx/0001-isp-imx-start_isp-don-t-report-error-if-no-camera-is.patch | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | From d24c74528fefd1316f1633f0a7f1a5acea40454f Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Max Krummenacher <max.krummenacher@toradex.com> | ||
| 3 | Date: Thu, 19 Jan 2023 15:51:24 +0000 | ||
| 4 | Subject: [PATCH 1/5] isp-imx: start_isp: don't report error if no camera is | ||
| 5 | configured | ||
| 6 | |||
| 7 | The script currently returns '6' when no known camera is configured | ||
| 8 | in the device tree. The end result is that the systemd imx8-isp.service | ||
| 9 | goes to the failed state. | ||
| 10 | Return '0' in that case as obviously the device tree doesn't have a | ||
| 11 | camera configured and the service is not needed. | ||
| 12 | |||
| 13 | Upstream-Status: Pending | ||
| 14 | Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> | ||
| 15 | --- | ||
| 16 | imx/start_isp.sh | 2 +- | ||
| 17 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 18 | |||
| 19 | diff --git a/imx/start_isp.sh b/imx/start_isp.sh | ||
| 20 | index d544b4ca2a57..22e7783437d6 100755 | ||
| 21 | --- a/imx/start_isp.sh | ||
| 22 | +++ b/imx/start_isp.sh | ||
| 23 | @@ -72,5 +72,5 @@ elif [ $NR_DEVICE_TREE_OS08A20 -eq 2 ]; then | ||
| 24 | else | ||
| 25 | # no device tree found exit with code no device or address | ||
| 26 | echo "No device tree found for Basler camera or os08a20, check dtb file!" >&2 | ||
| 27 | - exit 6 | ||
| 28 | + exit 0 | ||
| 29 | fi | ||
| 30 | -- | ||
| 31 | 2.42.0 | ||
| 32 | |||
diff --git a/recipes-bsp/isp-imx/isp-imx/0002-appshell-cmake-bump-min-version-to-3.5.patch b/recipes-bsp/isp-imx/isp-imx/0002-appshell-cmake-bump-min-version-to-3.5.patch new file mode 100644 index 000000000..38b3b6b02 --- /dev/null +++ b/recipes-bsp/isp-imx/isp-imx/0002-appshell-cmake-bump-min-version-to-3.5.patch | |||
| @@ -0,0 +1,134 @@ | |||
| 1 | From 5b69b60bd4d0d5ed1474c6457561d48cdbabc778 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Max Krummenacher <max.krummenacher@toradex.com> | ||
| 3 | Date: Fri, 25 Jul 2025 09:19:58 +0000 | ||
| 4 | Subject: [PATCH 2/5] appshell: cmake: bump min version to 3.5 | ||
| 5 | |||
| 6 | CMake 4 no longer supports min version set to before 3.5 | ||
| 7 | |||
| 8 | | CMake Error at CMakeLists.txt:28 (cmake_minimum_required): | ||
| 9 | | Compatibility with CMake < 3.5 has been removed from CMake. | ||
| 10 | |||
| 11 | Upstream-Status: Pending | ||
| 12 | Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> | ||
| 13 | --- | ||
| 14 | appshell/CMakeLists.txt | 2 +- | ||
| 15 | appshell/display/CMakeLists.txt | 2 +- | ||
| 16 | appshell/display/wayland-client/CMakeLists.txt | 2 +- | ||
| 17 | appshell/v4l_drm_test/CMakeLists.txt | 2 +- | ||
| 18 | appshell/vvext/CMakeLists.txt | 2 +- | ||
| 19 | appshell/yuv/CMakeLists.txt | 2 +- | ||
| 20 | units/CMakeLists.txt | 2 +- | ||
| 21 | units/isi/CMakeLists.txt | 2 +- | ||
| 22 | units/isi/drv/OS08a20/CMakeLists.txt | 2 +- | ||
| 23 | units/isi/drv/OS08a20/calib/CMakeLists.txt | 2 +- | ||
| 24 | 10 files changed, 10 insertions(+), 10 deletions(-) | ||
| 25 | |||
| 26 | diff --git a/appshell/CMakeLists.txt b/appshell/CMakeLists.txt | ||
| 27 | index 22092ce975b5..cf14e254c812 100644 | ||
| 28 | --- a/appshell/CMakeLists.txt | ||
| 29 | +++ b/appshell/CMakeLists.txt | ||
| 30 | @@ -25,7 +25,7 @@ | ||
| 31 | # *****************************************************************************/ | ||
| 32 | |||
| 33 | |||
| 34 | -cmake_minimum_required(VERSION 3.1.0) | ||
| 35 | +cmake_minimum_required(VERSION 3.5.0) | ||
| 36 | project(ISP_APP_SHELL) | ||
| 37 | |||
| 38 | if(DEFINED QTLESS) | ||
| 39 | diff --git a/appshell/display/CMakeLists.txt b/appshell/display/CMakeLists.txt | ||
| 40 | index 491f086adf55..458a46b165b4 100755 | ||
| 41 | --- a/appshell/display/CMakeLists.txt | ||
| 42 | +++ b/appshell/display/CMakeLists.txt | ||
| 43 | @@ -1,4 +1,4 @@ | ||
| 44 | -cmake_minimum_required(VERSION 2.6) | ||
| 45 | +cmake_minimum_required(VERSION 3.6) | ||
| 46 | |||
| 47 | set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -fPIC") | ||
| 48 | |||
| 49 | diff --git a/appshell/display/wayland-client/CMakeLists.txt b/appshell/display/wayland-client/CMakeLists.txt | ||
| 50 | index 78247528b0e4..0639d79d8346 100644 | ||
| 51 | --- a/appshell/display/wayland-client/CMakeLists.txt | ||
| 52 | +++ b/appshell/display/wayland-client/CMakeLists.txt | ||
| 53 | @@ -1,4 +1,4 @@ | ||
| 54 | -cmake_minimum_required(VERSION 2.6) | ||
| 55 | +cmake_minimum_required(VERSION 3.6) | ||
| 56 | |||
| 57 | set(WAYLAND_XML_PRIFIX ${SDKTARGETSYSROOT}/usr/share/wayland-protocols) | ||
| 58 | set(GEN_INSTALL_PREFIX ${PROJECT_SOURCE_DIR}/display/wayland-client) | ||
| 59 | diff --git a/appshell/v4l_drm_test/CMakeLists.txt b/appshell/v4l_drm_test/CMakeLists.txt | ||
| 60 | index cf4685c84204..309e5d465e99 100755 | ||
| 61 | --- a/appshell/v4l_drm_test/CMakeLists.txt | ||
| 62 | +++ b/appshell/v4l_drm_test/CMakeLists.txt | ||
| 63 | @@ -1,4 +1,4 @@ | ||
| 64 | -cmake_minimum_required(VERSION 2.6) | ||
| 65 | +cmake_minimum_required(VERSION 3.5) | ||
| 66 | |||
| 67 | project(ISP_V4L_DRM_TEST) | ||
| 68 | set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") | ||
| 69 | diff --git a/appshell/vvext/CMakeLists.txt b/appshell/vvext/CMakeLists.txt | ||
| 70 | index a5d6c12929fa..63c1eb5f7073 100755 | ||
| 71 | --- a/appshell/vvext/CMakeLists.txt | ||
| 72 | +++ b/appshell/vvext/CMakeLists.txt | ||
| 73 | @@ -1,4 +1,4 @@ | ||
| 74 | -cmake_minimum_required(VERSION 2.6) | ||
| 75 | +cmake_minimum_required(VERSION 3.5) | ||
| 76 | |||
| 77 | project(ISP_V4L_DRM_TEST) | ||
| 78 | set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") | ||
| 79 | diff --git a/appshell/yuv/CMakeLists.txt b/appshell/yuv/CMakeLists.txt | ||
| 80 | index 131766fcb5d4..0f3591918e08 100755 | ||
| 81 | --- a/appshell/yuv/CMakeLists.txt | ||
| 82 | +++ b/appshell/yuv/CMakeLists.txt | ||
| 83 | @@ -1,4 +1,4 @@ | ||
| 84 | -cmake_minimum_required(VERSION 2.6) | ||
| 85 | +cmake_minimum_required(VERSION 3.5) | ||
| 86 | set (CMAKE_CXX_FLAGS_DEBUG "") | ||
| 87 | set (CMAKE_C_FLAGS_DEBUG "") | ||
| 88 | |||
| 89 | diff --git a/units/CMakeLists.txt b/units/CMakeLists.txt | ||
| 90 | index 37fa65ed4ea8..10abbef1c16c 100755 | ||
| 91 | --- a/units/CMakeLists.txt | ||
| 92 | +++ b/units/CMakeLists.txt | ||
| 93 | @@ -24,7 +24,7 @@ | ||
| 94 | # * | ||
| 95 | # *****************************************************************************/ | ||
| 96 | |||
| 97 | -cmake_minimum_required(VERSION 3.1.0) | ||
| 98 | +cmake_minimum_required(VERSION 3.5.0) | ||
| 99 | project(ISPcore_SW_STACK) | ||
| 100 | if( NOT DEFINED APPSHELL_TOP_COMPILE) | ||
| 101 | |||
| 102 | diff --git a/units/isi/CMakeLists.txt b/units/isi/CMakeLists.txt | ||
| 103 | index a91699b4a1a5..ea01aa7d9424 100755 | ||
| 104 | --- a/units/isi/CMakeLists.txt | ||
| 105 | +++ b/units/isi/CMakeLists.txt | ||
| 106 | @@ -1,4 +1,4 @@ | ||
| 107 | -cmake_minimum_required(VERSION 2.6) | ||
| 108 | +cmake_minimum_required(VERSION 3.5) | ||
| 109 | |||
| 110 | # define module name | ||
| 111 | set (module isi) | ||
| 112 | diff --git a/units/isi/drv/OS08a20/CMakeLists.txt b/units/isi/drv/OS08a20/CMakeLists.txt | ||
| 113 | index d27dc97f7945..12c6e9ef993a 100755 | ||
| 114 | --- a/units/isi/drv/OS08a20/CMakeLists.txt | ||
| 115 | +++ b/units/isi/drv/OS08a20/CMakeLists.txt | ||
| 116 | @@ -1,4 +1,4 @@ | ||
| 117 | -cmake_minimum_required(VERSION 2.6) | ||
| 118 | +cmake_minimum_required(VERSION 3.5) | ||
| 119 | |||
| 120 | # define module name & interface version | ||
| 121 | set (module os08a20) | ||
| 122 | diff --git a/units/isi/drv/OS08a20/calib/CMakeLists.txt b/units/isi/drv/OS08a20/calib/CMakeLists.txt | ||
| 123 | index b44b08248135..18119086b967 100755 | ||
| 124 | --- a/units/isi/drv/OS08a20/calib/CMakeLists.txt | ||
| 125 | +++ b/units/isi/drv/OS08a20/calib/CMakeLists.txt | ||
| 126 | @@ -1,4 +1,4 @@ | ||
| 127 | -cmake_minimum_required(VERSION 2.6) | ||
| 128 | +cmake_minimum_required(VERSION 3.5) | ||
| 129 | |||
| 130 | # use upper level module name | ||
| 131 | |||
| 132 | -- | ||
| 133 | 2.42.0 | ||
| 134 | |||
diff --git a/recipes-bsp/isp-imx/isp-imx/0003-appshell-cmake-drop-deprecated-use-of-target_link_li.patch b/recipes-bsp/isp-imx/isp-imx/0003-appshell-cmake-drop-deprecated-use-of-target_link_li.patch new file mode 100644 index 000000000..f11deb758 --- /dev/null +++ b/recipes-bsp/isp-imx/isp-imx/0003-appshell-cmake-drop-deprecated-use-of-target_link_li.patch | |||
| @@ -0,0 +1,37 @@ | |||
| 1 | From db07010535d47d7d7eaf3865d97dcec045e19930 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Max Krummenacher <max.krummenacher@toradex.com> | ||
| 3 | Date: Fri, 25 Jul 2025 09:57:22 +0000 | ||
| 4 | Subject: [PATCH 3/5] appshell: cmake: drop deprecated use of | ||
| 5 | target_link_libraries | ||
| 6 | |||
| 7 | Works around: | ||
| 8 | |||
| 9 | | CMake Error at display/CMakeLists.txt:48 (target_link_libraries): | ||
| 10 | | Cannot specify link libraries for target "wayland-client" which is not | ||
| 11 | | built by this project. | ||
| 12 | |||
| 13 | caused by CMake 4 deprecating https://cmake.org/cmake/help/v3.5/policy/CMP0016.html | ||
| 14 | |||
| 15 | CMP0016 states that the command is silently ignored, thus drop it. | ||
| 16 | |||
| 17 | Upstream-Status: Pending | ||
| 18 | Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> | ||
| 19 | --- | ||
| 20 | appshell/display/CMakeLists.txt | 1 - | ||
| 21 | 1 file changed, 1 deletion(-) | ||
| 22 | |||
| 23 | diff --git a/appshell/display/CMakeLists.txt b/appshell/display/CMakeLists.txt | ||
| 24 | index 458a46b165b4..160755312368 100755 | ||
| 25 | --- a/appshell/display/CMakeLists.txt | ||
| 26 | +++ b/appshell/display/CMakeLists.txt | ||
| 27 | @@ -43,7 +43,6 @@ if (WAYLAND_SUPPORT) | ||
| 28 | file(GLOB pub_headers *.h) | ||
| 29 | file(GLOB libsources *.cpp ./wayland-client/*.c) | ||
| 30 | include_directories(./wayland-client) | ||
| 31 | - target_link_libraries(wayland-client) | ||
| 32 | else (WAYLAND_SUPPORT) | ||
| 33 | file(GLOB pub_headers *.h) | ||
| 34 | file(GLOB libsources *.cpp) | ||
| 35 | -- | ||
| 36 | 2.42.0 | ||
| 37 | |||
diff --git a/recipes-bsp/isp-imx/isp-imx/0004-units-targets.cmake-fix-check-if-a-target-exists.patch b/recipes-bsp/isp-imx/isp-imx/0004-units-targets.cmake-fix-check-if-a-target-exists.patch new file mode 100644 index 000000000..087f24090 --- /dev/null +++ b/recipes-bsp/isp-imx/isp-imx/0004-units-targets.cmake-fix-check-if-a-target-exists.patch | |||
| @@ -0,0 +1,51 @@ | |||
| 1 | From d7e06f57c067e50d86369577b8dc3bccdde6fd40 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Max Krummenacher <max.krummenacher@toradex.com> | ||
| 3 | Date: Fri, 25 Jul 2025 10:44:40 +0000 | ||
| 4 | Subject: [PATCH 4/5] units/targets.cmake: fix check if a target exists | ||
| 5 | |||
| 6 | | CMake Error at units/targets.cmake:35 (get_target_property): | ||
| 7 | | get_target_property() called with non-existent target "lib". | ||
| 8 | |||
| 9 | Upstream-Status: Pending | ||
| 10 | Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> | ||
| 11 | --- | ||
| 12 | units/targets.cmake | 9 +++------ | ||
| 13 | 1 file changed, 3 insertions(+), 6 deletions(-) | ||
| 14 | |||
| 15 | diff --git a/units/targets.cmake b/units/targets.cmake | ||
| 16 | index 663a024d9129..d78dbf8b8a45 100755 | ||
| 17 | --- a/units/targets.cmake | ||
| 18 | +++ b/units/targets.cmake | ||
| 19 | @@ -32,8 +32,7 @@ add_dependencies(create_alldir ${module}_create_dir) | ||
| 20 | # Settings for target LIB | ||
| 21 | ############################################################################### | ||
| 22 | # check if lib target already exists and create it, this is to assure that only one target called lib will be generated | ||
| 23 | -get_target_property(LIB_TARGET lib TYPE) | ||
| 24 | -if(NOT LIB_TARGET) | ||
| 25 | +if(NOT TARGET lib) | ||
| 26 | add_custom_target(lib) | ||
| 27 | endif() | ||
| 28 | # the library itself is a dependency for the target lib | ||
| 29 | @@ -83,8 +82,7 @@ if(HAVE_PUBLIC_HEADERS) | ||
| 30 | endif() | ||
| 31 | |||
| 32 | # check if lib_install target already exists and create it | ||
| 33 | -get_target_property(LIB_INSTALL_TARGET lib_install TYPE) | ||
| 34 | -if(NOT LIB_INSTALL_TARGET) | ||
| 35 | +if(NOT TARGET lib_install) | ||
| 36 | add_custom_target(lib_install) | ||
| 37 | endif() | ||
| 38 | |||
| 39 | @@ -104,8 +102,7 @@ add_custom_target(${module}_copy_header | ||
| 40 | COMMENT "Copying Headers of ${module}") | ||
| 41 | |||
| 42 | # check if copy_header target already exists and create it | ||
| 43 | -get_target_property(COPY_HEADER_TARGET copy_header TYPE) | ||
| 44 | -if(NOT COPY_HEADER_TARGET) | ||
| 45 | +if(NOT TARGET copy_header) | ||
| 46 | add_custom_target(copy_header) | ||
| 47 | endif() | ||
| 48 | # if copy_header is selected, modulename_copy_header target must be created | ||
| 49 | -- | ||
| 50 | 2.42.0 | ||
| 51 | |||
diff --git a/recipes-bsp/isp-imx/isp-imx/0005-units-cmake-fix-use-of-add_dependencies.patch b/recipes-bsp/isp-imx/isp-imx/0005-units-cmake-fix-use-of-add_dependencies.patch new file mode 100644 index 000000000..f4b44ff47 --- /dev/null +++ b/recipes-bsp/isp-imx/isp-imx/0005-units-cmake-fix-use-of-add_dependencies.patch | |||
| @@ -0,0 +1,36 @@ | |||
| 1 | From 72d6160d1efc9df8bdee4e3dc9da67560f2206b4 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Max Krummenacher <max.krummenacher@toradex.com> | ||
| 3 | Date: Fri, 25 Jul 2025 10:52:52 +0000 | ||
| 4 | Subject: [PATCH 5/5] units: cmake: fix use of add_dependencies | ||
| 5 | |||
| 6 | With CMake 4 we get during configure: | ||
| 7 | |||
| 8 | | CMake Error at isp-imx/4.2.2.25.2/sources/isp-imx-4.2.2.25.2-3cac1fb: | ||
| 9 | | The dependency target "drv/OS08a20" of target "copy_shell_libs_isi" does | ||
| 10 | | not exist. | ||
| 11 | |||
| 12 | Comment out that the add_dependencies. The driver for OS08a20 is still | ||
| 13 | part of the built packages. | ||
| 14 | |||
| 15 | Upstream-Status: Pending | ||
| 16 | Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> | ||
| 17 | --- | ||
| 18 | units/isi/CMakeLists.txt | 2 +- | ||
| 19 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 20 | |||
| 21 | diff --git a/units/isi/CMakeLists.txt b/units/isi/CMakeLists.txt | ||
| 22 | index ea01aa7d9424..2f5c3d803e67 100755 | ||
| 23 | --- a/units/isi/CMakeLists.txt | ||
| 24 | +++ b/units/isi/CMakeLists.txt | ||
| 25 | @@ -93,7 +93,7 @@ add_custom_target(copy_shell_libs_${module} ALL | ||
| 26 | COMMAND ${CMAKE_COMMAND} -E copy ${UNITS_TOP_DIRECTORY}/isi/drv/*/*.cfg ${LIB_ROOT}/${CMAKE_BUILD_TYPE}/bin/ | ||
| 27 | COMMAND ${CMAKE_COMMAND} -E copy ${UNITS_TOP_DIRECTORY}/isi/drv/*.cfg ${LIB_ROOT}/${CMAKE_BUILD_TYPE}/bin/ | ||
| 28 | ) | ||
| 29 | -add_dependencies(copy_shell_libs_${module} drv/OS08a20) | ||
| 30 | +#add_dependencies(copy_shell_libs_${module} os08a20_shared) | ||
| 31 | |||
| 32 | endif (GENERATE_PARTITION_BUILD) | ||
| 33 | |||
| 34 | -- | ||
| 35 | 2.42.0 | ||
| 36 | |||
diff --git a/recipes-bsp/isp-imx/isp-imx_4.2.2.25.1.bb b/recipes-bsp/isp-imx/isp-imx_4.2.2.25.2.bb index 25ffdd8a1..445822528 100644 --- a/recipes-bsp/isp-imx/isp-imx_4.2.2.25.1.bb +++ b/recipes-bsp/isp-imx/isp-imx_4.2.2.25.2.bb | |||
| @@ -2,18 +2,25 @@ | |||
| 2 | 2 | ||
| 3 | DESCRIPTION = "i.MX Verisilicon Software ISP" | 3 | DESCRIPTION = "i.MX Verisilicon Software ISP" |
| 4 | LICENSE = "Proprietary" | 4 | LICENSE = "Proprietary" |
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=c0fb372b5d7f12181de23ef480f225f3" | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=a93b654673e1bc8398ed1f30e0813359" |
| 6 | DEPENDS = "boost libdrm virtual/libg2d libtinyxml2 jsoncpp patchelf-native" | 6 | DEPENDS = "boost libdrm virtual/libg2d libtinyxml2 jsoncpp patchelf-native" |
| 7 | 7 | ||
| 8 | SRC_URI = " \ | 8 | SRC_URI = " \ |
| 9 | ${FSL_MIRROR}/${BP}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true \ | 9 | ${FSL_MIRROR}/${BP}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true \ |
| 10 | ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '${ISP_SYSTEMD_PATCH}', '', d)} \ | ||
| 11 | file://0002-appshell-cmake-bump-min-version-to-3.5.patch \ | ||
| 12 | file://0003-appshell-cmake-drop-deprecated-use-of-target_link_li.patch \ | ||
| 13 | file://0004-units-targets.cmake-fix-check-if-a-target-exists.patch \ | ||
| 14 | file://0005-units-cmake-fix-use-of-add_dependencies.patch \ | ||
| 10 | " | 15 | " |
| 11 | IMX_SRCREV_ABBREV = "327f21d" | 16 | ISP_SYSTEMD_PATCH = "file://0001-isp-imx-start_isp-don-t-report-error-if-no-camera-is.patch" |
| 12 | S = "${WORKDIR}/${BP}-${IMX_SRCREV_ABBREV}" | ||
| 13 | 17 | ||
| 14 | SRC_URI[sha256sum] = "f57c6fe1c2dd1c8e5991a625d0b3a1dbfdfe6d39a1a116a904d543faa0f4f6f0" | 18 | IMX_SRCREV_ABBREV = "3cac1fb" |
| 19 | S = "${UNPACKDIR}/${BP}-${IMX_SRCREV_ABBREV}" | ||
| 15 | 20 | ||
| 16 | inherit fsl-eula-unpack cmake systemd use-imx-headers | 21 | SRC_URI[sha256sum] = "8fa5094da6438505287f4dcc8033dad3057ab81bf98c858884f7c3a2e521b252" |
| 22 | |||
| 23 | inherit fsl-eula-unpack cmake pkgconfig systemd use-imx-headers | ||
| 17 | 24 | ||
| 18 | PACKAGECONFIG = "" | 25 | PACKAGECONFIG = "" |
| 19 | # Note: building with tuningext fails with boost 1.87. | 26 | # Note: building with tuningext fails with boost 1.87. |
| @@ -36,7 +43,6 @@ EXTRA_OECMAKE += " \ | |||
| 36 | -DCMAKE_BUILD_TYPE=release \ | 43 | -DCMAKE_BUILD_TYPE=release \ |
| 37 | -DISP_VERSION=ISP8000NANO_V1802 \ | 44 | -DISP_VERSION=ISP8000NANO_V1802 \ |
| 38 | -DPLATFORM=ARM64 \ | 45 | -DPLATFORM=ARM64 \ |
| 39 | -DTUNINGEXT=1 \ | ||
| 40 | -DQTLESS=1 \ | 46 | -DQTLESS=1 \ |
| 41 | -DFULL_SRC_COMPILE=1 \ | 47 | -DFULL_SRC_COMPILE=1 \ |
| 42 | -DWITH_DRM=1 \ | 48 | -DWITH_DRM=1 \ |
| @@ -48,7 +54,7 @@ EXTRA_OECMAKE += " \ | |||
| 48 | -Wno-dev \ | 54 | -Wno-dev \ |
| 49 | " | 55 | " |
| 50 | 56 | ||
| 51 | do_configure:prepend () { | 57 | do_configure_disable:prepend () { |
| 52 | # FIXME: should be rebuild. | 58 | # FIXME: should be rebuild. |
| 53 | patchelf --replace-needed libjsoncpp.so.25 libjsoncpp.so.26 ${S}/mediacontrol/install/bin/isp_media_server | 59 | patchelf --replace-needed libjsoncpp.so.25 libjsoncpp.so.26 ${S}/mediacontrol/install/bin/isp_media_server |
| 54 | patchelf --replace-needed libjsoncpp.so.25 libjsoncpp.so.26 ${S}/mediacontrol/install/lib/libmedia_server.so | 60 | patchelf --replace-needed libjsoncpp.so.25 libjsoncpp.so.26 ${S}/mediacontrol/install/lib/libmedia_server.so |
| @@ -59,9 +65,6 @@ do_configure:prepend () { | |||
| 59 | } | 65 | } |
| 60 | 66 | ||
| 61 | do_install() { | 67 | do_install() { |
| 62 | # FIXME: provided by the basler-camera package, do not install them here additionally | ||
| 63 | rm -f ${S}/dewarp/dewarp_config//daA3840_30mc*.json | ||
| 64 | |||
| 65 | # The Makefile unconditionally installs tuningext even if it is not built | 68 | # The Makefile unconditionally installs tuningext even if it is not built |
| 66 | if ${@bb.utils.contains('PACKAGECONFIG','tuningext','false','true',d)}; then | 69 | if ${@bb.utils.contains('PACKAGECONFIG','tuningext','false','true',d)}; then |
| 67 | touch ${B}/generated/release/bin/tuningext | 70 | touch ${B}/generated/release/bin/tuningext |
diff --git a/recipes-bsp/libimxdmabuffer/libimxdmabuffer_1.1.3.bb b/recipes-bsp/libimxdmabuffer/libimxdmabuffer_1.1.3.bb index 5b04b1e2c..b1cd3d863 100644 --- a/recipes-bsp/libimxdmabuffer/libimxdmabuffer_1.1.3.bb +++ b/recipes-bsp/libimxdmabuffer/libimxdmabuffer_1.1.3.bb | |||
| @@ -13,9 +13,6 @@ SRC_URI = "git://github.com/Freescale/libimxdmabuffer.git;branch=${SRCBRANCH};pr | |||
| 13 | file://run-ptest \ | 13 | file://run-ptest \ |
| 14 | " | 14 | " |
| 15 | 15 | ||
| 16 | |||
| 17 | S = "${WORKDIR}/git" | ||
| 18 | |||
| 19 | inherit pkgconfig waf use-imx-headers ptest | 16 | inherit pkgconfig waf use-imx-headers ptest |
| 20 | 17 | ||
| 21 | EXTRA_OECONF = "--imx-linux-headers-path=${STAGING_INCDIR_IMX} \ | 18 | EXTRA_OECONF = "--imx-linux-headers-path=${STAGING_INCDIR_IMX} \ |
diff --git a/recipes-bsp/ls2-phy/ls2-phy_git.bb b/recipes-bsp/ls2-phy/ls2-phy_git.bb index c13a05a19..60ab5e183 100644 --- a/recipes-bsp/ls2-phy/ls2-phy_git.bb +++ b/recipes-bsp/ls2-phy/ls2-phy_git.bb | |||
| @@ -7,8 +7,6 @@ inherit deploy | |||
| 7 | SRC_URI = "git://github.com/nxp/qoriq-firmware-cortina.git;nobranch=1;protocol=https" | 7 | SRC_URI = "git://github.com/nxp/qoriq-firmware-cortina.git;nobranch=1;protocol=https" |
| 8 | SRCREV = "9143c2a3adede595966583c00ca4edc99ec698cf" | 8 | SRCREV = "9143c2a3adede595966583c00ca4edc99ec698cf" |
| 9 | 9 | ||
| 10 | S = "${WORKDIR}/git" | ||
| 11 | |||
| 12 | do_install () { | 10 | do_install () { |
| 13 | install -d ${D}/boot | 11 | install -d ${D}/boot |
| 14 | cp -fr ${S}/* ${D}/boot | 12 | cp -fr ${S}/* ${D}/boot |
diff --git a/recipes-bsp/mc-utils/mc-utils_git.bb b/recipes-bsp/mc-utils/mc-utils_git.bb index 696307209..2d09bbcc8 100644 --- a/recipes-bsp/mc-utils/mc-utils_git.bb +++ b/recipes-bsp/mc-utils/mc-utils_git.bb | |||
| @@ -8,9 +8,7 @@ DEPENDS += "dtc-native" | |||
| 8 | inherit deploy | 8 | inherit deploy |
| 9 | 9 | ||
| 10 | SRC_URI = "git://github.com/nxp-qoriq/mc-utils;protocol=https;nobranch=1" | 10 | SRC_URI = "git://github.com/nxp-qoriq/mc-utils;protocol=https;nobranch=1" |
| 11 | SRCREV = "5ccc2688b72c4a05119a393cbe3573b5f81d10bc" | 11 | SRCREV = "f5c4b2c9d2b1d5122a7d97f236894f87959b3831" |
| 12 | |||
| 13 | S = "${WORKDIR}/git" | ||
| 14 | 12 | ||
| 15 | MC_CFG ?= "" | 13 | MC_CFG ?= "" |
| 16 | MC_CFG:ls1088a = "ls1088a" | 14 | MC_CFG:ls1088a = "ls1088a" |
diff --git a/recipes-bsp/mxsldr/mxsldr_git.bb b/recipes-bsp/mxsldr/mxsldr_git.bb index 17da814f8..9fc6338c4 100644 --- a/recipes-bsp/mxsldr/mxsldr_git.bb +++ b/recipes-bsp/mxsldr/mxsldr_git.bb | |||
| @@ -13,8 +13,6 @@ SRC_URI = "git://git.denx.de/mxsldr.git;branch=master \ | |||
| 13 | 13 | ||
| 14 | PV = "0.0.0+git${SRCPV}" | 14 | PV = "0.0.0+git${SRCPV}" |
| 15 | 15 | ||
| 16 | S = "${WORKDIR}/git" | ||
| 17 | |||
| 18 | inherit pkgconfig | 16 | inherit pkgconfig |
| 19 | 17 | ||
| 20 | do_compile() { | 18 | do_compile() { |
diff --git a/recipes-bsp/ppfe-firmware/ppfe-firmware_git.bb b/recipes-bsp/ppfe-firmware/ppfe-firmware_git.bb index bb542e8c0..ddbb2031c 100644 --- a/recipes-bsp/ppfe-firmware/ppfe-firmware_git.bb +++ b/recipes-bsp/ppfe-firmware/ppfe-firmware_git.bb | |||
| @@ -10,8 +10,6 @@ inherit deploy | |||
| 10 | SRC_URI = "git://github.com/NXP/qoriq-engine-pfe-bin.git;nobranch=1;protocol=https" | 10 | SRC_URI = "git://github.com/NXP/qoriq-engine-pfe-bin.git;nobranch=1;protocol=https" |
| 11 | SRCREV = "f55ee9f72090309bbb7ab71f48a498fc02909234" | 11 | SRCREV = "f55ee9f72090309bbb7ab71f48a498fc02909234" |
| 12 | 12 | ||
| 13 | S = "${WORKDIR}/git" | ||
| 14 | |||
| 15 | do_install () { | 13 | do_install () { |
| 16 | install -d ${D}${nonarch_base_libdir}/firmware | 14 | install -d ${D}${nonarch_base_libdir}/firmware |
| 17 | install -d ${D}/boot/engine-pfe-bin | 15 | install -d ${D}/boot/engine-pfe-bin |
diff --git a/recipes-bsp/qe-ucode/qe-ucode_git.bb b/recipes-bsp/qe-ucode/qe-ucode_git.bb index 9b76d24a6..582fb1e46 100644 --- a/recipes-bsp/qe-ucode/qe-ucode_git.bb +++ b/recipes-bsp/qe-ucode/qe-ucode_git.bb | |||
| @@ -8,8 +8,6 @@ inherit deploy | |||
| 8 | SRC_URI = "git://github.com/NXP/qoriq-qe-ucode.git;nobranch=1;protocol=https" | 8 | SRC_URI = "git://github.com/NXP/qoriq-qe-ucode.git;nobranch=1;protocol=https" |
| 9 | SRCREV = "c89d7843943fd3bd52aa5f1ff7a91200a2f7f63b" | 9 | SRCREV = "c89d7843943fd3bd52aa5f1ff7a91200a2f7f63b" |
| 10 | 10 | ||
| 11 | S = "${WORKDIR}/git" | ||
| 12 | |||
| 13 | do_install () { | 11 | do_install () { |
| 14 | install -d ${D}/boot | 12 | install -d ${D}/boot |
| 15 | install -m 644 ${B}/*.bin ${D}/boot | 13 | install -m 644 ${B}/*.bin ${D}/boot |
diff --git a/recipes-bsp/rcw/rcw_git.bb b/recipes-bsp/rcw/rcw_git.bb index be166f441..6a52861b0 100644 --- a/recipes-bsp/rcw/rcw_git.bb +++ b/recipes-bsp/rcw/rcw_git.bb | |||
| @@ -8,9 +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 = "64abe70cf0abab053c37db460c12e367e6adf7a4" | 11 | SRCREV = "45e69253690452656a4dfe933c4c9f55e1eb0f5f" |
| 12 | |||
| 13 | S = "${WORKDIR}/git" | ||
| 14 | 12 | ||
| 15 | export PYTHON = "${USRBINPATH}/python3" | 13 | export PYTHON = "${USRBINPATH}/python3" |
| 16 | 14 | ||
diff --git a/recipes-bsp/u-boot/u-boot-fslc-common_2025.01.inc b/recipes-bsp/u-boot/u-boot-fslc-common_2025.01.inc index 134028503..9cc6b958d 100644 --- a/recipes-bsp/u-boot/u-boot-fslc-common_2025.01.inc +++ b/recipes-bsp/u-boot/u-boot-fslc-common_2025.01.inc | |||
| @@ -16,5 +16,4 @@ SRCBRANCH = "2025.01+fslc" | |||
| 16 | PV = "2025.01+fslc+git${SRCPV}" | 16 | PV = "2025.01+fslc+git${SRCPV}" |
| 17 | CVE_PRODUCT = "denx:u-boot" | 17 | CVE_PRODUCT = "denx:u-boot" |
| 18 | 18 | ||
| 19 | S = "${WORKDIR}/git" | ||
| 20 | B = "${WORKDIR}/build" | 19 | B = "${WORKDIR}/build" |
diff --git a/recipes-bsp/u-boot/u-boot-imx-common_2024.04.inc b/recipes-bsp/u-boot/u-boot-imx-common_2024.04.inc index 01e3bbca3..9640ba1de 100644 --- a/recipes-bsp/u-boot/u-boot-imx-common_2024.04.inc +++ b/recipes-bsp/u-boot/u-boot-imx-common_2024.04.inc | |||
| @@ -18,7 +18,6 @@ DEPENDS += " \ | |||
| 18 | xxd-native \ | 18 | xxd-native \ |
| 19 | " | 19 | " |
| 20 | 20 | ||
| 21 | S = "${WORKDIR}/git" | ||
| 22 | B = "${WORKDIR}/build" | 21 | B = "${WORKDIR}/build" |
| 23 | 22 | ||
| 24 | inherit fsl-u-boot-localversion | 23 | inherit fsl-u-boot-localversion |
diff --git a/recipes-bsp/u-boot/u-boot-imx_2024.04.bb b/recipes-bsp/u-boot/u-boot-imx_2024.04.bb index 695987801..27c3555f4 100644 --- a/recipes-bsp/u-boot/u-boot-imx_2024.04.bb +++ b/recipes-bsp/u-boot/u-boot-imx_2024.04.bb | |||
| @@ -23,11 +23,13 @@ do_deploy:append:mx8m-generic-bsp() { | |||
| 23 | for config in ${UBOOT_MACHINE}; do | 23 | for config in ${UBOOT_MACHINE}; do |
| 24 | i=$(expr $i + 1); | 24 | i=$(expr $i + 1); |
| 25 | for type in ${UBOOT_CONFIG}; do | 25 | for type in ${UBOOT_CONFIG}; do |
| 26 | builddir="${config}-${type}" | ||
| 26 | j=$(expr $j + 1); | 27 | j=$(expr $j + 1); |
| 27 | if [ $j -eq $i ] | 28 | if [ $j -eq $i ] |
| 28 | then | 29 | then |
| 30 | builddir="${config}-${type}" | ||
| 29 | install -d ${DEPLOYDIR}/${BOOT_TOOLS} | 31 | install -d ${DEPLOYDIR}/${BOOT_TOOLS} |
| 30 | install -m 0644 ${B}/${config}/u-boot-nodtb.bin ${DEPLOYDIR}/${BOOT_TOOLS}/u-boot-nodtb.bin-${MACHINE}-${type} | 32 | install -m 0644 ${B}/${builddir}/u-boot-nodtb.bin ${DEPLOYDIR}/${BOOT_TOOLS}/u-boot-nodtb.bin-${MACHINE}-${type} |
| 31 | UBOOT_DTB_NAME_FLAGS="${type}:${UBOOT_DTB_NAME}" | 33 | UBOOT_DTB_NAME_FLAGS="${type}:${UBOOT_DTB_NAME}" |
| 32 | for key_value in ${UBOOT_DTB_NAME_FLAGS}; do | 34 | for key_value in ${UBOOT_DTB_NAME_FLAGS}; do |
| 33 | local type_key="${key_value%%:*}" | 35 | local type_key="${key_value%%:*}" |
| @@ -37,11 +39,11 @@ do_deploy:append:mx8m-generic-bsp() { | |||
| 37 | bbnote "UBOOT_CONFIG = $type, UBOOT_DTB_NAME = $dtb_name" | 39 | bbnote "UBOOT_CONFIG = $type, UBOOT_DTB_NAME = $dtb_name" |
| 38 | # There is only one ${dtb_name}, the first one. All the other are with the type appended | 40 | # There is only one ${dtb_name}, the first one. All the other are with the type appended |
| 39 | if [ ! -f "${DEPLOYDIR}/${BOOT_TOOLS}/${dtb_name}" ]; then | 41 | if [ ! -f "${DEPLOYDIR}/${BOOT_TOOLS}/${dtb_name}" ]; then |
| 40 | install -m 0644 ${B}/${config}/arch/arm/dts/${dtb_name} ${DEPLOYDIR}/${BOOT_TOOLS}/${dtb_name} | 42 | install -m 0644 ${B}/${builddir}/arch/arm/dts/${dtb_name} ${DEPLOYDIR}/${BOOT_TOOLS}/${dtb_name} |
| 41 | else | 43 | else |
| 42 | bbwarn "Use custom wks.in for $dtb_name = $type" | 44 | bbwarn "Use custom wks.in for $dtb_name = $type" |
| 43 | fi | 45 | fi |
| 44 | install -m 0644 ${B}/${config}/arch/arm/dts/${dtb_name} ${DEPLOYDIR}/${BOOT_TOOLS}/${dtb_name}-${type} | 46 | install -m 0644 ${B}/${builddir}/arch/arm/dts/${dtb_name} ${DEPLOYDIR}/${BOOT_TOOLS}/${dtb_name}-${type} |
| 45 | fi | 47 | fi |
| 46 | unset type_key | 48 | unset type_key |
| 47 | unset dtb_name | 49 | unset dtb_name |
diff --git a/recipes-bsp/u-boot/u-boot-qoriq_2021.04.bb b/recipes-bsp/u-boot/u-boot-qoriq_2025.04.bb index bd495af94..be8433e47 100644 --- a/recipes-bsp/u-boot/u-boot-qoriq_2021.04.bb +++ b/recipes-bsp/u-boot/u-boot-qoriq_2025.04.bb | |||
| @@ -10,20 +10,23 @@ LIC_FILES_CHKSUM = " \ | |||
| 10 | file://Licenses/gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ | 10 | file://Licenses/gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ |
| 11 | file://Licenses/bsd-2-clause.txt;md5=6a31f076f5773aabd8ff86191ad6fdd5 \ | 11 | file://Licenses/bsd-2-clause.txt;md5=6a31f076f5773aabd8ff86191ad6fdd5 \ |
| 12 | file://Licenses/bsd-3-clause.txt;md5=4a1190eac56a9db675d58ebe86eaf50c \ | 12 | file://Licenses/bsd-3-clause.txt;md5=4a1190eac56a9db675d58ebe86eaf50c \ |
| 13 | file://Licenses/lgpl-2.0.txt;md5=5f30f0716dfdd0d91eb439ebec522ec2 \ | 13 | file://Licenses/lgpl-2.0.txt;md5=4cf66a4984120007c9881cc871cf49db \ |
| 14 | file://Licenses/lgpl-2.1.txt;md5=4fbd65380cdd255951079008b364516c \ | 14 | file://Licenses/lgpl-2.1.txt;md5=4fbd65380cdd255951079008b364516c \ |
| 15 | " | 15 | " |
| 16 | 16 | ||
| 17 | SRC_URI = "git://github.com/nxp-qoriq/u-boot;protocol=https;nobranch=1" | 17 | PV:append = "+${SRCPV}" |
| 18 | SRCREV = "1c0116f3da250c5a52858c53efb8b38c0963f477" | ||
| 19 | 18 | ||
| 20 | S = "${WORKDIR}/git" | 19 | UBOOT_BRANCH ?= "lf_v2025.04" |
| 21 | B = "${WORKDIR}/build" | 20 | UBOOT_SRC ?= "git://github.com/nxp-qoriq/u-boot.git;protocol=https" |
| 21 | SRC_URI = "${UBOOT_SRC};branch=${UBOOT_BRANCH}" | ||
| 22 | SRCREV = "9383f8387dc76524524da69992db96c22195a57c" | ||
| 23 | |||
| 24 | B = "${UNPACKDIR}/build" | ||
| 22 | PV:append = "+fslgit" | 25 | PV:append = "+fslgit" |
| 23 | LOCALVERSION = "+fsl" | 26 | LOCALVERSION = "+fsl" |
| 24 | 27 | ||
| 25 | INHIBIT_DEFAULT_DEPS = "1" | 28 | INHIBIT_DEFAULT_DEPS = "1" |
| 26 | DEPENDS = "libgcc virtual/${TARGET_PREFIX}gcc bison-native bc-native swig-native python3-native python3-setuptools-native" | 29 | DEPENDS = "libgcc virtual/cross-cc bison-native bc-native gnutls-native swig-native python3-native" |
| 27 | DEPENDS:append:qoriq-arm64 = " dtc-native" | 30 | DEPENDS:append:qoriq-arm64 = " dtc-native" |
| 28 | DEPENDS:append:qoriq-arm = " dtc-native" | 31 | DEPENDS:append:qoriq-arm = " dtc-native" |
| 29 | DEPENDS:append:qoriq-ppc = " boot-format-native" | 32 | DEPENDS:append:qoriq-ppc = " boot-format-native" |
| @@ -40,7 +43,7 @@ python () { | |||
| 40 | raise bb.parse.SkipPackage("Building the u-boot for this arch requires multilib to be enabled") | 43 | raise bb.parse.SkipPackage("Building the u-boot for this arch requires multilib to be enabled") |
| 41 | sys_multilib = d.getVar('TARGET_VENDOR') + 'mllib32-linux' | 44 | sys_multilib = d.getVar('TARGET_VENDOR') + 'mllib32-linux' |
| 42 | sys_original = d.getVar('TARGET_VENDOR') + '-' + d.getVar('TARGET_OS') | 45 | sys_original = d.getVar('TARGET_VENDOR') + '-' + d.getVar('TARGET_OS') |
| 43 | workdir = d.getVar('WORKDIR') | 46 | workdir = d.getVar('UNPACKDIR') |
| 44 | d.setVar('DEPENDS:append', ' lib32-gcc-cross-powerpc lib32-libgcc') | 47 | d.setVar('DEPENDS:append', ' lib32-gcc-cross-powerpc lib32-libgcc') |
| 45 | d.setVar('PATH:append', ':' + d.getVar('STAGING_BINDIR_NATIVE') + '/powerpc' + sys_multilib) | 48 | d.setVar('PATH:append', ':' + d.getVar('STAGING_BINDIR_NATIVE') + '/powerpc' + sys_multilib) |
| 46 | d.setVar('TOOLCHAIN_OPTIONS', '--sysroot=' + workdir + '/lib32-recipe-sysroot') | 49 | d.setVar('TOOLCHAIN_OPTIONS', '--sysroot=' + workdir + '/lib32-recipe-sysroot') |
| @@ -50,7 +53,7 @@ python () { | |||
| 50 | raise bb.parse.SkipRecipe("Building the u-boot for this arch requires multilib to be enabled") | 53 | raise bb.parse.SkipRecipe("Building the u-boot for this arch requires multilib to be enabled") |
| 51 | sys_multilib = d.getVar('TARGET_VENDOR') + 'mllib64-linux' | 54 | sys_multilib = d.getVar('TARGET_VENDOR') + 'mllib64-linux' |
| 52 | sys_original = d.getVar('TARGET_VENDOR') + '-' + d.getVar('TARGET_OS') | 55 | sys_original = d.getVar('TARGET_VENDOR') + '-' + d.getVar('TARGET_OS') |
| 53 | workdir = d.getVar('WORKDIR') | 56 | workdir = d.getVar('UNPACKDIR') |
| 54 | d.setVar('DEPENDS:append', ' lib64-gcc-cross-aarch64 lib64-libgcc') | 57 | d.setVar('DEPENDS:append', ' lib64-gcc-cross-aarch64 lib64-libgcc') |
| 55 | d.setVar('PATH:append', ':' + d.getVar('STAGING_BINDIR_NATIVE') + '/aarch64' + sys_multilib) | 58 | d.setVar('PATH:append', ':' + d.getVar('STAGING_BINDIR_NATIVE') + '/aarch64' + sys_multilib) |
| 56 | d.setVar('TOOLCHAIN_OPTIONS', '--sysroot=' + workdir + '/lib64-recipe-sysroot') | 59 | d.setVar('TOOLCHAIN_OPTIONS', '--sysroot=' + workdir + '/lib64-recipe-sysroot') |
| @@ -80,8 +83,6 @@ do_compile:append:qoriq() { | |||
| 80 | boot_format ${STAGING_DATADIR_NATIVE}/boot_format/${BOOTFORMAT_CONFIG} \ | 83 | boot_format ${STAGING_DATADIR_NATIVE}/boot_format/${BOOTFORMAT_CONFIG} \ |
| 81 | ${config}/u-boot-${type}.${UBOOT_SUFFIX} -spi ${config}/u-boot.format.bin | 84 | ${config}/u-boot-${type}.${UBOOT_SUFFIX} -spi ${config}/u-boot.format.bin |
| 82 | cp ${config}/u-boot.format.bin ${config}/u-boot-${type}.${UBOOT_SUFFIX} | 85 | cp ${config}/u-boot.format.bin ${config}/u-boot-${type}.${UBOOT_SUFFIX} |
| 83 | elif [ "qspi" = "${type}" ];then | ||
| 84 | cp ${config}/${binary} ${config}/u-boot-${type}-${PV}-${PR}.${UBOOT_SUFFIX} | ||
| 85 | fi | 86 | fi |
| 86 | fi | 87 | fi |
| 87 | done | 88 | done |
| @@ -92,6 +93,48 @@ do_compile:append:qoriq() { | |||
| 92 | unset i | 93 | unset i |
| 93 | } | 94 | } |
| 94 | 95 | ||
| 96 | do_deploy:append:lx2162a () { | ||
| 97 | if [ -n "${UBOOT_CONFIG}" ] | ||
| 98 | then | ||
| 99 | for config in ${UBOOT_MACHINE}; do | ||
| 100 | i=$(expr $i + 1); | ||
| 101 | for type in ${UBOOT_CONFIG}; do | ||
| 102 | j=$(expr $j + 1); | ||
| 103 | if [ $j -eq $i ] | ||
| 104 | then | ||
| 105 | if [ "tfa-verified-boot" = "${type}" ];then | ||
| 106 | builddir="${config}-${type}" | ||
| 107 | install -m 644 ${B}/${builddir}/u-boot.dtb ${DEPLOYDIR}/u-boot.dtb | ||
| 108 | fi | ||
| 109 | fi | ||
| 110 | done | ||
| 111 | unset j | ||
| 112 | done | ||
| 113 | unset i | ||
| 114 | fi | ||
| 115 | } | ||
| 116 | |||
| 117 | do_deploy:append:ls102xa () { | ||
| 118 | if [ -n "${UBOOT_CONFIG}" ] | ||
| 119 | then | ||
| 120 | for config in ${UBOOT_MACHINE}; do | ||
| 121 | i=$(expr $i + 1); | ||
| 122 | for type in ${UBOOT_CONFIG}; do | ||
| 123 | j=$(expr $j + 1); | ||
| 124 | if [ $j -eq $i ] | ||
| 125 | then | ||
| 126 | if expr "$type" : sdcard;then | ||
| 127 | builddir="${config}-${type}" | ||
| 128 | install -m 644 ${B}/${builddir}/u-boot-dtb.bin ${DEPLOYDIR}/u-boot-dtb.${UBOOT_SUFFIX}-${type} | ||
| 129 | install -m 644 ${B}/${builddir}/spl/u-boot-spl.bin ${DEPLOYDIR}/u-boot-spl.${UBOOT_SUFFIX}-${type} | ||
| 130 | fi | ||
| 131 | fi | ||
| 132 | done | ||
| 133 | unset j | ||
| 134 | done | ||
| 135 | unset i | ||
| 136 | fi | ||
| 137 | } | ||
| 95 | 138 | ||
| 96 | PACKAGES += "${PN}-images" | 139 | PACKAGES += "${PN}-images" |
| 97 | FILES:${PN}-images += "/boot" | 140 | FILES:${PN}-images += "/boot" |
diff --git a/recipes-bsp/uefi/uefi_git.bb b/recipes-bsp/uefi/uefi_git.bb index 268b5b1d9..c0222a817 100644 --- a/recipes-bsp/uefi/uefi_git.bb +++ b/recipes-bsp/uefi/uefi_git.bb | |||
| @@ -8,8 +8,6 @@ inherit deploy | |||
| 8 | SRC_URI = "git://github.com/NXP/qoriq-uefi-binary.git;nobranch=1;protocol=https" | 8 | SRC_URI = "git://github.com/NXP/qoriq-uefi-binary.git;nobranch=1;protocol=https" |
| 9 | SRCREV = "55789d536850e00c6f2284fb28eaf21712cd276b" | 9 | SRCREV = "55789d536850e00c6f2284fb28eaf21712cd276b" |
| 10 | 10 | ||
| 11 | S = "${WORKDIR}/git" | ||
| 12 | |||
| 13 | do_install () { | 11 | do_install () { |
| 14 | if [ -d ${B}/${MACHINE} ]; then | 12 | if [ -d ${B}/${MACHINE} ]; then |
| 15 | install -d ${D}/uefi | 13 | install -d ${D}/uefi |
diff --git a/recipes-core/udev/udev-rules-imx/10-imx.rules b/recipes-core/udev/udev-rules-imx/10-imx.rules index 6afc1e8e2..ff9237188 100644 --- a/recipes-core/udev/udev-rules-imx/10-imx.rules +++ b/recipes-core/udev/udev-rules-imx/10-imx.rules | |||
| @@ -21,3 +21,6 @@ SUBSYSTEM=="video", MODE="0660" | |||
| 21 | KERNEL=="fb[0-9]", MODE="0660", GROUP="video" | 21 | KERNEL=="fb[0-9]", MODE="0660", GROUP="video" |
| 22 | KERNEL=="gsl_kmod", MODE="0660", GROUP="video" | 22 | KERNEL=="gsl_kmod", MODE="0660", GROUP="video" |
| 23 | KERNEL=="galcore", MODE="0660", GROUP="video" | 23 | KERNEL=="galcore", MODE="0660", GROUP="video" |
| 24 | KERNEL=="linux,cma*", NAME="dma_heap", MODE="0664", GROUP="video" | ||
| 25 | KERNEL=="mali[0-9]", MODE="0664", GROUP="video" | ||
| 26 | KERNEL=="pxp_device", MODE="0664", GROUP="video" | ||
diff --git a/recipes-core/udev/udev-rules-qoriq/73-fsl-dpaa-persistent-networking.rules b/recipes-core/udev/udev-rules-qoriq/73-fsl-dpaa-persistent-networking.rules index a96b9458e..c9a6d70bb 100644 --- a/recipes-core/udev/udev-rules-qoriq/73-fsl-dpaa-persistent-networking.rules +++ b/recipes-core/udev/udev-rules-qoriq/73-fsl-dpaa-persistent-networking.rules | |||
| @@ -9,3 +9,12 @@ SUBSYSTEM=="net", DRIVERS=="fsl_dpa*", ATTR{device_addr}=="1af0000", NAME="fm1-m | |||
| 9 | 9 | ||
| 10 | # Rename macless0 to "macless0" | 10 | # Rename macless0 to "macless0" |
| 11 | SUBSYSTEM=="net", ATTR{device_type}=="macless0", NAME="macless0" | 11 | SUBSYSTEM=="net", ATTR{device_type}=="macless0", NAME="macless0" |
| 12 | |||
| 13 | # Rules for handling the Upstream DPAA ethernet ports | ||
| 14 | SUBSYSTEM=="net", DRIVERS=="fsl_dpa*", KERNELS=="1ae0000*", NAME="fm1-mac1" | ||
| 15 | SUBSYSTEM=="net", DRIVERS=="fsl_dpa*", KERNELS=="1ae2000*", NAME="fm1-mac2" | ||
| 16 | SUBSYSTEM=="net", DRIVERS=="fsl_dpa*", KERNELS=="1ae4000*", NAME="fm1-mac3" | ||
| 17 | SUBSYSTEM=="net", DRIVERS=="fsl_dpa*", KERNELS=="1ae6000*", NAME="fm1-mac4" | ||
| 18 | SUBSYSTEM=="net", DRIVERS=="fsl_dpa*", KERNELS=="1ae8000*", NAME="fm1-mac5" | ||
| 19 | SUBSYSTEM=="net", DRIVERS=="fsl_dpa*", KERNELS=="1aea000*", NAME="fm1-mac6" | ||
| 20 | SUBSYSTEM=="net", DRIVERS=="fsl_dpa*", KERNELS=="1af0000*", NAME="fm1-mac9" | ||
diff --git a/recipes-core/udev/udev-rules-qoriq/74-ls1046a-xfi2-networking.rules b/recipes-core/udev/udev-rules-qoriq/74-ls1046a-xfi2-networking.rules index 42931d475..79a10250a 100644 --- a/recipes-core/udev/udev-rules-qoriq/74-ls1046a-xfi2-networking.rules +++ b/recipes-core/udev/udev-rules-qoriq/74-ls1046a-xfi2-networking.rules | |||
| @@ -1 +1,5 @@ | |||
| 1 | # Rules for handling the SDK DPAA ethernet ports | ||
| 1 | SUBSYSTEM=="net", DRIVERS=="fsl_dpa*", ATTR{device_addr}=="1af2000", NAME="fm1-mac10" | 2 | SUBSYSTEM=="net", DRIVERS=="fsl_dpa*", ATTR{device_addr}=="1af2000", NAME="fm1-mac10" |
| 3 | |||
| 4 | # Rules for handling the Upstream DPAA ethernet ports | ||
| 5 | SUBSYSTEM=="net", DRIVERS=="fsl_dpa*", KERNELS=="1af2000*", NAME="fm1-mac10" | ||
diff --git a/recipes-devtools/devregs/devregs_git.bb b/recipes-devtools/devregs/devregs_git.bb index f24cb0f6e..9d2155e1f 100644 --- a/recipes-devtools/devregs/devregs_git.bb +++ b/recipes-devtools/devregs/devregs_git.bb | |||
| @@ -8,6 +8,4 @@ SRC_URI = "git://github.com/boundarydevices/devregs.git;protocol=https;branch=ma | |||
| 8 | 8 | ||
| 9 | PV = "1.0+${SRCPV}" | 9 | PV = "1.0+${SRCPV}" |
| 10 | 10 | ||
| 11 | S = "${WORKDIR}/git" | ||
| 12 | |||
| 13 | inherit autotools | 11 | inherit autotools |
diff --git a/recipes-devtools/imx-usb-loader/imx-usb-loader_git.bb b/recipes-devtools/imx-usb-loader/imx-usb-loader_git.bb index deffd8539..c14fd955b 100644 --- a/recipes-devtools/imx-usb-loader/imx-usb-loader_git.bb +++ b/recipes-devtools/imx-usb-loader/imx-usb-loader_git.bb | |||
| @@ -10,8 +10,6 @@ SRC_URI = "git://github.com/boundarydevices/imx_usb_loader.git;protocol=https;br | |||
| 10 | 10 | ||
| 11 | PV = "1.0+${SRCPV}" | 11 | PV = "1.0+${SRCPV}" |
| 12 | 12 | ||
| 13 | S = "${WORKDIR}/git" | ||
| 14 | |||
| 15 | do_install () { | 13 | do_install () { |
| 16 | oe_runmake DESTDIR=${D} install | 14 | oe_runmake DESTDIR=${D} install |
| 17 | } | 15 | } |
diff --git a/recipes-devtools/qemu/qemu-qoriq_4.2.bb b/recipes-devtools/qemu/qemu-qoriq_4.2.bb index 5ac774ed2..cb415d66b 100644 --- a/recipes-devtools/qemu/qemu-qoriq_4.2.bb +++ b/recipes-devtools/qemu/qemu-qoriq_4.2.bb | |||
| @@ -15,9 +15,7 @@ SRC_URI = "gitsm://github.com/nxp-qoriq/qemu;protocol=https;nobranch=1 \ | |||
| 15 | file://0002-Add-subpackage-ptest-which-runs-all-unit-test-cases-.patch \ | 15 | file://0002-Add-subpackage-ptest-which-runs-all-unit-test-cases-.patch \ |
| 16 | " | 16 | " |
| 17 | 17 | ||
| 18 | SRCREV = "14fda5a42df6c72e890d6a97ff88c5852172604b" | 18 | SRCREV = "a46ddbbe661677dcfa342f00ab7ab71e5f6f1a09" |
| 19 | |||
| 20 | S = "${WORKDIR}/git" | ||
| 21 | 19 | ||
| 22 | python() { | 20 | python() { |
| 23 | d.appendVar('PROVIDES', ' ' + d.getVar('BPN').replace('-qoriq', '')) | 21 | d.appendVar('PROVIDES', ' ' + d.getVar('BPN').replace('-qoriq', '')) |
diff --git a/recipes-devtools/qoriq-cst/qoriq-cst/0001-tools-Mark-struct-input_field-file_field-extern.patch b/recipes-devtools/qoriq-cst/qoriq-cst/0001-tools-Mark-struct-input_field-file_field-extern.patch deleted file mode 100644 index d25675aae..000000000 --- a/recipes-devtools/qoriq-cst/qoriq-cst/0001-tools-Mark-struct-input_field-file_field-extern.patch +++ /dev/null | |||
| @@ -1,43 +0,0 @@ | |||
| 1 | From 81ec65e72f357fb2c395e40c5195434bbaddf7f7 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Sat, 16 May 2020 08:21:52 -0700 | ||
| 4 | Subject: [PATCH] tools: Mark struct input_field file_field extern | ||
| 5 | |||
| 6 | This struct is already defined in common/parse_utils.c | ||
| 7 | |||
| 8 | Upstream-Status: Pending | ||
| 9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 10 | --- | ||
| 11 | tools/header_generation/create_hdr_common.c | 2 +- | ||
| 12 | tools/pbi_creation/create_pbi_common.c | 2 +- | ||
| 13 | 2 files changed, 2 insertions(+), 2 deletions(-) | ||
| 14 | |||
| 15 | diff --git a/tools/header_generation/create_hdr_common.c b/tools/header_generation/create_hdr_common.c | ||
| 16 | index bfa90a3..edf632c 100644 | ||
| 17 | --- a/tools/header_generation/create_hdr_common.c | ||
| 18 | +++ b/tools/header_generation/create_hdr_common.c | ||
| 19 | @@ -39,7 +39,7 @@ | ||
| 20 | #include <crypto_utils.h> | ||
| 21 | |||
| 22 | extern struct g_data_t gd; | ||
| 23 | -struct input_field file_field; | ||
| 24 | +extern struct input_field file_field; | ||
| 25 | |||
| 26 | extern char line_data[]; | ||
| 27 | static struct option long_options[] = { | ||
| 28 | diff --git a/tools/pbi_creation/create_pbi_common.c b/tools/pbi_creation/create_pbi_common.c | ||
| 29 | index ff2ed84..bd976da 100644 | ||
| 30 | --- a/tools/pbi_creation/create_pbi_common.c | ||
| 31 | +++ b/tools/pbi_creation/create_pbi_common.c | ||
| 32 | @@ -57,7 +57,7 @@ static char *parse_list[] = { | ||
| 33 | |||
| 34 | extern struct g_data_t gd; | ||
| 35 | extern char line_data[]; | ||
| 36 | -struct input_field file_field; | ||
| 37 | +extern struct input_field file_field; | ||
| 38 | |||
| 39 | #define NUM_PARSE_LIST (sizeof(parse_list) / sizeof(char *)) | ||
| 40 | |||
| 41 | -- | ||
| 42 | 2.26.2 | ||
| 43 | |||
diff --git a/recipes-devtools/qoriq-cst/qoriq-cst_git.bb b/recipes-devtools/qoriq-cst/qoriq-cst_git.bb index bcb4f8bfe..eb01f5427 100644 --- a/recipes-devtools/qoriq-cst/qoriq-cst_git.bb +++ b/recipes-devtools/qoriq-cst/qoriq-cst_git.bb | |||
| @@ -16,12 +16,8 @@ inherit kernel-arch | |||
| 16 | #SECURE_PRI_KEY = "/path/srk.pri" | 16 | #SECURE_PRI_KEY = "/path/srk.pri" |
| 17 | #SECURE_PUB_KEY = "/path/srk.pub" | 17 | #SECURE_PUB_KEY = "/path/srk.pub" |
| 18 | 18 | ||
| 19 | SRC_URI = "git://github.com/nxp-qoriq/cst;protocol=https;nobranch=1 \ | 19 | SRC_URI = "git://github.com/nxp-qoriq/cst;protocol=https;nobranch=1" |
| 20 | file://0001-tools-Mark-struct-input_field-file_field-extern.patch \ | 20 | SRCREV = "892d2ed3207d78a3cb5533eeb91bcc73967e3e36" |
| 21 | " | ||
| 22 | SRCREV = "e96dead3c339f6addb1600249be67e1884cdbcc5" | ||
| 23 | |||
| 24 | S = "${WORKDIR}/git" | ||
| 25 | 21 | ||
| 26 | EXTRA_OEMAKE = 'CC="${CC}" LD="${CC}"' | 22 | EXTRA_OEMAKE = 'CC="${CC}" LD="${CC}"' |
| 27 | CFLAGS:append = ' -Wno-deprecated-declarations' | 23 | CFLAGS:append = ' -Wno-deprecated-declarations' |
| @@ -41,3 +37,5 @@ do_install () { | |||
| 41 | 37 | ||
| 42 | FILES:${PN}-dbg += "${bindir}/cst/.debug" | 38 | FILES:${PN}-dbg += "${bindir}/cst/.debug" |
| 43 | BBCLASSEXTEND = "native nativesdk" | 39 | BBCLASSEXTEND = "native nativesdk" |
| 40 | INSANE_SKIP:${PN}-dbg += " buildpaths" | ||
| 41 | |||
diff --git a/recipes-devtools/utp-com/utp-com_git.bb b/recipes-devtools/utp-com/utp-com_git.bb index 85c80acbd..364c91bcc 100644 --- a/recipes-devtools/utp-com/utp-com_git.bb +++ b/recipes-devtools/utp-com/utp-com_git.bb | |||
| @@ -11,8 +11,6 @@ SRC_URI = " \ | |||
| 11 | 11 | ||
| 12 | PV = "1.0+git${SRCPV}" | 12 | PV = "1.0+git${SRCPV}" |
| 13 | 13 | ||
| 14 | S = "${WORKDIR}/git" | ||
| 15 | |||
| 16 | do_configure[noexec] = "1" | 14 | do_configure[noexec] = "1" |
| 17 | 15 | ||
| 18 | do_compile () { | 16 | do_compile () { |
diff --git a/recipes-devtools/uuu/uuu-bin_1.5.165.bb b/recipes-devtools/uuu/uuu-bin_1.5.233.bb index 61c3927ca..ec2f40e00 100644 --- a/recipes-devtools/uuu/uuu-bin_1.5.165.bb +++ b/recipes-devtools/uuu/uuu-bin_1.5.233.bb | |||
| @@ -11,20 +11,23 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/BSD-3-Clause;md5=550794465ba0ec | |||
| 11 | 11 | ||
| 12 | SRC_URI = " \ | 12 | SRC_URI = " \ |
| 13 | https://github.com/nxp-imx/mfgtools/releases/download/uuu_${PV}/uuu;downloadfilename=uuu-${PV};name=Linux \ | 13 | https://github.com/nxp-imx/mfgtools/releases/download/uuu_${PV}/uuu;downloadfilename=uuu-${PV};name=Linux \ |
| 14 | https://github.com/nxp-imx/mfgtools/releases/download/uuu_${PV}/uuu_mac;downloadfilename=uuu-${PV}_mac;name=Mac \ | 14 | https://github.com/nxp-imx/mfgtools/releases/download/uuu_${PV}/uuu_mac_x86;downloadfilename=uuu-${PV}_mac_x86;name=Mac_x86 \ |
| 15 | https://github.com/nxp-imx/mfgtools/releases/download/uuu_${PV}/uuu_mac_arm;downloadfilename=uuu-${PV}_mac_arm;name=Mac_arm \ | ||
| 15 | https://github.com/nxp-imx/mfgtools/releases/download/uuu_${PV}/uuu.exe;downloadfilename=uuu-${PV}.exe;name=Windows \ | 16 | https://github.com/nxp-imx/mfgtools/releases/download/uuu_${PV}/uuu.exe;downloadfilename=uuu-${PV}.exe;name=Windows \ |
| 16 | " | 17 | " |
| 17 | 18 | ||
| 18 | SRC_URI[Linux.sha256sum] = "f863bba022202361d19e5026be0af408d307f78d2dbf2c139fb7eaaabd220442" | 19 | SRC_URI[Linux.sha256sum] = "c609fe6c4d9656102f7e3139a70488ba3988c33332486c89e5fc6d85ccedd96a" |
| 19 | SRC_URI[Mac.sha256sum] = "62da0bd7e333931fba100823aa50133621c7e6047be0546bc12e29c0ea78a4d8" | 20 | SRC_URI[Mac_x86.sha256sum] = "cdbacab592661900d46e7f97f9c7dd8a720bf46b1c17f4dbb65adb372f5fc6cf" |
| 20 | SRC_URI[Windows.sha256sum] = "013ed8bb45e21b971b6b3a5802c5f154733913714bece0b020cb770a809cd206" | 21 | SRC_URI[Mac_arm.sha256sum] = "6f8854946dfbeeb36894baf0f5f555b918974d465f4b541457e65c926fdd6a6a" |
| 22 | SRC_URI[Windows.sha256sum] = "a3c7241650c05dd6373a6aef086b34322c013103da729c1b446ec86694309939" | ||
| 21 | 23 | ||
| 22 | inherit allarch | 24 | inherit allarch |
| 23 | 25 | ||
| 24 | do_install() { | 26 | do_install() { |
| 25 | install -D -m 0755 ${UNPACKDIR}/uuu-${PV} ${D}${libdir}/uuu/uuu | 27 | install -D -m 0755 ${UNPACKDIR}/uuu-${PV} ${D}${libdir}/uuu/uuu |
| 26 | install -D -m 0755 ${UNPACKDIR}/uuu-${PV}_mac ${D}${libdir}/uuu/uuu_mac | 28 | install -D -m 0755 ${UNPACKDIR}/uuu-${PV}_mac_x86 ${D}${libdir}/uuu/uuu_mac_x86 |
| 27 | install -D -m 0644 ${UNPACKDIR}/uuu-${PV}.exe ${D}${libdir}/uuu/uuu.exe | 29 | install -D -m 0755 ${UNPACKDIR}/uuu-${PV}_mac_arm ${D}${libdir}/uuu/uuu_mac_arm |
| 30 | install -D -m 0644 ${UNPACKDIR}/uuu-${PV}.exe ${D}${libdir}/uuu/uuu.exe | ||
| 28 | } | 31 | } |
| 29 | 32 | ||
| 30 | # HACK! We are not aiming to run those binaries during the build but copy then for MFGTOOL bundle. | 33 | # HACK! We are not aiming to run those binaries during the build but copy then for MFGTOOL bundle. |
diff --git a/recipes-devtools/uuu/uuu_git.bb b/recipes-devtools/uuu/uuu_git.bb index e48698a8b..3af8bc569 100644 --- a/recipes-devtools/uuu/uuu_git.bb +++ b/recipes-devtools/uuu/uuu_git.bb | |||
| @@ -3,16 +3,14 @@ DESCRIPTION = "Image deploy tool for i.MX chips" | |||
| 3 | HOMEPAGE = "https://github.com/nxp-imx/mfgtools" | 3 | HOMEPAGE = "https://github.com/nxp-imx/mfgtools" |
| 4 | 4 | ||
| 5 | SRC_URI = "git://github.com/nxp-imx/mfgtools.git;protocol=https;branch=master" | 5 | SRC_URI = "git://github.com/nxp-imx/mfgtools.git;protocol=https;branch=master" |
| 6 | SRCREV = "7347a80c7a943dd7e9081d9d2bab9e6ca8e0ba07" | 6 | SRCREV = "79ce7d2b2e7459e7b7c94f902d172c30b08884ab" |
| 7 | PV = "1.5.165" | 7 | PV = "1.5.233" |
| 8 | 8 | ||
| 9 | LICENSE = "BSD-3-Clause" | 9 | LICENSE = "BSD-3-Clause" |
| 10 | LIC_FILES_CHKSUM = "file://LICENSE;md5=38ec0c18112e9a92cffc4951661e85a5" | 10 | LIC_FILES_CHKSUM = "file://LICENSE;md5=38ec0c18112e9a92cffc4951661e85a5" |
| 11 | 11 | ||
| 12 | inherit cmake pkgconfig | 12 | inherit cmake pkgconfig |
| 13 | 13 | ||
| 14 | S = "${WORKDIR}/git" | ||
| 15 | |||
| 16 | DEPENDS = "libusb zlib bzip2 openssl zstd libtinyxml2" | 14 | DEPENDS = "libusb zlib bzip2 openssl zstd libtinyxml2" |
| 17 | 15 | ||
| 18 | BBCLASSEXTEND = "native nativesdk" | 16 | BBCLASSEXTEND = "native nativesdk" |
diff --git a/recipes-downgrade/glslang/glslang/0001-generate-glslang-pkg-config.patch b/recipes-downgrade/glslang/glslang/0001-generate-glslang-pkg-config.patch new file mode 100644 index 000000000..337a999bf --- /dev/null +++ b/recipes-downgrade/glslang/glslang/0001-generate-glslang-pkg-config.patch | |||
| @@ -0,0 +1,46 @@ | |||
| 1 | From 4cede5edcff96134baf35953d58595c4aa5f1fc5 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Jose Quaresma <quaresma.jose@gmail.com> | ||
| 3 | Date: Sun, 7 Feb 2021 01:30:39 +0000 | ||
| 4 | Subject: [PATCH] generate glslang pkg-config | ||
| 5 | |||
| 6 | Based on https://src.fedoraproject.org/rpms/glslang/blob/main/f/0001-pkg-config-compatibility.patch | ||
| 7 | |||
| 8 | Upstream-Status: Inappropriate [independently developed patch submitted at https://github.com/KhronosGroup/glslang/pull/3371] | ||
| 9 | |||
| 10 | Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> | ||
| 11 | --- | ||
| 12 | glslang/CMakeLists.txt | 2 ++ | ||
| 13 | glslang/glslang.pc.cmake.in | 11 +++++++++++ | ||
| 14 | 2 files changed, 13 insertions(+) | ||
| 15 | create mode 100644 glslang/glslang.pc.cmake.in | ||
| 16 | |||
| 17 | diff --git a/glslang/CMakeLists.txt b/glslang/CMakeLists.txt | ||
| 18 | index 37eecaad..6974935c 100644 | ||
| 19 | --- a/glslang/CMakeLists.txt | ||
| 20 | +++ b/glslang/CMakeLists.txt | ||
| 21 | @@ -251,6 +251,8 @@ if(PROJECT_IS_TOP_LEVEL) | ||
| 22 | ") | ||
| 23 | install(FILES "${CMAKE_CURRENT_BINARY_DIR}/glslangTargets.cmake" DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake) | ||
| 24 | endif() | ||
| 25 | + configure_file(${CMAKE_CURRENT_SOURCE_DIR}/glslang.pc.cmake.in ${CMAKE_CURRENT_BINARY_DIR}/pkgconfig/glslang.pc @ONLY) | ||
| 26 | + install(FILES ${CMAKE_CURRENT_BINARY_DIR}/pkgconfig/glslang.pc DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig) | ||
| 27 | |||
| 28 | set(PUBLIC_HEADERS | ||
| 29 | Public/ResourceLimits.h | ||
| 30 | diff --git a/glslang/glslang.pc.cmake.in b/glslang/glslang.pc.cmake.in | ||
| 31 | new file mode 100644 | ||
| 32 | index 00000000..43104e68 | ||
| 33 | --- /dev/null | ||
| 34 | +++ b/glslang/glslang.pc.cmake.in | ||
| 35 | @@ -0,0 +1,11 @@ | ||
| 36 | +prefix=@CMAKE_INSTALL_PREFIX@ | ||
| 37 | +exec_prefix=@CMAKE_INSTALL_PREFIX@ | ||
| 38 | +libdir=${exec_prefix}/@CMAKE_INSTALL_LIBDIR@ | ||
| 39 | +includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@ | ||
| 40 | + | ||
| 41 | +Name: @PROJECT_NAME@ | ||
| 42 | +Description: OpenGL and OpenGL ES shader front end and validator | ||
| 43 | +Requires: | ||
| 44 | +Version: @GLSLANG_VERSION@ | ||
| 45 | +Libs: -L${libdir} -lglslang -lHLSL -lSPVRemapper | ||
| 46 | +Cflags: -I${includedir} | ||
diff --git a/recipes-downgrade/glslang/glslang/0002-SPIRV-SpvBuilder.h-add-missing-cstdint-include.patch b/recipes-downgrade/glslang/glslang/0002-SPIRV-SpvBuilder.h-add-missing-cstdint-include.patch new file mode 100644 index 000000000..9f9270e6e --- /dev/null +++ b/recipes-downgrade/glslang/glslang/0002-SPIRV-SpvBuilder.h-add-missing-cstdint-include.patch | |||
| @@ -0,0 +1,33 @@ | |||
| 1 | From e40c14a3e007fac0e4f2e4164fdf14d1712355bd Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Sergei Trofimovich <slyich@gmail.com> | ||
| 3 | Date: Fri, 2 Aug 2024 22:44:21 +0100 | ||
| 4 | Subject: [PATCH] SPIRV/SpvBuilder.h: add missing <cstdint> include | ||
| 5 | |||
| 6 | Without the change `glslang` build fails on upcoming `gcc-15` as: | ||
| 7 | |||
| 8 | In file included from /build/source/SPIRV/GlslangToSpv.cpp:45: | ||
| 9 | SPIRV/SpvBuilder.h:248:30: error: 'uint32_t' has not been declared | ||
| 10 | 248 | Id makeDebugLexicalBlock(uint32_t line); | ||
| 11 | | ^~~~~~~~ | ||
| 12 | --- | ||
| 13 | SPIRV/SpvBuilder.h | 1 + | ||
| 14 | 1 file changed, 1 insertion(+) | ||
| 15 | |||
| 16 | Upstream-Status: Backport [https://github.com/KhronosGroup/glslang/commit/e40c14a3e007fac0e4f2e4164fdf14d1712355bd] | ||
| 17 | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> | ||
| 18 | |||
| 19 | diff --git a/SPIRV/SpvBuilder.h b/SPIRV/SpvBuilder.h | ||
| 20 | index f86dd81b3..d688436a6 100644 | ||
| 21 | --- a/SPIRV/SpvBuilder.h | ||
| 22 | +++ b/SPIRV/SpvBuilder.h | ||
| 23 | @@ -56,6 +56,7 @@ namespace spv { | ||
| 24 | } | ||
| 25 | |||
| 26 | #include <algorithm> | ||
| 27 | +#include <cstdint> | ||
| 28 | #include <map> | ||
| 29 | #include <memory> | ||
| 30 | #include <set> | ||
| 31 | -- | ||
| 32 | 2.34.1 | ||
| 33 | |||
diff --git a/recipes-downgrade/glslang/glslang_1.3.275.0.imx.bb b/recipes-downgrade/glslang/glslang_1.3.275.0.imx.bb new file mode 100644 index 000000000..7b3c2f606 --- /dev/null +++ b/recipes-downgrade/glslang/glslang_1.3.275.0.imx.bb | |||
| @@ -0,0 +1,36 @@ | |||
| 1 | SUMMARY = "OpenGL / OpenGL ES Reference Compiler" | ||
| 2 | DESCRIPTION = "Glslang is the official reference compiler front end for the \ | ||
| 3 | OpenGL ES and OpenGL shading languages. It implements a strict interpretation \ | ||
| 4 | of the specifications for these languages. It is open and free for anyone to use, \ | ||
| 5 | either from a command line or programmatically." | ||
| 6 | SECTION = "graphics" | ||
| 7 | HOMEPAGE = "https://www.khronos.org/opengles/sdk/tools/Reference-Compiler" | ||
| 8 | LICENSE = "BSD-3-Clause & BSD-2-Clause & MIT & Apache-2.0 & GPL-3-with-bison-exception" | ||
| 9 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=2a2b5acd7bc4844964cfda45fe807dc3" | ||
| 10 | |||
| 11 | SRCREV = "a91631b260cba3f22858d6c6827511e636c2458a" | ||
| 12 | SRC_URI = "git://github.com/KhronosGroup/glslang.git;protocol=https;branch=main \ | ||
| 13 | file://0001-generate-glslang-pkg-config.patch \ | ||
| 14 | file://0002-SPIRV-SpvBuilder.h-add-missing-cstdint-include.patch" | ||
| 15 | PE = "1" | ||
| 16 | # These recipes need to be updated in lockstep with each other: | ||
| 17 | # glslang, vulkan-headers, vulkan-loader, vulkan-tools, spirv-headers, spirv-tools | ||
| 18 | # vulkan-validation-layers, vulkan-utility-libraries. | ||
| 19 | # The tags versions should always be sdk-x.y.z, as this is what | ||
| 20 | # upstream considers a release. | ||
| 21 | UPSTREAM_CHECK_GITTAGREGEX = "sdk-(?P<pver>\d+(\.\d+)+)" | ||
| 22 | |||
| 23 | inherit cmake python3native | ||
| 24 | |||
| 25 | DEPENDS = "spirv-tools" | ||
| 26 | |||
| 27 | EXTRA_OECMAKE = " \ | ||
| 28 | -DCMAKE_BUILD_TYPE=Release \ | ||
| 29 | -DBUILD_SHARED_LIBS=ON \ | ||
| 30 | -DENABLE_PCH=OFF \ | ||
| 31 | -DENABLE_CTEST=OFF \ | ||
| 32 | -DBUILD_EXTERNAL=OFF \ | ||
| 33 | -DALLOW_EXTERNAL_SPIRV_TOOLS=ON \ | ||
| 34 | " | ||
| 35 | |||
| 36 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/recipes-downgrade/spir/spirv-headers_1.3.275.0.imx.bb b/recipes-downgrade/spir/spirv-headers_1.3.275.0.imx.bb index 598a8fc20..caaf2cd38 100644 --- a/recipes-downgrade/spir/spirv-headers_1.3.275.0.imx.bb +++ b/recipes-downgrade/spir/spirv-headers_1.3.275.0.imx.bb | |||
| @@ -13,7 +13,6 @@ PE = "1" | |||
| 13 | # The tags versions should always be sdk-x.y.z, as this is what | 13 | # The tags versions should always be sdk-x.y.z, as this is what |
| 14 | # upstream considers a release. | 14 | # upstream considers a release. |
| 15 | UPSTREAM_CHECK_GITTAGREGEX = "sdk-(?P<pver>\d+(\.\d+)+)" | 15 | UPSTREAM_CHECK_GITTAGREGEX = "sdk-(?P<pver>\d+(\.\d+)+)" |
| 16 | S = "${WORKDIR}/git" | ||
| 17 | 16 | ||
| 18 | inherit cmake | 17 | inherit cmake |
| 19 | 18 | ||
diff --git a/recipes-downgrade/spir/spirv-tools_1.3.275.0.imx.bb b/recipes-downgrade/spir/spirv-tools_1.3.275.0.imx.bb index 05c6de1b5..6b0c0a3f7 100644 --- a/recipes-downgrade/spir/spirv-tools_1.3.275.0.imx.bb +++ b/recipes-downgrade/spir/spirv-tools_1.3.275.0.imx.bb | |||
| @@ -16,7 +16,6 @@ PE = "1" | |||
| 16 | # The tags versions should always be sdk-x.y.z, as this is what | 16 | # The tags versions should always be sdk-x.y.z, as this is what |
| 17 | # upstream considers a release. | 17 | # upstream considers a release. |
| 18 | UPSTREAM_CHECK_GITTAGREGEX = "sdk-(?P<pver>\d+(\.\d+)+)" | 18 | UPSTREAM_CHECK_GITTAGREGEX = "sdk-(?P<pver>\d+(\.\d+)+)" |
| 19 | S = "${WORKDIR}/git" | ||
| 20 | 19 | ||
| 21 | inherit cmake | 20 | inherit cmake |
| 22 | 21 | ||
diff --git a/recipes-downgrade/vulkan/vulkan-headers_1.3.275.0.imx.bb b/recipes-downgrade/vulkan/vulkan-headers_1.3.275.0.imx.bb index aacec8cab..24630d0db 100644 --- a/recipes-downgrade/vulkan/vulkan-headers_1.3.275.0.imx.bb +++ b/recipes-downgrade/vulkan/vulkan-headers_1.3.275.0.imx.bb | |||
| @@ -13,8 +13,6 @@ SRC_URI = "git://github.com/KhronosGroup/Vulkan-Headers.git;branch=main;protocol | |||
| 13 | 13 | ||
| 14 | SRCREV = "217e93c664ec6704ec2d8c36fa116c1a4a1e2d40" | 14 | SRCREV = "217e93c664ec6704ec2d8c36fa116c1a4a1e2d40" |
| 15 | 15 | ||
| 16 | S = "${WORKDIR}/git" | ||
| 17 | |||
| 18 | inherit cmake | 16 | inherit cmake |
| 19 | 17 | ||
| 20 | FILES:${PN} += "${datadir}/vulkan" | 18 | FILES:${PN} += "${datadir}/vulkan" |
diff --git a/recipes-downgrade/vulkan/vulkan-loader_1.3.275.0.imx.bb b/recipes-downgrade/vulkan/vulkan-loader_1.3.275.0.imx.bb index 7caed6720..24fef1743 100644 --- a/recipes-downgrade/vulkan/vulkan-loader_1.3.275.0.imx.bb +++ b/recipes-downgrade/vulkan/vulkan-loader_1.3.275.0.imx.bb | |||
| @@ -12,8 +12,6 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=7dbefed23242760aa3475ee42801c5ac" | |||
| 12 | SRC_URI = "git://github.com/KhronosGroup/Vulkan-Loader.git;branch=vulkan-sdk-1.3.275;protocol=https" | 12 | SRC_URI = "git://github.com/KhronosGroup/Vulkan-Loader.git;branch=vulkan-sdk-1.3.275;protocol=https" |
| 13 | SRCREV = "00893b9a03e526aec2c5bf487521d16dfa435229" | 13 | SRCREV = "00893b9a03e526aec2c5bf487521d16dfa435229" |
| 14 | 14 | ||
| 15 | S = "${WORKDIR}/git" | ||
| 16 | |||
| 17 | REQUIRED_DISTRO_FEATURES = "vulkan" | 15 | REQUIRED_DISTRO_FEATURES = "vulkan" |
| 18 | 16 | ||
| 19 | inherit cmake features_check pkgconfig | 17 | inherit cmake features_check pkgconfig |
| @@ -33,7 +31,7 @@ PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'wayland x11', d)}" | |||
| 33 | PACKAGECONFIG[x11] = "-DBUILD_WSI_XLIB_SUPPORT=ON -DBUILD_WSI_XCB_SUPPORT=ON, -DBUILD_WSI_XLIB_SUPPORT=OFF -DBUILD_WSI_XCB_SUPPORT=OFF, libxcb libx11 libxrandr" | 31 | PACKAGECONFIG[x11] = "-DBUILD_WSI_XLIB_SUPPORT=ON -DBUILD_WSI_XCB_SUPPORT=ON, -DBUILD_WSI_XLIB_SUPPORT=OFF -DBUILD_WSI_XCB_SUPPORT=OFF, libxcb libx11 libxrandr" |
| 34 | PACKAGECONFIG[wayland] = "-DBUILD_WSI_WAYLAND_SUPPORT=ON, -DBUILD_WSI_WAYLAND_SUPPORT=OFF, wayland" | 32 | PACKAGECONFIG[wayland] = "-DBUILD_WSI_WAYLAND_SUPPORT=ON, -DBUILD_WSI_WAYLAND_SUPPORT=OFF, wayland" |
| 35 | 33 | ||
| 36 | RRECOMMENDS:${PN} = "mesa-vulkan-drivers" | 34 | RRECOMMENDS:${PN} = "virtual-vulkan-icd" |
| 37 | 35 | ||
| 38 | # These recipes need to be updated in lockstep with each other: | 36 | # These recipes need to be updated in lockstep with each other: |
| 39 | # glslang, vulkan-headers, vulkan-loader, vulkan-tools, spirv-headers, spirv-tools, | 37 | # glslang, vulkan-headers, vulkan-loader, vulkan-tools, spirv-headers, spirv-tools, |
diff --git a/recipes-downgrade/vulkan/vulkan-tools_1.3.275.0.imx.bb b/recipes-downgrade/vulkan/vulkan-tools_1.3.275.0.imx.bb index f86912c90..f5fe8523d 100644 --- a/recipes-downgrade/vulkan/vulkan-tools_1.3.275.0.imx.bb +++ b/recipes-downgrade/vulkan/vulkan-tools_1.3.275.0.imx.bb | |||
| @@ -9,8 +9,6 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3b83ef96387f14655fc854ddc3c6bd57" | |||
| 9 | SRC_URI = "git://github.com/KhronosGroup/Vulkan-Tools.git;branch=main;protocol=https" | 9 | SRC_URI = "git://github.com/KhronosGroup/Vulkan-Tools.git;branch=main;protocol=https" |
| 10 | SRCREV = "c86d42cf9eb620eeac377e3bff46ae342c5cd664" | 10 | SRCREV = "c86d42cf9eb620eeac377e3bff46ae342c5cd664" |
| 11 | 11 | ||
| 12 | S = "${WORKDIR}/git" | ||
| 13 | |||
| 14 | inherit cmake features_check pkgconfig | 12 | inherit cmake features_check pkgconfig |
| 15 | ANY_OF_DISTRO_FEATURES = "x11 wayland" | 13 | ANY_OF_DISTRO_FEATURES = "x11 wayland" |
| 16 | REQUIRED_DISTRO_FEATURES = "vulkan" | 14 | REQUIRED_DISTRO_FEATURES = "vulkan" |
diff --git a/recipes-downgrade/vulkan/vulkan-utility-libraries_1.3.275.0.imx.bb b/recipes-downgrade/vulkan/vulkan-utility-libraries_1.3.275.0.imx.bb new file mode 100644 index 000000000..8ec4cbae9 --- /dev/null +++ b/recipes-downgrade/vulkan/vulkan-utility-libraries_1.3.275.0.imx.bb | |||
| @@ -0,0 +1,31 @@ | |||
| 1 | SUMMARY = "Vulkan Utility Libraries" | ||
| 2 | DESCRIPTION = "Common libraries created to share code across various \ | ||
| 3 | Vulkan repositories, solving long standing issues for Vulkan SDK \ | ||
| 4 | developers and users." | ||
| 5 | HOMEPAGE = "https://www.khronos.org/vulkan/" | ||
| 6 | BUGTRACKER = "https://github.com/KhronosGroup/Vulkan-Utility-Libraries" | ||
| 7 | SECTION = "libs" | ||
| 8 | |||
| 9 | LICENSE = "Apache-2.0" | ||
| 10 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=4ca2d6799091aaa98a8520f1b793939b" | ||
| 11 | |||
| 12 | SRC_URI = "git://github.com/KhronosGroup/Vulkan-Utility-Libraries.git;branch=main;protocol=https" | ||
| 13 | SRCREV = "4cfc176e3242b4dbdfd3f6c5680c5d8f2cb7db45" | ||
| 14 | |||
| 15 | REQUIRED_DISTRO_FEATURES = "vulkan" | ||
| 16 | |||
| 17 | DEPENDS = "vulkan-headers" | ||
| 18 | |||
| 19 | EXTRA_OECMAKE = "\ | ||
| 20 | -DBUILD_TESTS=OFF \ | ||
| 21 | " | ||
| 22 | |||
| 23 | inherit cmake features_check pkgconfig | ||
| 24 | |||
| 25 | # These recipes need to be updated in lockstep with each other: | ||
| 26 | # glslang, vulkan-headers, vulkan-loader, vulkan-tools, | ||
| 27 | # vulkan-validation-layers, spirv-headers, spirv-tools, | ||
| 28 | # vulkan-utility-libraries. | ||
| 29 | # The tags versions should always be sdk-x.y.z, as this is what | ||
| 30 | # upstream considers a release. | ||
| 31 | UPSTREAM_CHECK_GITTAGREGEX = "sdk-(?P<pver>\d+(\.\d+)+)" | ||
diff --git a/recipes-downgrade/vulkan/vulkan-validation-layers_1.3.275.0.imx.bb b/recipes-downgrade/vulkan/vulkan-validation-layers_1.3.275.0.imx.bb index 239589108..3068dd184 100644 --- a/recipes-downgrade/vulkan/vulkan-validation-layers_1.3.275.0.imx.bb +++ b/recipes-downgrade/vulkan/vulkan-validation-layers_1.3.275.0.imx.bb | |||
| @@ -11,8 +11,6 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=cd3c0bc366cd9b6a906e22f0bcb5910f" | |||
| 11 | SRC_URI = "git://github.com/KhronosGroup/Vulkan-ValidationLayers.git;branch=vulkan-sdk-1.3.275;protocol=https" | 11 | SRC_URI = "git://github.com/KhronosGroup/Vulkan-ValidationLayers.git;branch=vulkan-sdk-1.3.275;protocol=https" |
| 12 | SRCREV = "780c65337e111c7385109c7b720d757a778e4fe2" | 12 | SRCREV = "780c65337e111c7385109c7b720d757a778e4fe2" |
| 13 | 13 | ||
| 14 | S = "${WORKDIR}/git" | ||
| 15 | |||
| 16 | REQUIRED_DISTRO_FEATURES = "vulkan" | 14 | REQUIRED_DISTRO_FEATURES = "vulkan" |
| 17 | 15 | ||
| 18 | DEPENDS = "vulkan-headers vulkan-loader spirv-headers spirv-tools glslang vulkan-utility-libraries" | 16 | DEPENDS = "vulkan-headers vulkan-loader spirv-headers spirv-tools glslang vulkan-utility-libraries" |
diff --git a/recipes-dpaa/eth-config/eth-config_git.bb b/recipes-dpaa/eth-config/eth-config_git.bb index aee2e2348..858442aff 100644 --- a/recipes-dpaa/eth-config/eth-config_git.bb +++ b/recipes-dpaa/eth-config/eth-config_git.bb | |||
| @@ -8,8 +8,6 @@ PR = "r2" | |||
| 8 | SRC_URI = "git://github.com/nxp-qoriq/eth-config;protocol=https;nobranch=1" | 8 | SRC_URI = "git://github.com/nxp-qoriq/eth-config;protocol=https;nobranch=1" |
| 9 | SRCREV = "00fa9c6db5813735676b30b1516e30a460d61b28" | 9 | SRCREV = "00fa9c6db5813735676b30b1516e30a460d61b28" |
| 10 | 10 | ||
| 11 | S = "${WORKDIR}/git" | ||
| 12 | |||
| 13 | EXTRA_OEMAKE = "D=${D}" | 11 | EXTRA_OEMAKE = "D=${D}" |
| 14 | 12 | ||
| 15 | do_install() { | 13 | do_install() { |
diff --git a/recipes-dpaa/flib/flib_git.bb b/recipes-dpaa/flib/flib_git.bb index f1ebd87f0..b7eafe627 100644 --- a/recipes-dpaa/flib/flib_git.bb +++ b/recipes-dpaa/flib/flib_git.bb | |||
| @@ -6,8 +6,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=9f6d1afdf6b0f6b3ba65c25ba589ee53" | |||
| 6 | SRC_URI = "git://github.com/nxp-qoriq/flib;protocol=https;nobranch=1" | 6 | SRC_URI = "git://github.com/nxp-qoriq/flib;protocol=https;nobranch=1" |
| 7 | SRCREV = "cbb31427466649c07d2ac2739a41bb42f5f6be7c" | 7 | SRCREV = "cbb31427466649c07d2ac2739a41bb42f5f6be7c" |
| 8 | 8 | ||
| 9 | S = "${WORKDIR}/git" | ||
| 10 | |||
| 11 | do_install(){ | 9 | do_install(){ |
| 12 | oe_runmake install DESTDIR=${D} | 10 | oe_runmake install DESTDIR=${D} |
| 13 | } | 11 | } |
diff --git a/recipes-dpaa/fm-ucode/fm-ucode_git.bb b/recipes-dpaa/fm-ucode/fm-ucode_git.bb index 22f04d012..77305958d 100644 --- a/recipes-dpaa/fm-ucode/fm-ucode_git.bb +++ b/recipes-dpaa/fm-ucode/fm-ucode_git.bb | |||
| @@ -10,8 +10,6 @@ inherit deploy | |||
| 10 | SRC_URI = "git://github.com/NXP/qoriq-fm-ucode.git;nobranch=1;protocol=https" | 10 | SRC_URI = "git://github.com/NXP/qoriq-fm-ucode.git;nobranch=1;protocol=https" |
| 11 | SRCREV = "41d603a1ad78e0bb61365500828d9f484bf9bf10" | 11 | SRCREV = "41d603a1ad78e0bb61365500828d9f484bf9bf10" |
| 12 | 12 | ||
| 13 | S = "${WORKDIR}/git" | ||
| 14 | |||
| 15 | REGLEX ?= "${MACHINE}" | 13 | REGLEX ?= "${MACHINE}" |
| 16 | REGLEX:t1023 = "t1024" | 14 | REGLEX:t1023 = "t1024" |
| 17 | REGLEX:t1040 = "t1040" | 15 | REGLEX:t1040 = "t1040" |
diff --git a/recipes-dpaa/fmlib/fmlib_git.bb b/recipes-dpaa/fmlib/fmlib_git.bb index 71ad3df1f..2276ac3c6 100644 --- a/recipes-dpaa/fmlib/fmlib_git.bb +++ b/recipes-dpaa/fmlib/fmlib_git.bb | |||
| @@ -6,9 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=9c7bd5e45d066db084bdb3543d55b1ac" | |||
| 6 | PR = "r1" | 6 | PR = "r1" |
| 7 | 7 | ||
| 8 | SRC_URI = "git://github.com/nxp-qoriq/fmlib;protocol=https;nobranch=1" | 8 | SRC_URI = "git://github.com/nxp-qoriq/fmlib;protocol=https;nobranch=1" |
| 9 | SRCREV = "9fb916f255214013aa6003496c47bab0b5add2d9" | 9 | SRCREV = "7a58ecaf0d90d71d6b78d3ac7998282a472c4394" |
| 10 | |||
| 11 | S = "${WORKDIR}/git" | ||
| 12 | 10 | ||
| 13 | CFLAGS += "-fmacro-prefix-map=${STAGING_KERNEL_DIR}=/usr/src/debug/fmlib/git-r1 \ | 11 | CFLAGS += "-fmacro-prefix-map=${STAGING_KERNEL_DIR}=/usr/src/debug/fmlib/git-r1 \ |
| 14 | -fdebug-prefix-map=${STAGING_KERNEL_DIR}=/usr/src/debug/fmlib/git-r1" | 12 | -fdebug-prefix-map=${STAGING_KERNEL_DIR}=/usr/src/debug/fmlib/git-r1" |
diff --git a/recipes-dpaa2/aiopsl/aiopsl_git.bb b/recipes-dpaa2/aiopsl/aiopsl_git.bb index 68f7a8ded..b57e33afd 100644 --- a/recipes-dpaa2/aiopsl/aiopsl_git.bb +++ b/recipes-dpaa2/aiopsl/aiopsl_git.bb | |||
| @@ -5,8 +5,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=faf479bdc4702d8033049f97e153f876" | |||
| 5 | 5 | ||
| 6 | BASEDEPENDS = "" | 6 | BASEDEPENDS = "" |
| 7 | 7 | ||
| 8 | S = "${WORKDIR}/git" | ||
| 9 | |||
| 10 | SRC_URI = "git://github.com/nxp-qoriq/aiopsl;protocol=https;nobranch=1" | 8 | SRC_URI = "git://github.com/nxp-qoriq/aiopsl;protocol=https;nobranch=1" |
| 11 | SRCREV = "87d83d8e99770325cc7ad9e10965c9959e7cb828" | 9 | SRCREV = "87d83d8e99770325cc7ad9e10965c9959e7cb828" |
| 12 | 10 | ||
diff --git a/recipes-dpaa2/dce/dce_git.bb b/recipes-dpaa2/dce/dce_git.bb index 7beeb90fe..a40b1672e 100644 --- a/recipes-dpaa2/dce/dce_git.bb +++ b/recipes-dpaa2/dce/dce_git.bb | |||
| @@ -4,7 +4,7 @@ LICENSE = "BSD-3-Clause" | |||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=956df5ea6cfe0a1dcf2dee7ca37c0cdf" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=956df5ea6cfe0a1dcf2dee7ca37c0cdf" |
| 5 | 5 | ||
| 6 | SRC_URI = "git://github.com/nxp-qoriq/dce;protocol=https;nobranch=1 \ | 6 | SRC_URI = "git://github.com/nxp-qoriq/dce;protocol=https;nobranch=1 \ |
| 7 | git://github.com/nxp-qoriq/qbman_userspace;protocol=https;nobranch=1;name=qbman;destsuffix=git/lib/qbman_userspace \ | 7 | git://github.com/nxp-qoriq/qbman_userspace;protocol=https;nobranch=1;name=qbman;destsuffix=${S}/lib/qbman_userspace \ |
| 8 | file://0001-support-user-merge.patch \ | 8 | file://0001-support-user-merge.patch \ |
| 9 | " | 9 | " |
| 10 | SRCREV = "88ef2e8c3845532ee64cea4349fd38fb2bd5f807" | 10 | SRCREV = "88ef2e8c3845532ee64cea4349fd38fb2bd5f807" |
| @@ -12,8 +12,6 @@ SRCREV_qbman = "2f92993a9f34e5221d6b36c63b9e30ef703e9ac3" | |||
| 12 | 12 | ||
| 13 | SRCREV_FORMAT = "default_qbman" | 13 | SRCREV_FORMAT = "default_qbman" |
| 14 | 14 | ||
| 15 | S = "${WORKDIR}/git" | ||
| 16 | |||
| 17 | EXTRA_OEMAKE = 'CROSS_COMPILE=${TARGET_PREFIX} CC="${TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS}"' | 15 | EXTRA_OEMAKE = 'CROSS_COMPILE=${TARGET_PREFIX} CC="${TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS}"' |
| 18 | 16 | ||
| 19 | do_install () { | 17 | do_install () { |
diff --git a/recipes-dpaa2/gpp-aioptool/gpp-aioptool_git.bb b/recipes-dpaa2/gpp-aioptool/gpp-aioptool_git.bb index befc769ef..853dda9d7 100644 --- a/recipes-dpaa2/gpp-aioptool/gpp-aioptool_git.bb +++ b/recipes-dpaa2/gpp-aioptool/gpp-aioptool_git.bb | |||
| @@ -12,8 +12,6 @@ SRC_URI = "git://github.com/nxp-qoriq/gpp-aioptool;protocol=https;nobranch=1 \ | |||
| 12 | " | 12 | " |
| 13 | SRCREV = "6ead470dde043f3ca67f1ba19b313dd64ec199e1" | 13 | SRCREV = "6ead470dde043f3ca67f1ba19b313dd64ec199e1" |
| 14 | 14 | ||
| 15 | S = "${WORKDIR}/git" | ||
| 16 | |||
| 17 | TARGET_CC_ARCH += "${LDFLAGS}" | 15 | TARGET_CC_ARCH += "${LDFLAGS}" |
| 18 | 16 | ||
| 19 | EXTRA_OEMAKE = 'CC="${CC}" LD="${CC}" KERNEL_PATH="${STAGING_KERNEL_DIR}"' | 17 | EXTRA_OEMAKE = 'CC="${CC}" LD="${CC}" KERNEL_PATH="${STAGING_KERNEL_DIR}"' |
diff --git a/recipes-dpaa2/management-complex/management-complex_10.39.0.bb b/recipes-dpaa2/management-complex/management-complex_10.39.0.bb index 5097e71f2..3b5ae98ed 100644 --- a/recipes-dpaa2/management-complex/management-complex_10.39.0.bb +++ b/recipes-dpaa2/management-complex/management-complex_10.39.0.bb | |||
| @@ -9,8 +9,6 @@ INHIBIT_DEFAULT_DEPS = "1" | |||
| 9 | SRC_URI = "git://github.com/nxp/qoriq-mc-binary;protocol=https;nobranch=1" | 9 | SRC_URI = "git://github.com/nxp/qoriq-mc-binary;protocol=https;nobranch=1" |
| 10 | SRCREV = "7d82686272f8a60b803818bbc7c5396819ee3b06" | 10 | SRCREV = "7d82686272f8a60b803818bbc7c5396819ee3b06" |
| 11 | 11 | ||
| 12 | S = "${WORKDIR}/git" | ||
| 13 | |||
| 14 | REGLEX:ls2088a = "ls2088a" | 12 | REGLEX:ls2088a = "ls2088a" |
| 15 | REGLEX:ls2080a = "ls2080a" | 13 | REGLEX:ls2080a = "ls2080a" |
| 16 | REGLEX:ls1088a = "ls1088a" | 14 | REGLEX:ls1088a = "ls1088a" |
diff --git a/recipes-dpaa2/restool/files/disable-manpage-generation.patch b/recipes-dpaa2/restool/files/disable-manpage-generation.patch deleted file mode 100644 index 34f2ae2d0..000000000 --- a/recipes-dpaa2/restool/files/disable-manpage-generation.patch +++ /dev/null | |||
| @@ -1,26 +0,0 @@ | |||
| 1 | From 5392152e704ff001c41de03445d668227237a87e Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Ting Liu <ting.liu@nxp.com> | ||
| 3 | Date: Fri, 15 Oct 2021 09:36:04 +0530 | ||
| 4 | Subject: [PATCH] disable manpage generation | ||
| 5 | |||
| 6 | Upstream-Status: Inappropriate [Cross-compile specific] | ||
| 7 | Signed-off-by: Ting Liu <ting.liu@nxp.com> | ||
| 8 | --- | ||
| 9 | Makefile | 1 - | ||
| 10 | 1 file changed, 1 deletion(-) | ||
| 11 | |||
| 12 | diff --git a/Makefile b/Makefile | ||
| 13 | index ee669ae..ab6e499 100644 | ||
| 14 | --- a/Makefile | ||
| 15 | +++ b/Makefile | ||
| 16 | @@ -60,7 +60,6 @@ install: restool scripts/ls-main scripts/ls-append-dpl scripts/ls-debug scripts/ | ||
| 17 | install -D -m 755 scripts/ls-debug $(DESTDIR)$(bindir)/ls-debug | ||
| 18 | $(foreach symlink, $(RESTOOL_SCRIPT_SYMLINKS), sh -c "cd $(DESTDIR)$(bindir) && ln -sf ls-main $(symlink)" ;) | ||
| 19 | install -D -m 755 scripts/restool_completion.sh $(DESTDIR)$(bindir_completion)/restool | ||
| 20 | - install -m 0644 -D $(MANPAGE) $(call get_manpage_destination,$(MANPAGE)) | ||
| 21 | |||
| 22 | clean: | ||
| 23 | rm -f $(OBJ) $(MANPAGE) \ | ||
| 24 | -- | ||
| 25 | 2.25.1 | ||
| 26 | |||
diff --git a/recipes-dpaa2/restool/restool_git.bb b/recipes-dpaa2/restool/restool_git.bb index d9e3b630f..596625ece 100644 --- a/recipes-dpaa2/restool/restool_git.bb +++ b/recipes-dpaa2/restool/restool_git.bb | |||
| @@ -2,12 +2,8 @@ SUMMARY = "DPAA2 Resource Manager Tool" | |||
| 2 | LICENSE = "BSD-3-Clause | GPL-2.0-or-later" | 2 | 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 | file://disable-manpage-generation.patch \ | 6 | SRCREV = "8f73f2600111440d034227966d6ff03ec47d8f1a" |
| 7 | " | ||
| 8 | SRCREV = "8c45e04363bf2a984a87b24d1dac80a286dd40d8" | ||
| 9 | |||
| 10 | S = "${WORKDIR}/git" | ||
| 11 | 7 | ||
| 12 | inherit bash-completion | 8 | inherit bash-completion |
| 13 | 9 | ||
diff --git a/recipes-dpaa2/spc/spc_git.bb b/recipes-dpaa2/spc/spc_git.bb index c54484be3..93630a20c 100644 --- a/recipes-dpaa2/spc/spc_git.bb +++ b/recipes-dpaa2/spc/spc_git.bb | |||
| @@ -7,8 +7,6 @@ DEPENDS = "libxml2 fmlib tclap" | |||
| 7 | SRC_URI = "git://github.com/nxp-qoriq/spc;protocol=https;nobranch=1" | 7 | SRC_URI = "git://github.com/nxp-qoriq/spc;protocol=https;nobranch=1" |
| 8 | SRCREV = "b8d69580e5c6aeeb9f1354ee2faed6e0134eaef4" | 8 | SRCREV = "b8d69580e5c6aeeb9f1354ee2faed6e0134eaef4" |
| 9 | 9 | ||
| 10 | S = "${WORKDIR}/git" | ||
| 11 | |||
| 12 | EXTRA_OEMAKE = 'FMD_USPACE_HEADER_PATH="${STAGING_INCDIR}/fmd" \ | 10 | EXTRA_OEMAKE = 'FMD_USPACE_HEADER_PATH="${STAGING_INCDIR}/fmd" \ |
| 13 | FMD_USPACE_LIB_PATH="${STAGING_LIBDIR}" LIBXML2_HEADER_PATH="${STAGING_INCDIR}/libxml2" \ | 11 | FMD_USPACE_LIB_PATH="${STAGING_LIBDIR}" LIBXML2_HEADER_PATH="${STAGING_INCDIR}/libxml2" \ |
| 14 | TCLAP_HEADER_PATH="${STAGING_INCDIR}" ' | 12 | TCLAP_HEADER_PATH="${STAGING_INCDIR}" ' |
diff --git a/recipes-extended/crconf/crconf_git.bb b/recipes-extended/crconf/crconf_git.bb index 755365d6d..ed76351e1 100644 --- a/recipes-extended/crconf/crconf_git.bb +++ b/recipes-extended/crconf/crconf_git.bb | |||
| @@ -8,8 +8,6 @@ EXTRA_OEMAKE = "'CC=${CC}' 'HOSTCC=${CC}' SBINDIR='${sbindir}' MANDIR='${mandir} | |||
| 8 | SRC_URI = "git://git.code.sf.net/p/crconf/code;protocol=https;nobranch=1" | 8 | SRC_URI = "git://git.code.sf.net/p/crconf/code;protocol=https;nobranch=1" |
| 9 | SRCREV = "c2b9595d739a9515a86ff3b1980b5cfdfcc42d68" | 9 | SRCREV = "c2b9595d739a9515a86ff3b1980b5cfdfcc42d68" |
| 10 | 10 | ||
| 11 | S = "${WORKDIR}/git" | ||
| 12 | |||
| 13 | do_install () { | 11 | do_install () { |
| 14 | oe_runmake install DESTDIR=${D} | 12 | oe_runmake install DESTDIR=${D} |
| 15 | } | 13 | } |
diff --git a/recipes-extended/dpdk/dpdk-20.11.inc b/recipes-extended/dpdk/dpdk-20.11.inc index 90b4c405a..66bcda2ff 100644 --- a/recipes-extended/dpdk/dpdk-20.11.inc +++ b/recipes-extended/dpdk/dpdk-20.11.inc | |||
| @@ -8,8 +8,6 @@ LIC_FILES_CHKSUM = "file://license/gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4 | |||
| 8 | SRC_URI = "git://github.com/nxp-qoriq/dpdk;protocol=https;nobranch=1" | 8 | SRC_URI = "git://github.com/nxp-qoriq/dpdk;protocol=https;nobranch=1" |
| 9 | SRCREV = "f74b8bd5ab1c6ff76e956fc202a56aea2d200270" | 9 | SRCREV = "f74b8bd5ab1c6ff76e956fc202a56aea2d200270" |
| 10 | 10 | ||
| 11 | S = "${WORKDIR}/git" | ||
| 12 | |||
| 13 | COMPATIBLE_MACHINE = "(qoriq-arm64)" | 11 | COMPATIBLE_MACHINE = "(qoriq-arm64)" |
| 14 | 12 | ||
| 15 | CVE_PRODUCT = "data_plane_development_kit" | 13 | CVE_PRODUCT = "data_plane_development_kit" |
diff --git a/recipes-extended/dpdk/dpdk.inc b/recipes-extended/dpdk/dpdk.inc index f2ab1370a..eabd18650 100644 --- a/recipes-extended/dpdk/dpdk.inc +++ b/recipes-extended/dpdk/dpdk.inc | |||
| @@ -26,8 +26,6 @@ export RTE_TARGET = "${DPDK_RTE_TARGET}" | |||
| 26 | export RTE_OUTPUT = "${S}/${RTE_TARGET}" | 26 | export RTE_OUTPUT = "${S}/${RTE_TARGET}" |
| 27 | export MODULE_DIR = "${nonarch_base_libdir}/modules/${KERNEL_VERSION}/kernel/drivers/net" | 27 | export MODULE_DIR = "${nonarch_base_libdir}/modules/${KERNEL_VERSION}/kernel/drivers/net" |
| 28 | 28 | ||
| 29 | S = "${WORKDIR}/git" | ||
| 30 | |||
| 31 | EXTRA_OEMAKE += 'ETHTOOL_LIB_PATH="${S}/examples/ethtool/lib/${RTE_TARGET}" RTE_SDK="${S}" \ | 29 | EXTRA_OEMAKE += 'ETHTOOL_LIB_PATH="${S}/examples/ethtool/lib/${RTE_TARGET}" RTE_SDK="${S}" \ |
| 32 | OPENSSL_PATH="${STAGING_DIR_HOST}" RTE_KERNELDIR="${STAGING_KERNEL_DIR}" \ | 30 | OPENSSL_PATH="${STAGING_DIR_HOST}" RTE_KERNELDIR="${STAGING_KERNEL_DIR}" \ |
| 33 | RTE_KERNELDIR_OUT="${STAGING_KERNEL_BUILDDIR}" EXAMPLES_BUILD_DIR="${RTE_TARGET}" \ | 31 | RTE_KERNELDIR_OUT="${STAGING_KERNEL_BUILDDIR}" EXAMPLES_BUILD_DIR="${RTE_TARGET}" \ |
diff --git a/recipes-extended/jailhouse/files/0001-YOCIMX-9281-1-Fix-gcc15-errors.patch b/recipes-extended/jailhouse/files/0001-YOCIMX-9281-1-Fix-gcc15-errors.patch new file mode 100644 index 000000000..c1e3eaa25 --- /dev/null +++ b/recipes-extended/jailhouse/files/0001-YOCIMX-9281-1-Fix-gcc15-errors.patch | |||
| @@ -0,0 +1,113 @@ | |||
| 1 | From 2be7793ca658015470fe0d60c0c973e12ce68d73 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Tom Hochstein <tom.hochstein@nxp.com> | ||
| 3 | Date: Thu, 12 Jun 2025 06:49:58 -0700 | ||
| 4 | Subject: [PATCH 1/2] YOCIMX-9281-1: Fix gcc15 errors | ||
| 5 | |||
| 6 | Fix several instances of the following errors: | ||
| 7 | |||
| 8 | ``` | ||
| 9 | | inmates/lib/include/inmate_common.h:87:16: error: cannot use keyword 'true' as enumeration constant | ||
| 10 | | 87 | typedef enum { true = 1, false = 0 } bool; | ||
| 11 | | | ^~~~ | ||
| 12 | ``` | ||
| 13 | |||
| 14 | ``` | ||
| 15 | | In file included from configs/arm64/hikey.c:16: | ||
| 16 | | include/jailhouse/cell-config.h:318:41: error: initializer-string for array of 'char' truncates NUL terminator but destination lacks 'nonstring' attribute (6 chars into 5 available) [-Werror=unterminated-string-initialization] | ||
| 17 | | 318 | #define JAILHOUSE_SYSTEM_SIGNATURE "JHSYS" | ||
| 18 | | | ^~~~~~~ | ||
| 19 | | configs/arm64/hikey.c:26:30: note: in expansion of macro 'JAILHOUSE_SYSTEM_SIGNATURE' | ||
| 20 | | 26 | .signature = JAILHOUSE_SYSTEM_SIGNATURE, | ||
| 21 | | | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
| 22 | ``` | ||
| 23 | |||
| 24 | Upstream-Status: Backport [Pending] | ||
| 25 | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> | ||
| 26 | Signed-off-by: Peng Fan <peng.fan@nxp.com> | ||
| 27 | --- | ||
| 28 | hypervisor/include/jailhouse/header.h | 2 +- | ||
| 29 | hypervisor/include/jailhouse/types.h | 2 ++ | ||
| 30 | include/jailhouse/cell-config.h | 4 ++-- | ||
| 31 | include/jailhouse/hypercall.h | 2 +- | ||
| 32 | inmates/lib/include/inmate_common.h | 2 ++ | ||
| 33 | 5 files changed, 8 insertions(+), 4 deletions(-) | ||
| 34 | |||
| 35 | diff --git a/hypervisor/include/jailhouse/header.h b/hypervisor/include/jailhouse/header.h | ||
| 36 | index 518bc5cb..324eb94b 100644 | ||
| 37 | --- a/hypervisor/include/jailhouse/header.h | ||
| 38 | +++ b/hypervisor/include/jailhouse/header.h | ||
| 39 | @@ -55,7 +55,7 @@ struct jailhouse_header { | ||
| 40 | /** Signature "JAILHOUS" used for basic validity check of the | ||
| 41 | * hypervisor image. | ||
| 42 | * @note Filled at build time. */ | ||
| 43 | - char signature[8]; | ||
| 44 | + char signature[8] __attribute__ ((nonstring)); | ||
| 45 | /** Size of hypervisor core. | ||
| 46 | * It starts with the hypervisor's header and ends after its bss | ||
| 47 | * section. Rounded up to page boundary. | ||
| 48 | diff --git a/hypervisor/include/jailhouse/types.h b/hypervisor/include/jailhouse/types.h | ||
| 49 | index 6d78ad6d..f79d7428 100644 | ||
| 50 | --- a/hypervisor/include/jailhouse/types.h | ||
| 51 | +++ b/hypervisor/include/jailhouse/types.h | ||
| 52 | @@ -19,7 +19,9 @@ | ||
| 53 | |||
| 54 | #ifndef __ASSEMBLY__ | ||
| 55 | |||
| 56 | +#if __GNUC__ < 15 | ||
| 57 | typedef enum { true = 1, false = 0 } bool; | ||
| 58 | +#endif | ||
| 59 | |||
| 60 | /** Describes a CPU set. */ | ||
| 61 | struct cpu_set { | ||
| 62 | diff --git a/include/jailhouse/cell-config.h b/include/jailhouse/cell-config.h | ||
| 63 | index 17d59306..affce1c2 100644 | ||
| 64 | --- a/include/jailhouse/cell-config.h | ||
| 65 | +++ b/include/jailhouse/cell-config.h | ||
| 66 | @@ -91,7 +91,7 @@ | ||
| 67 | * structure. | ||
| 68 | */ | ||
| 69 | struct jailhouse_cell_desc { | ||
| 70 | - char signature[5]; | ||
| 71 | + char signature[5] __attribute__ ((nonstring)); | ||
| 72 | __u8 architecture; | ||
| 73 | __u16 revision; | ||
| 74 | |||
| 75 | @@ -330,7 +330,7 @@ struct jailhouse_pio { | ||
| 76 | * General descriptor of the system. | ||
| 77 | */ | ||
| 78 | struct jailhouse_system { | ||
| 79 | - char signature[5]; | ||
| 80 | + char signature[5] __attribute__ ((nonstring)); | ||
| 81 | __u8 architecture; | ||
| 82 | __u16 revision; | ||
| 83 | |||
| 84 | diff --git a/include/jailhouse/hypercall.h b/include/jailhouse/hypercall.h | ||
| 85 | index 07574d3d..cf58a4c9 100644 | ||
| 86 | --- a/include/jailhouse/hypercall.h | ||
| 87 | +++ b/include/jailhouse/hypercall.h | ||
| 88 | @@ -107,7 +107,7 @@ | ||
| 89 | |||
| 90 | #define COMM_REGION_GENERIC_HEADER \ | ||
| 91 | /** Communication region magic JHCOMM */ \ | ||
| 92 | - char signature[6]; \ | ||
| 93 | + char signature[6] __attribute__ ((nonstring)); \ | ||
| 94 | /** Communication region ABI revision */ \ | ||
| 95 | __u16 revision; \ | ||
| 96 | /** Cell state, initialized by hypervisor, updated by cell. */ \ | ||
| 97 | diff --git a/inmates/lib/include/inmate_common.h b/inmates/lib/include/inmate_common.h | ||
| 98 | index 1c20a0af..43cd7a20 100644 | ||
| 99 | --- a/inmates/lib/include/inmate_common.h | ||
| 100 | +++ b/inmates/lib/include/inmate_common.h | ||
| 101 | @@ -84,7 +84,9 @@ typedef u32 __u32; | ||
| 102 | typedef s64 __s64; | ||
| 103 | typedef u64 __u64; | ||
| 104 | |||
| 105 | +#if __GNUC__ < 15 | ||
| 106 | typedef enum { true = 1, false = 0 } bool; | ||
| 107 | +#endif | ||
| 108 | |||
| 109 | #include <jailhouse/hypercall.h> | ||
| 110 | |||
| 111 | -- | ||
| 112 | 2.34.1 | ||
| 113 | |||
diff --git a/recipes-extended/jailhouse/files/0002-YOCIMX-9281-2-hypervisor-arm64-fix-strh-usage.patch b/recipes-extended/jailhouse/files/0002-YOCIMX-9281-2-hypervisor-arm64-fix-strh-usage.patch new file mode 100644 index 000000000..4c8fefa36 --- /dev/null +++ b/recipes-extended/jailhouse/files/0002-YOCIMX-9281-2-hypervisor-arm64-fix-strh-usage.patch | |||
| @@ -0,0 +1,34 @@ | |||
| 1 | From 98f6f8dc23d6b3d4fe5b15045ccb3d3ef36747be Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Peng Fan <peng.fan@nxp.com> | ||
| 3 | Date: Mon, 25 Aug 2025 09:48:05 +0800 | ||
| 4 | Subject: [PATCH 2/2] YOCIMX-9281-2: hypervisor: arm64: fix strh usage | ||
| 5 | |||
| 6 | hypervisor/arch/arm64/entry.S:555: Error: immediate offset out of range | ||
| 7 | |||
| 8 | Per ARM spec: | ||
| 9 | STRH (immediate) | ||
| 10 | <pimm> Is the optional positive immediate byte offset, a multiple of 2 in | ||
| 11 | the range 0 to 8190, defaulting to 0 and encoded in the "imm12" field | ||
| 12 | as <pimm>/2. | ||
| 13 | |||
| 14 | So align sdei_event to 2 bytes aligned. | ||
| 15 | |||
| 16 | Upstream-Status: Pending | ||
| 17 | Signed-off-by: Peng Fan <peng.fan@nxp.com> | ||
| 18 | --- | ||
| 19 | hypervisor/arch/arm64/include/asm/percpu_fields.h | 2 +- | ||
| 20 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 21 | |||
| 22 | diff --git a/hypervisor/arch/arm64/include/asm/percpu_fields.h b/hypervisor/arch/arm64/include/asm/percpu_fields.h | ||
| 23 | index 32f42a53..844a9417 100644 | ||
| 24 | --- a/hypervisor/arch/arm64/include/asm/percpu_fields.h | ||
| 25 | +++ b/hypervisor/arch/arm64/include/asm/percpu_fields.h | ||
| 26 | @@ -18,4 +18,4 @@ | ||
| 27 | bool suspended; \ | ||
| 28 | bool suspending; \ | ||
| 29 | bool resuming; \ | ||
| 30 | - bool sdei_event; | ||
| 31 | + bool sdei_event __attribute__((aligned(2))); | ||
| 32 | -- | ||
| 33 | 2.34.1 | ||
| 34 | |||
diff --git a/recipes-extended/jailhouse/jailhouse-imx_git.bb b/recipes-extended/jailhouse/jailhouse-imx_git.bb index 2d0f2ff5c..4bcb597e7 100644 --- a/recipes-extended/jailhouse/jailhouse-imx_git.bb +++ b/recipes-extended/jailhouse/jailhouse-imx_git.bb | |||
| @@ -16,12 +16,16 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=9fa7f895f96bde2d47fd5b7d95b6ba4d \ | |||
| 16 | PROVIDES = "jailhouse" | 16 | PROVIDES = "jailhouse" |
| 17 | RPROVIDES:${PN} += "jailhouse" | 17 | RPROVIDES:${PN} += "jailhouse" |
| 18 | 18 | ||
| 19 | SRCBRANCH = "lf-6.6.52_2.2.0" | 19 | SRCBRANCH = "lf-6.12.20_2.0.0" |
| 20 | SRCREV = "44dd492a745cd8b8313fb6c7c03fb45a36d70e8a" | 20 | SRCREV = "399d65450e9a377b4aaff4b0627619174e1c8c46" |
| 21 | |||
| 22 | PV = "2023.03+git${SRCPV}" | ||
| 21 | 23 | ||
| 22 | IMX_JAILHOUSE_SRC ?= "git://github.com/nxp-imx/imx-jailhouse.git;protocol=https" | 24 | IMX_JAILHOUSE_SRC ?= "git://github.com/nxp-imx/imx-jailhouse.git;protocol=https" |
| 23 | SRC_URI = "${IMX_JAILHOUSE_SRC};branch=${SRCBRANCH} \ | 25 | SRC_URI = "${IMX_JAILHOUSE_SRC};branch=${SRCBRANCH} \ |
| 24 | file://arm-arm64-Makefile-Remove-march-option-from-Makefile.patch \ | 26 | file://arm-arm64-Makefile-Remove-march-option-from-Makefile.patch \ |
| 27 | file://0001-YOCIMX-9281-1-Fix-gcc15-errors.patch \ | ||
| 28 | file://0002-YOCIMX-9281-2-hypervisor-arm64-fix-strh-usage.patch \ | ||
| 25 | " | 29 | " |
| 26 | 30 | ||
| 27 | DEPENDS = " \ | 31 | DEPENDS = " \ |
| @@ -33,7 +37,6 @@ DEPENDS = " \ | |||
| 33 | 37 | ||
| 34 | inherit module bash-completion deploy setuptools3 | 38 | inherit module bash-completion deploy setuptools3 |
| 35 | 39 | ||
| 36 | S = "${WORKDIR}/git" | ||
| 37 | B = "${S}" | 40 | B = "${S}" |
| 38 | 41 | ||
| 39 | JH_ARCH = "arm64" | 42 | JH_ARCH = "arm64" |
| @@ -107,6 +110,12 @@ RDEPENDS:pyjailhouse = " \ | |||
| 107 | python3-shell \ | 110 | python3-shell \ |
| 108 | " | 111 | " |
| 109 | 112 | ||
| 110 | INSANE_SKIP:${PN} = "ldflags" | 113 | INSANE_SKIP:${PN} = "ldflags buildpaths" |
| 114 | INSANE_SKIP:${PN}-dbg = "buildpaths" | ||
| 115 | |||
| 116 | # The QA error in package kernel-module-${KERNEL_VERSION} cannot be skipped with | ||
| 117 | # INSANE_SKIP, so adjust at the ERROR_QA level | ||
| 118 | ERROR_QA:remove = "buildpaths" | ||
| 119 | INSANE_SKIP:kernel-module-${KERNEL_VERSION} = "buildpaths" | ||
| 111 | 120 | ||
| 112 | COMPATIBLE_MACHINE = "(mx8m-nxp-bsp|mx8ulp-nxp-bsp|mx9-nxp-bsp)" | 121 | COMPATIBLE_MACHINE = "(mx8m-nxp-bsp|mx8ulp-nxp-bsp|mx9-nxp-bsp)" |
diff --git a/recipes-extended/libpkcs11/libpkcs11_git.bb b/recipes-extended/libpkcs11/libpkcs11_git.bb index ca9f87ee8..347a8ef9a 100644 --- a/recipes-extended/libpkcs11/libpkcs11_git.bb +++ b/recipes-extended/libpkcs11/libpkcs11_git.bb | |||
| @@ -9,8 +9,6 @@ SRCREV = "8d85182b7a7cd393ab6dd72930f8d1b69468f741" | |||
| 9 | 9 | ||
| 10 | DEPENDS = "openssl secure-obj" | 10 | DEPENDS = "openssl secure-obj" |
| 11 | 11 | ||
| 12 | S = "${WORKDIR}/git" | ||
| 13 | |||
| 14 | WRAP_TARGET_PREFIX ?= "${TARGET_PREFIX}" | 12 | WRAP_TARGET_PREFIX ?= "${TARGET_PREFIX}" |
| 15 | export CROSS_COMPILE_HOST = "${CROSS_COMPILE}" | 13 | export CROSS_COMPILE_HOST = "${CROSS_COMPILE}" |
| 16 | export CROSS_COMPILE_TA = "${CROSS_COMPILE}" | 14 | export CROSS_COMPILE_TA = "${CROSS_COMPILE}" |
diff --git a/recipes-extended/odp/odp.inc b/recipes-extended/odp/odp.inc index 0c90d0c57..412667f01 100644 --- a/recipes-extended/odp/odp.inc +++ b/recipes-extended/odp/odp.inc | |||
| @@ -10,8 +10,8 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/odp:" | |||
| 10 | 10 | ||
| 11 | SRC_URI = " \ | 11 | SRC_URI = " \ |
| 12 | git://github.com/nxp-qoriq/odp;protocol=https;nobranch=1 \ | 12 | git://github.com/nxp-qoriq/odp;protocol=https;nobranch=1 \ |
| 13 | git://github.com/nxp-qoriq/qbman_userspace;protocol=https;nobranch=1;name=qbman;destsuffix=git/platform/linux-dpaa2/flib/qbman \ | 13 | git://github.com/nxp-qoriq/qbman_userspace;protocol=https;nobranch=1;name=qbman;destsuffix=${S}/platform/linux-dpaa2/flib/qbman \ |
| 14 | git://github.com/nxp-qoriq/flib;protocol=https;nobranch=1;name=rta;destsuffix=git/platform/linux-dpaa2/flib/rta \ | 14 | git://github.com/nxp-qoriq/flib;protocol=https;nobranch=1;name=rta;destsuffix=${S}/platform/linux-dpaa2/flib/rta \ |
| 15 | " | 15 | " |
| 16 | 16 | ||
| 17 | SRC_URI += "file://0001-Fix-this-build-error.patch" | 17 | SRC_URI += "file://0001-Fix-this-build-error.patch" |
| @@ -22,6 +22,5 @@ SRCREV_qbman = "75ff61a7ca6acdbdbb780161b053cbcbc990f1be" | |||
| 22 | SRCREV_rta = "bbab28b03ae21c52ce913f8b052acf53bd24ff5d" | 22 | SRCREV_rta = "bbab28b03ae21c52ce913f8b052acf53bd24ff5d" |
| 23 | 23 | ||
| 24 | SRCREV_FORMAT = "default_qbman_rta" | 24 | SRCREV_FORMAT = "default_qbman_rta" |
| 25 | S = "${WORKDIR}/git" | ||
| 26 | 25 | ||
| 27 | COMPATIBLE_MACHINE = "(ls1043a|ls1046a|ls2088a|ls1088a)" | 26 | COMPATIBLE_MACHINE = "(ls1043a|ls1046a|ls2088a|ls1088a)" |
diff --git a/recipes-extended/ofp/ofp_git.bb b/recipes-extended/ofp/ofp_git.bb index 47e543154..0f90dc5bb 100644 --- a/recipes-extended/ofp/ofp_git.bb +++ b/recipes-extended/ofp/ofp_git.bb | |||
| @@ -10,8 +10,6 @@ SRC_URI = "git://github.com/nxp-qoriq/ofp;protocol=https;nobranch=1" | |||
| 10 | 10 | ||
| 11 | SRCREV = "fe66f4659f7d356f7aa73a8fb32fcf67c6cf1108" | 11 | SRCREV = "fe66f4659f7d356f7aa73a8fb32fcf67c6cf1108" |
| 12 | 12 | ||
| 13 | S = "${WORKDIR}/git" | ||
| 14 | |||
| 15 | inherit autotools-brokensep pkgconfig | 13 | inherit autotools-brokensep pkgconfig |
| 16 | 14 | ||
| 17 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 15 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
diff --git a/recipes-extended/ovs-dpdk/ovs-dpdk_2.15.bb b/recipes-extended/ovs-dpdk/ovs-dpdk_2.15.bb index 20d06dd61..a21bc69cf 100644 --- a/recipes-extended/ovs-dpdk/ovs-dpdk_2.15.bb +++ b/recipes-extended/ovs-dpdk/ovs-dpdk_2.15.bb | |||
| @@ -10,8 +10,6 @@ inherit python3native pkgconfig | |||
| 10 | SRC_URI = "git://github.com/nxp-qoriq/ovs-dpdk;protocol=https;nobranch=1" | 10 | SRC_URI = "git://github.com/nxp-qoriq/ovs-dpdk;protocol=https;nobranch=1" |
| 11 | SRCREV = "f2c0744d2f68c4cd2840d6e409d7b0520e4caf99" | 11 | SRCREV = "f2c0744d2f68c4cd2840d6e409d7b0520e4caf99" |
| 12 | 12 | ||
| 13 | S = "${WORKDIR}/git" | ||
| 14 | |||
| 15 | do_configure() { | 13 | do_configure() { |
| 16 | export SYSROOT_DPDK=${PKG_CONFIG_SYSROOT_DIR} | 14 | export SYSROOT_DPDK=${PKG_CONFIG_SYSROOT_DIR} |
| 17 | ${S}/boot.sh | 15 | ${S}/boot.sh |
diff --git a/recipes-extended/pktgen-dpdk/pktgen-dpdk_21.05.0.bb b/recipes-extended/pktgen-dpdk/pktgen-dpdk_21.05.0.bb index f04e1e9f5..485f763bf 100644 --- a/recipes-extended/pktgen-dpdk/pktgen-dpdk_21.05.0.bb +++ b/recipes-extended/pktgen-dpdk/pktgen-dpdk_21.05.0.bb | |||
| @@ -9,8 +9,6 @@ SRC_URI = "git://dpdk.org/git/apps/pktgen-dpdk;protocol=https;nobranch=1 \ | |||
| 9 | " | 9 | " |
| 10 | SRCREV = "3a09aa916597fb9a97ee8eec50044cbdb9c4abde" | 10 | SRCREV = "3a09aa916597fb9a97ee8eec50044cbdb9c4abde" |
| 11 | 11 | ||
| 12 | S = "${WORKDIR}/git" | ||
| 13 | |||
| 14 | DPAA_VER ?= "dpaa" | 12 | DPAA_VER ?= "dpaa" |
| 15 | export RTE_TARGET = "arm64-${DPAA_VER}-linuxapp-gcc" | 13 | export RTE_TARGET = "arm64-${DPAA_VER}-linuxapp-gcc" |
| 16 | export RTE_SDK = "${RECIPE_SYSROOT}/usr/share/dpdk" | 14 | export RTE_SDK = "${RECIPE_SYSROOT}/usr/share/dpdk" |
diff --git a/recipes-extended/secure-obj/secure-obj-module_git.bb b/recipes-extended/secure-obj/secure-obj-module_git.bb index 1e5709b6d..c6bbc41df 100644 --- a/recipes-extended/secure-obj/secure-obj-module_git.bb +++ b/recipes-extended/secure-obj/secure-obj-module_git.bb | |||
| @@ -6,6 +6,6 @@ DEPENDS += "virtual/kernel" | |||
| 6 | 6 | ||
| 7 | inherit module | 7 | inherit module |
| 8 | 8 | ||
| 9 | S = "${WORKDIR}/git/securekeydev" | 9 | S = "${UNPACKDIR}/${BP}/securekeydev" |
| 10 | 10 | ||
| 11 | EXTRA_OEMAKE += 'KERNEL_SRC="${STAGING_KERNEL_DIR}"' | 11 | EXTRA_OEMAKE += 'KERNEL_SRC="${STAGING_KERNEL_DIR}"' |
diff --git a/recipes-extended/secure-obj/secure-obj_git.bb b/recipes-extended/secure-obj/secure-obj_git.bb index 64f59f474..4d197f57c 100644 --- a/recipes-extended/secure-obj/secure-obj_git.bb +++ b/recipes-extended/secure-obj/secure-obj_git.bb | |||
| @@ -2,8 +2,6 @@ require secure-obj.inc | |||
| 2 | 2 | ||
| 3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=751419260aa954499f7abaabaa882bbe" | 3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=751419260aa954499f7abaabaa882bbe" |
| 4 | 4 | ||
| 5 | S = "${WORKDIR}/git" | ||
| 6 | |||
| 7 | DEPENDS:remove = " python3-pycryptodomex-native" | 5 | DEPENDS:remove = " python3-pycryptodomex-native" |
| 8 | DEPENDS:append = " python3-cryptography-native optee-os-qoriq-tadevkit" | 6 | DEPENDS:append = " python3-cryptography-native optee-os-qoriq-tadevkit" |
| 9 | RDEPENDS:{PN} += "secure-obj-module" | 7 | RDEPENDS:{PN} += "secure-obj-module" |
diff --git a/recipes-extended/skmm-ep/skmm-ep_git.bb b/recipes-extended/skmm-ep/skmm-ep_git.bb index c08c94923..72638766c 100644 --- a/recipes-extended/skmm-ep/skmm-ep_git.bb +++ b/recipes-extended/skmm-ep/skmm-ep_git.bb | |||
| @@ -12,8 +12,6 @@ SRC_URI = "git://github.com/nxp-qoriq-yocto-sdk/skmm-ep;protocol=https;nobranch= | |||
| 12 | " | 12 | " |
| 13 | SRCREV = "de6816c7d66129683bc62229b482ac3cf585d896" | 13 | SRCREV = "de6816c7d66129683bc62229b482ac3cf585d896" |
| 14 | 14 | ||
| 15 | S = "${WORKDIR}/git" | ||
| 16 | |||
| 17 | EXTRA_OEMAKE = 'ARCH=${TARGET_ARCH} MACHINE=${MACHINE} EXTRA_LDFLAGS="${LDFLAGS}"' | 15 | EXTRA_OEMAKE = 'ARCH=${TARGET_ARCH} MACHINE=${MACHINE} EXTRA_LDFLAGS="${LDFLAGS}"' |
| 18 | 16 | ||
| 19 | export LIBEDIT_CFLAGS = "`pkg-config --cflags libedit`" | 17 | export LIBEDIT_CFLAGS = "`pkg-config --cflags libedit`" |
diff --git a/recipes-extended/testfloat/testfloat_2a.bb b/recipes-extended/testfloat/testfloat_2a.bb index c5ea96a58..45e9365da 100644 --- a/recipes-extended/testfloat/testfloat_2a.bb +++ b/recipes-extended/testfloat/testfloat_2a.bb | |||
| @@ -13,7 +13,7 @@ SRC_URI:append:qoriq-ppc = " file://SoftFloat-powerpc-1.patch \ | |||
| 13 | SRC_URI[TestFloat.sha256sum] = "84d14aa42adefbda2ec9708b42946f7fa59f93689b042684bd027863481f8e4e" | 13 | SRC_URI[TestFloat.sha256sum] = "84d14aa42adefbda2ec9708b42946f7fa59f93689b042684bd027863481f8e4e" |
| 14 | SRC_URI[SoftFloat.sha256sum] = "89d14b55113a2ba8cbda7011443ba1d298d381c89d939515d56c5f18f2febf81" | 14 | SRC_URI[SoftFloat.sha256sum] = "89d14b55113a2ba8cbda7011443ba1d298d381c89d939515d56c5f18f2febf81" |
| 15 | 15 | ||
| 16 | S = "${WORKDIR}/TestFloat-2a" | 16 | S = "${UNPACKDIR}/TestFloat-2a" |
| 17 | 17 | ||
| 18 | do_unpack2(){ | 18 | do_unpack2(){ |
| 19 | mv ${UNPACKDIR}/SoftFloat-2b ${S}/SoftFloat-2b | 19 | mv ${UNPACKDIR}/SoftFloat-2b ${S}/SoftFloat-2b |
diff --git a/recipes-extended/tsntool/tsntool_git.bb b/recipes-extended/tsntool/tsntool_git.bb index 2ad4a0c49..f70e64e2b 100644 --- a/recipes-extended/tsntool/tsntool_git.bb +++ b/recipes-extended/tsntool/tsntool_git.bb | |||
| @@ -16,8 +16,6 @@ SRC_URI:append = " \ | |||
| 16 | file://0001-tsntool-remove-redundant-parameters-from-BIN_LDFLAGS.patch \ | 16 | file://0001-tsntool-remove-redundant-parameters-from-BIN_LDFLAGS.patch \ |
| 17 | " | 17 | " |
| 18 | 18 | ||
| 19 | S = "${WORKDIR}/git" | ||
| 20 | |||
| 21 | do_configure[depends] += "virtual/kernel:do_shared_workdir" | 19 | do_configure[depends] += "virtual/kernel:do_shared_workdir" |
| 22 | 20 | ||
| 23 | do_compile:prepend() { | 21 | do_compile:prepend() { |
diff --git a/recipes-fsl/mcore-demos/README b/recipes-fsl/mcore-demos/README index addd1c376..389e46bba 100644 --- a/recipes-fsl/mcore-demos/README +++ b/recipes-fsl/mcore-demos/README | |||
| @@ -1,11 +1,13 @@ | |||
| 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, 8MQ, 8MM | 2 | * 2.16.000 -- i.MX 7ULP |
| 3 | * 25.03.00 -- i.MX 8MQ, 8MM | ||
| 3 | * 2.9.0 -- i.MX 8DXL, 8QM, 8QXP | 4 | * 2.9.0 -- i.MX 8DXL, 8QM, 8QXP |
| 4 | * 1.0.1 -- i.MX 7D | 5 | * 1.0.1 -- i.MX 7D |
| 5 | 6 | ||
| 6 | The M7 demo app version of each SoCs are followed: | 7 | The M7 demo app version of each SoCs are followed: |
| 7 | * 2.16.000 -- i.MX 8MP , 8MNULite, 8MN | 8 | * 25.03.00 -- i.MX 8MP , 8MNULite, 8MN |
| 8 | * 24.12.00 -- i.MX95 | 9 | * 25.06.00 -- i.MX95 |
| 9 | 10 | ||
| 10 | The M33 demo app version of each SoCs are followed: | 11 | The M33 demo app version of each SoCs are followed: |
| 11 | * 2.16.000 -- i.MX 8ULP, i.MX 93 | 12 | * 25.03.00 -- i.MX 8ULP |
| 13 | * 25.06.00 -- i.MX 93 | ||
diff --git a/recipes-fsl/mcore-demos/imx-m33-demos_2.16.000.bb b/recipes-fsl/mcore-demos/imx-m33-demos_2.16.000.bb deleted file mode 100644 index e1d303e3d..000000000 --- a/recipes-fsl/mcore-demos/imx-m33-demos_2.16.000.bb +++ /dev/null | |||
| @@ -1,13 +0,0 @@ | |||
| 1 | # Copyright 2023-2024 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=10c0fda810c63b052409b15a5445671a" | ||
| 7 | LIC_FILES_CHKSUM:mx93-nxp-bsp = "file://COPYING;md5=10c0fda810c63b052409b15a5445671a" | ||
| 8 | |||
| 9 | SRC_URI[imx8ulp.sha256sum] = "2d1d48eb3f01d020917f42281581835a3c085233e9764ec845940c1e49ac317b" | ||
| 10 | |||
| 11 | SRC_URI[imx93.sha256sum] = "c954b9bc32cfdea9b696fa0b02f934812054e3ab445b5dd8eb7898d427e47526" | ||
| 12 | |||
| 13 | COMPATIBLE_MACHINE = "(mx8ulp-nxp-bsp|mx93-nxp-bsp)" | ||
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 new file mode 100644 index 000000000..3f4bdf04e --- /dev/null +++ b/recipes-fsl/mcore-demos/imx-m33-demos_25.03.00.bb | |||
| @@ -0,0 +1,11 @@ | |||
| 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 new file mode 100644 index 000000000..75add4585 --- /dev/null +++ b/recipes-fsl/mcore-demos/imx-m33-demos_25.06.00.bb | |||
| @@ -0,0 +1,11 @@ | |||
| 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-m4-demos_1.0.1.bb b/recipes-fsl/mcore-demos/imx-m4-demos_1.0.1.bb index 6791553bf..489e6f8a9 100644 --- a/recipes-fsl/mcore-demos/imx-m4-demos_1.0.1.bb +++ b/recipes-fsl/mcore-demos/imx-m4-demos_1.0.1.bb | |||
| @@ -6,7 +6,7 @@ require imx-mcore-demos.inc | |||
| 6 | LIC_FILES_CHKSUM:mx7d-nxp-bsp = "file://COPYING;md5=8cf95184c220e247b9917e7244124c5a" | 6 | LIC_FILES_CHKSUM:mx7d-nxp-bsp = "file://COPYING;md5=8cf95184c220e247b9917e7244124c5a" |
| 7 | 7 | ||
| 8 | SRC_URI = "${FSL_MIRROR}/${SOC}-m4-freertos-${PV}.bin;fsl-eula=true" | 8 | SRC_URI = "${FSL_MIRROR}/${SOC}-m4-freertos-${PV}.bin;fsl-eula=true" |
| 9 | S = "${WORKDIR}/${SOC}-m4-freertos-${PV}" | 9 | S = "${UNPACKDIR}/${SOC}-m4-freertos-${PV}" |
| 10 | 10 | ||
| 11 | SRC_URI[sha256sum] = "cc00d3b936d49b2794a2a99e10129437e70caba3fd26b8379b8c50dd22f73254" | 11 | SRC_URI[sha256sum] = "cc00d3b936d49b2794a2a99e10129437e70caba3fd26b8379b8c50dd22f73254" |
| 12 | 12 | ||
diff --git a/recipes-fsl/mcore-demos/imx-m4-demos_2.16.000.bb b/recipes-fsl/mcore-demos/imx-m4-demos_2.16.000.bb index 813b3025d..749433ca0 100644 --- a/recipes-fsl/mcore-demos/imx-m4-demos_2.16.000.bb +++ b/recipes-fsl/mcore-demos/imx-m4-demos_2.16.000.bb | |||
| @@ -4,13 +4,7 @@ | |||
| 4 | require imx-mcore-demos.inc | 4 | require imx-mcore-demos.inc |
| 5 | 5 | ||
| 6 | LIC_FILES_CHKSUM:mx7ulp-nxp-bsp = "file://COPYING;md5=10c0fda810c63b052409b15a5445671a" | 6 | LIC_FILES_CHKSUM:mx7ulp-nxp-bsp = "file://COPYING;md5=10c0fda810c63b052409b15a5445671a" |
| 7 | LIC_FILES_CHKSUM:mx8mm-nxp-bsp = "file://COPYING;md5=10c0fda810c63b052409b15a5445671a" | ||
| 8 | LIC_FILES_CHKSUM:mx8mq-nxp-bsp = "file://COPYING;md5=10c0fda810c63b052409b15a5445671a" | ||
| 9 | 7 | ||
| 10 | SRC_URI[imx7ulp.sha256sum] = "1fbb26f8e0a69a2e3925e07cf0cc4a13b13e3ff6321a2ba3dc39c454c82b398b" | 8 | SRC_URI[imx7ulp.sha256sum] = "1fbb26f8e0a69a2e3925e07cf0cc4a13b13e3ff6321a2ba3dc39c454c82b398b" |
| 11 | 9 | ||
| 12 | SRC_URI[imx8mm.sha256sum] = "a335b54b797c37be05c5b4e6aeabd02099f401de907186723361d1fc25ea3f24" | 10 | COMPATIBLE_MACHINE = "(mx7ulp-nxp-bsp)" |
| 13 | |||
| 14 | SRC_URI[imx8mq.sha256sum] = "09b7195ce553dae5808afcefaf6f76c79f7122ce4dd31fabd679b768607dea25" | ||
| 15 | |||
| 16 | COMPATIBLE_MACHINE = "(mx7ulp-nxp-bsp|mx8mm-nxp-bsp|mx8mq-nxp-bsp)" | ||
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 new file mode 100644 index 000000000..7c59ccfba --- /dev/null +++ b/recipes-fsl/mcore-demos/imx-m4-demos_25.03.00.bb | |||
| @@ -0,0 +1,13 @@ | |||
| 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-m7-demos_2.16.000.bb b/recipes-fsl/mcore-demos/imx-m7-demos_2.16.000.bb deleted file mode 100644 index 387d6527a..000000000 --- a/recipes-fsl/mcore-demos/imx-m7-demos_2.16.000.bb +++ /dev/null | |||
| @@ -1,22 +0,0 @@ | |||
| 1 | # Copyright 2023-2024 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:mx8mn-nxp-bsp = "file://COPYING;md5=10c0fda810c63b052409b15a5445671a" | ||
| 7 | LIC_FILES_CHKSUM:mx8mnul-nxp-bsp = "file://COPYING;md5=10c0fda810c63b052409b15a5445671a" | ||
| 8 | |||
| 9 | LIC_FILES_CHKSUM:mx8mp-nxp-bsp = "file://COPYING;md5=10c0fda810c63b052409b15a5445671a" | ||
| 10 | LIC_FILES_CHKSUM:mx8mpul-nxp-bsp = "file://COPYING;md5=10c0fda810c63b052409b15a5445671a" | ||
| 11 | |||
| 12 | LIC_FILES_CHKSUM:mx95-nxp-bsp = "file://COPYING;md5=10c0fda810c63b052409b15a5445671a" | ||
| 13 | |||
| 14 | SRC_URI[imx8mn.sha256sum] = "ab608d621c8d74f42514799a732414184bd22f058a8a87a0ab75147a0fd5d99c" | ||
| 15 | |||
| 16 | SRC_URI[imx8mnddr3l.sha256sum] = "9c9477db2581640395ec3bc7524f89c2c09ffd2947d9186959343a8cf764ad28" | ||
| 17 | |||
| 18 | SRC_URI[imx8mp.sha256sum] = "672af1e1d8fcc1ebd12b45c6dc4cfc7abc85ea9ebbf114d15f4bfe7540e24ea1" | ||
| 19 | |||
| 20 | SRC_URI[imx95.sha256sum] = "8d394b62a4fbad8303acf43f9f8672e5d1c17f1af8f47d7665740272819c0cc1" | ||
| 21 | |||
| 22 | COMPATIBLE_MACHINE = "(mx8mn-nxp-bsp|mx8mnul-nxp-bsp|mx8mp-nxp-bsp|mx8mpul-nxp-bsp|mx95-nxp-bsp)" | ||
diff --git a/recipes-fsl/mcore-demos/imx-m7-demos_24.12.00.bb b/recipes-fsl/mcore-demos/imx-m7-demos_24.12.00.bb deleted file mode 100644 index 17d90903a..000000000 --- a/recipes-fsl/mcore-demos/imx-m7-demos_24.12.00.bb +++ /dev/null | |||
| @@ -1,10 +0,0 @@ | |||
| 1 | # Copyright 2023-2024 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=ca53281cc0caa7e320d4945a896fb837" | ||
| 7 | |||
| 8 | SRC_URI[imx95.sha256sum] = "01603b53fd01181631b71f5139a4a3e215f7e03cc531638ef4fa805a678ede3d" | ||
| 9 | |||
| 10 | COMPATIBLE_MACHINE = "(mx95-nxp-bsp)" | ||
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 new file mode 100644 index 000000000..0527ddffd --- /dev/null +++ b/recipes-fsl/mcore-demos/imx-m7-demos_25.03.00.bb | |||
| @@ -0,0 +1,19 @@ | |||
| 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:mx8mn-nxp-bsp = "file://COPYING;md5=a93b654673e1bc8398ed1f30e0813359" | ||
| 7 | LIC_FILES_CHKSUM:mx8mnul-nxp-bsp = "file://COPYING;md5=a93b654673e1bc8398ed1f30e0813359" | ||
| 8 | |||
| 9 | LIC_FILES_CHKSUM:mx8mp-nxp-bsp = "file://COPYING;md5=a93b654673e1bc8398ed1f30e0813359" | ||
| 10 | LIC_FILES_CHKSUM:mx8mpul-nxp-bsp = "file://COPYING;md5=a93b654673e1bc8398ed1f30e0813359" | ||
| 11 | |||
| 12 | SRC_URI[imx8mn.sha256sum] = "66e160a4267efcd2660b932d46ad6bcc645c9f2865c8ea873d4194d67fcf342c" | ||
| 13 | |||
| 14 | SRC_URI[imx8mnddr3l.sha256sum] = "45c770ed5539c5e0d5dd8aee2ad0a6ef91b28c99be3aaa9f336bda6ec34a7083" | ||
| 15 | |||
| 16 | SRC_URI[imx8mp.sha256sum] = "94b85ec4dcbf1664a8997e3cfb7bde6b7f1e5825482096302971a7da853b145f" | ||
| 17 | |||
| 18 | COMPATIBLE_MACHINE = "(mx8mn-nxp-bsp|mx8mnul-nxp-bsp|mx8mp-nxp-bsp|mx8mpul-nxp-bsp)" | ||
| 19 | |||
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 new file mode 100644 index 000000000..608b2dc45 --- /dev/null +++ b/recipes-fsl/mcore-demos/imx-m7-demos_25.06.00.bb | |||
| @@ -0,0 +1,11 @@ | |||
| 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-mcore-demos.inc b/recipes-fsl/mcore-demos/imx-mcore-demos.inc index b8e747105..9b9553fcc 100644 --- a/recipes-fsl/mcore-demos/imx-mcore-demos.inc +++ b/recipes-fsl/mcore-demos/imx-mcore-demos.inc | |||
| @@ -35,7 +35,7 @@ MCORE_TYPE:mx95-nxp-bsp = "m7" | |||
| 35 | 35 | ||
| 36 | SRC_URI = "${FSL_MIRROR}/${SOC}-${MCORE_TYPE}-demo-${PV}.bin;name=${SOC};fsl-eula=true" | 36 | SRC_URI = "${FSL_MIRROR}/${SOC}-${MCORE_TYPE}-demo-${PV}.bin;name=${SOC};fsl-eula=true" |
| 37 | 37 | ||
| 38 | S = "${WORKDIR}/${SOC}-${MCORE_TYPE}-demo-${PV}" | 38 | S = "${UNPACKDIR}/${SOC}-${MCORE_TYPE}-demo-${PV}" |
| 39 | 39 | ||
| 40 | SCR = "SCR-${SOC}-${MCORE_TYPE}-demo.txt" | 40 | SCR = "SCR-${SOC}-${MCORE_TYPE}-demo.txt" |
| 41 | 41 | ||
diff --git a/recipes-graphics/drm/libdrm_2.4.123.imx.bb b/recipes-graphics/drm/libdrm_2.4.123.imx.bb index 81b97782e..e4208cff3 100644 --- a/recipes-graphics/drm/libdrm_2.4.123.imx.bb +++ b/recipes-graphics/drm/libdrm_2.4.123.imx.bb | |||
| @@ -16,8 +16,6 @@ IMX_LIBDRM_SRC ?= "git://github.com/nxp-imx/libdrm-imx.git;protocol=https" | |||
| 16 | SRCBRANCH = "libdrm-imx-2.4.123" | 16 | SRCBRANCH = "libdrm-imx-2.4.123" |
| 17 | SRCREV = "c7c4953161a0f8f2cc7bee70284bf3263c9cfcf5" | 17 | SRCREV = "c7c4953161a0f8f2cc7bee70284bf3263c9cfcf5" |
| 18 | 18 | ||
| 19 | S = "${WORKDIR}/git" | ||
| 20 | |||
| 21 | DEFAULT_PREFERENCE = "-1" | 19 | DEFAULT_PREFERENCE = "-1" |
| 22 | COMPATIBLE_MACHINE = "(imx-nxp-bsp)" | 20 | COMPATIBLE_MACHINE = "(imx-nxp-bsp)" |
| 23 | 21 | ||
diff --git a/recipes-graphics/imx-g2d/imx-dpu-g2d_2.3.0.bb b/recipes-graphics/imx-g2d/imx-dpu-g2d_2.4.0.0.bb index 77f01d793..4e3444b9d 100644 --- a/recipes-graphics/imx-g2d/imx-dpu-g2d_2.3.0.bb +++ b/recipes-graphics/imx-g2d/imx-dpu-g2d_2.4.0.0.bb | |||
| @@ -1,10 +1,10 @@ | |||
| 1 | # Copyright (C) 2016 Freescale Semiconductor | 1 | # Copyright (C) 2016 Freescale Semiconductor |
| 2 | # Copyright 2017-2024 NXP | 2 | # Copyright 2017-2025 NXP |
| 3 | # Released under the MIT license (see COPYING.MIT for the terms) | 3 | # Released under the MIT license (see COPYING.MIT for the terms) |
| 4 | 4 | ||
| 5 | DESCRIPTION = "G2D library using i.MX DPU" | 5 | DESCRIPTION = "G2D library using i.MX DPU" |
| 6 | LICENSE = "Proprietary" | 6 | LICENSE = "Proprietary" |
| 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=c0fb372b5d7f12181de23ef480f225f3" | 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=a93b654673e1bc8398ed1f30e0813359" |
| 8 | 8 | ||
| 9 | DEPENDS = "libdrm ${LIBGAL_IMX}" | 9 | DEPENDS = "libdrm ${LIBGAL_IMX}" |
| 10 | LIBGAL_IMX = "" | 10 | LIBGAL_IMX = "" |
| @@ -15,15 +15,15 @@ PROVIDES += "virtual/libg2d" | |||
| 15 | SRC_URI = "${FSL_MIRROR}/${IMX_BIN_NAME}.bin;fsl-eula=true;name=${IMX_SRC_URI_NAME}" | 15 | SRC_URI = "${FSL_MIRROR}/${IMX_BIN_NAME}.bin;fsl-eula=true;name=${IMX_SRC_URI_NAME}" |
| 16 | IMX_BIN_NAME = "${BPN}-${IMX_SRC_URI_NAME}-${PV}-${IMX_SRCREV_ABBREV}" | 16 | IMX_BIN_NAME = "${BPN}-${IMX_SRC_URI_NAME}-${PV}-${IMX_SRCREV_ABBREV}" |
| 17 | 17 | ||
| 18 | IMX_SRCREV_ABBREV = "8d2a88d" | 18 | IMX_SRCREV_ABBREV = "9e8bbf1" |
| 19 | IMX_SRC_URI_NAME = "v1" | 19 | IMX_SRC_URI_NAME = "v1" |
| 20 | SRC_URI[v1.sha256sum] = "20325a7c6090b79e012339aed25fa4c3b760efcc32be339e389a36a15e44bdfc" | 20 | SRC_URI[v1.sha256sum] = "67be9b56a5d2196613460d3cc3a734d7a088e2177377e27f83287766d5d8cf70" |
| 21 | 21 | ||
| 22 | IMX_SRCREV_ABBREV:imxmali = "8d2a88d" | 22 | IMX_SRCREV_ABBREV:imxmali = "9e8bbf1" |
| 23 | IMX_SRC_URI_NAME:imxmali = "v2" | 23 | IMX_SRC_URI_NAME:imxmali = "v2" |
| 24 | SRC_URI[v2.sha256sum] = "eb7108256cb55d996c07f6941d0d4a76beaf73458494b2c902d907bc8228eeeb" | 24 | SRC_URI[v2.sha256sum] = "f56dae607f89e0f414625657d8345c5d1b68b79d3ac61e50016fbe4d49a91402" |
| 25 | 25 | ||
| 26 | S = "${WORKDIR}/${IMX_BIN_NAME}" | 26 | S = "${UNPACKDIR}/${IMX_BIN_NAME}" |
| 27 | 27 | ||
| 28 | inherit fsl-eula-unpack | 28 | inherit fsl-eula-unpack |
| 29 | 29 | ||
diff --git a/recipes-graphics/imx-g2d/imx-g2d-samples_git.bb b/recipes-graphics/imx-g2d/imx-g2d-samples_git.bb index 884b41ff1..98e976100 100644 --- a/recipes-graphics/imx-g2d/imx-g2d-samples_git.bb +++ b/recipes-graphics/imx-g2d/imx-g2d-samples_git.bb | |||
| @@ -5,15 +5,13 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=0858ec9c7a80c4a2cf16e4f825a2cc91" | |||
| 5 | 5 | ||
| 6 | DEPENDS = "cairo" | 6 | DEPENDS = "cairo" |
| 7 | 7 | ||
| 8 | PV = "2.3+git${SRCPV}" | 8 | PV = "2.4+git" |
| 9 | 9 | ||
| 10 | SRC_URI = "${GPU_G2D_SAMPLES_SRC};branch=${SRCBRANCH}" | 10 | SRC_URI = "${GPU_G2D_SAMPLES_SRC};branch=${SRCBRANCH}" |
| 11 | GPU_G2D_SAMPLES_SRC ?= "git://github.com/nxp-imx/g2d-samples.git;protocol=https" | 11 | GPU_G2D_SAMPLES_SRC ?= "git://github.com/nxp-imx/g2d-samples.git;protocol=https" |
| 12 | SRCBRANCH = "imx_2.3" | 12 | SRCBRANCH = "imx_2.4" |
| 13 | SRCREV = "7d12c50c07d73650b4c97906ce917aff429238f8" | 13 | SRCREV = "7d12c50c07d73650b4c97906ce917aff429238f8" |
| 14 | 14 | ||
| 15 | S = "${WORKDIR}/git" | ||
| 16 | |||
| 17 | inherit pkgconfig | 15 | inherit pkgconfig |
| 18 | 16 | ||
| 19 | PACKAGECONFIG ??= "${PACKAGECONFIG_IMPLEMENTATION}" | 17 | PACKAGECONFIG ??= "${PACKAGECONFIG_IMPLEMENTATION}" |
| @@ -23,6 +21,7 @@ PACKAGECONFIG_IMPLEMENTATION:mx95-nxp-bsp = "dpu95" | |||
| 23 | PACKAGECONFIG_IMPLEMENTATION:imxgpu2d = "gpu-drm" | 21 | PACKAGECONFIG_IMPLEMENTATION:imxgpu2d = "gpu-drm" |
| 24 | PACKAGECONFIG_IMPLEMENTATION:imxgpu2d:imxfbdev = "gpu-fbdev" | 22 | PACKAGECONFIG_IMPLEMENTATION:imxgpu2d:imxfbdev = "gpu-fbdev" |
| 25 | PACKAGECONFIG_IMPLEMENTATION:mx93-nxp-bsp = "pxp" | 23 | PACKAGECONFIG_IMPLEMENTATION:mx93-nxp-bsp = "pxp" |
| 24 | PACKAGECONFIG_IMPLEMENTATION:mx943-nxp-bsp = "pxp" | ||
| 26 | 25 | ||
| 27 | PACKAGECONFIG[dpu] = " \ | 26 | PACKAGECONFIG[dpu] = " \ |
| 28 | BUILD_IMPLEMENTATION=dpu, \ | 27 | BUILD_IMPLEMENTATION=dpu, \ |
| @@ -73,4 +72,4 @@ FILES:${PN} += "/opt" | |||
| 73 | 72 | ||
| 74 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" | 73 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" |
| 75 | 74 | ||
| 76 | COMPATIBLE_MACHINE = "(imxgpu2d|mx93-nxp-bsp|mx95-nxp-bsp)" | 75 | COMPATIBLE_MACHINE = "(imxgpu2d|mx93-nxp-bsp|mx943-nxp-bsp|mx95-nxp-bsp)" |
diff --git a/recipes-graphics/imx-g2d/imx-gpu-g2d_6.4.11.p3.0.bb b/recipes-graphics/imx-g2d/imx-gpu-g2d_6.4.11.p3.2.bb index 1b9d04f63..d1f23d910 100644 --- a/recipes-graphics/imx-g2d/imx-gpu-g2d_6.4.11.p3.0.bb +++ b/recipes-graphics/imx-g2d/imx-gpu-g2d_6.4.11.p3.2.bb | |||
| @@ -1,21 +1,21 @@ | |||
| 1 | # Copyright (C) 2016 Freescale Semiconductor | 1 | # Copyright (C) 2016 Freescale Semiconductor |
| 2 | # Copyright 2017-2024 NXP | 2 | # Copyright 2017-2022 NXP |
| 3 | # Copyright 2018 (C) O.S. Systems Software LTDA. | 3 | # Copyright 2018 (C) O.S. Systems Software LTDA. |
| 4 | # Released under the MIT license (see COPYING.MIT for the terms) | 4 | # Released under the MIT license (see COPYING.MIT for the terms) |
| 5 | 5 | ||
| 6 | DESCRIPTION = "G2D library using i.MX GPU" | 6 | DESCRIPTION = "G2D library using i.MX GPU" |
| 7 | LICENSE = "Proprietary" | 7 | LICENSE = "Proprietary" |
| 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=c0fb372b5d7f12181de23ef480f225f3" | 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=a93b654673e1bc8398ed1f30e0813359" |
| 9 | DEPENDS = "libgal-imx" | 9 | DEPENDS = "libgal-imx" |
| 10 | PROVIDES = "virtual/libg2d" | 10 | PROVIDES = "virtual/libg2d" |
| 11 | 11 | ||
| 12 | SRC_URI = "${FSL_MIRROR}/${IMX_BIN_NAME}.bin;name=${TARGET_ARCH};fsl-eula=true" | 12 | SRC_URI = "${FSL_MIRROR}/${IMX_BIN_NAME}.bin;name=${TARGET_ARCH};fsl-eula=true" |
| 13 | IMX_BIN_NAME = "${BP}-${TARGET_ARCH}-${IMX_SRCREV_ABBREV}" | 13 | IMX_BIN_NAME = "${BP}-${TARGET_ARCH}-${IMX_SRCREV_ABBREV}" |
| 14 | IMX_SRCREV_ABBREV = "c600d03" | 14 | IMX_SRCREV_ABBREV = "3c5e429" |
| 15 | SRC_URI[aarch64.sha256sum] = "e6c336c0b876efab7598a2d7817111772284487f646d5d83c400692f2cdfebe3" | 15 | SRC_URI[aarch64.sha256sum] = "190bc9203e60e5de508e1dcf057b36d2c9bc3667c6972fd12f7df797e508a22d" |
| 16 | SRC_URI[arm.sha256sum] = "6e1a42f2c570582b8038d1b5c86dbdcd645e75cc10a1db23e716f662d1c1329f" | 16 | SRC_URI[arm.sha256sum] = "aaf9a38fe446af579b16a836bf297f8cb1b2842ca3a784bedc21e32d37271ab4" |
| 17 | 17 | ||
| 18 | S = "${WORKDIR}/${IMX_BIN_NAME}" | 18 | S = "${UNPACKDIR}/${IMX_BIN_NAME}" |
| 19 | 19 | ||
| 20 | inherit fsl-eula-unpack | 20 | inherit fsl-eula-unpack |
| 21 | 21 | ||
diff --git a/recipes-graphics/imx-g2d/imx-pxp-g2d_git.bb b/recipes-graphics/imx-g2d/imx-pxp-g2d_git.bb index 7184539e1..8165c0c62 100644 --- a/recipes-graphics/imx-g2d/imx-pxp-g2d_git.bb +++ b/recipes-graphics/imx-g2d/imx-pxp-g2d_git.bb | |||
| @@ -1,29 +1,29 @@ | |||
| 1 | # Copyright (C) 2016 Freescale Semiconductor | 1 | # Copyright (C) 2016 Freescale Semiconductor |
| 2 | # Copyright 2017-2024 NXP | 2 | # Copyright 2017-2025 NXP |
| 3 | # Released under the MIT license (see COPYING.MIT for the terms) | 3 | # Released under the MIT license (see COPYING.MIT for the terms) |
| 4 | 4 | ||
| 5 | DESCRIPTION = "G2D library using i.MX PXP" | 5 | DESCRIPTION = "G2D library using i.MX PXP" |
| 6 | LICENSE = "Proprietary" | 6 | LICENSE = "Proprietary" |
| 7 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=c0fb372b5d7f12181de23ef480f225f3" | 7 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a93b654673e1bc8398ed1f30e0813359" |
| 8 | 8 | ||
| 9 | PROVIDES += "virtual/libg2d" | 9 | PROVIDES += "virtual/libg2d" |
| 10 | 10 | ||
| 11 | PV = "2.3+git${SRCPV}" | 11 | PV = "2.4+git" |
| 12 | 12 | ||
| 13 | SRC_URI = "${IMX_PXP_G2D_SRC};branch=${SRCBRANCH}" | 13 | SRC_URI = "${IMX_PXP_G2D_SRC};branch=${SRCBRANCH}" |
| 14 | IMX_PXP_G2D_SRC ?= "git://github.com/nxp-imx/imx-g2d-pxp.git;protocol=https" | 14 | IMX_PXP_G2D_SRC ?= "git://github.com/nxp-imx/imx-g2d-pxp.git;protocol=https" |
| 15 | SRCBRANCH = "imx_2.3" | 15 | SRCBRANCH = "imx_2.4" |
| 16 | SRCREV = "f3aabbcb7977a0a17c962c62b02bc829855f8edf" | 16 | SRCREV = "c3368ea82e4507d7b35aee258c28d04f9f8fb8e9" |
| 17 | |||
| 18 | S = "${WORKDIR}/git" | ||
| 19 | 17 | ||
| 20 | inherit use-imx-headers | 18 | inherit use-imx-headers |
| 21 | 19 | ||
| 22 | EXTRA_OEMAKE = "PLATFORM=IMX93 INCLUDE='-I${STAGING_INCDIR_IMX}' DEST_DIR=${D}" | 20 | EXTRA_OEMAKE = "PLATFORM=${IMX_PLATFORM} INCLUDE='-I${STAGING_INCDIR_IMX}' DEST_DIR=${D}" |
| 21 | IMX_PLATFORM:mx93-nxp-bsp = "IMX93" | ||
| 22 | IMX_PLATFORM:mx943-nxp-bsp = "IMX943" | ||
| 23 | 23 | ||
| 24 | do_install() { | 24 | do_install() { |
| 25 | oe_runmake install | 25 | oe_runmake install |
| 26 | } | 26 | } |
| 27 | 27 | ||
| 28 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" | 28 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" |
| 29 | COMPATIBLE_MACHINE = "(mx93-nxp-bsp)" | 29 | COMPATIBLE_MACHINE = "(mx93-nxp-bsp|mx943-nxp-bsp)" |
diff --git a/recipes-graphics/imx-gpu-apitrace/imx-gpu-apitrace_10.0.0.bb b/recipes-graphics/imx-gpu-apitrace/imx-gpu-apitrace_10.0.0.bb index 18fad56e9..5dea367a9 100644 --- a/recipes-graphics/imx-gpu-apitrace/imx-gpu-apitrace_10.0.0.bb +++ b/recipes-graphics/imx-gpu-apitrace/imx-gpu-apitrace_10.0.0.bb | |||
| @@ -9,8 +9,6 @@ SRC_URI = "git://github.com/nxp-imx/apitrace-imx.git;protocol=https;branch=imx_1 | |||
| 9 | " | 9 | " |
| 10 | SRCREV = "522cb2981289b7ba20d6dd4b4bf75097e079815b" | 10 | SRCREV = "522cb2981289b7ba20d6dd4b4bf75097e079815b" |
| 11 | 11 | ||
| 12 | S = "${WORKDIR}/git" | ||
| 13 | |||
| 14 | inherit cmake pkgconfig perlnative python3native | 12 | inherit cmake pkgconfig perlnative python3native |
| 15 | 13 | ||
| 16 | PACKAGECONFIG ??= " \ | 14 | PACKAGECONFIG ??= " \ |
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 b9fe6bb8c..fce1e53ec 100644 --- a/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc +++ b/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc | |||
| @@ -46,7 +46,7 @@ PROVIDES_OPENCL = " \ | |||
| 46 | opencl-headers \ | 46 | opencl-headers \ |
| 47 | opencl-clhpp \ | 47 | opencl-clhpp \ |
| 48 | opencl-icd-loader \ | 48 | opencl-icd-loader \ |
| 49 | virtual/opencl-icd \ | 49 | virtual/libopencl1 \ |
| 50 | " | 50 | " |
| 51 | PROVIDES_OPENCL:mx7-nxp-bsp = "" | 51 | PROVIDES_OPENCL:mx7-nxp-bsp = "" |
| 52 | PROVIDES_OPENCL:mx8mm-nxp-bsp = "" | 52 | PROVIDES_OPENCL:mx8mm-nxp-bsp = "" |
| @@ -73,7 +73,7 @@ inherit fsl-eula-unpack | |||
| 73 | FILESEXTRAPATHS:append := "${THISDIR}/imx-gpu-viv:" | 73 | FILESEXTRAPATHS:append := "${THISDIR}/imx-gpu-viv:" |
| 74 | SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true" | 74 | SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true" |
| 75 | 75 | ||
| 76 | S = "${WORKDIR}/${BPN}-${PV}-${IMX_SRCREV_ABBREV}" | 76 | S = "${UNPACKDIR}/${BPN}-${PV}-${IMX_SRCREV_ABBREV}" |
| 77 | 77 | ||
| 78 | PACKAGECONFIG ?= "" | 78 | PACKAGECONFIG ?= "" |
| 79 | 79 | ||
| @@ -330,7 +330,6 @@ FILES:libegl-imx-dev = "${includedir}/EGL ${includedir}/KHR ${libdir}/pkgconfig/ | |||
| 330 | INSANE_SKIP:libegl-imx += "dev-so" | 330 | INSANE_SKIP:libegl-imx += "dev-so" |
| 331 | 331 | ||
| 332 | FILES:libgal-imx = "${libdir}/libGAL${SOLIBS} ${libdir}/libGAL_egl${SOLIBS}" | 332 | FILES:libgal-imx = "${libdir}/libGAL${SOLIBS} ${libdir}/libGAL_egl${SOLIBS}" |
| 333 | FILES:libgal-imx-dev:remove = "${includedir}/HAL" | ||
| 334 | RDEPENDS:libgal-imx += "${@bb.utils.contains('PACKAGECONFIG', 'valgrind', 'valgrind', '', d)}" | 333 | RDEPENDS:libgal-imx += "${@bb.utils.contains('PACKAGECONFIG', 'valgrind', 'valgrind', '', d)}" |
| 335 | RPROVIDES:libgal-imx += "libgal-imx" | 334 | RPROVIDES:libgal-imx += "libgal-imx" |
| 336 | RRECOMMENDS:libgal-imx += "kernel-module-imx-gpu-viv" | 335 | RRECOMMENDS:libgal-imx += "kernel-module-imx-gpu-viv" |
| @@ -347,6 +346,7 @@ FILES:libvulkan-imx = "\ | |||
| 347 | ${libdir}/libvulkan_VSI${REALSOLIBS} \ | 346 | ${libdir}/libvulkan_VSI${REALSOLIBS} \ |
| 348 | ${sysconfdir}/vulkan" | 347 | ${sysconfdir}/vulkan" |
| 349 | FILES:libvulkan-imx-dev = "${includedir}/vulkan ${libdir}/libvulkan_VSI${SOLIBSDEV}" | 348 | FILES:libvulkan-imx-dev = "${includedir}/vulkan ${libdir}/libvulkan_VSI${SOLIBSDEV}" |
| 349 | RPROVIDES:libvulkan-imx = "virtual-vulkan-icd" | ||
| 350 | 350 | ||
| 351 | FILES:libspirv-imx = " \ | 351 | FILES:libspirv-imx = " \ |
| 352 | ${libdir}/libSPIRV_viv${SOLIBS} \ | 352 | ${libdir}/libSPIRV_viv${SOLIBS} \ |
| @@ -360,7 +360,7 @@ FILES:libopenvx-imx = " \ | |||
| 360 | ${libdir}/libArchModelSw${SOLIBS} \ | 360 | ${libdir}/libArchModelSw${SOLIBS} \ |
| 361 | " | 361 | " |
| 362 | FILES:libopenvx-imx-dev = "${includedir}/VX ${libdir}/libOpenVX${SOLIBSDEV}" | 362 | FILES:libopenvx-imx-dev = "${includedir}/VX ${libdir}/libOpenVX${SOLIBSDEV}" |
| 363 | RDEPENDS:libopenvx-imx = "libnn-imx ${OPENCL_VX_INTRINSIC_EXTENSION_PACKAGES}" | 363 | RDEPENDS:libopenvx-imx = "${OPENCL_VX_INTRINSIC_EXTENSION_PACKAGES}" |
| 364 | OPENCL_VX_INTRINSIC_EXTENSION_PACKAGES = "" | 364 | OPENCL_VX_INTRINSIC_EXTENSION_PACKAGES = "" |
| 365 | OPENCL_VX_INTRINSIC_EXTENSION_PACKAGES:mx8qm-nxp-bsp = "libclc-imx libopencl-imx-dev" | 365 | OPENCL_VX_INTRINSIC_EXTENSION_PACKAGES:mx8qm-nxp-bsp = "libclc-imx libopencl-imx-dev" |
| 366 | OPENCL_VX_INTRINSIC_EXTENSION_PACKAGES:mx8mp-nxp-bsp = "libclc-imx libopencl-imx-dev" | 366 | OPENCL_VX_INTRINSIC_EXTENSION_PACKAGES:mx8mp-nxp-bsp = "libclc-imx libopencl-imx-dev" |
diff --git a/recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.4.11.p3.0-aarch32.bb b/recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.4.11.p3.0-aarch32.bb deleted file mode 100644 index 9fbb7e924..000000000 --- a/recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.4.11.p3.0-aarch32.bb +++ /dev/null | |||
| @@ -1,9 +0,0 @@ | |||
| 1 | require imx-gpu-viv-6.inc | ||
| 2 | |||
| 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=c0fb372b5d7f12181de23ef480f225f3" | ||
| 4 | |||
| 5 | IMX_SRCREV_ABBREV = "c600d03" | ||
| 6 | |||
| 7 | SRC_URI[sha256sum] = "fe8fc231f18047b9547a038e111c08e855760190d0e9848ead22b383d793499d" | ||
| 8 | |||
| 9 | COMPATIBLE_MACHINE = "(mx6q-nxp-bsp|mx6dl-nxp-bsp|mx6sx-nxp-bsp|mx6sl-nxp-bsp|mx7ulp-nxp-bsp)" | ||
diff --git a/recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.4.11.p3.0-aarch64.bb b/recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.4.11.p3.0-aarch64.bb deleted file mode 100644 index aeed17fe8..000000000 --- a/recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.4.11.p3.0-aarch64.bb +++ /dev/null | |||
| @@ -1,9 +0,0 @@ | |||
| 1 | require imx-gpu-viv-6.inc | ||
| 2 | |||
| 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=c0fb372b5d7f12181de23ef480f225f3" | ||
| 4 | |||
| 5 | IMX_SRCREV_ABBREV = "c600d03" | ||
| 6 | |||
| 7 | SRC_URI[sha256sum] = "82e1bb6304d2aac70c72b691239d1bb5f6738cadfa812d07196db2f580c63d29" | ||
| 8 | |||
| 9 | COMPATIBLE_MACHINE = "(mx8-nxp-bsp)" | ||
diff --git a/recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.4.11.p3.2-aarch32.bb b/recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.4.11.p3.2-aarch32.bb new file mode 100644 index 000000000..f0e7d285d --- /dev/null +++ b/recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.4.11.p3.2-aarch32.bb | |||
| @@ -0,0 +1,9 @@ | |||
| 1 | require imx-gpu-viv-6.inc | ||
| 2 | |||
| 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=a93b654673e1bc8398ed1f30e0813359" | ||
| 4 | |||
| 5 | IMX_SRCREV_ABBREV = "3c5e429" | ||
| 6 | |||
| 7 | SRC_URI[sha256sum] = "ea7ffb01fd7cd88f2a308e5b12b40cc3c9553b8ff2941c4867943b4fee265d27" | ||
| 8 | |||
| 9 | COMPATIBLE_MACHINE = "(mx6q-nxp-bsp|mx6dl-nxp-bsp|mx6sx-nxp-bsp|mx6sl-nxp-bsp|mx7ulp-nxp-bsp)" | ||
diff --git a/recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.4.11.p3.2-aarch64.bb b/recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.4.11.p3.2-aarch64.bb new file mode 100644 index 000000000..38870add7 --- /dev/null +++ b/recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.4.11.p3.2-aarch64.bb | |||
| @@ -0,0 +1,9 @@ | |||
| 1 | require imx-gpu-viv-6.inc | ||
| 2 | |||
| 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=a93b654673e1bc8398ed1f30e0813359" | ||
| 4 | |||
| 5 | IMX_SRCREV_ABBREV = "3c5e429" | ||
| 6 | |||
| 7 | SRC_URI[sha256sum] = "bf6fe102e8aa7a16373392efcf6ac45d705bbb95f5c39501da8aaa30957c554f" | ||
| 8 | |||
| 9 | COMPATIBLE_MACHINE = "(mx8-nxp-bsp)" | ||
diff --git a/recipes-graphics/mali/mali-imx.inc b/recipes-graphics/mali/mali-imx.inc index e4fafeb0b..87f73440f 100644 --- a/recipes-graphics/mali/mali-imx.inc +++ b/recipes-graphics/mali/mali-imx.inc | |||
| @@ -45,6 +45,8 @@ FILES:${PN}-opencl-icd = " \ | |||
| 45 | ${sysconfdir}/OpenCL" | 45 | ${sysconfdir}/OpenCL" |
| 46 | FILES:${PN}-libvulkan = " \ | 46 | FILES:${PN}-libvulkan = " \ |
| 47 | ${sysconfdir}/vulkan" | 47 | ${sysconfdir}/vulkan" |
| 48 | RDEPENDS:${PN}-libvulkan = "vulkan-wsi-layer" | ||
| 49 | RPROVIDES:${PN}-libvulkan = "virtual-vulkan-icd" | ||
| 48 | 50 | ||
| 49 | FILES:${PN}-dev = " \ | 51 | FILES:${PN}-dev = " \ |
| 50 | ${bindir}/malisc" | 52 | ${bindir}/malisc" |
diff --git a/recipes-graphics/mali/mali-imx_r53.0.bb b/recipes-graphics/mali/mali-imx_r54.0.bb index 65b91f557..85ac6f8ca 100644 --- a/recipes-graphics/mali/mali-imx_r53.0.bb +++ b/recipes-graphics/mali/mali-imx_r54.0.bb | |||
| @@ -1,13 +1,13 @@ | |||
| 1 | require mali-imx.inc | 1 | require mali-imx.inc |
| 2 | 2 | ||
| 3 | LICENSE = "Proprietary" | 3 | LICENSE = "Proprietary" |
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=c0fb372b5d7f12181de23ef480f225f3" | 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=a93b654673e1bc8398ed1f30e0813359" |
| 5 | 5 | ||
| 6 | SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true" | 6 | SRC_URI = "${FSL_MIRROR}/${BP}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true" |
| 7 | SRC_URI[sha256sum] = "67a008bc64af4f3d9ad91465af3c0c3ac90ff8dcbcdaed96036eccc62880c7a3" | 7 | SRC_URI[sha256sum] = "df89c80456c73ee8c235201b98c0b678d993083540912eab968dc0cbf683ad26" |
| 8 | IMX_SRCREV_ABBREV = "f2226b0" | 8 | IMX_SRCREV_ABBREV = "2943b3d" |
| 9 | 9 | ||
| 10 | S = "${WORKDIR}/${BPN}-${PV}-${IMX_SRCREV_ABBREV}" | 10 | S = "${UNPACKDIR}/${BP}-${IMX_SRCREV_ABBREV}" |
| 11 | 11 | ||
| 12 | inherit fsl-eula-unpack | 12 | inherit fsl-eula-unpack |
| 13 | 13 | ||
diff --git a/recipes-graphics/mesa/mesa.bbappend b/recipes-graphics/mesa/mesa.bbappend index 120561d19..1c75c9884 100644 --- a/recipes-graphics/mesa/mesa.bbappend +++ b/recipes-graphics/mesa/mesa.bbappend | |||
| @@ -1,10 +1,6 @@ | |||
| 1 | PROVIDES:remove:imxgpu = "virtual/egl" | 1 | PROVIDES:remove:imxgpu = "virtual/egl" |
| 2 | PROVIDES:remove:imxgpu3d = "virtual/libgl virtual/libgles1 virtual/libgles2" | 2 | PROVIDES:remove:imxgpu3d = "virtual/libgl virtual/libgles1 virtual/libgles2" |
| 3 | 3 | ||
| 4 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" | ||
| 5 | SRC_URI:append:mx93-nxp-bsp = " file://0001-MGS-7673-egl-dri2-fix-video-showing-wrong-frame.patch" | ||
| 6 | SRC_URI:append:imx-nxp-bsp = " file://0001-MGS-7599-cso-fix-virgl-driver-assert-issue.patch" | ||
| 7 | |||
| 8 | PACKAGECONFIG:remove:imxgpu = "egl gbm" | 4 | PACKAGECONFIG:remove:imxgpu = "egl gbm" |
| 9 | PACKAGECONFIG:remove:imxgpu3d = "gles" | 5 | PACKAGECONFIG:remove:imxgpu3d = "gles" |
| 10 | 6 | ||
diff --git a/recipes-graphics/mesa/mesa/0001-MGS-7599-cso-fix-virgl-driver-assert-issue.patch b/recipes-graphics/mesa/mesa/0001-MGS-7599-cso-fix-virgl-driver-assert-issue.patch deleted file mode 100644 index 3dc8db099..000000000 --- a/recipes-graphics/mesa/mesa/0001-MGS-7599-cso-fix-virgl-driver-assert-issue.patch +++ /dev/null | |||
| @@ -1,47 +0,0 @@ | |||
| 1 | From 612c3dc98d5d050b9cfee16ec77ca3c8358caa0d Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Wujian Sun <wujian.sun_1@nxp.com> | ||
| 3 | Date: Mon, 29 Apr 2024 17:29:16 +0800 | ||
| 4 | Subject: [PATCH] MGS-7599 cso: fix virgl driver assert issue | ||
| 5 | |||
| 6 | A workaround that remove PIPE_MAX_SAMPLERS and | ||
| 7 | PIPE_MAX_CONSTANT_BUFFERS assert. | ||
| 8 | |||
| 9 | Upstream-Status: Inappropriate [i.MX-specific] | ||
| 10 | |||
| 11 | Signed-off-by: Wujian Sun <wujian.sun_1@nxp.com> | ||
| 12 | --- | ||
| 13 | src/gallium/auxiliary/cso_cache/cso_context.c | 2 -- | ||
| 14 | src/gallium/drivers/virgl/virgl_screen.c | 2 +- | ||
| 15 | 2 files changed, 1 insertion(+), 3 deletions(-) | ||
| 16 | |||
| 17 | diff --git a/src/gallium/auxiliary/cso_cache/cso_context.c b/src/gallium/auxiliary/cso_cache/cso_context.c | ||
| 18 | index 3e86def31c5..ffc6d22da9c 100644 | ||
| 19 | --- a/src/gallium/auxiliary/cso_cache/cso_context.c | ||
| 20 | +++ b/src/gallium/auxiliary/cso_cache/cso_context.c | ||
| 21 | @@ -403,10 +403,8 @@ cso_unbind_context(struct cso_context *ctx) | ||
| 22 | PIPE_SHADER_CAP_MAX_CONST_BUFFERS); | ||
| 23 | int maximg = scr->get_shader_param(scr, sh, | ||
| 24 | PIPE_SHADER_CAP_MAX_SHADER_IMAGES); | ||
| 25 | - assert(maxsam <= PIPE_MAX_SAMPLERS); | ||
| 26 | assert(maxview <= PIPE_MAX_SHADER_SAMPLER_VIEWS); | ||
| 27 | assert(maxssbo <= PIPE_MAX_SHADER_BUFFERS); | ||
| 28 | - assert(maxcb <= PIPE_MAX_CONSTANT_BUFFERS); | ||
| 29 | assert(maximg <= PIPE_MAX_SHADER_IMAGES); | ||
| 30 | if (maxsam > 0) { | ||
| 31 | ctx->base.pipe->bind_sampler_states(ctx->base.pipe, sh, 0, maxsam, zeros); | ||
| 32 | diff --git a/src/gallium/drivers/virgl/virgl_screen.c b/src/gallium/drivers/virgl/virgl_screen.c | ||
| 33 | index 389a1935cc3..7c7f8ba576b 100644 | ||
| 34 | --- a/src/gallium/drivers/virgl/virgl_screen.c | ||
| 35 | +++ b/src/gallium/drivers/virgl/virgl_screen.c | ||
| 36 | @@ -435,7 +435,7 @@ virgl_get_shader_param(struct pipe_screen *screen, | ||
| 37 | return 1; | ||
| 38 | case PIPE_SHADER_CAP_MAX_TEXTURE_SAMPLERS: | ||
| 39 | return MIN2(vscreen->caps.caps.v2.max_shader_sampler_views, | ||
| 40 | - PIPE_MAX_SHADER_SAMPLER_VIEWS); | ||
| 41 | + PIPE_MAX_SAMPLERS); | ||
| 42 | case PIPE_SHADER_CAP_INTEGERS: | ||
| 43 | return vscreen->caps.caps.v1.glsl_level >= 130; | ||
| 44 | case PIPE_SHADER_CAP_MAX_CONTROL_FLOW_DEPTH: | ||
| 45 | -- | ||
| 46 | 2.17.1 | ||
| 47 | |||
diff --git a/recipes-graphics/mesa/mesa/0001-MGS-7673-egl-dri2-fix-video-showing-wrong-frame.patch b/recipes-graphics/mesa/mesa/0001-MGS-7673-egl-dri2-fix-video-showing-wrong-frame.patch deleted file mode 100644 index 0cdcbfca6..000000000 --- a/recipes-graphics/mesa/mesa/0001-MGS-7673-egl-dri2-fix-video-showing-wrong-frame.patch +++ /dev/null | |||
| @@ -1,33 +0,0 @@ | |||
| 1 | From 188d7b01037e5a0249e63c2600cf15a288a9ff3f Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Wujian Sun <wujian.sun_1@nxp.com> | ||
| 3 | Date: Fri, 19 Apr 2024 18:38:17 +0800 | ||
| 4 | Subject: [PATCH] MGS-7673 egl/dri2: fix video showing wrong frame | ||
| 5 | |||
| 6 | Softpipe driver doesn't support EGL_EXT_image_dma_buf_import_modifiers | ||
| 7 | extension. | ||
| 8 | Should not report the extension. | ||
| 9 | |||
| 10 | Upstream-Status: Pending | ||
| 11 | |||
| 12 | Signed-off-by: Wujian Sun <wujian.sun_1@nxp.com> | ||
| 13 | --- | ||
| 14 | src/egl/drivers/dri2/egl_dri2.c | 3 ++- | ||
| 15 | 1 file changed, 2 insertions(+), 1 deletion(-) | ||
| 16 | |||
| 17 | diff --git a/src/egl/drivers/dri2/egl_dri2.c b/src/egl/drivers/dri2/egl_dri2.c | ||
| 18 | index 992f0e3d46d..6ee209d4b47 100644 | ||
| 19 | --- a/src/egl/drivers/dri2/egl_dri2.c | ||
| 20 | +++ b/src/egl/drivers/dri2/egl_dri2.c | ||
| 21 | @@ -942,7 +942,8 @@ dri2_setup_screen(_EGLDisplay *disp) | ||
| 22 | |||
| 23 | #ifdef HAVE_LIBDRM | ||
| 24 | if (dri2_dpy->image->base.version >= 8 && | ||
| 25 | - dri2_dpy->image->createImageFromDmaBufs) { | ||
| 26 | + dri2_dpy->image->createImageFromDmaBufs && | ||
| 27 | + strcmp("softpipe", pscreen->get_name(pscreen))) { | ||
| 28 | disp->Extensions.EXT_image_dma_buf_import = EGL_TRUE; | ||
| 29 | disp->Extensions.EXT_image_dma_buf_import_modifiers = EGL_TRUE; | ||
| 30 | } | ||
| 31 | -- | ||
| 32 | 2.17.1 | ||
| 33 | |||
diff --git a/recipes-graphics/piglit/piglit/0001-tests-Fix-cl-test-Include-Directories-error-Error-0-.patch b/recipes-graphics/piglit/piglit/0001-tests-Fix-cl-test-Include-Directories-error-Error-0-.patch new file mode 100644 index 000000000..3e673a497 --- /dev/null +++ b/recipes-graphics/piglit/piglit/0001-tests-Fix-cl-test-Include-Directories-error-Error-0-.patch | |||
| @@ -0,0 +1,30 @@ | |||
| 1 | From c14b65106687b1097f5d50a993707d8a2f99005b Mon Sep 17 00:00:00 2001 | ||
| 2 | From: jiajia Qian <jiajia.qian@nxp.com> | ||
| 3 | Date: Tue, 19 Dec 2023 13:23:33 +0800 | ||
| 4 | Subject: [PATCH] tests: Fix cl test Include Directories: error : Error(0,8) : | ||
| 5 | Cannot find the header file include_test.h. | ||
| 6 | |||
| 7 | Modified CMakeLists.txt to install include_test.h file in piglit/tests/cl/program/build/ folder. | ||
| 8 | |||
| 9 | Modified the relative path in include-directories.cl from "tests/cl/program/build" to "../lib/piglit/tests/cl/program/build". | ||
| 10 | |||
| 11 | Upstream-Status: Pending [https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/853] | ||
| 12 | Signed-off-by: jiajia Qian <jiajia.qian@nxp.com> | ||
| 13 | --- | ||
| 14 | CMakeLists.txt | 1 + | ||
| 15 | tests/cl/program/build/include-directories.cl | 2 +- | ||
| 16 | 2 files changed, 2 insertions(+), 1 deletion(-) | ||
| 17 | |||
| 18 | Index: git/tests/cl/program/build/include-directories.cl | ||
| 19 | =================================================================== | ||
| 20 | --- git.orig/tests/cl/program/build/include-directories.cl | ||
| 21 | +++ git/tests/cl/program/build/include-directories.cl | ||
| 22 | @@ -2,7 +2,7 @@ | ||
| 23 | [config] | ||
| 24 | name: Include Directories | ||
| 25 | clc_version_min: 10 | ||
| 26 | -build_options: -I . -I tests/cl/program/build | ||
| 27 | +build_options: -I . -I ../lib/piglit/tests/cl/program/build | ||
| 28 | !*/ | ||
| 29 | |||
| 30 | #include "include_test.h" | ||
diff --git a/recipes-graphics/piglit/piglit/0002-cl-Add-mutually-exclusive-memory-flags-for-CL_MEM_KE.patch b/recipes-graphics/piglit/piglit/0002-cl-Add-mutually-exclusive-memory-flags-for-CL_MEM_KE.patch new file mode 100644 index 000000000..a4935b169 --- /dev/null +++ b/recipes-graphics/piglit/piglit/0002-cl-Add-mutually-exclusive-memory-flags-for-CL_MEM_KE.patch | |||
| @@ -0,0 +1,42 @@ | |||
| 1 | From 2673c2adc81a408a4238f786cb2d795a65308ce6 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Eric Guo <eric.guo@nxp.com> | ||
| 3 | Date: Fri, 11 Apr 2025 17:15:40 +0800 | ||
| 4 | Subject: [PATCH] cl: Add mutually exclusive memory flags for | ||
| 5 | CL_MEM_KERNEL_READ_AND_WRITE | ||
| 6 | |||
| 7 | Fix cl-api-create-buffer on mali DDK. | ||
| 8 | |||
| 9 | Upstream-Status: Submitted [https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/1004] | ||
| 10 | Signed-off-by: Eric Guo <eric.guo@nxp.com> | ||
| 11 | --- | ||
| 12 | tests/util/piglit-util-cl-enum.c | 7 ++++++- | ||
| 13 | 1 file changed, 6 insertions(+), 1 deletion(-) | ||
| 14 | |||
| 15 | diff --git a/tests/util/piglit-util-cl-enum.c b/tests/util/piglit-util-cl-enum.c | ||
| 16 | index 5d43bc102..f2c185c9c 100644 | ||
| 17 | --- a/tests/util/piglit-util-cl-enum.c | ||
| 18 | +++ b/tests/util/piglit-util-cl-enum.c | ||
| 19 | @@ -979,7 +979,7 @@ PIGLIT_CL_DEFINE_ENUM_2(cl_command_queue_properties, 2, 2, 2, 4, 4 /* really? */ | ||
| 20 | PIGLIT_CL_DEFINE_ENUM_PTR_2(cl_command_queue_properties); | ||
| 21 | |||
| 22 | |||
| 23 | -PIGLIT_CL_DEFINE_ENUM(cl_mem_flags, cl_mem_flags_mutexes, 5, 5, 8, 8, 8) = { | ||
| 24 | +PIGLIT_CL_DEFINE_ENUM(cl_mem_flags, cl_mem_flags_mutexes, 5, 5, 8, 11, 11) = { | ||
| 25 | CL_MEM_READ_WRITE | CL_MEM_READ_ONLY, | ||
| 26 | CL_MEM_READ_WRITE | CL_MEM_WRITE_ONLY, | ||
| 27 | CL_MEM_READ_ONLY | CL_MEM_WRITE_ONLY, | ||
| 28 | @@ -990,6 +990,11 @@ PIGLIT_CL_DEFINE_ENUM(cl_mem_flags, cl_mem_flags_mutexes, 5, 5, 8, 8, 8) = { | ||
| 29 | CL_MEM_HOST_WRITE_ONLY | CL_MEM_HOST_NO_ACCESS, | ||
| 30 | CL_MEM_HOST_READ_ONLY | CL_MEM_HOST_NO_ACCESS, | ||
| 31 | #endif //CL_VERSION_1_2 | ||
| 32 | +#if defined(CL_VERSION_2_0) | ||
| 33 | + CL_MEM_KERNEL_READ_AND_WRITE | CL_MEM_READ_ONLY, | ||
| 34 | + CL_MEM_KERNEL_READ_AND_WRITE | CL_MEM_WRITE_ONLY, | ||
| 35 | + CL_MEM_KERNEL_READ_AND_WRITE | CL_MEM_READ_WRITE, | ||
| 36 | +#endif //CL_VERSION_2_0 | ||
| 37 | }; | ||
| 38 | PIGLIT_CL_DEFINE_ENUM_PTR(cl_mem_flags, cl_mem_flags_mutexes); | ||
| 39 | |||
| 40 | -- | ||
| 41 | 2.34.1 | ||
| 42 | |||
diff --git a/recipes-graphics/piglit/piglit_%.bbappend b/recipes-graphics/piglit/piglit_%.bbappend index fe2a0bc2f..3caf8aa15 100644 --- a/recipes-graphics/piglit/piglit_%.bbappend +++ b/recipes-graphics/piglit/piglit_%.bbappend | |||
| @@ -1,6 +1,23 @@ | |||
| 1 | PACKAGECONFIG:remove:imxgpu = "glx" | 1 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" |
| 2 | 2 | ||
| 3 | PACKAGECONFIG:append:mx8-nxp-bsp = " opencl" | 3 | SRC_URI += "file://0001-tests-Fix-cl-test-Include-Directories-error-Error-0-.patch \ |
| 4 | PACKAGECONFIG:append:mx9-nxp-bsp = " opencl" | 4 | file://0002-cl-Add-mutually-exclusive-memory-flags-for-CL_MEM_KE.patch" |
| 5 | |||
| 6 | PACKAGECONFIG:append = " ${PACKAGECONFIG_APPEND}" | ||
| 7 | PACKAGECONFIG:remove = " ${PACKAGECONFIG_REMOVE}" | ||
| 8 | |||
| 9 | PACKAGECONFIG_APPEND ?= " \ | ||
| 10 | gbm \ | ||
| 11 | opencl \ | ||
| 12 | ${@bb.utils.filter('DISTRO_FEATURES', 'vulkan', d)}" | ||
| 13 | PACKAGECONFIG_APPEND:imxgpu:mx6-nxp-bsp = "" | ||
| 14 | PACKAGECONFIG_APPEND:imxgpu:mx7-nxp-bsp = "" | ||
| 15 | |||
| 16 | PACKAGECONFIG_REMOVE ?= "" | ||
| 17 | PACKAGECONFIG_REMOVE:imxgpu = "glx" | ||
| 18 | PACKAGECONFIG_REMOVE:imxgpu:mx6-nxp-bsp = "glx x11" | ||
| 19 | PACKAGECONFIG_REMOVE:imxgpu:mx7-nxp-bsp = "glx x11" | ||
| 20 | |||
| 21 | PACKAGECONFIG[gbm] = "-DPIGLIT_USE_GBM=1,-DPIGLIT_USE_GBM=0,virtual/libgbm" | ||
| 5 | 22 | ||
| 6 | CFLAGS:append:imxgpu:toolchain-clang = " -Wno-error=int-conversion" | 23 | CFLAGS:append:imxgpu:toolchain-clang = " -Wno-error=int-conversion" |
diff --git a/recipes-graphics/vulkan/vulkan-loader/0001-LF-11869-change-mali-wsi-layer-activating-order.patch b/recipes-graphics/vulkan/vulkan-loader-1.3.275.0.imx/0001-LF-11869-change-mali-wsi-layer-activating-order.patch index da738aabe..da738aabe 100644 --- a/recipes-graphics/vulkan/vulkan-loader/0001-LF-11869-change-mali-wsi-layer-activating-order.patch +++ b/recipes-graphics/vulkan/vulkan-loader-1.3.275.0.imx/0001-LF-11869-change-mali-wsi-layer-activating-order.patch | |||
diff --git a/recipes-graphics/vulkan/vulkan-loader-1.4.328.1/0001-LF-11869-change-mali-wsi-layer-activating-order.patch b/recipes-graphics/vulkan/vulkan-loader-1.4.328.1/0001-LF-11869-change-mali-wsi-layer-activating-order.patch new file mode 100644 index 000000000..f54919cd9 --- /dev/null +++ b/recipes-graphics/vulkan/vulkan-loader-1.4.328.1/0001-LF-11869-change-mali-wsi-layer-activating-order.patch | |||
| @@ -0,0 +1,49 @@ | |||
| 1 | From 91aff12a127428ff558d57d93b91b0b909321c35 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Yuan Tian <yuan.tian@nxp.com> | ||
| 3 | Date: Sat, 27 Apr 2024 06:06:54 +0800 | ||
| 4 | Subject: [PATCH] LF-11869 change mali wsi layer activating order | ||
| 5 | |||
| 6 | Upstream-Status: Inappropriate [i.MX specific] | ||
| 7 | |||
| 8 | Signed-off-by: Yuan Tian <yuan.tian@nxp.com> | ||
| 9 | --- | ||
| 10 | loader/loader.c | 12 ++++++++++++ | ||
| 11 | 1 file changed, 12 insertions(+) | ||
| 12 | |||
| 13 | diff --git a/loader/loader.c b/loader/loader.c | ||
| 14 | index 9064cd633..5b00870a4 100644 | ||
| 15 | --- a/loader/loader.c | ||
| 16 | +++ b/loader/loader.c | ||
| 17 | @@ -3034,6 +3034,7 @@ VkResult add_data_files(const struct loader_instance *inst, char *search_path, s | ||
| 18 | #if !defined(_WIN32) | ||
| 19 | char temp_path[2048]; | ||
| 20 | #endif | ||
| 21 | + bool has_wsi_layer = false; | ||
| 22 | |||
| 23 | // Now, parse the paths | ||
| 24 | char *next_file = search_path; | ||
| 25 | @@ -3100,6 +3101,10 @@ VkResult add_data_files(const struct loader_instance *inst, char *search_path, s | ||
| 26 | name = full_path; | ||
| 27 | |||
| 28 | VkResult local_res; | ||
| 29 | + if(!strcmp(name,"/etc/vulkan/implicit_layer.d/VkLayer_window_system_integration.json")) { | ||
| 30 | + has_wsi_layer = true; | ||
| 31 | + continue; | ||
| 32 | + } | ||
| 33 | local_res = add_if_manifest_file(inst, name, out_files); | ||
| 34 | |||
| 35 | // Incomplete means this was not a valid data file. | ||
| 36 | @@ -3110,6 +3115,13 @@ VkResult add_data_files(const struct loader_instance *inst, char *search_path, s | ||
| 37 | break; | ||
| 38 | } | ||
| 39 | } | ||
| 40 | + | ||
| 41 | + if(has_wsi_layer) { | ||
| 42 | + name = "/etc/vulkan/implicit_layer.d/VkLayer_window_system_integration.json"; | ||
| 43 | + vk_result = add_if_manifest_file(inst, name, out_files); | ||
| 44 | + has_wsi_layer = false; | ||
| 45 | + } | ||
| 46 | + | ||
| 47 | loader_closedir(inst, dir_stream); | ||
| 48 | if (vk_result != VK_SUCCESS) { | ||
| 49 | goto out; | ||
diff --git a/recipes-graphics/vulkan/vulkan-loader_%.bbappend b/recipes-graphics/vulkan/vulkan-loader_%.bbappend new file mode 100644 index 000000000..8f28ab1be --- /dev/null +++ b/recipes-graphics/vulkan/vulkan-loader_%.bbappend | |||
| @@ -0,0 +1,10 @@ | |||
| 1 | SRC_URI:append:imx-nxp-bsp = " \ | ||
| 2 | file://0001-LF-11869-change-mali-wsi-layer-activating-order.patch \ | ||
| 3 | " | ||
| 4 | |||
| 5 | PACKAGE_ARCH:imx-nxp-bsp = "${MACHINE_SOCARCH}" | ||
| 6 | |||
| 7 | # libvulkan.so is loaded dynamically, so put it in the main package | ||
| 8 | SOLIBS:imx-nxp-bsp = ".so*" | ||
| 9 | FILES_SOLIBSDEV:imx-nxp-bsp = "" | ||
| 10 | INSANE_SKIP:${PN}:imx-nxp-bsp += "dev-so" | ||
diff --git a/recipes-graphics/vulkan/vulkan-loader_1.3.275.0.imx.bbappend b/recipes-graphics/vulkan/vulkan-loader_1.3.275.0.imx.bbappend index f46249215..8cac41b53 100644 --- a/recipes-graphics/vulkan/vulkan-loader_1.3.275.0.imx.bbappend +++ b/recipes-graphics/vulkan/vulkan-loader_1.3.275.0.imx.bbappend | |||
| @@ -1,14 +1 @@ | |||
| 1 | FILESEXTRAPATHS:prepend:imx-nxp-bsp := "${THISDIR}/${PN}:" | FILESEXTRAPATHS:prepend:imx-nxp-bsp := "${THISDIR}/vulkan-loader-1.3.275.0.imx:" | |
| 2 | |||
| 3 | SRC_URI:append:imx-nxp-bsp = " \ | ||
| 4 | file://0001-LF-11869-change-mali-wsi-layer-activating-order.patch \ | ||
| 5 | " | ||
| 6 | |||
| 7 | # libvulkan.so is loaded dynamically, so put it in the main package | ||
| 8 | SOLIBS = ".so*" | ||
| 9 | FILES_SOLIBSDEV = "" | ||
| 10 | INSANE_SKIP:${PN} += "dev-so" | ||
| 11 | |||
| 12 | # Override default mesa drivers with i.MX GPU drivers | ||
| 13 | RRECOMMENDS:${PN}:imxviv = "libvulkan-imx" | ||
| 14 | RRECOMMENDS:${PN}:imxmali = "mali-imx-libvulkan" | ||
diff --git a/recipes-graphics/vulkan/vulkan-loader_1.4.328.1.bbappend b/recipes-graphics/vulkan/vulkan-loader_1.4.328.1.bbappend new file mode 100644 index 000000000..93f780c9c --- /dev/null +++ b/recipes-graphics/vulkan/vulkan-loader_1.4.328.1.bbappend | |||
| @@ -0,0 +1 @@ | |||
| FILESEXTRAPATHS:prepend:imx-nxp-bsp := "${THISDIR}/vulkan-loader-1.4.328.1:" | |||
diff --git a/recipes-graphics/vulkan/vulkan-wsi-layer/0001-MGS-6801-ccc-vkmark-on-wayland.patch b/recipes-graphics/vulkan/vulkan-wsi-layer/0001-MGS-6801-ccc-vkmark-on-wayland.patch new file mode 100644 index 000000000..48cfcd765 --- /dev/null +++ b/recipes-graphics/vulkan/vulkan-wsi-layer/0001-MGS-6801-ccc-vkmark-on-wayland.patch | |||
| @@ -0,0 +1,30 @@ | |||
| 1 | From ada74fb0ca3099f33d173eb664bd7e42025a3277 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Prabhu Sundararaj <prabhu.sundararaj@nxp.com> | ||
| 3 | Date: Mon, 9 Dec 2024 09:15:11 +0800 | ||
| 4 | Subject: [PATCH 1/2] MGS-6801 [#ccc] vkmark on wayland | ||
| 5 | |||
| 6 | Extend the wayland surface properties with VK_COMPOSITE_ALPHA_OPAQUE_BIT_KHR | ||
| 7 | |||
| 8 | Upstream-Status: Inappropriate [i.MX-specific] | ||
| 9 | Signed-off-by: Prabhu Sundararaj <prabhu.sundararaj@nxp.com> | ||
| 10 | Signed-off-by: Jiyu Yang <jiyu.yang@nxp.com> | ||
| 11 | --- | ||
| 12 | wsi/wayland/surface_properties.cpp | 2 +- | ||
| 13 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 14 | |||
| 15 | diff --git a/wsi/wayland/surface_properties.cpp b/wsi/wayland/surface_properties.cpp | ||
| 16 | index e6435b9..bc1a737 100644 | ||
| 17 | --- a/wsi/wayland/surface_properties.cpp | ||
| 18 | +++ b/wsi/wayland/surface_properties.cpp | ||
| 19 | @@ -89,7 +89,7 @@ VkResult surface_properties::get_surface_capabilities(VkPhysicalDevice physical_ | ||
| 20 | |||
| 21 | /* Composite alpha */ | ||
| 22 | pSurfaceCapabilities->supportedCompositeAlpha = static_cast<VkCompositeAlphaFlagBitsKHR>( | ||
| 23 | - VK_COMPOSITE_ALPHA_PRE_MULTIPLIED_BIT_KHR | VK_COMPOSITE_ALPHA_INHERIT_BIT_KHR); | ||
| 24 | + VK_COMPOSITE_ALPHA_PRE_MULTIPLIED_BIT_KHR | VK_COMPOSITE_ALPHA_OPAQUE_BIT_KHR); | ||
| 25 | return VK_SUCCESS; | ||
| 26 | } | ||
| 27 | |||
| 28 | -- | ||
| 29 | 2.37.1 | ||
| 30 | |||
diff --git a/recipes-graphics/vulkan/vulkan-wsi-layer/0002-MGS-6823-nxp-Add-support-of-VK_COMPOSITE_ALPHA_OPAQU.patch b/recipes-graphics/vulkan/vulkan-wsi-layer/0002-MGS-6823-nxp-Add-support-of-VK_COMPOSITE_ALPHA_OPAQU.patch new file mode 100644 index 000000000..9955f415e --- /dev/null +++ b/recipes-graphics/vulkan/vulkan-wsi-layer/0002-MGS-6823-nxp-Add-support-of-VK_COMPOSITE_ALPHA_OPAQU.patch | |||
| @@ -0,0 +1,243 @@ | |||
| 1 | From 4293d8835eaa45168c070793eefd8867c6ec7605 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Yuan Tian <yuan.tian@nxp.com> | ||
| 3 | Date: Thu, 27 Jul 2023 18:25:16 +0800 | ||
| 4 | Subject: [PATCH 2/2] MGS-6823 [#nxp] Add support of | ||
| 5 | VK_COMPOSITE_ALPHA_OPAQUE_BIT_KHR feature | ||
| 6 | |||
| 7 | Mali vulkan driver doesn't support VK_COMPOSITE_ALPHA_OPAQUE_BIT_KHR. It caused unwanted blending effect in many vulkan cases. | ||
| 8 | Add support of this feature to solve the problem. | ||
| 9 | |||
| 10 | Upstream-Status: Inappropriate [i.MX-specific] | ||
| 11 | Signed-off-by: Yuan Tian <yuan.tian@nxp.com> | ||
| 12 | Signed-off-by: Jiyu Yang <jiyu.yang@nxp.com> | ||
| 13 | --- | ||
| 14 | wsi/wayland/swapchain.cpp | 161 ++++++++++++++++++++++++++++++++++++++ | ||
| 15 | wsi/wayland/swapchain.hpp | 9 +++ | ||
| 16 | 2 files changed, 170 insertions(+) | ||
| 17 | |||
| 18 | Index: git/wsi/wayland/swapchain.cpp | ||
| 19 | =================================================================== | ||
| 20 | --- git.orig/wsi/wayland/swapchain.cpp | ||
| 21 | +++ git/wsi/wayland/swapchain.cpp | ||
| 22 | @@ -38,6 +38,7 @@ | ||
| 23 | #include <cstdio> | ||
| 24 | #include <climits> | ||
| 25 | #include <functional> | ||
| 26 | +#include <poll.h> | ||
| 27 | |||
| 28 | #include "util/drm/drm_utils.hpp" | ||
| 29 | #include "util/log.hpp" | ||
| 30 | @@ -72,12 +73,152 @@ swapchain::~swapchain() | ||
| 31 | wsialloc_delete(m_wsi_allocator); | ||
| 32 | } | ||
| 33 | m_wsi_allocator = nullptr; | ||
| 34 | + if (wlc.opaque_region) | ||
| 35 | + { | ||
| 36 | + wl_compositor_destroy(wlc.wl_compositor); | ||
| 37 | + wl_registry_destroy(wlc.registry); | ||
| 38 | + wl_region_destroy(wlc.opaque_region); | ||
| 39 | + wlc = {0}; | ||
| 40 | + } | ||
| 41 | if (m_buffer_queue != nullptr) | ||
| 42 | { | ||
| 43 | wl_event_queue_destroy(m_buffer_queue); | ||
| 44 | } | ||
| 45 | } | ||
| 46 | |||
| 47 | +static inline int | ||
| 48 | +poll_event(struct wl_display *wl_dpy, short int events, int timeout) | ||
| 49 | +{ | ||
| 50 | + int ret; | ||
| 51 | + struct pollfd pfd[1]; | ||
| 52 | + | ||
| 53 | + pfd[0].fd = wl_display_get_fd(wl_dpy); | ||
| 54 | + pfd[0].events = events; | ||
| 55 | + | ||
| 56 | + do | ||
| 57 | + { | ||
| 58 | + ret = poll(pfd, 1, timeout); | ||
| 59 | + } | ||
| 60 | + while (ret == -1 && errno == EINTR); | ||
| 61 | + | ||
| 62 | + return ret; | ||
| 63 | +} | ||
| 64 | + | ||
| 65 | +static int | ||
| 66 | +dispatch_queue_op(struct wl_display *wl_dpy, | ||
| 67 | + struct wl_event_queue *wl_queue, int timeout) | ||
| 68 | +{ | ||
| 69 | + int ret; | ||
| 70 | + | ||
| 71 | + if (wl_display_prepare_read_queue(wl_dpy, wl_queue) == -1) | ||
| 72 | + { | ||
| 73 | + return wl_display_dispatch_queue_pending(wl_dpy, wl_queue); | ||
| 74 | + } | ||
| 75 | + | ||
| 76 | + for (;;) | ||
| 77 | + { | ||
| 78 | + ret = wl_display_flush(wl_dpy); | ||
| 79 | + | ||
| 80 | + if (ret != -1 || errno != EAGAIN) | ||
| 81 | + break; | ||
| 82 | + | ||
| 83 | + if (poll_event(wl_dpy, POLLOUT, -1) == -1) | ||
| 84 | + { | ||
| 85 | + wl_display_cancel_read(wl_dpy); | ||
| 86 | + return -1; | ||
| 87 | + } | ||
| 88 | + } | ||
| 89 | + | ||
| 90 | + /* Don't stop if flushing hits an EPIPE; continue so we can read any | ||
| 91 | + * protocol error that may have triggered it. */ | ||
| 92 | + if (ret < 0 && errno != EPIPE) | ||
| 93 | + { | ||
| 94 | + wl_display_cancel_read(wl_dpy); | ||
| 95 | + return -1; | ||
| 96 | + } | ||
| 97 | + | ||
| 98 | + ret = poll_event(wl_dpy, POLLIN, timeout); | ||
| 99 | + | ||
| 100 | + /* cancel read when on error or timeout. */ | ||
| 101 | + if (ret == -1 || ret == 0) | ||
| 102 | + { | ||
| 103 | + wl_display_cancel_read(wl_dpy); | ||
| 104 | + return ret; | ||
| 105 | + } | ||
| 106 | + | ||
| 107 | + if (wl_display_read_events(wl_dpy) == -1) | ||
| 108 | + return -1; | ||
| 109 | + | ||
| 110 | + return wl_display_dispatch_queue_pending(wl_dpy, wl_queue); | ||
| 111 | +} | ||
| 112 | + | ||
| 113 | +static void | ||
| 114 | +sync_callback(void *data, struct wl_callback *callback, uint32_t serial) | ||
| 115 | +{ | ||
| 116 | + int *done = (int *)data; | ||
| 117 | + | ||
| 118 | + *done = 1; | ||
| 119 | + wl_callback_destroy(callback); | ||
| 120 | +} | ||
| 121 | + | ||
| 122 | +static const struct wl_callback_listener sync_listener = { | ||
| 123 | + sync_callback | ||
| 124 | +}; | ||
| 125 | + | ||
| 126 | +static int | ||
| 127 | +roundtrip_queue(struct wl_display *wl_dpy, struct wl_event_queue *wl_queue) | ||
| 128 | +{ | ||
| 129 | + struct wl_callback *callback; | ||
| 130 | + int done, ret = 0; | ||
| 131 | + | ||
| 132 | + done = 0; | ||
| 133 | + | ||
| 134 | + /* | ||
| 135 | + * This is to block read & dispatch events in other threads, so that the | ||
| 136 | + * callback is with correct queue and listener when 'done' event. | ||
| 137 | + */ | ||
| 138 | + while (wl_display_prepare_read_queue(wl_dpy, wl_queue) == -1) | ||
| 139 | + wl_display_dispatch_queue_pending(wl_dpy, wl_queue); | ||
| 140 | + | ||
| 141 | + callback = wl_display_sync(wl_dpy); | ||
| 142 | + | ||
| 143 | + if (callback == NULL) | ||
| 144 | + { | ||
| 145 | + wl_display_cancel_read(wl_dpy); | ||
| 146 | + return -1; | ||
| 147 | + } | ||
| 148 | + | ||
| 149 | + wl_proxy_set_queue((struct wl_proxy *) callback, wl_queue); | ||
| 150 | + wl_callback_add_listener(callback, &sync_listener, &done); | ||
| 151 | + | ||
| 152 | + wl_display_cancel_read(wl_dpy); | ||
| 153 | + | ||
| 154 | + while (!done && ret >= 0) | ||
| 155 | + ret = dispatch_queue_op(wl_dpy, wl_queue, 5); | ||
| 156 | + | ||
| 157 | + if (ret == -1 && !done) | ||
| 158 | + wl_callback_destroy(callback); | ||
| 159 | + | ||
| 160 | + return ret; | ||
| 161 | +} | ||
| 162 | + | ||
| 163 | +static void | ||
| 164 | +registry_handle_global(void *data, struct wl_registry *registry, uint32_t name, | ||
| 165 | + const char *interface, uint32_t version) | ||
| 166 | +{ | ||
| 167 | + wl_context *pwlc = (wl_context *)data; | ||
| 168 | + | ||
| 169 | + if(!pwlc->wl_compositor) | ||
| 170 | + { | ||
| 171 | + pwlc->wl_compositor = (wl_compositor *)wl_registry_bind(registry, name, &wl_compositor_interface, 1); | ||
| 172 | + wl_proxy_set_queue((struct wl_proxy *)pwlc->wl_compositor, pwlc->wl_queue); | ||
| 173 | + } | ||
| 174 | +} | ||
| 175 | + | ||
| 176 | +static const struct wl_registry_listener registry_listener = { | ||
| 177 | + registry_handle_global | ||
| 178 | +}; | ||
| 179 | + | ||
| 180 | VkResult swapchain::init_platform(VkDevice device, const VkSwapchainCreateInfoKHR *swapchain_create_info, | ||
| 181 | bool &use_presentation_thread) | ||
| 182 | { | ||
| 183 | @@ -124,6 +265,21 @@ VkResult swapchain::init_platform(VkDevi | ||
| 184 | use_presentation_thread = | ||
| 185 | WAYLAND_FIFO_PRESENTATION_THREAD_ENABLED && (m_present_mode != VK_PRESENT_MODE_MAILBOX_KHR); | ||
| 186 | |||
| 187 | + if (swapchain_create_info->compositeAlpha & VK_COMPOSITE_ALPHA_OPAQUE_BIT_KHR) | ||
| 188 | + { | ||
| 189 | + wlc.wl_queue = m_buffer_queue; | ||
| 190 | + wlc.registry = wl_display_get_registry(m_display); | ||
| 191 | + wl_proxy_set_queue((struct wl_proxy *)(wlc.registry), m_buffer_queue); | ||
| 192 | + wl_registry_add_listener(wlc.registry, ®istry_listener, &wlc); | ||
| 193 | + | ||
| 194 | + roundtrip_queue(m_display, m_buffer_queue); | ||
| 195 | + | ||
| 196 | + wlc.opaque_region = wl_compositor_create_region(wlc.wl_compositor); | ||
| 197 | + wl_proxy_set_queue((struct wl_proxy *)(wlc.opaque_region), m_buffer_queue); | ||
| 198 | + | ||
| 199 | + wl_region_add(wlc.opaque_region, 0, 0, swapchain_create_info->imageExtent.width, swapchain_create_info->imageExtent.height); | ||
| 200 | + } | ||
| 201 | + | ||
| 202 | return VK_SUCCESS; | ||
| 203 | } | ||
| 204 | |||
| 205 | @@ -494,6 +650,11 @@ void swapchain::present_image(const pend | ||
| 206 | set_error_state(VK_ERROR_SURFACE_LOST_KHR); | ||
| 207 | } | ||
| 208 | |||
| 209 | + if (wlc.opaque_region) | ||
| 210 | + { | ||
| 211 | + wl_surface_set_opaque_region(m_surface, wlc.opaque_region); | ||
| 212 | + } | ||
| 213 | + | ||
| 214 | wl_surface_attach(m_surface, image_data->buffer, 0, 0); | ||
| 215 | |||
| 216 | auto present_sync_fd = image_data->present_fence.export_sync_fd(); | ||
| 217 | Index: git/wsi/wayland/swapchain.hpp | ||
| 218 | =================================================================== | ||
| 219 | --- git.orig/wsi/wayland/swapchain.hpp | ||
| 220 | +++ git/wsi/wayland/swapchain.hpp | ||
| 221 | @@ -78,6 +78,14 @@ struct image_creation_parameters | ||
| 222 | } | ||
| 223 | }; | ||
| 224 | |||
| 225 | +struct wl_context | ||
| 226 | +{ | ||
| 227 | + struct wl_event_queue *wl_queue; | ||
| 228 | + struct wl_compositor *wl_compositor; | ||
| 229 | + struct wl_registry *registry; | ||
| 230 | + struct wl_region *opaque_region; | ||
| 231 | +}; | ||
| 232 | + | ||
| 233 | class swapchain : public wsi::swapchain_base | ||
| 234 | { | ||
| 235 | public: | ||
| 236 | @@ -190,6 +198,7 @@ private: | ||
| 237 | |||
| 238 | struct wl_display *m_display; | ||
| 239 | struct wl_surface *m_surface; | ||
| 240 | + struct wl_context wlc = {0}; | ||
| 241 | /** Raw pointer to the WSI Surface that this swapchain was created from. The Vulkan specification ensures that the | ||
| 242 | * surface is valid until swapchain is destroyed. */ | ||
| 243 | surface *m_wsi_surface; | ||
diff --git a/recipes-graphics/vulkan/vulkan-wsi-layer/0003-Update-minimum-version-of-CMake.patch b/recipes-graphics/vulkan/vulkan-wsi-layer/0003-Update-minimum-version-of-CMake.patch new file mode 100644 index 000000000..0bc00de02 --- /dev/null +++ b/recipes-graphics/vulkan/vulkan-wsi-layer/0003-Update-minimum-version-of-CMake.patch | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | From 0c4ed8178a25135ced9df8c8a8909e2882bfe869 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Maged Elnaggar <maged.elnaggar@arm.com> | ||
| 3 | Date: Tue, 17 Jun 2025 10:33:44 +0000 | ||
| 4 | Subject: [PATCH] Update minimum version of CMake | ||
| 5 | |||
| 6 | Set CMake minimum required version range to 3.4.3...4.0 | ||
| 7 | to silence compatibility errors in CMake 4.0 | ||
| 8 | by explicitly opting into all policies up to 4.0 | ||
| 9 | |||
| 10 | Upstream-Status: Backport [https://gitlab.freedesktop.org/mesa/vulkan-wsi-layer/-/commit/1eafebc56a7f735cd4e8298956d596c64ac9f681] | ||
| 11 | Signed-off-by: Maged Elnaggar <maged.elnaggar@arm.com> | ||
| 12 | Change-Id: I2e0527dde4e764e9c17f519fc0ddd3c0e382fa31 | ||
| 13 | --- | ||
| 14 | CMakeLists.txt | 2 +- | ||
| 15 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 16 | |||
| 17 | diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
| 18 | index 4dc800c..b91cd54 100644 | ||
| 19 | --- a/CMakeLists.txt | ||
| 20 | +++ b/CMakeLists.txt | ||
| 21 | @@ -20,7 +20,7 @@ | ||
| 22 | # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
| 23 | # SOFTWARE. | ||
| 24 | |||
| 25 | -cmake_minimum_required(VERSION 3.4.3) | ||
| 26 | +cmake_minimum_required(VERSION 3.4.3...4.0) | ||
| 27 | project(VkLayer_window_system_integration) | ||
| 28 | |||
| 29 | find_package(PkgConfig REQUIRED) | ||
| 30 | -- | ||
| 31 | 2.34.1 | ||
| 32 | |||
diff --git a/recipes-graphics/vulkan/vulkan-wsi-layer_git.bb b/recipes-graphics/vulkan/vulkan-wsi-layer_git.bb new file mode 100644 index 000000000..efa6accb3 --- /dev/null +++ b/recipes-graphics/vulkan/vulkan-wsi-layer_git.bb | |||
| @@ -0,0 +1,54 @@ | |||
| 1 | DESCRIPTION = "Vulkan Window System Integration Layer" | ||
| 2 | LICENSE = "MIT" | ||
| 3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=c2e771b72d60a13d2de384cb49055d00" | ||
| 4 | DEPENDS = "libdrm vulkan-loader" | ||
| 5 | |||
| 6 | PV = "0.0+git${SRCPV}" | ||
| 7 | |||
| 8 | SRC_URI = "git://gitlab.freedesktop.org/mesa/vulkan-wsi-layer.git;protocol=https;branch=main \ | ||
| 9 | file://0001-MGS-6801-ccc-vkmark-on-wayland.patch \ | ||
| 10 | file://0002-MGS-6823-nxp-Add-support-of-VK_COMPOSITE_ALPHA_OPAQU.patch \ | ||
| 11 | file://0003-Update-minimum-version-of-CMake.patch" | ||
| 12 | SRCREV = "cb1a50cf7e640ad7306e673131ded98c0f133628" | ||
| 13 | |||
| 14 | inherit cmake pkgconfig | ||
| 15 | |||
| 16 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', 'headless', d)}" | ||
| 17 | |||
| 18 | PACKAGECONFIG[headless] = " \ | ||
| 19 | -DBUILD_WSI_HEADLESS=1, \ | ||
| 20 | -DBUILD_WSI_HEADLESS=0, \ | ||
| 21 | ,,, \ | ||
| 22 | wayland" | ||
| 23 | PACKAGECONFIG[wayland] = " \ | ||
| 24 | -DBUILD_WSI_WAYLAND=1 -DENABLE_WAYLAND_FIFO_PRESENTATION_THREAD=1 -DSELECT_EXTERNAL_ALLOCATOR=dma_buf_heaps, \ | ||
| 25 | -DBUILD_WSI_WAYLAND=0, \ | ||
| 26 | wayland wayland-native wayland-protocols,,, \ | ||
| 27 | headless" | ||
| 28 | |||
| 29 | EXTRA_OECMAKE = " \ | ||
| 30 | -DBUILD_WSI_DISPLAY=0 \ | ||
| 31 | -DBUILD_WSI_IMAGE_COMPRESSION_CONTROL_SWAPCHAIN=1 \ | ||
| 32 | -DCMAKE_BUILD_TYPE=Release \ | ||
| 33 | -DCMAKE_EXPORT_COMPILE_COMMANDS=1 \ | ||
| 34 | -DENABLE_INSTRUMENTATION=1 \ | ||
| 35 | -DKERNEL_HEADER_DIR=${KERNEL_HEADER_DIR} \ | ||
| 36 | -DVULKAN_WSI_LAYER_EXPERIMENTAL=0 " | ||
| 37 | |||
| 38 | # The KERNEL_HEADER_DIR setting is required by the CMake apparently | ||
| 39 | # in order to find the DRM headers. However, the Yocto build provides | ||
| 40 | # the DRM headers via a separate recipe libdrm in order to avoid the | ||
| 41 | # kernel dependency. The CMake fails if the variable is not defined, | ||
| 42 | # so set it to an invalid value in case the build ever actually needs | ||
| 43 | # the kernel headers for something else. | ||
| 44 | KERNEL_HEADER_DIR = "KERNEL_HEADER_DIR_NOT_PROVIDED_BY_YOCTO" | ||
| 45 | |||
| 46 | do_install() { | ||
| 47 | install -d ${D}${sysconfdir}/vulkan/implicit_layer.d | ||
| 48 | install -m 0755 ${B}/libVkLayer_window_system_integration.so ${D}${sysconfdir}/vulkan/implicit_layer.d/ | ||
| 49 | install -m 0644 ${B}/VkLayer_window_system_integration.json ${D}${sysconfdir}/vulkan/implicit_layer.d | ||
| 50 | } | ||
| 51 | |||
| 52 | # Adjust packaging variables for unversioned library | ||
| 53 | SOLIBS = ".so" | ||
| 54 | FILES_SOLIBSDEV = "" | ||
diff --git a/recipes-graphics/wayland/wayland-protocols_1.37.imx.bb b/recipes-graphics/wayland/wayland-protocols_1.41.imx.bb index 393278bc6..3350a4795 100644 --- a/recipes-graphics/wayland/wayland-protocols_1.37.imx.bb +++ b/recipes-graphics/wayland/wayland-protocols_1.41.imx.bb | |||
| @@ -11,12 +11,13 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=c7b12b6702da38ca028ace54aae3d484 \ | |||
| 11 | 11 | ||
| 12 | SRC_URI = "${WAYLAND_PROTOCOLS_SRC};branch=${SRCBRANCH}" | 12 | SRC_URI = "${WAYLAND_PROTOCOLS_SRC};branch=${SRCBRANCH}" |
| 13 | WAYLAND_PROTOCOLS_SRC ?= "git://github.com/nxp-imx/wayland-protocols-imx.git;protocol=https" | 13 | WAYLAND_PROTOCOLS_SRC ?= "git://github.com/nxp-imx/wayland-protocols-imx.git;protocol=https" |
| 14 | SRCBRANCH = "wayland-protocols-imx-${@oe.utils.trim_version("${PV}", 2)}" | 14 | SRCBRANCH = "wayland-protocols-imx-1.41" |
| 15 | SRCREV = "831a5389062e56dcb1aac4a5419e55e3002aafaf" | 15 | SRCREV = "7213a4e09837c77112bce2d241491600e00dd095" |
| 16 | 16 | ||
| 17 | S = "${WORKDIR}/git" | 17 | UPSTREAM_CHECK_URI = "https://gitlab.freedesktop.org/wayland/wayland-protocols/-/tags" |
| 18 | UPSTREAM_CHECK_REGEX = "releases/(?P<pver>.+)" | ||
| 18 | 19 | ||
| 19 | UPSTREAM_CHECK_URI = "https://wayland.freedesktop.org/releases.html" | 20 | DEPENDS += "wayland-native" |
| 20 | 21 | ||
| 21 | # NOTE: For i.MX drop allarch since the recipe is SOCARCH | 22 | # NOTE: For i.MX drop allarch since the recipe is SOCARCH |
| 22 | #inherit meson pkgconfig allarch | 23 | #inherit meson pkgconfig allarch |
| @@ -24,9 +25,6 @@ inherit meson pkgconfig | |||
| 24 | 25 | ||
| 25 | EXTRA_OEMESON += "-Dtests=false" | 26 | EXTRA_OEMESON += "-Dtests=false" |
| 26 | 27 | ||
| 27 | PACKAGES = "${PN}" | ||
| 28 | FILES:${PN} += "${datadir}/pkgconfig/wayland-protocols.pc" | ||
| 29 | |||
| 30 | BBCLASSEXTEND = "native nativesdk" | 28 | BBCLASSEXTEND = "native nativesdk" |
| 31 | 29 | ||
| 32 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" | 30 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" |
diff --git a/recipes-graphics/wayland/weston_10.0.5.imx.bb b/recipes-graphics/wayland/weston_10.0.5.imx.bb index 2c74481ac..4d7d99130 100644 --- a/recipes-graphics/wayland/weston_10.0.5.imx.bb +++ b/recipes-graphics/wayland/weston_10.0.5.imx.bb | |||
| @@ -68,7 +68,7 @@ PACKAGECONFIG[headless] = "-Dbackend-headless=true,-Dbackend-headless=false" | |||
| 68 | # Weston on framebuffer | 68 | # Weston on framebuffer |
| 69 | PACKAGECONFIG[fbdev] = "-Ddeprecated-backend-fbdev=true,-Ddeprecated-backend-fbdev=false,udev mtdev" | 69 | PACKAGECONFIG[fbdev] = "-Ddeprecated-backend-fbdev=true,-Ddeprecated-backend-fbdev=false,udev mtdev" |
| 70 | # Weston on RDP | 70 | # Weston on RDP |
| 71 | PACKAGECONFIG[rdp] = "-Dbackend-rdp=true,-Dbackend-rdp=false,freerdp" | 71 | PACKAGECONFIG[rdp] = "-Dbackend-rdp=true,-Dbackend-rdp=false,freerdp,freerdp" |
| 72 | # weston-launch | 72 | # weston-launch |
| 73 | PACKAGECONFIG[launch] = "-Ddeprecated-weston-launch=true,-Ddeprecated-weston-launch=false,drm" | 73 | PACKAGECONFIG[launch] = "-Ddeprecated-weston-launch=true,-Ddeprecated-weston-launch=false,drm" |
| 74 | # VA-API desktop recorder | 74 | # VA-API desktop recorder |
| @@ -144,7 +144,7 @@ RDEPENDS:${PN}-xwayland += "xwayland" | |||
| 144 | 144 | ||
| 145 | RDEPENDS:${PN} += "xkeyboard-config" | 145 | RDEPENDS:${PN} += "xkeyboard-config" |
| 146 | RRECOMMENDS:${PN} = "weston-init liberation-fonts" | 146 | RRECOMMENDS:${PN} = "weston-init liberation-fonts" |
| 147 | RRECOMMENDS:${PN}-dev += "wayland-protocols" | 147 | RDEPENDS:${PN}-dev += "wayland-protocols-dev" |
| 148 | 148 | ||
| 149 | USERADD_PACKAGES = "${PN}" | 149 | USERADD_PACKAGES = "${PN}" |
| 150 | GROUPADD_PARAM:${PN} = "--system weston-launch" | 150 | GROUPADD_PARAM:${PN} = "--system weston-launch" |
| @@ -166,7 +166,6 @@ SRC_URI += "file://0001-Revert-protocol-no-found-wayland-scanner-with-Yocto-.pat | |||
| 166 | file://0001-g2d-renderer.c-Include-sys-stat.h.patch" | 166 | file://0001-g2d-renderer.c-Include-sys-stat.h.patch" |
| 167 | SRCBRANCH = "weston-imx-10.0.5" | 167 | SRCBRANCH = "weston-imx-10.0.5" |
| 168 | SRCREV = "7129417ae04de57f9596ccf27f74ef967660a64f" | 168 | SRCREV = "7129417ae04de57f9596ccf27f74ef967660a64f" |
| 169 | S = "${WORKDIR}/git" | ||
| 170 | 169 | ||
| 171 | # Disable OpenGL for parts with GPU support for 2D but not 3D | 170 | # Disable OpenGL for parts with GPU support for 2D but not 3D |
| 172 | REQUIRED_DISTRO_FEATURES = "opengl" | 171 | REQUIRED_DISTRO_FEATURES = "opengl" |
| @@ -206,6 +205,6 @@ EXTRA_OEMESON += "-Ddeprecated-wl-shell=true" | |||
| 206 | LDFLAGS:append:imxgpu:libc-musl = " -Wl,--allow-shlib-undefined" | 205 | LDFLAGS:append:imxgpu:libc-musl = " -Wl,--allow-shlib-undefined" |
| 207 | 206 | ||
| 208 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" | 207 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" |
| 209 | COMPATIBLE_MACHINE = "(imxfbdev|imxgpu)" | 208 | COMPATIBLE_MACHINE = "(imx-nxp-bsp)" |
| 210 | 209 | ||
| 211 | ########### End of i.MX overrides ######### | 210 | ########### End of i.MX overrides ######### |
diff --git a/recipes-graphics/wayland/weston_14.0.1.imx.bb b/recipes-graphics/wayland/weston_14.0.2.imx.bb index f66974700..c4f938e5a 100644 --- a/recipes-graphics/wayland/weston_14.0.1.imx.bb +++ b/recipes-graphics/wayland/weston_14.0.2.imx.bb | |||
| @@ -3,7 +3,7 @@ | |||
| 3 | # recipe. The second section customizes the recipe for i.MX. | 3 | # recipe. The second section customizes the recipe for i.MX. |
| 4 | 4 | ||
| 5 | ########### OE-core copy ################## | 5 | ########### OE-core copy ################## |
| 6 | # Upstream hash: 23271a1f908a223b4eb56d6034cbb1ac23da14fe | 6 | # Upstream hash: 8996690a79ac42a1dee6d041eeb1c1fe29fdac84 |
| 7 | 7 | ||
| 8 | SUMMARY = "Weston, a Wayland compositor" | 8 | SUMMARY = "Weston, a Wayland compositor" |
| 9 | DESCRIPTION = "Weston is the reference implementation of a Wayland compositor" | 9 | DESCRIPTION = "Weston is the reference implementation of a Wayland compositor" |
| @@ -14,14 +14,13 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d79ee9e66bb0f95d3386a7acae780b70 \ | |||
| 14 | " | 14 | " |
| 15 | 15 | ||
| 16 | SRC_URI = "https://gitlab.freedesktop.org/wayland/weston/-/releases/${PV}/downloads/${BPN}-${PV}.tar.xz \ | 16 | SRC_URI = "https://gitlab.freedesktop.org/wayland/weston/-/releases/${PV}/downloads/${BPN}-${PV}.tar.xz \ |
| 17 | file://0001-libweston-tools-Include-libgen.h-for-basename-signat.patch \ | ||
| 18 | file://weston.png \ | 17 | file://weston.png \ |
| 19 | file://weston.desktop \ | 18 | file://weston.desktop \ |
| 20 | file://xwayland.weston-start \ | 19 | file://xwayland.weston-start \ |
| 21 | file://systemd-notify.weston-start \ | 20 | file://systemd-notify.weston-start \ |
| 22 | " | 21 | " |
| 23 | 22 | ||
| 24 | SRC_URI[sha256sum] = "27f68d96e3b97d98daadef13a202356524924fa381418fa6716b9136ef099093" | 23 | SRC_URI[sha256sum] = "a8150505b126a59df781fe8c30c8e6f87da7013e179039eb844a5bbbcc7c79b3" |
| 25 | 24 | ||
| 26 | UPSTREAM_CHECK_URI = "https://gitlab.freedesktop.org/wayland/weston/-/tags" | 25 | UPSTREAM_CHECK_URI = "https://gitlab.freedesktop.org/wayland/weston/-/tags" |
| 27 | UPSTREAM_CHECK_REGEX = "releases/(?P<pver>\d+\.\d+\.(?!9\d+)\d+)" | 26 | UPSTREAM_CHECK_REGEX = "releases/(?P<pver>\d+\.\d+\.(?!9\d+)\d+)" |
| @@ -33,13 +32,13 @@ inherit meson pkgconfig useradd | |||
| 33 | require ${THISDIR}/required-distro-features.inc | 32 | require ${THISDIR}/required-distro-features.inc |
| 34 | 33 | ||
| 35 | DEPENDS = "libxkbcommon gdk-pixbuf pixman cairo glib-2.0" | 34 | DEPENDS = "libxkbcommon gdk-pixbuf pixman cairo glib-2.0" |
| 36 | DEPENDS += "wayland wayland-protocols libinput virtual/egl pango wayland-native" | 35 | DEPENDS += "wayland wayland-protocols libinput virtual/egl pango wayland-native libdisplay-info" |
| 37 | 36 | ||
| 38 | LDFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'lto', '-Wl,-z,undefs', '', d)}" | 37 | LDFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'lto', '-Wl,-z,undefs', '', d)}" |
| 39 | 38 | ||
| 40 | WESTON_MAJOR_VERSION = "${@'.'.join(d.getVar('PV').split('.')[0:1])}" | 39 | WESTON_MAJOR_VERSION = "${@'.'.join(d.getVar('PV').split('.')[0:1])}" |
| 41 | 40 | ||
| 42 | EXTRA_OEMESON += "-Dpipewire=false" | 41 | EXTRA_OEMESON += "-Dpipewire=false -Dtests=false" |
| 43 | 42 | ||
| 44 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'kms wayland egl clients', '', d)} \ | 43 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'kms wayland egl clients', '', d)} \ |
| 45 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11 wayland', 'xwayland', '', d)} \ | 44 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11 wayland', 'xwayland', '', d)} \ |
| @@ -80,9 +79,7 @@ PACKAGECONFIG[webp] = "-Dimage-webp=true,-Dimage-webp=false,libwebp" | |||
| 80 | # Weston with systemd support | 79 | # Weston with systemd support |
| 81 | PACKAGECONFIG[systemd] = "-Dsystemd=true,-Dsystemd=false,systemd dbus" | 80 | PACKAGECONFIG[systemd] = "-Dsystemd=true,-Dsystemd=false,systemd dbus" |
| 82 | # Weston with Xwayland support (requires X11 and Wayland) | 81 | # Weston with Xwayland support (requires X11 and Wayland) |
| 83 | PACKAGECONFIG[xwayland] = "-Dxwayland=true,-Dxwayland=false,libxcb libxcursor xcb-util-cursor xwayland" | 82 | PACKAGECONFIG[xwayland] = "-Dxwayland=true,-Dxwayland=false,libxcb libxcursor xwayland" |
| 84 | # colord CMS support | ||
| 85 | PACKAGECONFIG[colord] = "-Ddeprecated-color-management-colord=true,-Ddeprecated-color-management-colord=false,colord" | ||
| 86 | # Clients support | 83 | # Clients support |
| 87 | PACKAGECONFIG[clients] = "-Dsimple-clients=${SIMPLECLIENTS} -Ddemo-clients=true,-Dsimple-clients= -Ddemo-clients=false" | 84 | PACKAGECONFIG[clients] = "-Dsimple-clients=${SIMPLECLIENTS} -Ddemo-clients=true,-Dsimple-clients= -Ddemo-clients=false" |
| 88 | # Virtual remote output with GStreamer on DRM backend | 85 | # Virtual remote output with GStreamer on DRM backend |
| @@ -147,7 +144,7 @@ RDEPENDS:${PN}-xwayland += "xwayland" | |||
| 147 | 144 | ||
| 148 | RDEPENDS:${PN} += "xkeyboard-config" | 145 | RDEPENDS:${PN} += "xkeyboard-config" |
| 149 | RRECOMMENDS:${PN} = "weston-init liberation-fonts" | 146 | RRECOMMENDS:${PN} = "weston-init liberation-fonts" |
| 150 | RRECOMMENDS:${PN}-dev += "wayland-protocols" | 147 | RDEPENDS:${PN}-dev += "wayland-protocols-dev" |
| 151 | 148 | ||
| 152 | USERADD_PACKAGES = "${PN}" | 149 | USERADD_PACKAGES = "${PN}" |
| 153 | GROUPADD_PARAM:${PN} = "--system weston-launch" | 150 | GROUPADD_PARAM:${PN} = "--system weston-launch" |
| @@ -162,27 +159,20 @@ LIC_FILES_CHKSUM += "file://LICENSE;md5=d79ee9e66bb0f95d3386a7acae780b70" | |||
| 162 | 159 | ||
| 163 | DEFAULT_PREFERENCE = "-1" | 160 | DEFAULT_PREFERENCE = "-1" |
| 164 | 161 | ||
| 165 | DEPENDS:append = " libdisplay-info" | ||
| 166 | |||
| 167 | SRC_URI:remove = "https://gitlab.freedesktop.org/wayland/weston/-/releases/${PV}/downloads/${BPN}-${PV}.tar.xz" | 162 | SRC_URI:remove = "https://gitlab.freedesktop.org/wayland/weston/-/releases/${PV}/downloads/${BPN}-${PV}.tar.xz" |
| 168 | SRC_URI:prepend = "${WESTON_SRC};branch=${SRCBRANCH} " | 163 | SRC_URI:prepend = "${WESTON_SRC};branch=${SRCBRANCH} " |
| 169 | WESTON_SRC ?= "git://github.com/nxp-imx/weston-imx.git;protocol=https" | 164 | WESTON_SRC ?= "git://github.com/nxp-imx/weston-imx.git;protocol=https" |
| 170 | SRCBRANCH = "weston-imx-14.0.1" | 165 | SRCBRANCH = "weston-imx-14.0.2" |
| 171 | SRCREV = "0fd5d3ab75346e525b565039a7b8bf5d9008be78" | 166 | SRCREV = "c267ba8e6eed3a824e042a200bcc1b4c370ba88f" |
| 172 | S = "${WORKDIR}/git" | ||
| 173 | |||
| 174 | SRC_URI:remove = "file://0001-libweston-tools-Include-libgen.h-for-basename-signat.patch" | ||
| 175 | 167 | ||
| 176 | PACKAGECONFIG_IMX_REMOVALS ?= "wayland x11" | ||
| 177 | PACKAGECONFIG:remove = "${PACKAGECONFIG_IMX_REMOVALS}" | 168 | PACKAGECONFIG:remove = "${PACKAGECONFIG_IMX_REMOVALS}" |
| 169 | PACKAGECONFIG_IMX_REMOVALS ?= "wayland x11" | ||
| 178 | 170 | ||
| 179 | PACKAGECONFIG:append = " ${PACKAGECONFIG_G2D}" | 171 | PACKAGECONFIG:append = " ${PACKAGECONFIG_G2D}" |
| 180 | PACKAGECONFIG_G2D ??= "" | 172 | PACKAGECONFIG_G2D ??= "" |
| 181 | PACKAGECONFIG_G2D:imxgpu2d ??= "imxg2d" | 173 | PACKAGECONFIG_G2D:imxgpu2d ??= "imxg2d" |
| 182 | PACKAGECONFIG_G2D:mx93-nxp-bsp ??= "imxg2d" | 174 | PACKAGECONFIG_G2D:mx93-nxp-bsp ??= "imxg2d" |
| 183 | 175 | PACKAGECONFIG_G2D:mx943-nxp-bsp ??= "imxg2d" | |
| 184 | # Remove no longer supported colord | ||
| 185 | PACKAGECONFIG[colord] = "" | ||
| 186 | 176 | ||
| 187 | # Weston with i.MX G2D renderer | 177 | # Weston with i.MX G2D renderer |
| 188 | PACKAGECONFIG[imxg2d] = "-Drenderer-g2d=true,-Drenderer-g2d=false,virtual/libg2d" | 178 | PACKAGECONFIG[imxg2d] = "-Drenderer-g2d=true,-Drenderer-g2d=false,virtual/libg2d" |
diff --git a/recipes-graphics/xwayland/xwayland_24.1.6.imx.bb b/recipes-graphics/xwayland/xwayland_24.1.6.imx.bb index 36d5cb727..1d7ee80f6 100644 --- a/recipes-graphics/xwayland/xwayland_24.1.6.imx.bb +++ b/recipes-graphics/xwayland/xwayland_24.1.6.imx.bb | |||
| @@ -18,7 +18,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=5df87950af51ac2c5822094553ea1880" | |||
| 18 | SRC_URI = "https://www.x.org/archive/individual/xserver/${BP_ORIGINAL}.tar.xz" | 18 | SRC_URI = "https://www.x.org/archive/individual/xserver/${BP_ORIGINAL}.tar.xz" |
| 19 | BP_ORIGINAL = "${BPN}-24.1.6" | 19 | BP_ORIGINAL = "${BPN}-24.1.6" |
| 20 | SRC_URI[sha256sum] = "737e612ca36bbdf415a911644eb7592cf9389846847b47fa46dc705bd754d2d7" | 20 | SRC_URI[sha256sum] = "737e612ca36bbdf415a911644eb7592cf9389846847b47fa46dc705bd754d2d7" |
| 21 | S = "${WORKDIR}/${BP_ORIGINAL}" | 21 | S = "${UNPACKDIR}/${BP_ORIGINAL}" |
| 22 | 22 | ||
| 23 | UPSTREAM_CHECK_REGEX = "xwayland-(?P<pver>\d+(\.(?!90\d)\d+)+)\.tar" | 23 | UPSTREAM_CHECK_REGEX = "xwayland-(?P<pver>\d+(\.(?!90\d)\d+)+)\.tar" |
| 24 | 24 | ||
diff --git a/recipes-kernel/ceetm/ceetm_git.bb b/recipes-kernel/ceetm/ceetm_git.bb index 9ed3f1f5f..947a31280 100644 --- a/recipes-kernel/ceetm/ceetm_git.bb +++ b/recipes-kernel/ceetm/ceetm_git.bb | |||
| @@ -9,8 +9,6 @@ SRC_URI:append = " file://0001-Makefile-update-CFLAGS.patch \ | |||
| 9 | " | 9 | " |
| 10 | DEPENDS = "iproute2" | 10 | DEPENDS = "iproute2" |
| 11 | 11 | ||
| 12 | S = "${WORKDIR}/git" | ||
| 13 | |||
| 14 | export IPROUTE2_DIR = "${STAGING_DIR_TARGET}" | 12 | export IPROUTE2_DIR = "${STAGING_DIR_TARGET}" |
| 15 | WRAP_TARGET_PREFIX ?= "${TARGET_PREFIX}" | 13 | WRAP_TARGET_PREFIX ?= "${TARGET_PREFIX}" |
| 16 | export CROSS_COMPILE = "${WRAP_TARGET_PREFIX}" | 14 | export CROSS_COMPILE = "${WRAP_TARGET_PREFIX}" |
diff --git a/recipes-kernel/kernel-modules/kernel-module-ar_git.bb b/recipes-kernel/kernel-modules/kernel-module-ar_git.bb index 553e2013c..054cb1fb9 100644 --- a/recipes-kernel/kernel-modules/kernel-module-ar_git.bb +++ b/recipes-kernel/kernel-modules/kernel-module-ar_git.bb | |||
| @@ -7,8 +7,6 @@ inherit module | |||
| 7 | SRC_URI = "git://github.com/nxp-qoriq-yocto-sdk/auto-resp;branch=nxp/sdk-v2.0.x;protocol=https" | 7 | SRC_URI = "git://github.com/nxp-qoriq-yocto-sdk/auto-resp;branch=nxp/sdk-v2.0.x;protocol=https" |
| 8 | SRCREV = "9a74743167dcfcfbca5056eedbff9a52337c9712" | 8 | SRCREV = "9a74743167dcfcfbca5056eedbff9a52337c9712" |
| 9 | 9 | ||
| 10 | S = "${WORKDIR}/git" | ||
| 11 | |||
| 12 | EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} SYSROOT=${STAGING_DIR_TARGET}" | 10 | EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} SYSROOT=${STAGING_DIR_TARGET}" |
| 13 | export KERNEL_PATH | 11 | export KERNEL_PATH |
| 14 | 12 | ||
diff --git a/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.4.11.p2.2+fslc.bb b/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.4.11.p2.2+fslc.bb index 13793132a..053239365 100644 --- a/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.4.11.p2.2+fslc.bb +++ b/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.4.11.p2.2+fslc.bb | |||
| @@ -12,8 +12,6 @@ PV .= "+git${SRCPV}" | |||
| 12 | SRCREV = "4d035200e7b15d2713d49979a1d05f201b92cf4c" | 12 | SRCREV = "4d035200e7b15d2713d49979a1d05f201b92cf4c" |
| 13 | SRC_URI = "git://github.com/Freescale/kernel-module-imx-gpu-viv.git;protocol=https;branch=master" | 13 | SRC_URI = "git://github.com/Freescale/kernel-module-imx-gpu-viv.git;protocol=https;branch=master" |
| 14 | 14 | ||
| 15 | S = "${WORKDIR}/git" | ||
| 16 | |||
| 17 | inherit module | 15 | inherit module |
| 18 | 16 | ||
| 19 | KERNEL_MODULE_AUTOLOAD = "galcore" | 17 | KERNEL_MODULE_AUTOLOAD = "galcore" |
diff --git a/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.4.11.p3.0.bb b/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.4.11.p3.2.bb index 8a0c0bbeb..8670443db 100644 --- a/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.4.11.p3.0.bb +++ b/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.4.11.p3.2.bb | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | # Copyright (C) 2015-2016 Freescale Semiconductor | 1 | # Copyright (C) 2015-2016 Freescale Semiconductor |
| 2 | # Copyright (C) 2017-2024 NXP | 2 | # Copyright (C) 2017-2025 NXP |
| 3 | 3 | ||
| 4 | SUMMARY = "Kernel loadable module for Vivante GPU" | 4 | SUMMARY = "Kernel loadable module for Vivante GPU" |
| 5 | DESCRIPTION = "Builds the Vivante GPU kernel driver as a loadable kernel module, \ | 5 | DESCRIPTION = "Builds the Vivante GPU kernel driver as a loadable kernel module, \ |
| @@ -7,14 +7,14 @@ 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 = "${KERNEL_SRC};subpath=drivers/mxc/gpu-viv;destsuffix=git/src \ | 10 | SRC_URI = "${LINUX_IMX_SRC};subpath=drivers/mxc/gpu-viv;destsuffix=${S}/src \ |
| 11 | file://Add-makefile.patch" | 11 | file://Add-makefile.patch" |
| 12 | KERNEL_SRC ?= "git://github.com/nxp-imx/linux-imx.git;protocol=https;branch=${SRCBRANCH}" | 12 | LINUX_IMX_SRC ?= "git://github.com/nxp-imx/linux-imx.git;protocol=https;branch=${SRCBRANCH}" |
| 13 | SRCBRANCH = "lf-6.12.y" | 13 | SRCBRANCH = "lf-6.12.y" |
| 14 | LOCALVERSION = "-6.12.3-1.0.0" | 14 | LOCALVERSION = "-6.12.20-2.0.0" |
| 15 | SRCREV = "d8c9f00d41b313a1ac122530524a62604c6871c9" | 15 | SRCREV = "d53b3fa8a69bef5ead825e81aa62dbdd08e1409c" |
| 16 | 16 | ||
| 17 | S = "${WORKDIR}/git" | 17 | S = "${UNPACKDIR}/${BP}" |
| 18 | 18 | ||
| 19 | inherit module | 19 | inherit module |
| 20 | 20 | ||
diff --git a/recipes-kernel/kernel-modules/kernel-module-ipc.inc b/recipes-kernel/kernel-modules/kernel-module-ipc.inc index d2316fe00..50d8cca62 100644 --- a/recipes-kernel/kernel-modules/kernel-module-ipc.inc +++ b/recipes-kernel/kernel-modules/kernel-module-ipc.inc | |||
| @@ -8,8 +8,6 @@ inherit module qoriq_build_64bit_kernel | |||
| 8 | SRC_URI = "git://github.com/nxp-qoriq-yocto-sdk/ipc;protocol=https;nobranch=1" | 8 | SRC_URI = "git://github.com/nxp-qoriq-yocto-sdk/ipc;protocol=https;nobranch=1" |
| 9 | SRCREV = "74d662707558290f070f9589177db730444bc435" | 9 | SRCREV = "74d662707558290f070f9589177db730444bc435" |
| 10 | 10 | ||
| 11 | S = "${WORKDIR}/git" | ||
| 12 | |||
| 13 | do_configure[depends] += "virtual/kernel:do_shared_workdir" | 11 | do_configure[depends] += "virtual/kernel:do_shared_workdir" |
| 14 | do_compile:prepend () { | 12 | do_compile:prepend () { |
| 15 | cd ${S}/kernel | 13 | cd ${S}/kernel |
diff --git a/recipes-kernel/kernel-modules/kernel-module-isp-vvcam_4.2.2.25.1.bb b/recipes-kernel/kernel-modules/kernel-module-isp-vvcam_4.2.2.25.2.bb index 33c348ae9..058d9e0d8 100644 --- a/recipes-kernel/kernel-modules/kernel-module-isp-vvcam_4.2.2.25.1.bb +++ b/recipes-kernel/kernel-modules/kernel-module-isp-vvcam_4.2.2.25.2.bb | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | # Copyright (C) 2020-2023 NXP | 1 | # Copyright (C) 2020-2025 NXP |
| 2 | 2 | ||
| 3 | DESCRIPTION = "Kernel loadable module for ISP" | 3 | DESCRIPTION = "Kernel loadable module for ISP" |
| 4 | LICENSE = "GPL-2.0-only" | 4 | LICENSE = "GPL-2.0-only" |
| @@ -6,17 +6,18 @@ LIC_FILES_CHKSUM = "file://${S}/../LICENSE;md5=64381a6ea83b48c39fe524c85f65fb44" | |||
| 6 | 6 | ||
| 7 | SRC_URI = "${ISP_KERNEL_SRC};branch=${SRCBRANCH}" | 7 | SRC_URI = "${ISP_KERNEL_SRC};branch=${SRCBRANCH}" |
| 8 | ISP_KERNEL_SRC ?= "git://github.com/nxp-imx/isp-vvcam.git;protocol=https" | 8 | ISP_KERNEL_SRC ?= "git://github.com/nxp-imx/isp-vvcam.git;protocol=https" |
| 9 | SRCBRANCH = "lf-6.12.y_1.0.0" | 9 | SRCBRANCH = "lf-6.12.y_2.0.0" |
| 10 | SRCREV = "78d717bb22819df9d988ef1b4e3cca1acf61095d" | 10 | SRCREV = "dc686fbb8b5b2f4cbc58d83756f65ad970b03ac2" |
| 11 | 11 | ||
| 12 | S = "${WORKDIR}/git/vvcam/v4l2" | 12 | |
| 13 | S = "${UNPACKDIR}/${BP}/vvcam/v4l2" | ||
| 13 | 14 | ||
| 14 | inherit module | 15 | inherit module |
| 15 | 16 | ||
| 16 | MODULES_MODULE_SYMVERS_LOCATION = "dwe" | 17 | MODULES_MODULE_SYMVERS_LOCATION = "dwe" |
| 17 | 18 | ||
| 18 | DEBUG_PREFIX_MAP:prepend = " \ | 19 | DEBUG_PREFIX_MAP:prepend = " \ |
| 19 | -fmacro-prefix-map=${WORKDIR}/git/vvcam=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR} \ | 20 | -fmacro-prefix-map=${UNPACKDIR}/${BP}/vvcam=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR} \ |
| 20 | -fdebug-prefix-map=${WORKDIR}/git/vvcam=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR} " | 21 | -fdebug-prefix-map=${UNPACKDIR}/${BP}/vvcam=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR} " |
| 21 | 22 | ||
| 22 | COMPATIBLE_MACHINE = "(mx8mp-nxp-bsp)" | 23 | COMPATIBLE_MACHINE = "(mx8mp-nxp-bsp)" |
diff --git a/recipes-kernel/kernel-modules/kernel-module-ls-debug_git.bb b/recipes-kernel/kernel-modules/kernel-module-ls-debug_git.bb index ba1561618..9c5ce8f17 100644 --- a/recipes-kernel/kernel-modules/kernel-module-ls-debug_git.bb +++ b/recipes-kernel/kernel-modules/kernel-module-ls-debug_git.bb | |||
| @@ -10,8 +10,6 @@ inherit module autotools-brokensep | |||
| 10 | SRC_URI = "git://github.com/nxp-qoriq-yocto-sdk/ls-dbg;branch=nxp/master;protocol=https" | 10 | SRC_URI = "git://github.com/nxp-qoriq-yocto-sdk/ls-dbg;branch=nxp/master;protocol=https" |
| 11 | SRCREV = "40501f6659e880d38508cdd34a4df2d348d1c68e" | 11 | SRCREV = "40501f6659e880d38508cdd34a4df2d348d1c68e" |
| 12 | 12 | ||
| 13 | S = "${WORKDIR}/git" | ||
| 14 | |||
| 15 | EXTRA_OECONF += "--with-linux=${STAGING_KERNEL_DIR}" | 13 | EXTRA_OECONF += "--with-linux=${STAGING_KERNEL_DIR}" |
| 16 | EXTRA_OEMAKE += 'SYSROOT="${D}"' | 14 | EXTRA_OEMAKE += 'SYSROOT="${D}"' |
| 17 | 15 | ||
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 5b3b47756..2341ab0c9 100644 --- a/recipes-kernel/kernel-modules/kernel-module-nxp-wlan_git.bb +++ b/recipes-kernel/kernel-modules/kernel-module-nxp-wlan_git.bb | |||
| @@ -8,15 +8,13 @@ RREPLACES:${PN} = "kernel-module-nxp89xx" | |||
| 8 | RPROVIDES:${PN} = "kernel-module-nxp89xx" | 8 | RPROVIDES:${PN} = "kernel-module-nxp89xx" |
| 9 | RCONFLICTS:${PN} = "kernel-module-nxp89xx" | 9 | RCONFLICTS:${PN} = "kernel-module-nxp89xx" |
| 10 | 10 | ||
| 11 | SRCBRANCH = "lf-6.12.3_1.0.0" | 11 | SRCBRANCH = "lf-6.12.20_2.0.0" |
| 12 | MRVL_SRC ?= "git://github.com/nxp-imx/mwifiex.git;protocol=https" | 12 | MRVL_SRC ?= "git://github.com/nxp-imx/mwifiex.git;protocol=https" |
| 13 | SRC_URI = " \ | 13 | SRC_URI = " \ |
| 14 | ${MRVL_SRC};branch=${SRCBRANCH} \ | 14 | ${MRVL_SRC};branch=${SRCBRANCH} \ |
| 15 | file://mlinux-moal_main-lower-PRINTM_MMSG-log-level-to-KERN_INFO.patch \ | 15 | file://mlinux-moal_main-lower-PRINTM_MMSG-log-level-to-KERN_INFO.patch \ |
| 16 | " | 16 | " |
| 17 | SRCREV = "0396cfb38ad73a3d587cd0f8c139b47801e70891" | 17 | SRCREV = "7a8beaa1605cb0870dc7ba3312c76df91cb0d6cf" |
| 18 | |||
| 19 | S = "${WORKDIR}/git" | ||
| 20 | 18 | ||
| 21 | inherit module | 19 | inherit module |
| 22 | 20 | ||
diff --git a/recipes-kernel/kernel-modules/kernel-module-uio-seville_0.1.bb b/recipes-kernel/kernel-modules/kernel-module-uio-seville_0.1.bb index efccc286d..e7ae8556e 100644 --- a/recipes-kernel/kernel-modules/kernel-module-uio-seville_0.1.bb +++ b/recipes-kernel/kernel-modules/kernel-module-uio-seville_0.1.bb | |||
| @@ -7,6 +7,6 @@ SRCREV = "0f31fbcbe9ab1ab9c424da34f70c82314b16f8de" | |||
| 7 | 7 | ||
| 8 | inherit module | 8 | inherit module |
| 9 | 9 | ||
| 10 | S = "${WORKDIR}/git/uio-driver" | 10 | S = "${UNPACKDIR}/${BP}/uio-driver" |
| 11 | 11 | ||
| 12 | COMPATIBLE_MACHINE = "(t1040|t1042)" | 12 | COMPATIBLE_MACHINE = "(t1040|t1042)" |
diff --git a/recipes-kernel/linux/linux-fslc-imx_6.12.bb b/recipes-kernel/linux/linux-fslc-imx_6.12.bb index 8d680ff0c..b3b0f190f 100644 --- a/recipes-kernel/linux/linux-fslc-imx_6.12.bb +++ b/recipes-kernel/linux/linux-fslc-imx_6.12.bb | |||
| @@ -42,21 +42,22 @@ Latest stable Kernel patchlevel is applied and maintained by Community." | |||
| 42 | # conflicts, prioritizing NXP BSP source code as the latest vendor updates. | 42 | # conflicts, prioritizing NXP BSP source code as the latest vendor updates. |
| 43 | # Additional commits may exist to better acommodate yocto builds. | 43 | # Additional commits may exist to better acommodate yocto builds. |
| 44 | # | 44 | # |
| 45 | # $ git log --oneline --no-merges v6.12.3.. ^mainline/linux-6.12.y ^NXP/lf-6.12.y | 45 | # $ git log --oneline --no-merges v6.12.49.. ^mainline/linux-6.12.y ^NXP/lf-6.12.y |
| 46 | # - 29efe53139ac hwrng: optee: support generic crypto | 46 | # - bacd5504126bb imx8mp-olimex.dts: CSI GPIO pins |
| 47 | # - 7f80ce9b7c82 arm64: dts: imx8mq: drop cpu-idle-states | 47 | # - 3a7012e991c98 hwrng: optee: support generic crypto |
| 48 | # - 5e3b6ecf85c4 of: enable using OF_DYNAMIC without OF_UNITTEST | 48 | # - 6c0a3377748eb arm64: dts: imx8mq: drop cpu-idle-states |
| 49 | # - 1bd794e571f6 gpu: drm: cadence: select hdmi helper | 49 | # - 7db0692d9ff5e of: enable using OF_DYNAMIC without OF_UNITTEST |
| 50 | # - d74361dc9bdc imx:dts:imx8mm-evkb: fix the pmic name to avoid duplicated label error | 50 | # - eff98b934385c gpu: drm: cadence: select hdmi helper |
| 51 | # - 90900e871607 arm64: dts: imx8mm-evk-qca-wifi: enable support for bluetooth | 51 | # - be5e175e43d93 imx:dts:imx8mm-evkb: fix the pmic name to avoid duplicated label error |
| 52 | # - 24ef2924dd5f drm: of: Fix build without CONFIG_OF | 52 | # - 76e18f5a57b3e arm64: dts: imx8mm-evk-qca-wifi: enable support for bluetooth |
| 53 | # - a97fe216ede5 i2c: imx: Remove unnecessary clock reconfiguration | 53 | # - 06b99391f850c drm: of: Fix build without CONFIG_OF |
| 54 | # - 93e7f87e7bc6 drm/imx: lcdifv3: Fix videomode settings | 54 | # - 17ac89e381a9d i2c: imx: Remove unnecessary clock reconfiguration |
| 55 | # - ff2397021b0d clk: imx: imx8qm: add more resources to whitelist | 55 | # - 6d157e81ccc53 drm/imx: lcdifv3: Fix videomode settings |
| 56 | # - e0fc64f7a2f8 arm64: dts: imx8: img: add #address-cells and #size-cells to I2C MIPI CSI nodes | 56 | # - 0a355239e2df3 clk: imx: imx8qm: add more resources to whitelist |
| 57 | # - 98b777bfa849 arm64: dts: imx8qm: add missing imx8-ss-cm40.dtsi include | 57 | # - c5c4869899b1c arm64: dts: imx8: img: add #address-cells and #size-cells to I2C MIPI CSI nodes |
| 58 | # - 2d0aefc287a7 arm64: imx_v8_defconfig: Enable CONFIG_GPIO_VF610 | 58 | # - 3159e7d086295 arm64: dts: imx8qm: add missing imx8-ss-cm40.dtsi include |
| 59 | # - 44aadbd00c61 imx8mp-olimex.dts: Olimex iMX8MP-SOM-EVB-IND | 59 | # - ffea393034d48 arm64: imx_v8_defconfig: Enable CONFIG_GPIO_VF610 |
| 60 | # - a8762ad609202 imx8mp-olimex.dts: Olimex iMX8MP-SOM-EVB-IND | ||
| 60 | # | 61 | # |
| 61 | # NOTE to upgraders: | 62 | # NOTE to upgraders: |
| 62 | # This recipe should NOT collect individual patches, they should be applied to | 63 | # This recipe should NOT collect individual patches, they should be applied to |
| @@ -66,16 +67,16 @@ Latest stable Kernel patchlevel is applied and maintained by Community." | |||
| 66 | 67 | ||
| 67 | require linux-imx.inc | 68 | require linux-imx.inc |
| 68 | 69 | ||
| 69 | KBRANCH = "6.12-1.0.x-imx" | 70 | KBRANCH = "6.12-2.0.x-imx" |
| 70 | SRC_URI = "git://github.com/Freescale/linux-fslc.git;branch=${KBRANCH};protocol=https" | 71 | SRC_URI = "git://github.com/Freescale/linux-fslc.git;branch=${KBRANCH};protocol=https" |
| 71 | SRCREV = "29efe53139acb64d96bfcc119cd10d10c552801b" | 72 | SRCREV = "77b58422ab0fa4480a0b89a5f1ebfb9d1a900aef" |
| 72 | 73 | ||
| 73 | # PV is defined in the base in linux-imx.inc file and uses the LINUX_VERSION definition | 74 | # PV is defined in the base in linux-imx.inc file and uses the LINUX_VERSION definition |
| 74 | # required by kernel-yocto.bbclass. | 75 | # required by kernel-yocto.bbclass. |
| 75 | # | 76 | # |
| 76 | # LINUX_VERSION define should match to the kernel version referenced by SRC_URI and | 77 | # LINUX_VERSION define should match to the kernel version referenced by SRC_URI and |
| 77 | # should be updated once patchlevel is merged. | 78 | # should be updated once patchlevel is merged. |
| 78 | LINUX_VERSION = "6.12.3" | 79 | LINUX_VERSION = "6.12.49" |
| 79 | 80 | ||
| 80 | KBUILD_DEFCONFIG:mx6-generic-bsp = "imx_v7_defconfig" | 81 | KBUILD_DEFCONFIG:mx6-generic-bsp = "imx_v7_defconfig" |
| 81 | KBUILD_DEFCONFIG:mx7-generic-bsp = "imx_v7_defconfig" | 82 | KBUILD_DEFCONFIG:mx7-generic-bsp = "imx_v7_defconfig" |
diff --git a/recipes-kernel/linux/linux-fslc-lts_6.1.bb b/recipes-kernel/linux/linux-fslc-lts_6.1.bb index 8e1bab4be..ae1e71b18 100644 --- a/recipes-kernel/linux/linux-fslc-lts_6.1.bb +++ b/recipes-kernel/linux/linux-fslc-lts_6.1.bb | |||
| @@ -21,10 +21,10 @@ SRC_URI = "git://github.com/Freescale/linux-fslc.git;branch=${KBRANCH};protocol= | |||
| 21 | # | 21 | # |
| 22 | # LINUX_VERSION define should match to the kernel version referenced by SRC_URI and | 22 | # LINUX_VERSION define should match to the kernel version referenced by SRC_URI and |
| 23 | # should be updated once patchlevel is merged. | 23 | # should be updated once patchlevel is merged. |
| 24 | LINUX_VERSION = "6.1.72" | 24 | LINUX_VERSION = "6.1.111" |
| 25 | 25 | ||
| 26 | KBRANCH = "6.1.x+fslc" | 26 | KBRANCH = "6.1.x+fslc" |
| 27 | SRCREV = "b80c9dede70132da3ae7feb949fe0803aad3db24" | 27 | SRCREV = "195925841506cd58552d73ebabadd08d6016e4c6" |
| 28 | 28 | ||
| 29 | KBUILD_DEFCONFIG:mx5-generic-bsp = "imx_v6_v7_defconfig" | 29 | KBUILD_DEFCONFIG:mx5-generic-bsp = "imx_v6_v7_defconfig" |
| 30 | KBUILD_DEFCONFIG:mx5-generic-bsp = "imx_v6_v7_defconfig" | 30 | KBUILD_DEFCONFIG:mx5-generic-bsp = "imx_v6_v7_defconfig" |
diff --git a/recipes-kernel/linux/linux-fslc-lts_6.6.bb b/recipes-kernel/linux/linux-fslc-lts_6.6.bb index a8c91cdb8..cc067262a 100644 --- a/recipes-kernel/linux/linux-fslc-lts_6.6.bb +++ b/recipes-kernel/linux/linux-fslc-lts_6.6.bb | |||
| @@ -19,10 +19,10 @@ SRC_URI = "git://github.com/Freescale/linux-fslc.git;branch=${KBRANCH};protocol= | |||
| 19 | # | 19 | # |
| 20 | # LINUX_VERSION define should match to the kernel version referenced by SRC_URI and | 20 | # LINUX_VERSION define should match to the kernel version referenced by SRC_URI and |
| 21 | # should be updated once patchlevel is merged. | 21 | # should be updated once patchlevel is merged. |
| 22 | LINUX_VERSION = "6.6.50" | 22 | LINUX_VERSION = "6.6.52" |
| 23 | 23 | ||
| 24 | KBRANCH = "6.6.x+fslc" | 24 | KBRANCH = "6.6.x+fslc" |
| 25 | SRCREV = "2473dfed9007471b503efe1f7de74d63eaf4c699" | 25 | SRCREV = "3768fbd9dd8e0da9e7a24366b6a65a7f8ca25986" |
| 26 | 26 | ||
| 27 | KBUILD_DEFCONFIG:mx5-generic-bsp = "imx_v6_v7_defconfig" | 27 | KBUILD_DEFCONFIG:mx5-generic-bsp = "imx_v6_v7_defconfig" |
| 28 | KBUILD_DEFCONFIG:mx6-generic-bsp = "imx_v6_v7_defconfig" | 28 | KBUILD_DEFCONFIG:mx6-generic-bsp = "imx_v6_v7_defconfig" |
diff --git a/recipes-kernel/linux/linux-fslc_6.12.bb b/recipes-kernel/linux/linux-fslc_6.12.bb index 7902b7536..8b66b82d4 100644 --- a/recipes-kernel/linux/linux-fslc_6.12.bb +++ b/recipes-kernel/linux/linux-fslc_6.12.bb | |||
| @@ -24,12 +24,12 @@ DEPENDS += " \ | |||
| 24 | # LINUX_VERSION define should match to the kernel version referenced by SRC_URI and | 24 | # LINUX_VERSION define should match to the kernel version referenced by SRC_URI and |
| 25 | # should be updated once patchlevel is merged. | 25 | # should be updated once patchlevel is merged. |
| 26 | # | 26 | # |
| 27 | # Linux kernel stable 6.12.28 changelog: | 27 | # Linux kernel stable 6.12.34 changelog: |
| 28 | # https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.28 | 28 | # https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.34 |
| 29 | LINUX_VERSION = "6.12.28" | 29 | LINUX_VERSION = "6.12.34" |
| 30 | 30 | ||
| 31 | KBRANCH = "6.12.x+fslc" | 31 | KBRANCH = "6.12.x+fslc" |
| 32 | SRCREV = "7a7717289cd3915e484b02c02557de380352b030" | 32 | SRCREV = "e92f5b7050c74e8052f071fd2f1d233d9a4b2f30" |
| 33 | 33 | ||
| 34 | KBUILD_DEFCONFIG:mx5-generic-bsp = "imx_v6_v7_defconfig" | 34 | KBUILD_DEFCONFIG:mx5-generic-bsp = "imx_v6_v7_defconfig" |
| 35 | KBUILD_DEFCONFIG:mx6-generic-bsp = "imx_v6_v7_defconfig" | 35 | KBUILD_DEFCONFIG:mx6-generic-bsp = "imx_v6_v7_defconfig" |
diff --git a/recipes-kernel/linux/linux-imx-headers_6.12.bb b/recipes-kernel/linux/linux-imx-headers_6.12.bb index c8a2a3450..ed2478965 100644 --- a/recipes-kernel/linux/linux-imx-headers_6.12.bb +++ b/recipes-kernel/linux/linux-imx-headers_6.12.bb | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | # Copyright 2017-2024 NXP | 1 | # Copyright 2017-2025 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" |
| @@ -13,9 +13,7 @@ SRC_URI = " \ | |||
| 13 | " | 13 | " |
| 14 | SRCBRANCH = "lf-6.12.y" | 14 | SRCBRANCH = "lf-6.12.y" |
| 15 | LOCALVERSION = "-lts-${SRCBRANCH}" | 15 | LOCALVERSION = "-lts-${SRCBRANCH}" |
| 16 | SRCREV = "37d02f4dcbbe6677dc9f5fc17f386c05d6a7bd7a" | 16 | SRCREV = "dfaf2136deb2af2e60b994421281ba42f1c087e0" |
| 17 | |||
| 18 | S = "${WORKDIR}/git" | ||
| 19 | 17 | ||
| 20 | do_configure[noexec] = "1" | 18 | do_configure[noexec] = "1" |
| 21 | 19 | ||
diff --git a/recipes-kernel/linux/linux-imx.inc b/recipes-kernel/linux/linux-imx.inc index 4e3911168..521bd7948 100644 --- a/recipes-kernel/linux/linux-imx.inc +++ b/recipes-kernel/linux/linux-imx.inc | |||
| @@ -19,8 +19,6 @@ 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;protocol=https;branch=${SRCBRANCH}" |
| 21 | 21 | ||
| 22 | S = "${WORKDIR}/git" | ||
| 23 | |||
| 24 | # 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. |
| 25 | # 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 |
| 26 | # kernel. | 24 | # kernel. |
diff --git a/recipes-kernel/linux/linux-imx_6.12.bb b/recipes-kernel/linux/linux-imx_6.12.bb index 05d9c4ea6..267a33542 100644 --- a/recipes-kernel/linux/linux-imx_6.12.bb +++ b/recipes-kernel/linux/linux-imx_6.12.bb | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | # Copyright 2013-2016 (C) Freescale Semiconductor | 1 | # Copyright 2013-2016 (C) Freescale Semiconductor |
| 2 | # Copyright 2017-2024 (C) NXP | 2 | # Copyright 2017-2025 (C) NXP |
| 3 | # Copyright 2018 (C) O.S. Systems Software LTDA. | 3 | # Copyright 2018 (C) O.S. Systems Software LTDA. |
| 4 | # Released under the MIT license (see COPYING.MIT for the terms) | 4 | # Released under the MIT license (see COPYING.MIT for the terms) |
| 5 | # | 5 | # |
| @@ -13,15 +13,15 @@ i.MX Family Reference Boards. It includes support for many IPs such as GPU, VPU | |||
| 13 | require recipes-kernel/linux/linux-imx.inc | 13 | require recipes-kernel/linux/linux-imx.inc |
| 14 | 14 | ||
| 15 | SRCBRANCH = "lf-6.12.y" | 15 | SRCBRANCH = "lf-6.12.y" |
| 16 | LOCALVERSION = "-6.12.3-1.1.0" | 16 | LOCALVERSION = "-6.12.20-2.0.0" |
| 17 | SRCREV = "37d02f4dcbbe6677dc9f5fc17f386c05d6a7bd7a" | 17 | SRCREV = "dfaf2136deb2af2e60b994421281ba42f1c087e0" |
| 18 | 18 | ||
| 19 | # PV is defined in the base in linux-imx.inc file and uses the LINUX_VERSION definition | 19 | # PV is defined in the base in linux-imx.inc file and uses the LINUX_VERSION definition |
| 20 | # required by kernel-yocto.bbclass. | 20 | # required by kernel-yocto.bbclass. |
| 21 | # | 21 | # |
| 22 | # LINUX_VERSION define should match to the kernel version referenced by SRC_URI and | 22 | # LINUX_VERSION define should match to the kernel version referenced by SRC_URI and |
| 23 | # should be updated once patchlevel is merged. | 23 | # should be updated once patchlevel is merged. |
| 24 | LINUX_VERSION = "6.12.3" | 24 | LINUX_VERSION = "6.12.20" |
| 25 | 25 | ||
| 26 | KBUILD_DEFCONFIG:mx6-generic-bsp = "imx_v7_defconfig" | 26 | KBUILD_DEFCONFIG:mx6-generic-bsp = "imx_v7_defconfig" |
| 27 | KBUILD_DEFCONFIG:mx7-generic-bsp = "imx_v7_defconfig" | 27 | KBUILD_DEFCONFIG:mx7-generic-bsp = "imx_v7_defconfig" |
diff --git a/recipes-kernel/linux/linux-qoriq.inc b/recipes-kernel/linux/linux-qoriq.inc index 5d28ae84a..09de1ba0a 100644 --- a/recipes-kernel/linux/linux-qoriq.inc +++ b/recipes-kernel/linux/linux-qoriq.inc | |||
| @@ -1,15 +1,13 @@ | |||
| 1 | inherit kernel qoriq_build_64bit_kernel siteinfo | 1 | inherit kernel qoriq_build_64bit_kernel siteinfo |
| 2 | inherit fsl-kernel-localversion | 2 | inherit fsl-kernel-localversion kernel-yocto |
| 3 | 3 | ||
| 4 | SUMMARY = "Linux Kernel for NXP QorIQ platforms" | 4 | SUMMARY = "Linux Kernel for NXP QorIQ platforms" |
| 5 | SECTION = "kernel" | 5 | SECTION = "kernel" |
| 6 | LICENSE = "GPL-2.0-only" | 6 | LICENSE = "GPL-2.0-only" |
| 7 | 7 | ||
| 8 | S = "${WORKDIR}/git" | 8 | DEPENDS:append = " libgcc coreutils-native" |
| 9 | |||
| 10 | DEPENDS:append = " libgcc" | ||
| 11 | # not put Images into /boot of rootfs, install kernel-image if needed | 9 | # not put Images into /boot of rootfs, install kernel-image if needed |
| 12 | RRECOMMENDS:${KERNEL_PACKAGE_NAME}-base = "" | 10 | RDEPENDS:${KERNEL_PACKAGE_NAME}-base = "" |
| 13 | 11 | ||
| 14 | KERNEL_CC:append = " ${TOOLCHAIN_OPTIONS}" | 12 | KERNEL_CC:append = " ${TOOLCHAIN_OPTIONS}" |
| 15 | KERNEL_LD:append = " ${TOOLCHAIN_OPTIONS}" | 13 | KERNEL_LD:append = " ${TOOLCHAIN_OPTIONS}" |
| @@ -23,12 +21,16 @@ PV = "${LINUX_VERSION}+git${SRCPV}" | |||
| 23 | 21 | ||
| 24 | SCMVERSION ?= "y" | 22 | SCMVERSION ?= "y" |
| 25 | LOCALVERSION = "" | 23 | LOCALVERSION = "" |
| 24 | |||
| 26 | DELTA_KERNEL_DEFCONFIG ?= "" | 25 | DELTA_KERNEL_DEFCONFIG ?= "" |
| 27 | DELTA_KERNEL_DEFCONFIG:prepend:qoriq-arm64 = "lsdk.config " | 26 | DELTA_KERNEL_DEFCONFIG:prepend:qoriq-arm64 = "lsdk.config " |
| 28 | DELTA_KERNEL_DEFCONFIG:prepend:qoriq-arm = "multi_v7_lpae.config lsdk.config " | 27 | DELTA_KERNEL_DEFCONFIG:prepend:qoriq-arm = "multi_v7_lpae.config lsdk.config " |
| 29 | 28 | ||
| 30 | do_merge_delta_config[depends] += "virtual/${TARGET_PREFIX}gcc:do_populate_sysroot bison-native:do_populate_sysroot" | 29 | do_merge_delta_config[depends] += "virtual/cross-cc:do_populate_sysroot bison-native:do_populate_sysroot" |
| 31 | do_merge_delta_config[dirs] = "${B}" | 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" | ||
| 32 | 34 | ||
| 33 | do_merge_delta_config() { | 35 | do_merge_delta_config() { |
| 34 | # create config with make config | 36 | # create config with make config |
| @@ -44,15 +46,17 @@ do_merge_delta_config() { | |||
| 44 | for deltacfg in ${DELTA_KERNEL_DEFCONFIG}; do | 46 | for deltacfg in ${DELTA_KERNEL_DEFCONFIG}; do |
| 45 | if [ -f ${S}/arch/${ARCH}/configs/${deltacfg} ]; then | 47 | if [ -f ${S}/arch/${ARCH}/configs/${deltacfg} ]; then |
| 46 | oe_runmake -C ${S} O=${B} ${deltacfg} | 48 | oe_runmake -C ${S} O=${B} ${deltacfg} |
| 47 | elif [ -f "${WORKDIR}/${deltacfg}" ]; then | 49 | elif [ -f "${S}/${deltacfg}" ]; then |
| 48 | ${S}/scripts/kconfig/merge_config.sh -m .config ${WORKDIR}/${deltacfg} | 50 | ${S}/scripts/kconfig/merge_config.sh -m .config ${S}/${deltacfg} |
| 49 | elif [ -f "${deltacfg}" ]; then | 51 | elif [ -f "${deltacfg}" ]; then |
| 50 | ${S}/scripts/kconfig/merge_config.sh -m .config ${deltacfg} | 52 | ${S}/scripts/kconfig/merge_config.sh -m .config ${deltacfg} |
| 51 | fi | 53 | fi |
| 52 | done | 54 | done |
| 53 | cp .config ${WORKDIR}/defconfig | 55 | cp .config ${UNPACKDIR}/defconfig |
| 54 | } | 56 | } |
| 57 | |||
| 55 | addtask merge_delta_config before do_kernel_localversion after do_patch | 58 | addtask merge_delta_config before do_kernel_localversion after do_patch |
| 56 | 59 | ||
| 57 | FILES:${KERNEL_PACKAGE_NAME}-image += "/boot/zImage*" | 60 | FILES:${KERNEL_PACKAGE_NAME}-image += "/boot/zImage*" |
| 61 | INSANE_SKIP:${PN}-src += " buildpaths" | ||
| 58 | COMPATIBLE_MACHINE = "(qoriq)" | 62 | COMPATIBLE_MACHINE = "(qoriq)" |
diff --git a/recipes-kernel/linux/linux-qoriq_5.10.bb b/recipes-kernel/linux/linux-qoriq_5.10.bb deleted file mode 100644 index c62de58e7..000000000 --- a/recipes-kernel/linux/linux-qoriq_5.10.bb +++ /dev/null | |||
| @@ -1,8 +0,0 @@ | |||
| 1 | LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" | ||
| 2 | |||
| 3 | LINUX_VERSION = "5.10.52" | ||
| 4 | |||
| 5 | SRC_URI = "git://github.com/nxp-qoriq/linux;protocol=https;nobranch=1" | ||
| 6 | SRCREV = "a11753a89ec610768301d4070e10b8bd60fde8cd" | ||
| 7 | |||
| 8 | require recipes-kernel/linux/linux-qoriq.inc | ||
diff --git a/recipes-kernel/linux/linux-qoriq_6.12.bb b/recipes-kernel/linux/linux-qoriq_6.12.bb new file mode 100644 index 000000000..b43fe7d53 --- /dev/null +++ b/recipes-kernel/linux/linux-qoriq_6.12.bb | |||
| @@ -0,0 +1,9 @@ | |||
| 1 | LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" | ||
| 2 | LINUX_VERSION = "6.12.20" | ||
| 3 | |||
| 4 | LINUX_QORIQ_BRANCH ?= "lf-6.12.y" | ||
| 5 | LINUX_QORIQ_SRC ?= "git://github.com/nxp-qoriq/linux.git;protocol=https" | ||
| 6 | SRC_URI = "${LINUX_QORIQ_SRC};branch=${LINUX_QORIQ_BRANCH}" | ||
| 7 | SRCREV = "dfaf2136deb2af2e60b994421281ba42f1c087e0" | ||
| 8 | |||
| 9 | require linux-qoriq.inc | ||
diff --git a/recipes-kernel/skmm-host/skmm-host_git.bb b/recipes-kernel/skmm-host/skmm-host_git.bb index af8982b9c..cc226bd9a 100644 --- a/recipes-kernel/skmm-host/skmm-host_git.bb +++ b/recipes-kernel/skmm-host/skmm-host_git.bb | |||
| @@ -8,8 +8,6 @@ inherit module qoriq_build_64bit_kernel | |||
| 8 | SRC_URI = "git://github.com/nxp-qoriq-yocto-sdk/skmm-host;protocol=https;nobranch=1" | 8 | SRC_URI = "git://github.com/nxp-qoriq-yocto-sdk/skmm-host;protocol=https;nobranch=1" |
| 9 | SRCREV = "d5912ebdb8d3b29b1e2df52710e8821d1ce3eb80" | 9 | SRCREV = "d5912ebdb8d3b29b1e2df52710e8821d1ce3eb80" |
| 10 | 10 | ||
| 11 | S = "${WORKDIR}/git" | ||
| 12 | |||
| 13 | EXTRA_OEMAKE = 'KERNEL_DIR="${STAGING_KERNEL_DIR}" PREFIX="${D}"' | 11 | EXTRA_OEMAKE = 'KERNEL_DIR="${STAGING_KERNEL_DIR}" PREFIX="${D}"' |
| 14 | 12 | ||
| 15 | FILES:${PN} += "/etc/skmm/ /usr/bin/" | 13 | FILES:${PN} += "/etc/skmm/ /usr/bin/" |
diff --git a/recipes-libraries/ethos-u-driver-stack/ethos-u-driver-stack_24.05.bb b/recipes-libraries/ethos-u-driver-stack/ethos-u-driver-stack_24.05.bb index e77bcf85d..ae762cb9a 100644 --- a/recipes-libraries/ethos-u-driver-stack/ethos-u-driver-stack_24.05.bb +++ b/recipes-libraries/ethos-u-driver-stack/ethos-u-driver-stack_24.05.bb | |||
| @@ -13,8 +13,6 @@ ETHOS_U_SRC ?= "git://github.com/nxp-imx/ethos-u-driver-stack-imx.git;protocol=h | |||
| 13 | SRCBRANCH = "lf-6.12.3_1.0.0" | 13 | SRCBRANCH = "lf-6.12.3_1.0.0" |
| 14 | SRCREV = "a80c51d77c91f1a8266afc5d8056fb981de4b504" | 14 | SRCREV = "a80c51d77c91f1a8266afc5d8056fb981de4b504" |
| 15 | 15 | ||
| 16 | S = "${WORKDIR}/git" | ||
| 17 | |||
| 18 | inherit cmake setuptools3 | 16 | inherit cmake setuptools3 |
| 19 | 17 | ||
| 20 | SETUPTOOLS_BUILD_ARGS = "build_ext --library-dirs ${B}/driver_library" | 18 | SETUPTOOLS_BUILD_ARGS = "build_ext --library-dirs ${B}/driver_library" |
diff --git a/recipes-libraries/ethos-u-driver-stack/ethos-u-firmware_24.05.bb b/recipes-libraries/ethos-u-driver-stack/ethos-u-firmware_24.05.bb index 10afa6170..1f16dce90 100644 --- a/recipes-libraries/ethos-u-driver-stack/ethos-u-firmware_24.05.bb +++ b/recipes-libraries/ethos-u-driver-stack/ethos-u-firmware_24.05.bb | |||
| @@ -12,8 +12,6 @@ ETHOS_U_FIRMWARE_SRC ?= "git://github.com/nxp-imx/ethos-u-firmware.git;protocol= | |||
| 12 | SRCBRANCH = "lf-6.12.3_1.0.0" | 12 | SRCBRANCH = "lf-6.12.3_1.0.0" |
| 13 | SRCREV = "3dbedc11bd2a4ba56af9fbe9d285b5bf13f1a088" | 13 | SRCREV = "3dbedc11bd2a4ba56af9fbe9d285b5bf13f1a088" |
| 14 | 14 | ||
| 15 | S = "${WORKDIR}/git" | ||
| 16 | |||
| 17 | ETHOS_U_FIRMWARE = "ethosu_firmware" | 15 | ETHOS_U_FIRMWARE = "ethosu_firmware" |
| 18 | ETHOS_U_FIRMWARE:imx93-9x9-lpddr4-qsb = "ethosu_firmware_9x9" | 16 | ETHOS_U_FIRMWARE:imx93-9x9-lpddr4-qsb = "ethosu_firmware_9x9" |
| 19 | ETHOS_U_FIRMWARE:imx93-11x11-lpddr4x-evk = "ethosu_firmware_11x11" | 17 | ETHOS_U_FIRMWARE:imx93-11x11-lpddr4x-evk = "ethosu_firmware_11x11" |
diff --git a/recipes-multimedia/alsa/imx-alsa-plugins_git.bb b/recipes-multimedia/alsa/imx-alsa-plugins_git.bb index 7ad815b16..d38e97e8f 100644 --- a/recipes-multimedia/alsa/imx-alsa-plugins_git.bb +++ b/recipes-multimedia/alsa/imx-alsa-plugins_git.bb | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | # Copyright 2013-2016 Freescale Semiconductor | 1 | # Copyright 2013-2016 Freescale Semiconductor |
| 2 | # Copyright 2017-2024 NXP | 2 | # Copyright 2017-2025 NXP |
| 3 | # Released under the MIT license (see COPYING.MIT for the terms) | 3 | # Released under the MIT license (see COPYING.MIT for the terms) |
| 4 | 4 | ||
| 5 | DESCRIPTION = "Freescale alsa-lib plugins" | 5 | DESCRIPTION = "Freescale alsa-lib plugins" |
| @@ -20,10 +20,8 @@ inherit autotools pkgconfig use-imx-headers | |||
| 20 | PV = "1.0.26+${SRCPV}" | 20 | PV = "1.0.26+${SRCPV}" |
| 21 | 21 | ||
| 22 | SRC_URI = "git://github.com/nxp-imx/imx-alsa-plugins.git;protocol=https;branch=${SRCBRANCH}" | 22 | SRC_URI = "git://github.com/nxp-imx/imx-alsa-plugins.git;protocol=https;branch=${SRCBRANCH}" |
| 23 | SRCBRANCH = "MM_04.09.03_2412_L6.12.y" | 23 | SRCBRANCH = "MM_04.10.0_2505_L6.12.20" |
| 24 | SRCREV = "eaf0900662d6381bcc433165219280cca1752890" | 24 | SRCREV = "40e45c8023f95c06c4ea10185ca85db7eb2dfcd8" |
| 25 | |||
| 26 | S = "${WORKDIR}/git" | ||
| 27 | 25 | ||
| 28 | CFLAGS:append = " -I${STAGING_INCDIR_IMX}" | 26 | CFLAGS:append = " -I${STAGING_INCDIR_IMX}" |
| 29 | 27 | ||
diff --git a/recipes-multimedia/gstreamer/gst-devtools/0001-connect-has-a-different-signature-on-musl.patch b/recipes-multimedia/gstreamer/gst-devtools/0001-connect-has-a-different-signature-on-musl.patch index c0e458135..b596f2ef9 100644 --- a/recipes-multimedia/gstreamer/gst-devtools/0001-connect-has-a-different-signature-on-musl.patch +++ b/recipes-multimedia/gstreamer/gst-devtools/0001-connect-has-a-different-signature-on-musl.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From 73b1002eda17451db1f58431b42c25203f1d3097 Mon Sep 17 00:00:00 2001 | 1 | From 67809420230cd4fcc63069f78efdc90c7b4c4ee1 Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Sun, 9 Sep 2018 17:38:10 -0700 | 3 | Date: Sun, 9 Sep 2018 17:38:10 -0700 |
| 4 | Subject: [PATCH] connect has a different signature on musl | 4 | Subject: [PATCH] connect has a different signature on musl |
diff --git a/recipes-multimedia/gstreamer/gst-devtools_1.22.5.imx.bb b/recipes-multimedia/gstreamer/gst-devtools_1.26.0.imx.bb index 9f7f890d5..9a619f5a0 100644 --- a/recipes-multimedia/gstreamer/gst-devtools_1.22.5.imx.bb +++ b/recipes-multimedia/gstreamer/gst-devtools_1.26.0.imx.bb | |||
| @@ -6,13 +6,13 @@ SECTION = "multimedia" | |||
| 6 | LICENSE = "LGPL-2.1-or-later" | 6 | LICENSE = "LGPL-2.1-or-later" |
| 7 | LIC_FILES_CHKSUM = "file://validate/COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343" | 7 | LIC_FILES_CHKSUM = "file://validate/COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343" |
| 8 | 8 | ||
| 9 | S = "${WORKDIR}/gst-devtools-1.22.5" | 9 | SRC_URI = "https://gstreamer.freedesktop.org/src/gst-devtools/gst-devtools-${@get_gst_ver("${PV}")}.tar.xz \ |
| 10 | |||
| 11 | SRC_URI = "https://gstreamer.freedesktop.org/src/gst-devtools/gst-devtools-1.22.5.tar.xz \ | ||
| 12 | file://0001-connect-has-a-different-signature-on-musl.patch \ | 10 | file://0001-connect-has-a-different-signature-on-musl.patch \ |
| 13 | " | 11 | " |
| 14 | 12 | ||
| 15 | SRC_URI[sha256sum] = "2add1519aa6eeb01d544cb94293688ee3bc2079f6bca6075bf5c23d00a0921be" | 13 | S = "${UNPACKDIR}/gst-devtools-${@get_gst_ver("${PV}")}" |
| 14 | |||
| 15 | SRC_URI[sha256sum] = "eff33d7dc292bb074a2788ea887b6283398ffdefafa49fb7d08efe6658a65648" | ||
| 16 | 16 | ||
| 17 | DEPENDS = "json-glib glib-2.0 glib-2.0-native gstreamer1.0 gstreamer1.0-plugins-base" | 17 | DEPENDS = "json-glib glib-2.0 glib-2.0-native gstreamer1.0 gstreamer1.0-plugins-base" |
| 18 | RRECOMMENDS:${PN} = "git" | 18 | RRECOMMENDS:${PN} = "git" |
| @@ -40,6 +40,9 @@ EXTRA_OEMESON += " \ | |||
| 40 | -Dvalidate=enabled \ | 40 | -Dvalidate=enabled \ |
| 41 | ${@gettext_oemeson(d)} \ | 41 | ${@gettext_oemeson(d)} \ |
| 42 | " | 42 | " |
| 43 | # Drop .imx from PV | ||
| 44 | def get_gst_ver(v): | ||
| 45 | return oe.utils.trim_version(v, 3) | ||
| 43 | 46 | ||
| 44 | do_install:append () { | 47 | do_install:append () { |
| 45 | for fn in ${bindir}/gst-validate-launcher \ | 48 | for fn in ${bindir}/gst-validate-launcher \ |
diff --git a/recipes-multimedia/gstreamer/gst-examples_1.24.7.imx.bb b/recipes-multimedia/gstreamer/gst-examples_1.24.7.imx.bb index 3830846b3..9db0051a1 100644 --- a/recipes-multimedia/gstreamer/gst-examples_1.24.7.imx.bb +++ b/recipes-multimedia/gstreamer/gst-examples_1.24.7.imx.bb | |||
| @@ -17,7 +17,7 @@ SRC_URI = "git://gitlab.freedesktop.org/gstreamer/gstreamer.git;protocol=https;b | |||
| 17 | 17 | ||
| 18 | SRCREV = "0f1e984e41ce8d6d0758265d35e8b10d5815fde2" | 18 | SRCREV = "0f1e984e41ce8d6d0758265d35e8b10d5815fde2" |
| 19 | 19 | ||
| 20 | S = "${WORKDIR}/git/subprojects/gst-examples" | 20 | S = "${UNPACKDIR}/${BP}/subprojects/gst-examples" |
| 21 | 21 | ||
| 22 | inherit meson pkgconfig features_check | 22 | inherit meson pkgconfig features_check |
| 23 | 23 | ||
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-libav/ffmpeg-6.0.patch b/recipes-multimedia/gstreamer/gstreamer1.0-libav/ffmpeg-6.0.patch deleted file mode 100644 index 0a06540fb..000000000 --- a/recipes-multimedia/gstreamer/gstreamer1.0-libav/ffmpeg-6.0.patch +++ /dev/null | |||
| @@ -1,49 +0,0 @@ | |||
| 1 | From cde31d23c071ee93fae96331805f696856084254 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: "U. Artie Eoff" <ullysses.a.eoff@intel.com> | ||
| 3 | Date: Mon, 13 Feb 2023 17:02:01 -0500 | ||
| 4 | Subject: [PATCH] avviddec: change | ||
| 5 | AV_CODEC_CAP_AUTO_THREADS->AV_CODEC_CAP_OTHER_THREADS | ||
| 6 | |||
| 7 | This fixes a compile error with recent upstream FFmpeg. | ||
| 8 | |||
| 9 | The AV_CODEC_CAP_AUTO_THREADS was deprecated and renamed to | ||
| 10 | AV_CODEC_CAP_OTHER_THREADS in FFmpeg upstream commit | ||
| 11 | 7d09579190de (lavc 58.132.100). | ||
| 12 | |||
| 13 | The AV_CODEC_CAP_AUTO_THREADS was finally removed in FFmpeg upstream | ||
| 14 | commit 10c9a0874cb3 (lavc 59.63.100). | ||
| 15 | |||
| 16 | Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3964> | ||
| 17 | |||
| 18 | Upstream-Status: Backport [https://gitlab.freedesktop.org/gstreamer/gstreamer/-/commit/cde31d23c071ee93fae96331805f696856084254?merge_request_iid=3964] | ||
| 19 | Signed-off-by: Alexander Kanavin <alex@linutronix.de> | ||
| 20 | --- | ||
| 21 | ext/libav/gstavviddec.c | 6 +++++- | ||
| 22 | 1 file changed, 5 insertions(+), 1 deletion(-) | ||
| 23 | |||
| 24 | diff --git a/ext/libav/gstavviddec.c b/ext/libav/gstavviddec.c | ||
| 25 | index 43cea456ae8..6d7c4cd0de8 100644 | ||
| 26 | --- a/ext/libav/gstavviddec.c | ||
| 27 | +++ b/ext/libav/gstavviddec.c | ||
| 28 | @@ -35,6 +35,10 @@ | ||
| 29 | |||
| 30 | GST_DEBUG_CATEGORY_STATIC (GST_CAT_PERFORMANCE); | ||
| 31 | |||
| 32 | +#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(58,132,100) | ||
| 33 | +#define AV_CODEC_CAP_OTHER_THREADS AV_CODEC_CAP_AUTO_THREADS | ||
| 34 | +#endif | ||
| 35 | + | ||
| 36 | #define GST_FFMPEG_VIDEO_CODEC_FRAME_FLAG_ALLOCATED (1<<15) | ||
| 37 | |||
| 38 | #define MAX_TS_MASK 0xff | ||
| 39 | @@ -615,7 +619,7 @@ gst_ffmpegviddec_set_format (GstVideoDecoder * decoder, | ||
| 40 | if (ffmpegdec->max_threads == 0) { | ||
| 41 | /* When thread type is FF_THREAD_FRAME, extra latency is introduced equal | ||
| 42 | * to one frame per thread. We thus need to calculate the thread count ourselves */ | ||
| 43 | - if ((!(oclass->in_plugin->capabilities & AV_CODEC_CAP_AUTO_THREADS)) || | ||
| 44 | + if ((!(oclass->in_plugin->capabilities & AV_CODEC_CAP_OTHER_THREADS)) || | ||
| 45 | (ffmpegdec->context->thread_type & FF_THREAD_FRAME)) | ||
| 46 | ffmpegdec->context->thread_count = | ||
| 47 | MIN (gst_ffmpeg_auto_max_threads (), 16); | ||
| 48 | -- | ||
| 49 | GitLab | ||
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.24.7.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.26.0.imx.bb index accca06ab..138398d85 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.24.7.imx.bb +++ b/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.26.0.imx.bb | |||
| @@ -12,9 +12,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=69333daa044cb77e486cc36129f7a770 \ | |||
| 12 | " | 12 | " |
| 13 | 13 | ||
| 14 | SRC_URI = "https://gstreamer.freedesktop.org/src/gst-libav/gst-libav-${@get_gst_ver('${PV}')}.tar.xz" | 14 | SRC_URI = "https://gstreamer.freedesktop.org/src/gst-libav/gst-libav-${@get_gst_ver('${PV}')}.tar.xz" |
| 15 | SRC_URI[sha256sum] = "c3e4179ba183c2d3101edf87ff70dd07e728c766a5fee34e6ecded76ca5802df" | 15 | SRC_URI[sha256sum] = "707a8b687ff5fddcee5b02415e2ec9b71b4ac44d0b7aec3b477364ceecbf1ecf" |
| 16 | 16 | ||
| 17 | S = "${WORKDIR}/gst-libav-${@get_gst_ver('${PV}')}" | 17 | S = "${UNPACKDIR}/gst-libav-${@get_gst_ver('${PV}')}" |
| 18 | 18 | ||
| 19 | DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base ffmpeg" | 19 | DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base ffmpeg" |
| 20 | 20 | ||
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.24.7.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.26.0.imx.bb index 7f5cd0b3d..1c4ee72d0 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.24.7.imx.bb +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.26.0.imx.bb | |||
| @@ -187,10 +187,10 @@ SRC_URI:remove = "https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plug | |||
| 187 | " | 187 | " |
| 188 | SRC_URI:prepend = "${GST1.0-PLUGINS-BAD_SRC};branch=${SRCBRANCH} " | 188 | SRC_URI:prepend = "${GST1.0-PLUGINS-BAD_SRC};branch=${SRCBRANCH} " |
| 189 | GST1.0-PLUGINS-BAD_SRC ?= "gitsm://github.com/nxp-imx/gst-plugins-bad.git;protocol=https" | 189 | GST1.0-PLUGINS-BAD_SRC ?= "gitsm://github.com/nxp-imx/gst-plugins-bad.git;protocol=https" |
| 190 | SRCBRANCH = "MM_04.09.03_2412_L6.12.y" | 190 | SRCBRANCH = "MM_04.10.0_2505_L6.12.20" |
| 191 | SRCREV = "7bb1254fcb0a0dcb1ecb4ac21efbc5068151943d" | 191 | SRCREV = "4320364e6be53cae81ac2bca3ce0e09cf8707590" |
| 192 | 192 | ||
| 193 | S = "${WORKDIR}/git" | 193 | S = "${UNPACKDIR}/${BP}" |
| 194 | 194 | ||
| 195 | inherit use-imx-headers | 195 | inherit use-imx-headers |
| 196 | 196 | ||
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.24.7.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.26.0.imx.bb index 6859d26b5..5c2492638 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.24.7.imx.bb +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.26.0.imx.bb | |||
| @@ -118,10 +118,10 @@ SRC_URI:remove = " \ | |||
| 118 | SRC_URI:prepend = "${GST1.0-PLUGINS-BASE_SRC};branch=${SRCBRANCH} " | 118 | SRC_URI:prepend = "${GST1.0-PLUGINS-BASE_SRC};branch=${SRCBRANCH} " |
| 119 | 119 | ||
| 120 | GST1.0-PLUGINS-BASE_SRC ?= "gitsm://github.com/nxp-imx/gst-plugins-base.git;protocol=https" | 120 | GST1.0-PLUGINS-BASE_SRC ?= "gitsm://github.com/nxp-imx/gst-plugins-base.git;protocol=https" |
| 121 | SRCBRANCH = "MM_04.09.03_2412_L6.12.y" | 121 | SRCBRANCH = "MM_04.10.0_2505_L6.12.20" |
| 122 | SRCREV = "858ae5a1fb2bd2692ca7ebbd5bde2eee14e1842d" | 122 | SRCREV = "bbe6aa6f5b666fda0b172c3e1f417c7eadb16549" |
| 123 | 123 | ||
| 124 | S = "${WORKDIR}/git" | 124 | S = "${UNPACKDIR}/${BP}" |
| 125 | 125 | ||
| 126 | inherit use-imx-headers | 126 | inherit use-imx-headers |
| 127 | 127 | ||
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.24.7.imx.bbappend b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.26.0.imx.bbappend index 528d7e1a3..528d7e1a3 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.24.7.imx.bbappend +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.26.0.imx.bbappend | |||
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.24.7.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.26.0.imx.bb index 933adb5ef..7c921d97c 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.24.7.imx.bb +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.26.0.imx.bb | |||
| @@ -111,10 +111,10 @@ SRC_URI:remove = "https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plu | |||
| 111 | 111 | ||
| 112 | SRC_URI:prepend = "${GST1.0-PLUGINS-GOOD_SRC};branch=${SRCBRANCH} " | 112 | SRC_URI:prepend = "${GST1.0-PLUGINS-GOOD_SRC};branch=${SRCBRANCH} " |
| 113 | GST1.0-PLUGINS-GOOD_SRC ?= "gitsm://github.com/nxp-imx/gst-plugins-good.git;protocol=https" | 113 | GST1.0-PLUGINS-GOOD_SRC ?= "gitsm://github.com/nxp-imx/gst-plugins-good.git;protocol=https" |
| 114 | SRCBRANCH = "MM_04.09.03_2412_L6.12.y" | 114 | SRCBRANCH = "MM_04.10.0_2505_L6.12.20" |
| 115 | SRCREV = "626a972e9ef448f1017cfad07a3486a0fb340a0d" | 115 | SRCREV = "6a0df1aee0ef2477dbacedd79df08c5bcb648e55" |
| 116 | 116 | ||
| 117 | S = "${WORKDIR}/git" | 117 | S = "${UNPACKDIR}/${BP}" |
| 118 | 118 | ||
| 119 | COMPATIBLE_MACHINE = "(imx-nxp-bsp)" | 119 | COMPATIBLE_MACHINE = "(imx-nxp-bsp)" |
| 120 | 120 | ||
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_2.2.0.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_2.2.0.bb index f09a5bc77..cc2cedfd5 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_2.2.0.bb +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_2.2.0.bb | |||
| @@ -18,8 +18,6 @@ SRCBRANCH ?= "master" | |||
| 18 | SRCREV = "ce4f86e60f12c56574f727f3317fa8aa30a11387" | 18 | SRCREV = "ce4f86e60f12c56574f727f3317fa8aa30a11387" |
| 19 | SRC_URI = "git://github.com/Freescale/gstreamer-imx.git;branch=${SRCBRANCH};protocol=https" | 19 | SRC_URI = "git://github.com/Freescale/gstreamer-imx.git;branch=${SRCBRANCH};protocol=https" |
| 20 | 20 | ||
| 21 | S = "${WORKDIR}/git" | ||
| 22 | |||
| 23 | inherit pkgconfig meson use-imx-headers | 21 | inherit pkgconfig meson use-imx-headers |
| 24 | 22 | ||
| 25 | # libg2d on i.MX8 SoCs with a DPU is emulated via the DPU. | 23 | # libg2d on i.MX8 SoCs with a DPU is emulated via the DPU. |
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.24.0.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.26.0.imx.bb index 55bb975b4..1f5956ab4 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.24.0.imx.bb +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.26.0.imx.bb | |||
| @@ -14,9 +14,9 @@ LICENSE_FLAGS = "commercial" | |||
| 14 | SRC_URI = " \ | 14 | SRC_URI = " \ |
| 15 | https://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-${@get_gst_ver("${PV}")}.tar.xz \ | 15 | https://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-${@get_gst_ver("${PV}")}.tar.xz \ |
| 16 | " | 16 | " |
| 17 | SRC_URI[sha256sum] = "c5d1cbdf71ab0c675bca236f70edfa1feb3f813fd4bfff563308f466d8805ca5" | 17 | SRC_URI[sha256sum] = "a86b51c8454a813120848c803421f327d8c07aabcae461e0597cc49398c0fcde" |
| 18 | 18 | ||
| 19 | S = "${WORKDIR}/gst-plugins-ugly-${@get_gst_ver("${PV}")}" | 19 | S = "${UNPACKDIR}/gst-plugins-ugly-${@get_gst_ver("${PV}")}" |
| 20 | 20 | ||
| 21 | DEPENDS += "gstreamer1.0-plugins-base" | 21 | DEPENDS += "gstreamer1.0-plugins-base" |
| 22 | 22 | ||
| @@ -43,6 +43,7 @@ EXTRA_OEMESON += " \ | |||
| 43 | def get_gst_ver(v): | 43 | def get_gst_ver(v): |
| 44 | return oe.utils.trim_version(v, 3) | 44 | return oe.utils.trim_version(v, 3) |
| 45 | 45 | ||
| 46 | FILES:${PN}-amrnb += "${datadir}/gstreamer-1.0/presets/GstAmrnbEnc.prs" | ||
| 46 | FILES:${PN}-x264 += "${datadir}/gstreamer-1.0/presets/GstX264Enc.prs" | 47 | FILES:${PN}-x264 += "${datadir}/gstreamer-1.0/presets/GstX264Enc.prs" |
| 47 | 48 | ||
| 48 | COMPATIBLE_MACHINE = "(imx-nxp-bsp)" | 49 | COMPATIBLE_MACHINE = "(imx-nxp-bsp)" |
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.26.0.imx.bbappend b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.26.0.imx.bbappend new file mode 100644 index 000000000..ea144b396 --- /dev/null +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.26.0.imx.bbappend | |||
| @@ -0,0 +1 @@ | |||
| PACKAGECONFIG:remove = "a52dec mpeg2dec" | |||
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-python/0001-meson.build-Fix-missing-python_opt.patch b/recipes-multimedia/gstreamer/gstreamer1.0-python/0001-meson.build-Fix-missing-python_opt.patch deleted file mode 100644 index fd6b1c16e..000000000 --- a/recipes-multimedia/gstreamer/gstreamer1.0-python/0001-meson.build-Fix-missing-python_opt.patch +++ /dev/null | |||
| @@ -1,47 +0,0 @@ | |||
| 1 | From 8d7e2eaed10e2928358805f613223a6a149790d6 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Hiago De Franco <hiago.franco@toradex.com> | ||
| 3 | Date: Wed, 31 Jul 2024 11:51:06 -0300 | ||
| 4 | Subject: [PATCH] meson.build: Fix missing python_opt | ||
| 5 | |||
| 6 | 'python_opt' was not declared earlier, giving the following build error: | ||
| 7 | |||
| 8 | | Message: python_abi_flags = | ||
| 9 | | | ||
| 10 | | ../gst-python-1.24.0/meson.build:84:16: ERROR: Unknown variable "python_opt". | ||
| 11 | |||
| 12 | Remove it and keep the error message. | ||
| 13 | |||
| 14 | Upstream-Status: Inappropriate [oe specific] | ||
| 15 | |||
| 16 | The patch already exists upstream, but this is related to another fix [1] | ||
| 17 | not suitable for OE. Moreover, the backport does not apply since | ||
| 18 | the patch was added to the gstreamer monorepo. | ||
| 19 | |||
| 20 | [1] https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6734? | ||
| 21 | |||
| 22 | Signed-off-by: Hiago De Franco <hiago.franco@toradex.com> | ||
| 23 | --- | ||
| 24 | meson.build | 7 +------ | ||
| 25 | 1 file changed, 1 insertion(+), 6 deletions(-) | ||
| 26 | |||
| 27 | diff --git a/meson.build b/meson.build | ||
| 28 | index f240b6fd8aca..53f7a43702c7 100644 | ||
| 29 | --- a/meson.build | ||
| 30 | +++ b/meson.build | ||
| 31 | @@ -80,12 +80,7 @@ foreach loc: pylib_locs | ||
| 32 | endforeach | ||
| 33 | endforeach | ||
| 34 | if pylib_fname == '' | ||
| 35 | - error_msg = 'Could not find python library to load' | ||
| 36 | - if python_opt.enabled() | ||
| 37 | - error(error_msg) | ||
| 38 | - else | ||
| 39 | - message(error_msg) | ||
| 40 | - endif | ||
| 41 | + message('Could not find python library to load') | ||
| 42 | endif | ||
| 43 | |||
| 44 | pygi_override_dir = get_option('pygi-overrides-dir') | ||
| 45 | -- | ||
| 46 | 2.39.2 | ||
| 47 | |||
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-python_1.24.0.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-python_1.26.0.imx.bb index 0ba9a1aea..388ee81e6 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0-python_1.24.0.imx.bb +++ b/recipes-multimedia/gstreamer/gstreamer1.0-python_1.26.0.imx.bb | |||
| @@ -7,18 +7,17 @@ SECTION = "multimedia" | |||
| 7 | LICENSE = "LGPL-2.1-or-later" | 7 | LICENSE = "LGPL-2.1-or-later" |
| 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=c34deae4e395ca07e725ab0076a5f740" | 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=c34deae4e395ca07e725ab0076a5f740" |
| 9 | 9 | ||
| 10 | SRC_URI = "\ | 10 | SRC_URI = "https://gstreamer.freedesktop.org/src/${PNREAL}/${PNREAL}-${@get_gst_ver("${PV}")}.tar.xz" |
| 11 | https://gstreamer.freedesktop.org/src/${PNREAL}/${PNREAL}-${@get_gst_ver("${PV}")}.tar.xz \ | 11 | SRC_URI[sha256sum] = "e5046a05d77abb15671ad01cd1908d17d62e5a06f5d7841be4342ade2a3fb8db" |
| 12 | file://0001-meson.build-Fix-missing-python_opt.patch \ | ||
| 13 | " | ||
| 14 | SRC_URI[sha256sum] = "041c2255c1ea9936c777dcb08a36ecaa6a24a69a12fc46ef53f1530d46c59f9d" | ||
| 15 | 12 | ||
| 16 | DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base python3-pygobject" | 13 | DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base python3-pygobject" |
| 14 | DEPENDS:append = " gstreamer1.0-plugins-bad" | ||
| 15 | |||
| 17 | RDEPENDS:${PN} += "gstreamer1.0 gstreamer1.0-plugins-base python3-pygobject" | 16 | RDEPENDS:${PN} += "gstreamer1.0 gstreamer1.0-plugins-base python3-pygobject" |
| 18 | 17 | ||
| 19 | PNREAL = "gst-python" | 18 | PNREAL = "gst-python" |
| 20 | 19 | ||
| 21 | S = "${WORKDIR}/${PNREAL}-${@get_gst_ver('${PV}')}" | 20 | S = "${UNPACKDIR}/${PNREAL}-${@get_gst_ver('${PV}')}" |
| 22 | 21 | ||
| 23 | EXTRA_OEMESON += "\ | 22 | EXTRA_OEMESON += "\ |
| 24 | -Dtests=disabled \ | 23 | -Dtests=disabled \ |
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.24.0.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.26.0.imx.bb index c866d2332..b5dd9a322 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.24.0.imx.bb +++ b/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.26.0.imx.bb | |||
| @@ -10,9 +10,9 @@ PNREAL = "gst-rtsp-server" | |||
| 10 | 10 | ||
| 11 | SRC_URI = "https://gstreamer.freedesktop.org/src/${PNREAL}/${PNREAL}-${@get_gst_ver("${PV}")}.tar.xz" | 11 | SRC_URI = "https://gstreamer.freedesktop.org/src/${PNREAL}/${PNREAL}-${@get_gst_ver("${PV}")}.tar.xz" |
| 12 | 12 | ||
| 13 | SRC_URI[sha256sum] = "5b0fa6b12ba95b1d336a4b274cbe19e982aa3e6819f1d97bfd8e0102b103ed9b" | 13 | SRC_URI[sha256sum] = "e983c039496e3f75e39696554ce74db4120e2465de17aa1cc37160568e9b40bc" |
| 14 | 14 | ||
| 15 | S = "${WORKDIR}/${PNREAL}-${@get_gst_ver("${PV}")}" | 15 | S = "${UNPACKDIR}/${PNREAL}-${@get_gst_ver("${PV}")}" |
| 16 | 16 | ||
| 17 | inherit meson pkgconfig upstream-version-is-even gobject-introspection | 17 | inherit meson pkgconfig upstream-version-is-even gobject-introspection |
| 18 | 18 | ||
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.24.0.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.26.0.imx.bb index dde7b5b1d..1d83ca031 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.24.0.imx.bb +++ b/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.26.0.imx.bb | |||
| @@ -9,11 +9,11 @@ REALPN = "gstreamer-vaapi" | |||
| 9 | LICENSE = "LGPL-2.1-or-later" | 9 | LICENSE = "LGPL-2.1-or-later" |
| 10 | LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c" | 10 | LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c" |
| 11 | 11 | ||
| 12 | SRC_URI = "https://gstreamer.freedesktop.org/src/${REALPN}/${REALPN}-1.24.0.tar.xz" | 12 | SRC_URI = "https://gstreamer.freedesktop.org/src/${REALPN}/${REALPN}-${@get_gst_ver("${PV}")}.tar.xz" |
| 13 | 13 | ||
| 14 | SRC_URI[sha256sum] = "6b1f3b91ca65dedc67dc67a25dc1d1e464f11825a27ab9c7ac7c1bda67f03596" | 14 | SRC_URI[sha256sum] = "573931d455f5a96f63db7c8d35d51322b8d287816e8c6a77d84cfbb9fa1351f1" |
| 15 | 15 | ||
| 16 | S = "${WORKDIR}/${REALPN}-${@get_gst_ver('${PV}')}" | 16 | S = "${UNPACKDIR}/${REALPN}-${@get_gst_ver('${PV}')}" |
| 17 | DEPENDS = "libva gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad" | 17 | DEPENDS = "libva gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad" |
| 18 | 18 | ||
| 19 | inherit meson pkgconfig features_check upstream-version-is-even | 19 | inherit meson pkgconfig features_check upstream-version-is-even |
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0_1.24.7.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0_1.26.0.imx.bb index 8daeed667..5b315ed7f 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0_1.24.7.imx.bb +++ b/recipes-multimedia/gstreamer/gstreamer1.0_1.26.0.imx.bb | |||
| @@ -87,7 +87,7 @@ PTEST_BUILD_HOST_FILES = "" | |||
| 87 | DEFAULT_PREFERENCE = "-1" | 87 | DEFAULT_PREFERENCE = "-1" |
| 88 | 88 | ||
| 89 | LIC_FILES_CHKSUM = " \ | 89 | LIC_FILES_CHKSUM = " \ |
| 90 | file://LICENSE.txt;md5=69333daa044cb77e486cc36129f7a770 \ | 90 | file://COPYING;md5=69333daa044cb77e486cc36129f7a770 \ |
| 91 | file://gst/gst.h;beginline=1;endline=21;md5=e059138481205ee2c6fc1c079c016d0d \ | 91 | file://gst/gst.h;beginline=1;endline=21;md5=e059138481205ee2c6fc1c079c016d0d \ |
| 92 | " | 92 | " |
| 93 | 93 | ||
| @@ -100,10 +100,10 @@ SRC_URI:remove = "https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-${PV | |||
| 100 | " | 100 | " |
| 101 | SRC_URI:prepend = "${GST1.0_SRC};branch=${SRCBRANCH} " | 101 | SRC_URI:prepend = "${GST1.0_SRC};branch=${SRCBRANCH} " |
| 102 | GST1.0_SRC ?= "gitsm://github.com/nxp-imx/gstreamer.git;protocol=https" | 102 | GST1.0_SRC ?= "gitsm://github.com/nxp-imx/gstreamer.git;protocol=https" |
| 103 | SRCBRANCH = "MM_04.09.03_2412_L6.12.y" | 103 | SRCBRANCH = "MM_04.10.0_2505_L6.12.20" |
| 104 | SRCREV = "e0d37a7d773a502956f54eced8cd701ec7fa5ff5" | 104 | SRCREV = "dba94b66ed28cc6537608a68c31c8be52f6f53a5" |
| 105 | 105 | ||
| 106 | S = "${WORKDIR}/git" | 106 | S = "${UNPACKDIR}/${BP}" |
| 107 | 107 | ||
| 108 | PACKAGECONFIG[tests] = "-Dtests=enabled,-Dtests=disabled" | 108 | PACKAGECONFIG[tests] = "-Dtests=enabled,-Dtests=disabled" |
| 109 | 109 | ||
diff --git a/recipes-multimedia/gstreamer/imx-gst1.0-plugin/0001-gplay2-fix-termio.h-no-longer-existing.patch b/recipes-multimedia/gstreamer/imx-gst1.0-plugin/0001-gplay2-fix-termio.h-no-longer-existing.patch new file mode 100644 index 000000000..cb314b38d --- /dev/null +++ b/recipes-multimedia/gstreamer/imx-gst1.0-plugin/0001-gplay2-fix-termio.h-no-longer-existing.patch | |||
| @@ -0,0 +1,35 @@ | |||
| 1 | From b88aec4d7a8c8993c8c75f002a1f2af1635337d1 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Max Krummenacher <max.krummenacher@toradex.com> | ||
| 3 | Date: Sat, 9 Aug 2025 08:20:50 +0000 | ||
| 4 | Subject: [PATCH] gplay2: fix termio.h no longer existing | ||
| 5 | |||
| 6 | glibc 2.42 removed the long deprecated termio.h header which | ||
| 7 | in 2.41 only included termios.h and sys/ioctl.h. [1] | ||
| 8 | |||
| 9 | Replacing it with sys/ioctl.h seems to provide all the needed | ||
| 10 | declaration for successfully compiling. | ||
| 11 | |||
| 12 | [1] https://sourceware.org/git/?p=glibc.git;a=blob;f=NEWS#l91 | ||
| 13 | |||
| 14 | Upstream-Status: Pending | ||
| 15 | Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> | ||
| 16 | --- | ||
| 17 | tools/gplay2/gplay2.c | 2 +- | ||
| 18 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 19 | |||
| 20 | diff --git a/tools/gplay2/gplay2.c b/tools/gplay2/gplay2.c | ||
| 21 | index 9e406b9ea8c7..98b3ee5cf666 100755 | ||
| 22 | --- a/tools/gplay2/gplay2.c | ||
| 23 | +++ b/tools/gplay2/gplay2.c | ||
| 24 | @@ -26,7 +26,7 @@ | ||
| 25 | */ | ||
| 26 | |||
| 27 | |||
| 28 | -#include <termio.h> | ||
| 29 | +#include <sys/ioctl.h> | ||
| 30 | #include <unistd.h> | ||
| 31 | #include <pthread.h> | ||
| 32 | #include <stdio.h> | ||
| 33 | -- | ||
| 34 | 2.42.0 | ||
| 35 | |||
diff --git a/recipes-multimedia/gstreamer/imx-gst1.0-plugin_git.bb b/recipes-multimedia/gstreamer/imx-gst1.0-plugin_git.bb index a96b5b31a..2ba8fdd1d 100644 --- a/recipes-multimedia/gstreamer/imx-gst1.0-plugin_git.bb +++ b/recipes-multimedia/gstreamer/imx-gst1.0-plugin_git.bb | |||
| @@ -27,22 +27,21 @@ DEPENDS_IMXGPU:imxgpu = "${DEPENDS_IMX_OPENCL_CONVERTER}" | |||
| 27 | DEPENDS_IMX_OPENCL_CONVERTER = "imx-opencl-converter" | 27 | DEPENDS_IMX_OPENCL_CONVERTER = "imx-opencl-converter" |
| 28 | DEPENDS_IMX_OPENCL_CONVERTER:mx6-nxp-bsp = "" | 28 | DEPENDS_IMX_OPENCL_CONVERTER:mx6-nxp-bsp = "" |
| 29 | DEPENDS_IMX_OPENCL_CONVERTER:mx7-nxp-bsp = "" | 29 | DEPENDS_IMX_OPENCL_CONVERTER:mx7-nxp-bsp = "" |
| 30 | DEPENDS_IMX_OPENCL_CONVERTER:mx8-nxp-bsp = "imx-opencl-converter" | ||
| 31 | DEPENDS_IMX_OPENCL_CONVERTER:mx8mm-nxp-bsp = "" | 30 | DEPENDS_IMX_OPENCL_CONVERTER:mx8mm-nxp-bsp = "" |
| 32 | DEPENDS_IMX_OPENCL_CONVERTER:mx95-nxp-bsp = "imx-opencl-converter" | ||
| 33 | 31 | ||
| 34 | # For backwards compatibility | 32 | # For backwards compatibility |
| 35 | RREPLACES:${PN} = "gst1.0-fsl-plugin" | 33 | RREPLACES:${PN} = "gst1.0-fsl-plugin" |
| 36 | RPROVIDES:${PN} = "gst1.0-fsl-plugin" | 34 | RPROVIDES:${PN} = "gst1.0-fsl-plugin" |
| 37 | RCONFLICTS:${PN} = "gst1.0-fsl-plugin" | 35 | RCONFLICTS:${PN} = "gst1.0-fsl-plugin" |
| 38 | 36 | ||
| 39 | PV = "4.9.3+git${SRCPV}" | 37 | PV = "4.10.0+git${SRCPV}" |
| 40 | 38 | ||
| 41 | SRC_URI = "git://github.com/nxp-imx/imx-gst1.0-plugin.git;protocol=https;branch=${SRCBRANCH}" | 39 | SRC_URI = " \ |
| 42 | SRCBRANCH = "MM_04.09.03_2412_L6.12.y" | 40 | git://github.com/nxp-imx/imx-gst1.0-plugin.git;protocol=https;branch=${SRCBRANCH} \ |
| 43 | SRCREV = "370510ef8137874339df18a2a35ec1d04d98fa0b" | 41 | file://0001-gplay2-fix-termio.h-no-longer-existing.patch \ |
| 44 | 42 | " | |
| 45 | S = "${WORKDIR}/git" | 43 | SRCBRANCH = "MM_04.10.0_2505_L6.12.20" |
| 44 | SRCREV = "6861aec99901375f5ebcd5170ce1f5232cd38fd6" | ||
| 46 | 45 | ||
| 47 | inherit meson pkgconfig use-imx-headers | 46 | inherit meson pkgconfig use-imx-headers |
| 48 | 47 | ||
diff --git a/recipes-multimedia/imx-codec/imx-codec_4.9.3.bb b/recipes-multimedia/imx-codec/imx-codec_4.10.0.bb index b435dacd1..6a5c2c32c 100644 --- a/recipes-multimedia/imx-codec/imx-codec_4.9.3.bb +++ b/recipes-multimedia/imx-codec/imx-codec_4.10.0.bb | |||
| @@ -1,23 +1,23 @@ | |||
| 1 | # Copyright (C) 2012-2016 Freescale Semiconductor | 1 | # Copyright (C) 2012-2016 Freescale Semiconductor |
| 2 | # Copyright (C) 2017-2024 NXP | 2 | # Copyright (C) 2017-2025 NXP |
| 3 | # Copyright 2018 (C) O.S. Systems Software LTDA. | 3 | # Copyright 2018 (C) O.S. Systems Software LTDA. |
| 4 | # Released under the MIT license (see COPYING.MIT for the terms) | 4 | # Released under the MIT license (see COPYING.MIT for the terms) |
| 5 | 5 | ||
| 6 | DESCRIPTION = "Freescale Multimedia codec libs" | 6 | DESCRIPTION = "Freescale Multimedia codec libs" |
| 7 | LICENSE = "Proprietary" | 7 | LICENSE = "Proprietary" |
| 8 | SECTION = "multimedia" | 8 | SECTION = "multimedia" |
| 9 | LIC_FILES_CHKSUM = "file://COPYING;md5=c0fb372b5d7f12181de23ef480f225f3" | 9 | LIC_FILES_CHKSUM = "file://COPYING;md5=a93b654673e1bc8398ed1f30e0813359" |
| 10 | 10 | ||
| 11 | # Backward compatibility | 11 | # Backward compatibility |
| 12 | PROVIDES += "libfslcodec" | 12 | PROVIDES += "libfslcodec" |
| 13 | 13 | ||
| 14 | SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true" | 14 | SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true" |
| 15 | SRC_URI[sha256sum] = "61b40623e1c2322f1ba85da57ab6949f749d02b3b5cbc2b1ef583a99b59e8968" | 15 | SRC_URI[sha256sum] = "82242219e0d3536aeff31d9c215543bfe5541540bdb4fa8d61e83067b015e31f" |
| 16 | IMX_SRCREV_ABBREV = "394336b" | 16 | IMX_SRCREV_ABBREV = "464e9d8" |
| 17 | 17 | ||
| 18 | inherit fsl-eula-unpack autotools pkgconfig | 18 | inherit fsl-eula-unpack autotools pkgconfig |
| 19 | 19 | ||
| 20 | S = "${WORKDIR}/${BPN}-${PV}-${IMX_SRCREV_ABBREV}" | 20 | S = "${UNPACKDIR}/${BPN}-${PV}-${IMX_SRCREV_ABBREV}" |
| 21 | 21 | ||
| 22 | PACKAGECONFIG ??= "${PACKAGECONFIG_VPU}" | 22 | PACKAGECONFIG ??= "${PACKAGECONFIG_VPU}" |
| 23 | # Support Chips&Media VPU only | 23 | # Support Chips&Media VPU only |
diff --git a/recipes-multimedia/imx-dsp/imx-dsp_2.1.10.bb b/recipes-multimedia/imx-dsp/imx-dsp_2.1.10.bb index 4e42110b5..96656f85b 100644 --- a/recipes-multimedia/imx-dsp/imx-dsp_2.1.10.bb +++ b/recipes-multimedia/imx-dsp/imx-dsp_2.1.10.bb | |||
| @@ -9,7 +9,7 @@ inherit fsl-eula-unpack autotools pkgconfig | |||
| 9 | IMX_SRCREV_ABBREV = "ea4fe3f" | 9 | IMX_SRCREV_ABBREV = "ea4fe3f" |
| 10 | SRC_URI = "${FSL_MIRROR}/${BP}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true" | 10 | SRC_URI = "${FSL_MIRROR}/${BP}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true" |
| 11 | 11 | ||
| 12 | S = "${WORKDIR}/${BP}-${IMX_SRCREV_ABBREV}" | 12 | S = "${UNPACKDIR}/${BP}-${IMX_SRCREV_ABBREV}" |
| 13 | 13 | ||
| 14 | SRC_URI[sha256sum] = "fc6e6a7c2417730b39eeddc26606c3d58a8f5d0a1521f44bbbd505657046858b" | 14 | SRC_URI[sha256sum] = "fc6e6a7c2417730b39eeddc26606c3d58a8f5d0a1521f44bbbd505657046858b" |
| 15 | 15 | ||
diff --git a/recipes-multimedia/imx-dspc-asrc/imx-dspc-asrc_1.0.1.bb b/recipes-multimedia/imx-dspc-asrc/imx-dspc-asrc_1.0.1.bb deleted file mode 100644 index 9655b1f7d..000000000 --- a/recipes-multimedia/imx-dspc-asrc/imx-dspc-asrc_1.0.1.bb +++ /dev/null | |||
| @@ -1,21 +0,0 @@ | |||
| 1 | # Copyright 2019 NXP | ||
| 2 | DESCRIPTION = "NXP Asynchronous Sample Rate Converter" | ||
| 3 | LICENSE = "Proprietary" | ||
| 4 | SECTION = "multimedia" | ||
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=72c0f70181bb6e83eee6aab8de12a9f3" | ||
| 6 | |||
| 7 | SRC_URI = "${FSL_MIRROR}/${BP}.bin;fsl-eula=true" | ||
| 8 | |||
| 9 | SRC_URI[sha256sum] = "e79cbf4788a86a0068bbe80c37317e3332ae76e3d5c3ff2eabd71f03121fab6a" | ||
| 10 | |||
| 11 | inherit fsl-eula-unpack autotools pkgconfig | ||
| 12 | |||
| 13 | EXTRA_OECONF = "--enable-armv8 --libdir=${libdir} --bindir=/unit_tests" | ||
| 14 | |||
| 15 | INHIBIT_PACKAGE_STRIP = "1" | ||
| 16 | INHIBIT_SYSROOT_STRIP = "1" | ||
| 17 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" | ||
| 18 | |||
| 19 | FILES:${PN} += "/unit_tests ${datadir}/imx-mm" | ||
| 20 | |||
| 21 | COMPATIBLE_MACHINE = "(mx8-nxp-bsp)" | ||
diff --git a/recipes-multimedia/imx-dspc-asrc/imx-dspc-asrc_1.0.2.bb b/recipes-multimedia/imx-dspc-asrc/imx-dspc-asrc_1.0.2.bb new file mode 100644 index 000000000..9cf4fa968 --- /dev/null +++ b/recipes-multimedia/imx-dspc-asrc/imx-dspc-asrc_1.0.2.bb | |||
| @@ -0,0 +1,25 @@ | |||
| 1 | # Copyright 2019, 2025 NXP | ||
| 2 | DESCRIPTION = "NXP Asynchronous Sample Rate Converter" | ||
| 3 | LICENSE = "Proprietary" | ||
| 4 | SECTION = "multimedia" | ||
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=a93b654673e1bc8398ed1f30e0813359" | ||
| 6 | |||
| 7 | SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true" | ||
| 8 | |||
| 9 | IMX_SRCREV_ABBREV = "ce4ae5a" | ||
| 10 | |||
| 11 | SRC_URI[sha256sum] = "6382e46e5c60c844fc6a7a05876e19eed690c587300337624c66fa9cb20a3b7c" | ||
| 12 | |||
| 13 | S = "${UNPACKDIR}/${BP}-${IMX_SRCREV_ABBREV}" | ||
| 14 | |||
| 15 | inherit fsl-eula-unpack autotools pkgconfig | ||
| 16 | |||
| 17 | EXTRA_OECONF = "--enable-armv8 --libdir=${libdir} --bindir=/unit_tests" | ||
| 18 | |||
| 19 | INHIBIT_PACKAGE_STRIP = "1" | ||
| 20 | INHIBIT_SYSROOT_STRIP = "1" | ||
| 21 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" | ||
| 22 | |||
| 23 | FILES:${PN} += "/unit_tests ${datadir}/imx-mm" | ||
| 24 | |||
| 25 | COMPATIBLE_MACHINE = "(mx8-nxp-bsp|mx9-nxp-bsp)" | ||
diff --git a/recipes-multimedia/imx-opencl-converter/imx-opencl-converter_0.7.0.bb b/recipes-multimedia/imx-opencl-converter/imx-opencl-converter_0.8.0.bb index 07ea662cc..cf4e4d182 100644 --- a/recipes-multimedia/imx-opencl-converter/imx-opencl-converter_0.7.0.bb +++ b/recipes-multimedia/imx-opencl-converter/imx-opencl-converter_0.8.0.bb | |||
| @@ -1,16 +1,16 @@ | |||
| 1 | # Copyright 2023-2024 NXP | 1 | # Copyright 2023-2025 NXP |
| 2 | DESCRIPTION = "NXP Multimedia opencl converter lib" | 2 | DESCRIPTION = "NXP Multimedia opencl converter lib" |
| 3 | LICENSE = "Proprietary" | 3 | LICENSE = "Proprietary" |
| 4 | SECTION = "multimedia" | 4 | SECTION = "multimedia" |
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=c0fb372b5d7f12181de23ef480f225f3" | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=a93b654673e1bc8398ed1f30e0813359" |
| 6 | DEPENDS = "virtual/opencl-icd" | 6 | DEPENDS = "virtual/libopencl1" |
| 7 | 7 | ||
| 8 | SRC_URI = "${FSL_MIRROR}/${BP}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true" | 8 | SRC_URI = "${FSL_MIRROR}/${BP}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true" |
| 9 | IMX_SRCREV_ABBREV = "ad0094a" | 9 | IMX_SRCREV_ABBREV = "b81b785" |
| 10 | 10 | ||
| 11 | SRC_URI[sha256sum] = "d23ad4234f34ffcfb37d77c91345b935894937913a68995223d2f9f421eade46" | 11 | SRC_URI[sha256sum] = "a4dee08d5949d41cb9c61d44ce0b5a055b9416129216f9d36d0bc6d9e512ab64" |
| 12 | 12 | ||
| 13 | S = "${WORKDIR}/${BP}-${IMX_SRCREV_ABBREV}" | 13 | S = "${UNPACKDIR}/${BP}-${IMX_SRCREV_ABBREV}" |
| 14 | inherit fsl-eula-unpack autotools pkgconfig meson | 14 | inherit fsl-eula-unpack autotools pkgconfig meson |
| 15 | 15 | ||
| 16 | FILES:${PN} += "${datadir}/" | 16 | FILES:${PN} += "${datadir}/" |
diff --git a/recipes-multimedia/imx-parser/imx-parser_4.9.3.bb b/recipes-multimedia/imx-parser/imx-parser_4.10.0.bb index 15df0aebd..60add6e33 100644 --- a/recipes-multimedia/imx-parser/imx-parser_4.9.3.bb +++ b/recipes-multimedia/imx-parser/imx-parser_4.10.0.bb | |||
| @@ -5,7 +5,7 @@ | |||
| 5 | DESCRIPTION = "Freescale Multimedia parser libs" | 5 | DESCRIPTION = "Freescale Multimedia parser libs" |
| 6 | LICENSE = "Proprietary" | 6 | LICENSE = "Proprietary" |
| 7 | SECTION = "multimedia" | 7 | SECTION = "multimedia" |
| 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=c0fb372b5d7f12181de23ef480f225f3" | 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=a93b654673e1bc8398ed1f30e0813359" |
| 9 | 9 | ||
| 10 | # For backwards compatibility | 10 | # For backwards compatibility |
| 11 | PROVIDES += "libfslparser" | 11 | PROVIDES += "libfslparser" |
| @@ -14,10 +14,10 @@ RPROVIDES:${PN} = "libfslparser" | |||
| 14 | RCONFLICTS:${PN} = "libfslparser" | 14 | RCONFLICTS:${PN} = "libfslparser" |
| 15 | 15 | ||
| 16 | SRC_URI = "${FSL_MIRROR}/${BP}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true" | 16 | SRC_URI = "${FSL_MIRROR}/${BP}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true" |
| 17 | IMX_SRCREV_ABBREV = "c296eb2" | 17 | IMX_SRCREV_ABBREV = "e8a7ec7" |
| 18 | S = "${WORKDIR}/${BP}-${IMX_SRCREV_ABBREV}" | 18 | S = "${UNPACKDIR}/${BP}-${IMX_SRCREV_ABBREV}" |
| 19 | 19 | ||
| 20 | SRC_URI[sha256sum] = "997a7f79f291ef4b3c8dd3ba6f2f32c430c63feb4bb29d923f71da0d1ccf20a9" | 20 | SRC_URI[sha256sum] = "90b4b7f7c3cffc9d57774dbb06e37d810a2618e059f30244e1b4155fb9bc82d5" |
| 21 | 21 | ||
| 22 | inherit fsl-eula-unpack autotools pkgconfig | 22 | inherit fsl-eula-unpack autotools pkgconfig |
| 23 | 23 | ||
diff --git a/recipes-multimedia/imx-vpuwrap/imx-vpuwrap/0001-vpu_wrapper_hantro_encoder-fix-missing-include.patch b/recipes-multimedia/imx-vpuwrap/imx-vpuwrap/0001-vpu_wrapper_hantro_encoder-fix-missing-include.patch deleted file mode 100644 index 74ea5206c..000000000 --- a/recipes-multimedia/imx-vpuwrap/imx-vpuwrap/0001-vpu_wrapper_hantro_encoder-fix-missing-include.patch +++ /dev/null | |||
| @@ -1,32 +0,0 @@ | |||
| 1 | From a3c2f61649afd05e4bab457370f0b32d7644505c Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Max Krummenacher <max.krummenacher@toradex.com> | ||
| 3 | Date: Mon, 3 Mar 2025 08:24:51 +0000 | ||
| 4 | Subject: [PATCH] vpu_wrapper_hantro_encoder: fix missing include | ||
| 5 | |||
| 6 | gettimeofday is declared in sys/time.h. Add the include. | ||
| 7 | |||
| 8 | Fixes the build error: | ||
| 9 | | ../git/vpu_wrapper_hantro_encoder.c:953:3: error: implicit declaration of function 'gettimeofday' [-Wimplicit-function-declaration] | ||
| 10 | | 953 | gettimeofday (&pObj->tvEnd, NULL); | ||
| 11 | |||
| 12 | Upstream-Status: Pending | ||
| 13 | Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> | ||
| 14 | --- | ||
| 15 | vpu_wrapper_hantro_encoder.c | 1 + | ||
| 16 | 1 file changed, 1 insertion(+) | ||
| 17 | |||
| 18 | diff --git a/vpu_wrapper_hantro_encoder.c b/vpu_wrapper_hantro_encoder.c | ||
| 19 | index 3819c389320c..a0bdb2f4f6c0 100755 | ||
| 20 | --- a/vpu_wrapper_hantro_encoder.c | ||
| 21 | +++ b/vpu_wrapper_hantro_encoder.c | ||
| 22 | @@ -25,6 +25,7 @@ | ||
| 23 | #include <string.h> | ||
| 24 | #include <time.h> | ||
| 25 | #include <semaphore.h> | ||
| 26 | +#include <sys/time.h> | ||
| 27 | |||
| 28 | #include "headers/OMX_Video.h" | ||
| 29 | #include "headers/OMX_VideoExt.h" | ||
| 30 | -- | ||
| 31 | 2.42.0 | ||
| 32 | |||
diff --git a/recipes-multimedia/imx-vpuwrap/imx-vpuwrap_git.bb b/recipes-multimedia/imx-vpuwrap/imx-vpuwrap_git.bb index 98e9ea4de..1ad735152 100644 --- a/recipes-multimedia/imx-vpuwrap/imx-vpuwrap_git.bb +++ b/recipes-multimedia/imx-vpuwrap/imx-vpuwrap_git.bb | |||
| @@ -1,23 +1,18 @@ | |||
| 1 | # Copyright (C) 2013-2016 Freescale Semiconductor | 1 | # Copyright (C) 2013-2016 Freescale Semiconductor |
| 2 | # Copyright (C) 2017-2023 NXP | 2 | # Copyright (C) 2017-2023,2025 NXP |
| 3 | # Released under the MIT license (see COPYING.MIT for the terms) | 3 | # Released under the MIT license (see COPYING.MIT for the terms) |
| 4 | 4 | ||
| 5 | DESCRIPTION = "Freescale Multimedia VPU wrapper" | 5 | DESCRIPTION = "Freescale Multimedia VPU wrapper" |
| 6 | LICENSE = "Proprietary" | 6 | LICENSE = "Proprietary" |
| 7 | SECTION = "multimedia" | 7 | SECTION = "multimedia" |
| 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=c0fb372b5d7f12181de23ef480f225f3" | 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=a93b654673e1bc8398ed1f30e0813359" |
| 9 | 9 | ||
| 10 | DEPENDS = "virtual/imxvpu" | 10 | DEPENDS = "virtual/imxvpu" |
| 11 | DEPENDS:append:mx8mp-nxp-bsp = " imx-vpu-hantro-vc" | 11 | DEPENDS:append:mx8mp-nxp-bsp = " imx-vpu-hantro-vc" |
| 12 | 12 | ||
| 13 | SRC_URI = " \ | 13 | SRC_URI = "git://github.com/NXP/imx-vpuwrap.git;protocol=https;branch=${SRCBRANCH}" |
| 14 | git://github.com/NXP/imx-vpuwrap.git;protocol=https;branch=${SRCBRANCH} \ | 14 | SRCBRANCH = "MM_04.10.0_2505_L6.12.20" |
| 15 | file://0001-vpu_wrapper_hantro_encoder-fix-missing-include.patch \ | 15 | SRCREV = "feeb9109a027d3a0f040b0bddb5f79a1daad3587" |
| 16 | " | ||
| 17 | SRCBRANCH = "MM_04.09.03_2412_L6.12.y" | ||
| 18 | SRCREV = "d8703ee3245797111ad21c52982efa8b6db33241" | ||
| 19 | |||
| 20 | S = "${WORKDIR}/git" | ||
| 21 | 16 | ||
| 22 | inherit autotools pkgconfig | 17 | inherit autotools pkgconfig |
| 23 | 18 | ||
diff --git a/recipes-multimedia/libimxvpuapi/libimxvpuapi2_2.3.1.bb b/recipes-multimedia/libimxvpuapi/libimxvpuapi2_2.3.1.bb index 2b2dbdfdc..cce4e56ad 100644 --- a/recipes-multimedia/libimxvpuapi/libimxvpuapi2_2.3.1.bb +++ b/recipes-multimedia/libimxvpuapi/libimxvpuapi2_2.3.1.bb | |||
| @@ -14,8 +14,6 @@ SRCBRANCH ?= "master" | |||
| 14 | SRCREV = "37095a854aa176bb763a25ce98ceb6a787501271" | 14 | SRCREV = "37095a854aa176bb763a25ce98ceb6a787501271" |
| 15 | SRC_URI = "git://github.com/Freescale/libimxvpuapi.git;branch=${SRCBRANCH};protocol=https" | 15 | SRC_URI = "git://github.com/Freescale/libimxvpuapi.git;branch=${SRCBRANCH};protocol=https" |
| 16 | 16 | ||
| 17 | S = "${WORKDIR}/git" | ||
| 18 | |||
| 19 | inherit waf pkgconfig use-imx-headers python3native | 17 | inherit waf pkgconfig use-imx-headers python3native |
| 20 | 18 | ||
| 21 | IMX_PLATFORM:mx6-nxp-bsp = "imx6" | 19 | IMX_PLATFORM:mx6-nxp-bsp = "imx6" |
diff --git a/recipes-multimedia/libimxvpuapi/libimxvpuapi_git.bb b/recipes-multimedia/libimxvpuapi/libimxvpuapi_git.bb index 9391a5fb4..55063db18 100644 --- a/recipes-multimedia/libimxvpuapi/libimxvpuapi_git.bb +++ b/recipes-multimedia/libimxvpuapi/libimxvpuapi_git.bb | |||
| @@ -12,8 +12,6 @@ SRCBRANCH ?= "v1" | |||
| 12 | SRCREV = "3a1ee3a54fe93813868d38c3d32ea065b59e227e" | 12 | SRCREV = "3a1ee3a54fe93813868d38c3d32ea065b59e227e" |
| 13 | SRC_URI = "git://github.com/Freescale/libimxvpuapi.git;branch=${SRCBRANCH};protocol=https" | 13 | SRC_URI = "git://github.com/Freescale/libimxvpuapi.git;branch=${SRCBRANCH};protocol=https" |
| 14 | 14 | ||
| 15 | S = "${WORKDIR}/git" | ||
| 16 | |||
| 17 | inherit waf pkgconfig python3native | 15 | inherit waf pkgconfig python3native |
| 18 | 16 | ||
| 19 | COMPATIBLE_MACHINE = "(mx6q-nxp-bsp|mx6dl-nxp-bsp)" | 17 | COMPATIBLE_MACHINE = "(mx6q-nxp-bsp|mx6dl-nxp-bsp)" |
diff --git a/recipes-multimedia/nxp-afe/nxp-afe-voiceseeker_git.bb b/recipes-multimedia/nxp-afe/nxp-afe-voiceseeker_git.bb new file mode 100644 index 000000000..7afa44cb1 --- /dev/null +++ b/recipes-multimedia/nxp-afe/nxp-afe-voiceseeker_git.bb | |||
| @@ -0,0 +1,41 @@ | |||
| 1 | # Copyright 2025 NXP | ||
| 2 | |||
| 3 | DESCRIPTION = "NXP RetuneDSP Voice Seeker Libraries" | ||
| 4 | SECTION = "multimedia" | ||
| 5 | LICENSE = "Proprietary" | ||
| 6 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=ca53281cc0caa7e320d4945a896fb837" | ||
| 7 | |||
| 8 | inherit pkgconfig | ||
| 9 | |||
| 10 | DEPENDS += "alsa-lib nxp-afe" | ||
| 11 | |||
| 12 | PV = "2.0+git" | ||
| 13 | |||
| 14 | SRCBRANCH = "MM_04.10.0_2505_L6.12.20" | ||
| 15 | SRC_URI = "git://github.com/nxp-imx/imx-voiceui.git;protocol=https;branch=${SRCBRANCH}" | ||
| 16 | |||
| 17 | SRCREV = "737c156469eeede28fe1a0777c968becf6fea886" | ||
| 18 | |||
| 19 | EXTRA_CONF = "--enable-armv8 --bindir=/unit_tests/ --libdir=${libdir}" | ||
| 20 | |||
| 21 | EXTRA_OEMAKE:mx8-nxp-bsp = "BUILD_ARCH=CortexA53" | ||
| 22 | EXTRA_OEMAKE:mx8ulp-nxp-bsp = "BUILD_ARCH=CortexA35" | ||
| 23 | EXTRA_OEMAKE:mx9-nxp-bsp = "BUILD_ARCH=CortexA55" | ||
| 24 | |||
| 25 | do_install() { | ||
| 26 | install -d ${D}${libdir}/nxp-afe | ||
| 27 | install -d ${D}/unit_tests/nxp-afe | ||
| 28 | install -m 0644 ${S}/release/*.so.2.0 ${D}${libdir}/nxp-afe/ | ||
| 29 | ln -sf -r ${D}${libdir}/nxp-afe/libvoiceseekerlight.so.2.0 ${D}${libdir}/nxp-afe/libvoiceseekerlight.so | ||
| 30 | install -m 0755 ${S}/release/voice_ui_app ${D}/unit_tests/nxp-afe | ||
| 31 | install -m 0644 ${S}/release/Config.ini ${D}/unit_tests/nxp-afe | ||
| 32 | } | ||
| 33 | |||
| 34 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
| 35 | |||
| 36 | FILES:${PN} += "${libdir}/nxp-afe/* \ | ||
| 37 | /unit_tests/* \ | ||
| 38 | " | ||
| 39 | INSANE_SKIP:${PN} += "dev-so" | ||
| 40 | |||
| 41 | COMPATIBLE_MACHINE = "(mx8-nxp-bsp|mx9-nxp-bsp)" | ||
diff --git a/recipes-multimedia/nxp-afe/nxp-afe_git.bb b/recipes-multimedia/nxp-afe/nxp-afe_git.bb new file mode 100644 index 000000000..a401bedeb --- /dev/null +++ b/recipes-multimedia/nxp-afe/nxp-afe_git.bb | |||
| @@ -0,0 +1,35 @@ | |||
| 1 | # Copyright 2025 NXP | ||
| 2 | |||
| 3 | DESCRIPTION = "NXP Audio Front End (AFE) for incorporating Voice Assistants" | ||
| 4 | LICENSE = "BSD-3-Clause" | ||
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=7bdef19938f3503cfc4c586461f99012" | ||
| 6 | |||
| 7 | PV = "1.0+git" | ||
| 8 | |||
| 9 | SRCBRANCH = "MM_04.10.0_2505_L6.12.20" | ||
| 10 | SRC_URI = " git://github.com/nxp-imx/nxp-afe.git;protocol=https;branch=${SRCBRANCH}" | ||
| 11 | |||
| 12 | SRCREV = "c6b8fee21376e724b8441f3cf6c04dee69b5242e" | ||
| 13 | |||
| 14 | DEPENDS += "alsa-lib" | ||
| 15 | |||
| 16 | TARGET_CC_ARCH += "${LDFLAGS}" | ||
| 17 | |||
| 18 | do_compile() { | ||
| 19 | oe_runmake clean | ||
| 20 | oe_runmake all | ||
| 21 | } | ||
| 22 | |||
| 23 | do_install() { | ||
| 24 | install -d ${D}${libdir}/nxp-afe | ||
| 25 | install -d ${D}/unit_tests/nxp-afe | ||
| 26 | install -m 0644 ${UNPACKDIR}/deploy_afe/*.so.1.0 ${D}${libdir}/nxp-afe | ||
| 27 | ln -sf -r ${D}${libdir}/nxp-afe/libdummyimpl.so.1.0 ${D}${libdir}/nxp-afe/libdummyimpl.so | ||
| 28 | install -m 0755 ${UNPACKDIR}/deploy_afe/afe ${D}/unit_tests/nxp-afe | ||
| 29 | install -m 0644 ${UNPACKDIR}/deploy_afe/asound.conf* ${D}/unit_tests/nxp-afe | ||
| 30 | install -m 0644 ${UNPACKDIR}/deploy_afe/TODO.md ${D}/unit_tests/nxp-afe | ||
| 31 | install -m 0755 ${UNPACKDIR}/deploy_afe/UAC_VCOM_composite.sh ${D}/unit_tests/nxp-afe | ||
| 32 | } | ||
| 33 | |||
| 34 | FILES:${PN} += "/unit_tests" | ||
| 35 | INSANE_SKIP:${PN} += "dev-so" | ||
diff --git a/recipes-multimedia/tinycompress/tinycompress_1.2.5.bb b/recipes-multimedia/tinycompress/tinycompress_1.2.5.bb index f37e786b6..48edf0769 100644 --- a/recipes-multimedia/tinycompress/tinycompress_1.2.5.bb +++ b/recipes-multimedia/tinycompress/tinycompress_1.2.5.bb | |||
| @@ -13,6 +13,4 @@ SRCREV = "f3ba6e5c2126f2fb07e3d890f990d50c3e204e67" | |||
| 13 | 13 | ||
| 14 | EXTRA_OECONF:append = " --enable-pcm" | 14 | EXTRA_OECONF:append = " --enable-pcm" |
| 15 | 15 | ||
| 16 | S = "${WORKDIR}/git" | ||
| 17 | |||
| 18 | inherit autotools pkgconfig | 16 | inherit autotools pkgconfig |
diff --git a/recipes-security/optee-imx/optee-client-fslc-imx.inc b/recipes-security/optee-imx/optee-client-fslc-imx.inc index 7aeff9fd5..1112a864d 100644 --- a/recipes-security/optee-imx/optee-client-fslc-imx.inc +++ b/recipes-security/optee-imx/optee-client-fslc-imx.inc | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | # Copied from meta-imx/meta-imx-bsp/recipes-security/optee/optee-client-imx.inc. | 1 | # Copied from meta-imx/meta-imx-bsp/recipes-security/optee/optee-client-imx.inc. |
| 2 | # See: https://github.com/nxp-imx/imx-manifest/blob/imx-linux-scarthgap/imx-6.6.52-2.2.0.xml#L37 | 2 | # See: https://github.com/nxp-imx/imx-manifest/blob/imx-linux-walnascar/imx-6.12.20-2.0.0.xml#L37 |
| 3 | 3 | ||
| 4 | require optee-client-fslc.inc | 4 | require optee-client-fslc.inc |
| 5 | 5 | ||
| @@ -10,27 +10,8 @@ SRC_URI:remove = "git://github.com/OP-TEE/optee_client.git;branch=master;protoco | |||
| 10 | SRC_URI:prepend = "${OPTEE_CLIENT_SRC};branch=${SRCBRANCH} " | 10 | SRC_URI:prepend = "${OPTEE_CLIENT_SRC};branch=${SRCBRANCH} " |
| 11 | OPTEE_CLIENT_SRC ?= "git://github.com/nxp-imx/imx-optee-client.git;protocol=https" | 11 | OPTEE_CLIENT_SRC ?= "git://github.com/nxp-imx/imx-optee-client.git;protocol=https" |
| 12 | 12 | ||
| 13 | SRC_URI += "file://0001-tee-supplicant-Fix-non-arch-service-unit-install-pat.patch" | ||
| 14 | |||
| 13 | inherit pkgconfig | 15 | inherit pkgconfig |
| 14 | 16 | ||
| 15 | EXTRA_OECMAKE += "-DCFG_TEE_CLIENT_LOAD_PATH=${nonarch_base_libdir}" | 17 | EXTRA_OECMAKE += "-DCFG_TEE_CLIENT_LOAD_PATH=${nonarch_base_libdir}" |
| 16 | |||
| 17 | # Copy the udev rule from the libts recipe for starting tee-supplicant@.service | ||
| 18 | SRC_URI += "file://tee-udev.rules" | ||
| 19 | # Unix group name for dev/tee* ownership. | ||
| 20 | TEE_GROUP_NAME ?= "teeclnt" | ||
| 21 | do_install:append () { | ||
| 22 | if ${@oe.utils.conditional('VIRTUAL-RUNTIME_dev_manager', 'busybox-mdev', 'false', 'true', d)}; then | ||
| 23 | install -d ${D}${nonarch_base_libdir}/udev/rules.d/ | ||
| 24 | install -m 755 ${UNPACKDIR}/tee-udev.rules ${D}${nonarch_base_libdir}/udev/rules.d/ | ||
| 25 | sed -i -e "s/teeclnt/${TEE_GROUP_NAME}/" ${D}${nonarch_base_libdir}/udev/rules.d/tee-udev.rules | ||
| 26 | fi | ||
| 27 | |||
| 28 | if [ "${libdir}" != "${nonarch_base_libdir}" ]; then | ||
| 29 | rm -rf ${D}${libdir}/systemd | ||
| 30 | fi | ||
| 31 | } | ||
| 32 | inherit ${@oe.utils.conditional('VIRTUAL-RUNTIME_dev_manager', 'busybox-mdev', '', 'useradd', d)} | ||
| 33 | USERADD_PACKAGES = "${PN}" | ||
| 34 | GROUPADD_PARAM:${PN} = "--system ${TEE_GROUP_NAME}" | ||
| 35 | |||
| 36 | FILES:${PN} += "${libdir}/* ${includedir}/*" | ||
diff --git a/recipes-security/optee-imx/optee-client-fslc.inc b/recipes-security/optee-imx/optee-client-fslc.inc index 455bdd780..70a25fe6c 100644 --- a/recipes-security/optee-imx/optee-client-fslc.inc +++ b/recipes-security/optee-imx/optee-client-fslc.inc | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | # Copied from meta-arm/recipes-security/optee/optee-client.inc. | 1 | # Copied from meta-arm/recipes-security/optee/optee-client.inc. |
| 2 | # See: https://github.com/nxp-imx/imx-manifest/blob/imx-linux-scarthgap/imx-6.6.52-2.2.0.xml#L30 | 2 | # See: https://github.com/nxp-imx/imx-manifest/blob/imx-linux-walnascar/imx-6.12.20-2.0.0.xml#L30 |
| 3 | 3 | ||
| 4 | SUMMARY = "OP-TEE Client API" | 4 | SUMMARY = "OP-TEE Client API" |
| 5 | DESCRIPTION = "Open Portable Trusted Execution Environment - Normal World Client side of the TEE" | 5 | DESCRIPTION = "Open Portable Trusted Execution Environment - Normal World Client side of the TEE" |
| @@ -8,32 +8,39 @@ HOMEPAGE = "https://www.op-tee.org/" | |||
| 8 | LICENSE = "BSD-2-Clause" | 8 | LICENSE = "BSD-2-Clause" |
| 9 | LIC_FILES_CHKSUM = "file://LICENSE;md5=69663ab153298557a59c67a60a743e5b" | 9 | LIC_FILES_CHKSUM = "file://LICENSE;md5=69663ab153298557a59c67a60a743e5b" |
| 10 | 10 | ||
| 11 | inherit systemd update-rc.d cmake | 11 | inherit systemd update-rc.d cmake useradd |
| 12 | 12 | ||
| 13 | SRC_URI = " \ | 13 | SRC_URI = " \ |
| 14 | git://github.com/OP-TEE/optee_client.git;branch=master;protocol=https \ | 14 | git://github.com/OP-TEE/optee_client.git;branch=master;protocol=https \ |
| 15 | file://tee-supplicant@.service \ | ||
| 16 | file://tee-supplicant.sh \ | 15 | file://tee-supplicant.sh \ |
| 17 | " | 16 | " |
| 18 | 17 | ||
| 19 | UPSTREAM_CHECK_GITTAGREGEX = "^(?P<pver>\d+(\.\d+)+)$" | 18 | UPSTREAM_CHECK_GITTAGREGEX = "^(?P<pver>\d+(\.\d+)+)$" |
| 20 | 19 | ||
| 21 | S = "${WORKDIR}/git" | ||
| 22 | |||
| 23 | EXTRA_OECMAKE = " \ | 20 | EXTRA_OECMAKE = " \ |
| 24 | -DBUILD_SHARED_LIBS=ON \ | 21 | -DBUILD_SHARED_LIBS=ON \ |
| 25 | -DCFG_TEE_FS_PARENT_PATH='${localstatedir}/lib/tee' \ | 22 | -DCFG_USE_PKGCONFIG=ON \ |
| 26 | " | 23 | " |
| 24 | |||
| 25 | # libts uses /dev/tee devices too. Add a common variable to allow configuring the same group. | ||
| 26 | TEE_GROUP_NAME ?= "tee" | ||
| 27 | |||
| 28 | EXTRA_OECMAKE += " -DCFG_ENABLE_SYSTEMD=On -DSYSTEMD_UNIT_DIR=${systemd_system_unitdir}/" | ||
| 29 | EXTRA_OECMAKE += " -DCFG_ENABLE_UDEV=On -DUDEV_UDEV_DIR=${nonarch_base_libdir}/udev/rules.d/" | ||
| 30 | EXTRA_OECMAKE += " -DCFG_TEE_GROUP=${TEE_GROUP_NAME} -DCFG_TEEPRIV_GROUP=teepriv" | ||
| 31 | |||
| 27 | EXTRA_OECMAKE:append:toolchain-clang = " -DCFG_WERROR=0" | 32 | EXTRA_OECMAKE:append:toolchain-clang = " -DCFG_WERROR=0" |
| 28 | 33 | ||
| 29 | do_install:append() { | 34 | do_install:append() { |
| 30 | install -D -p -m0644 ${UNPACKDIR}/tee-supplicant@.service ${D}${systemd_system_unitdir}/tee-supplicant@.service | 35 | if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then |
| 31 | install -D -p -m0755 ${UNPACKDIR}/tee-supplicant.sh ${D}${sysconfdir}/init.d/tee-supplicant | 36 | install -D -p -m0755 ${UNPACKDIR}/tee-supplicant.sh ${D}${sysconfdir}/init.d/tee-supplicant |
| 32 | 37 | sed -i -e s:@sysconfdir@:${sysconfdir}:g \ | |
| 33 | sed -i -e s:@sysconfdir@:${sysconfdir}:g \ | 38 | -e s:@sbindir@:${sbindir}:g \ |
| 34 | -e s:@sbindir@:${sbindir}:g \ | 39 | -e s:@supluser@:teesuppl:g \ |
| 35 | ${D}${systemd_system_unitdir}/tee-supplicant@.service \ | 40 | -e s:@suplgroup@:teesuppl:g \ |
| 36 | ${D}${sysconfdir}/init.d/tee-supplicant | 41 | ${D}${sysconfdir}/init.d/tee-supplicant |
| 42 | fi | ||
| 43 | install -o teesuppl -g teesuppl -m 0700 -d ${D}${localstatedir}/lib/tee | ||
| 37 | } | 44 | } |
| 38 | 45 | ||
| 39 | SYSTEMD_SERVICE:${PN} = "tee-supplicant@.service" | 46 | SYSTEMD_SERVICE:${PN} = "tee-supplicant@.service" |
| @@ -41,3 +48,13 @@ SYSTEMD_SERVICE:${PN} = "tee-supplicant@.service" | |||
| 41 | INITSCRIPT_PACKAGES = "${PN}" | 48 | INITSCRIPT_PACKAGES = "${PN}" |
| 42 | INITSCRIPT_NAME:${PN} = "tee-supplicant" | 49 | INITSCRIPT_NAME:${PN} = "tee-supplicant" |
| 43 | INITSCRIPT_PARAMS:${PN} = "start 10 1 2 3 4 5 . stop 90 0 6 ." | 50 | INITSCRIPT_PARAMS:${PN} = "start 10 1 2 3 4 5 . stop 90 0 6 ." |
| 51 | |||
| 52 | FILES:${PN} += "${nonarch_base_libdir}/udev/rules.d/" | ||
| 53 | |||
| 54 | # Users and groups: | ||
| 55 | # TEE_GROUP_NAME group to access /dev/tee* | ||
| 56 | # teepriv group to acess /dev/teepriv*, only tee-supplicant | ||
| 57 | # teesuppl user and group teesuppl to run tee-supplicant | ||
| 58 | USERADD_PACKAGES = "${PN}" | ||
| 59 | GROUPADD_PARAM:${PN} = "--system ${TEE_GROUP_NAME}; --system teepriv; --system teesuppl" | ||
| 60 | USERADD_PARAM:${PN} = "--system -g teesuppl --groups teepriv --home-dir ${localstatedir}/lib/tee -M --shell /sbin/nologin teesuppl;" | ||
diff --git a/recipes-security/optee-imx/optee-client/0001-tee-supplicant-Fix-non-arch-service-unit-install-pat.patch b/recipes-security/optee-imx/optee-client/0001-tee-supplicant-Fix-non-arch-service-unit-install-pat.patch new file mode 100644 index 000000000..631e08019 --- /dev/null +++ b/recipes-security/optee-imx/optee-client/0001-tee-supplicant-Fix-non-arch-service-unit-install-pat.patch | |||
| @@ -0,0 +1,35 @@ | |||
| 1 | From 5ffab66dda3e25f0b2ebc5115013c4234d048703 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Tom Hochstein <tom.hochstein@nxp.com> | ||
| 3 | Date: Mon, 21 Apr 2025 08:47:29 -0500 | ||
| 4 | Subject: [PATCH] tee-supplicant: Fix non-arch service unit install path | ||
| 5 | |||
| 6 | A 64-bit build with multilib enabled fails: | ||
| 7 | ``` | ||
| 8 | ERROR: optee-client-4.4.0-r0 do_package: Didn't find service unit 'tee-supplicant@.service', specified in SYSTEMD_SERVICE:optee-client. Also looked for service unit 'tee-supplicant@.service'. | ||
| 9 | ``` | ||
| 10 | |||
| 11 | The problem is the service unit is installed in the arch-specific folder | ||
| 12 | /usr/lib64/systemd/system, but it is non-arch and should be in | ||
| 13 | /usr/lib/systemd/system. | ||
| 14 | |||
| 15 | Upstream-Status: Pending | ||
| 16 | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> | ||
| 17 | --- | ||
| 18 | tee-supplicant/CMakeLists.txt | 2 +- | ||
| 19 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 20 | |||
| 21 | diff --git a/tee-supplicant/CMakeLists.txt b/tee-supplicant/CMakeLists.txt | ||
| 22 | index 8df9bef..3ea058c 100644 | ||
| 23 | --- a/tee-supplicant/CMakeLists.txt | ||
| 24 | +++ b/tee-supplicant/CMakeLists.txt | ||
| 25 | @@ -119,6 +119,6 @@ endif() | ||
| 26 | ################################################################################ | ||
| 27 | install(TARGETS ${PROJECT_NAME} RUNTIME DESTINATION ${CMAKE_INSTALL_SBINDIR}) | ||
| 28 | configure_file(tee-supplicant@.service.in tee-supplicant@.service @ONLY) | ||
| 29 | -install(FILES ${CMAKE_BINARY_DIR}/${PROJECT_NAME}/tee-supplicant@.service DESTINATION ${CMAKE_INSTALL_LIBDIR}/systemd/system) | ||
| 30 | +install(FILES ${CMAKE_BINARY_DIR}/${PROJECT_NAME}/tee-supplicant@.service DESTINATION lib/systemd/system) | ||
| 31 | configure_file(optee-udev.rules.in optee-udev.rules @ONLY) | ||
| 32 | install(FILES ${CMAKE_BINARY_DIR}/${PROJECT_NAME}/optee-udev.rules DESTINATION ${CMAKE_INSTALL_SYSCONFDIR}/udev/rules.d) | ||
| 33 | -- | ||
| 34 | 2.34.1 | ||
| 35 | |||
diff --git a/recipes-security/optee-imx/optee-client/optee-udev.rules b/recipes-security/optee-imx/optee-client/optee-udev.rules new file mode 100644 index 000000000..075f469c0 --- /dev/null +++ b/recipes-security/optee-imx/optee-client/optee-udev.rules | |||
| @@ -0,0 +1,6 @@ | |||
| 1 | KERNEL=="tee[0-9]*", MODE="0660", OWNER="root", GROUP="teeclnt", TAG+="systemd" | ||
| 2 | |||
| 3 | # If a /dev/teepriv[0-9]* device is detected, start an instance of | ||
| 4 | # tee-supplicant.service with the device name as parameter | ||
| 5 | KERNEL=="teepriv[0-9]*", MODE="0660", OWNER="root", GROUP="teeclnt", \ | ||
| 6 | TAG+="systemd", ENV{SYSTEMD_WANTS}+="tee-supplicant@%k.service" | ||
diff --git a/recipes-security/optee-imx/optee-client_4.4.0.imx.bb b/recipes-security/optee-imx/optee-client_4.4.0.imx.bb deleted file mode 100644 index 322f998fc..000000000 --- a/recipes-security/optee-imx/optee-client_4.4.0.imx.bb +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | require optee-client-fslc-imx.inc | ||
| 2 | |||
| 3 | SRCBRANCH = "lf-6.6.52_2.2.0" | ||
| 4 | SRCREV = "d221676a58b305bddbf97db00395205b3038de8e" | ||
diff --git a/recipes-security/optee-imx/optee-client_4.6.0.imx.bb b/recipes-security/optee-imx/optee-client_4.6.0.imx.bb new file mode 100644 index 000000000..b5a185da1 --- /dev/null +++ b/recipes-security/optee-imx/optee-client_4.6.0.imx.bb | |||
| @@ -0,0 +1,4 @@ | |||
| 1 | require optee-client-fslc-imx.inc | ||
| 2 | |||
| 3 | SRCBRANCH = "lf-6.12.20_2.0.0" | ||
| 4 | SRCREV = "02e7f9213b0d7db9c35ebf1e41e733fc9c5a3f75" | ||
diff --git a/recipes-security/optee-imx/optee-fslc.inc b/recipes-security/optee-imx/optee-fslc.inc index c89746dc4..599dda522 100644 --- a/recipes-security/optee-imx/optee-fslc.inc +++ b/recipes-security/optee-imx/optee-fslc.inc | |||
| @@ -1,14 +1,16 @@ | |||
| 1 | # Copied from meta-arm/recipes-security/optee/optee.inc. | 1 | # Copied from meta-arm/recipes-security/optee/optee.inc. |
| 2 | # See: https://github.com/nxp-imx/imx-manifest/blob/imx-linux-scarthgap/imx-6.6.52-2.2.0.xml#L30 | 2 | # See: https://github.com/nxp-imx/imx-manifest/blob/imx-linux-walnascar/imx-6.12.20-2.0.0.xml#L30 |
| 3 | 3 | ||
| 4 | UPSTREAM_CHECK_GITTAGREGEX = "^(?P<pver>\d+(\.\d+)+)$" | 4 | UPSTREAM_CHECK_GITTAGREGEX = "^(?P<pver>\d+(\.\d+)+)$" |
| 5 | 5 | ||
| 6 | COMPATIBLE_MACHINE ?= "invalid" | 6 | COMPATIBLE_MACHINE ?= "invalid" |
| 7 | COMPATIBLE_MACHINE:genericarm64 ?= "genericarm64" | ||
| 7 | COMPATIBLE_MACHINE:qemuarm64 ?= "qemuarm64" | 8 | COMPATIBLE_MACHINE:qemuarm64 ?= "qemuarm64" |
| 8 | COMPATIBLE_MACHINE:qemuarm ?= "qemuarm" | 9 | COMPATIBLE_MACHINE:qemuarm ?= "qemuarm" |
| 9 | # Please add supported machines below or set it in .bbappend or .conf | 10 | # Please add supported machines below or set it in .bbappend or .conf |
| 10 | 11 | ||
| 11 | OPTEEMACHINE ?= "${MACHINE}" | 12 | OPTEEMACHINE ?= "${MACHINE}" |
| 13 | OPTEEMACHINE:genericarm64 ?= "vexpress-qemu_armv8a" | ||
| 12 | OPTEEMACHINE:aarch64:qemuall ?= "vexpress-qemu_armv8a" | 14 | OPTEEMACHINE:aarch64:qemuall ?= "vexpress-qemu_armv8a" |
| 13 | OPTEEMACHINE:arm:qemuall ?= "vexpress-qemu_virt" | 15 | OPTEEMACHINE:arm:qemuall ?= "vexpress-qemu_virt" |
| 14 | 16 | ||
diff --git a/recipes-security/optee-imx/optee-os-common-fslc-imx.inc b/recipes-security/optee-imx/optee-os-common-fslc-imx.inc index 941182fe9..ffd217099 100644 --- a/recipes-security/optee-imx/optee-os-common-fslc-imx.inc +++ b/recipes-security/optee-imx/optee-os-common-fslc-imx.inc | |||
| @@ -1,6 +1,5 @@ | |||
| 1 | # Copied from meta-imx/meta-imx-bsp/recipes-security/optee/optee-os-common-imx.inc. | 1 | # Copied from meta-imx/meta-imx-bsp/recipes-security/optee/optee-os-common-imx.inc. |
| 2 | # See: https://github.com/nxp-imx/imx-manifest/blob/imx-linux-scarthgap/imx-6.6.52-2.2.0.xml#L37 | 2 | # See: https://github.com/nxp-imx/imx-manifest/blob/imx-linux-walnascar/imx-6.12.20-2.0.0.xml#L37 |
| 3 | |||
| 4 | require optee-os-fslc.inc | 3 | require optee-os-fslc.inc |
| 5 | 4 | ||
| 6 | DEPENDS:append:arm = "u-boot-mkimage-native" | 5 | DEPENDS:append:arm = "u-boot-mkimage-native" |
| @@ -38,6 +37,7 @@ OPTEEMACHINE:mx8mnul-nxp-bsp = "imx-mx8mnevk" | |||
| 38 | OPTEEMACHINE:mx8ulp-nxp-bsp = "imx-mx8ulpevk" | 37 | OPTEEMACHINE:mx8ulp-nxp-bsp = "imx-mx8ulpevk" |
| 39 | OPTEEMACHINE:mx91-nxp-bsp = "imx-mx91evk" | 38 | OPTEEMACHINE:mx91-nxp-bsp = "imx-mx91evk" |
| 40 | OPTEEMACHINE:mx93-nxp-bsp = "imx-mx93evk" | 39 | OPTEEMACHINE:mx93-nxp-bsp = "imx-mx93evk" |
| 40 | OPTEEMACHINE:mx943-nxp-bsp = "imx-mx943evk" | ||
| 41 | OPTEEMACHINE:mx95-nxp-bsp = "imx-mx95evk" | 41 | OPTEEMACHINE:mx95-nxp-bsp = "imx-mx95evk" |
| 42 | 42 | ||
| 43 | # Strip the leading imx- | 43 | # Strip the leading imx- |
diff --git a/recipes-security/optee-imx/optee-os-fslc-imx.inc b/recipes-security/optee-imx/optee-os-fslc-imx.inc index 5fe6a75a5..f46f666ee 100644 --- a/recipes-security/optee-imx/optee-os-fslc-imx.inc +++ b/recipes-security/optee-imx/optee-os-fslc-imx.inc | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | # Copied from meta-imx/meta-imx-bsp/recipes-security/optee/optee-os-imx.inc. | 1 | # Copied from meta-imx/meta-imx-bsp/recipes-security/optee/optee-os-imx.inc. |
| 2 | # See: https://github.com/nxp-imx/imx-manifest/blob/imx-linux-scarthgap/imx-6.6.52-2.2.0.xml#L37 | 2 | # See: https://github.com/nxp-imx/imx-manifest/blob/imx-linux-walnascar/imx-6.12.20-2.0.0.xml#L37 |
| 3 | 3 | ||
| 4 | require optee-os-common-fslc-imx.inc | 4 | require optee-os-common-fslc-imx.inc |
| 5 | 5 | ||
diff --git a/recipes-security/optee-imx/optee-os-fslc.inc b/recipes-security/optee-imx/optee-os-fslc.inc index c1f1f48f5..4df1617d1 100644 --- a/recipes-security/optee-imx/optee-os-fslc.inc +++ b/recipes-security/optee-imx/optee-os-fslc.inc | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | # Copied from meta-arm/recipes-security/optee/optee-os.inc. | 1 | # Copied from meta-arm/recipes-security/optee/optee-os.inc. |
| 2 | # See: https://github.com/nxp-imx/imx-manifest/blob/imx-linux-scarthgap/imx-6.6.52-2.2.0.xml#L30 | 2 | # See: https://github.com/nxp-imx/imx-manifest/blob/imx-linux-walnascar/imx-6.12.20-2.0.0.xml#L30 |
| 3 | 3 | ||
| 4 | SUMMARY = "OP-TEE Trusted OS" | 4 | SUMMARY = "OP-TEE Trusted OS" |
| 5 | DESCRIPTION = "Open Portable Trusted Execution Environment - Trusted side of the TEE" | 5 | DESCRIPTION = "Open Portable Trusted Execution Environment - Trusted side of the TEE" |
| @@ -19,7 +19,6 @@ DEPENDS:append:toolchain-clang = " compiler-rt" | |||
| 19 | 19 | ||
| 20 | SRC_URI = "git://github.com/OP-TEE/optee_os.git;branch=master;protocol=https" | 20 | SRC_URI = "git://github.com/OP-TEE/optee_os.git;branch=master;protocol=https" |
| 21 | 21 | ||
| 22 | S = "${WORKDIR}/git" | ||
| 23 | B = "${WORKDIR}/build" | 22 | B = "${WORKDIR}/build" |
| 24 | 23 | ||
| 25 | EXTRA_OEMAKE += " \ | 24 | EXTRA_OEMAKE += " \ |
| @@ -27,7 +26,7 @@ EXTRA_OEMAKE += " \ | |||
| 27 | CFG_${OPTEE_CORE}_core=y \ | 26 | CFG_${OPTEE_CORE}_core=y \ |
| 28 | CROSS_COMPILE_core=${HOST_PREFIX} \ | 27 | CROSS_COMPILE_core=${HOST_PREFIX} \ |
| 29 | CROSS_COMPILE_ta_${OPTEE_ARCH}=${HOST_PREFIX} \ | 28 | CROSS_COMPILE_ta_${OPTEE_ARCH}=${HOST_PREFIX} \ |
| 30 | NOWERROR=1 \ | 29 | AFLAGS="${CFLAGS}" \ |
| 31 | ta-targets=ta_${OPTEE_ARCH} \ | 30 | ta-targets=ta_${OPTEE_ARCH} \ |
| 32 | O=${B} \ | 31 | O=${B} \ |
| 33 | " | 32 | " |
| @@ -40,7 +39,7 @@ AS[unexport] = "1" | |||
| 40 | LD[unexport] = "1" | 39 | LD[unexport] = "1" |
| 41 | 40 | ||
| 42 | do_compile:prepend() { | 41 | do_compile:prepend() { |
| 43 | PLAT_LIBGCC_PATH=$(${CC} -print-libgcc-file-name) | 42 | PLAT_LIBGCC_PATH=$(${CC} -print-libgcc-file-name) |
| 44 | } | 43 | } |
| 45 | 44 | ||
| 46 | do_compile() { | 45 | do_compile() { |
| @@ -79,8 +78,5 @@ FILES:${PN}-ta = "${nonarch_base_libdir}/optee_armtz/*" | |||
| 79 | 78 | ||
| 80 | # note: "textrel" is not triggered on all archs | 79 | # note: "textrel" is not triggered on all archs |
| 81 | INSANE_SKIP:${PN} = "textrel" | 80 | INSANE_SKIP:${PN} = "textrel" |
| 82 | # Build paths are currently embedded | ||
| 83 | INSANE_SKIP:${PN} += "buildpaths" | ||
| 84 | INSANE_SKIP:${PN}-dev = "staticdev" | 81 | INSANE_SKIP:${PN}-dev = "staticdev" |
| 85 | INHIBIT_PACKAGE_STRIP = "1" | 82 | INHIBIT_PACKAGE_STRIP = "1" |
| 86 | |||
diff --git a/recipes-security/optee-imx/optee-os-tadevkit-fslc-imx.inc b/recipes-security/optee-imx/optee-os-tadevkit-fslc-imx.inc index 18cf9a374..0b02c6908 100644 --- a/recipes-security/optee-imx/optee-os-tadevkit-fslc-imx.inc +++ b/recipes-security/optee-imx/optee-os-tadevkit-fslc-imx.inc | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | # Copied from meta-imx/meta-imx-bsp/recipes-security/optee/optee-os-tadevkit-imx.inc. | 1 | # Copied from meta-imx/meta-imx-bsp/recipes-security/optee/optee-os-tadevkit-imx.inc. |
| 2 | # See: https://github.com/nxp-imx/imx-manifest/blob/imx-linux-scarthgap/imx-6.6.52-2.2.0.xml#L37 | 2 | # See: https://github.com/nxp-imx/imx-manifest/blob/imx-linux-walnascar/imx-6.12.20-2.0.0.xml#L37 |
| 3 | 3 | ||
| 4 | require optee-os-common-fslc-imx.inc | 4 | require optee-os-common-fslc-imx.inc |
| 5 | 5 | ||
| @@ -22,6 +22,3 @@ do_deploy() { | |||
| 22 | } | 22 | } |
| 23 | 23 | ||
| 24 | FILES:${PN} = "${includedir}/optee/" | 24 | FILES:${PN} = "${includedir}/optee/" |
| 25 | |||
| 26 | # Build paths are currently embedded | ||
| 27 | INSANE_SKIP:${PN}-dev += "buildpaths" | ||
diff --git a/recipes-security/optee-imx/optee-os-tadevkit_4.4.0.imx.bb b/recipes-security/optee-imx/optee-os-tadevkit_4.4.0.imx.bb deleted file mode 100644 index bb2e2cf6b..000000000 --- a/recipes-security/optee-imx/optee-os-tadevkit_4.4.0.imx.bb +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | require optee-os-tadevkit-fslc-imx.inc | ||
| 2 | |||
| 3 | SRCBRANCH = "lf-6.6.52_2.2.0" | ||
| 4 | SRCREV = "60beb308810f9561a67fdb435388a64c85eb6dcb" | ||
diff --git a/recipes-security/optee-imx/optee-os-tadevkit_4.6.0.imx.bb b/recipes-security/optee-imx/optee-os-tadevkit_4.6.0.imx.bb new file mode 100644 index 000000000..92bdf00e7 --- /dev/null +++ b/recipes-security/optee-imx/optee-os-tadevkit_4.6.0.imx.bb | |||
| @@ -0,0 +1,4 @@ | |||
| 1 | require optee-os-tadevkit-fslc-imx.inc | ||
| 2 | |||
| 3 | SRCBRANCH = "lf-6.12.20_2.0.0" | ||
| 4 | SRCREV = "87964807d80baf1dcfd89cafc66de34a1cf16bf3" | ||
diff --git a/recipes-security/optee-imx/optee-os_4.4.0.imx.bb b/recipes-security/optee-imx/optee-os_4.4.0.imx.bb deleted file mode 100644 index dc6d3901d..000000000 --- a/recipes-security/optee-imx/optee-os_4.4.0.imx.bb +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | # Copyright 2017-2024 NXP | ||
| 2 | |||
| 3 | require optee-os-fslc-imx.inc | ||
| 4 | |||
| 5 | SRCBRANCH = "lf-6.6.52_2.2.0" | ||
| 6 | SRCREV = "60beb308810f9561a67fdb435388a64c85eb6dcb" | ||
diff --git a/recipes-security/optee-imx/optee-os_4.6.0.imx.bb b/recipes-security/optee-imx/optee-os_4.6.0.imx.bb new file mode 100644 index 000000000..ed2557bcb --- /dev/null +++ b/recipes-security/optee-imx/optee-os_4.6.0.imx.bb | |||
| @@ -0,0 +1,6 @@ | |||
| 1 | # Copyright 2017-2024 NXP | ||
| 2 | |||
| 3 | require optee-os-fslc-imx.inc | ||
| 4 | |||
| 5 | SRCBRANCH = "lf-6.12.20_2.0.0" | ||
| 6 | SRCREV = "87964807d80baf1dcfd89cafc66de34a1cf16bf3" | ||
diff --git a/recipes-security/optee-imx/optee-test-fslc-imx.inc b/recipes-security/optee-imx/optee-test-fslc-imx.inc index ab16fd221..b4bb6031b 100644 --- a/recipes-security/optee-imx/optee-test-fslc-imx.inc +++ b/recipes-security/optee-imx/optee-test-fslc-imx.inc | |||
| @@ -1,6 +1,5 @@ | |||
| 1 | # Copied from meta-imx/meta-imx-bsp/recipes-security/optee/optee-test-imx.inc. | 1 | # Copied from meta-imx/meta-imx-bsp/recipes-security/optee/optee-test-imx.inc. |
| 2 | # See: https://github.com/nxp-imx/imx-manifest/blob/imx-linux-scarthgap/imx-6.6.52-2.2.0.xml#L37 | 2 | # See: https://github.com/nxp-imx/imx-manifest/blob/imx-linux-walnascar/imx-6.12.20-2.0.0.xml#L37 |
| 3 | |||
| 4 | require optee-test-fslc.inc | 3 | require optee-test-fslc.inc |
| 5 | 4 | ||
| 6 | DEPENDS += "openssl" | 5 | DEPENDS += "openssl" |
| @@ -14,5 +13,6 @@ OPTEE_TEST_SRC ?= "git://github.com/nxp-imx/imx-optee-test.git;protocol=https" | |||
| 14 | 13 | ||
| 15 | EXTRA_OEMAKE:append:libc-musl = " OPTEE_OPENSSL_EXPORT=${STAGING_INCDIR}" | 14 | EXTRA_OEMAKE:append:libc-musl = " OPTEE_OPENSSL_EXPORT=${STAGING_INCDIR}" |
| 16 | CFLAGS:append:libc-musl = " -Wno-error=deprecated-declarations" | 15 | CFLAGS:append:libc-musl = " -Wno-error=deprecated-declarations" |
| 16 | CFLAGS += " -Wno-error=unterminated-string-initialization" | ||
| 17 | 17 | ||
| 18 | COMPATIBLE_MACHINE = "(imx-nxp-bsp)" | 18 | COMPATIBLE_MACHINE = "(imx-nxp-bsp)" |
diff --git a/recipes-security/optee-imx/optee-test-fslc.inc b/recipes-security/optee-imx/optee-test-fslc.inc index 0fb5f878a..46d57ac41 100644 --- a/recipes-security/optee-imx/optee-test-fslc.inc +++ b/recipes-security/optee-imx/optee-test-fslc.inc | |||
| @@ -1,12 +1,11 @@ | |||
| 1 | # Copied from meta-arm/recipes-security/optee/optee-test.inc. | 1 | # Copied from meta-arm/recipes-security/optee/optee-test.inc. |
| 2 | # See: https://github.com/nxp-imx/imx-manifest/blob/imx-linux-scarthgap/imx-6.6.52-2.2.0.xml#L30 | 2 | # See:https://github.com/nxp-imx/imx-manifest/blob/imx-linux-walnascar/imx-6.12.20-2.0.0.xml#L30 |
| 3 | 3 | ||
| 4 | SUMMARY = "OP-TEE sanity testsuite" | 4 | SUMMARY = "OP-TEE sanity testsuite" |
| 5 | DESCRIPTION = "Open Portable Trusted Execution Environment - Test suite" | 5 | DESCRIPTION = "Open Portable Trusted Execution Environment - Test suite" |
| 6 | HOMEPAGE = "https://www.op-tee.org/" | 6 | HOMEPAGE = "https://www.op-tee.org/" |
| 7 | 7 | ||
| 8 | LICENSE = "BSD-2-Clause & GPL-2.0-only" | 8 | LICENSE = "BSD-2-Clause & GPL-2.0-only" |
| 9 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=daa2bcccc666345ab8940aab1315a4fa" | ||
| 10 | 9 | ||
| 11 | inherit python3native ptest | 10 | inherit python3native ptest |
| 12 | inherit deploy | 11 | inherit deploy |
| @@ -18,7 +17,6 @@ SRC_URI = "git://github.com/OP-TEE/optee_test.git;branch=master;protocol=https \ | |||
| 18 | file://run-ptest \ | 17 | file://run-ptest \ |
| 19 | " | 18 | " |
| 20 | 19 | ||
| 21 | S = "${WORKDIR}/git" | ||
| 22 | B = "${WORKDIR}/build" | 20 | B = "${WORKDIR}/build" |
| 23 | 21 | ||
| 24 | EXTRA_OEMAKE += "TA_DEV_KIT_DIR=${TA_DEV_KIT_DIR} \ | 22 | EXTRA_OEMAKE += "TA_DEV_KIT_DIR=${TA_DEV_KIT_DIR} \ |
diff --git a/recipes-security/optee-imx/optee-test_4.4.0.imx.bb b/recipes-security/optee-imx/optee-test_4.6.0.imx.bb index b4ac12714..78e933486 100644 --- a/recipes-security/optee-imx/optee-test_4.4.0.imx.bb +++ b/recipes-security/optee-imx/optee-test_4.6.0.imx.bb | |||
| @@ -9,5 +9,5 @@ LIC_FILES_CHKSUM = "file://LICENSE.md;md5=a8fa504109e4cd7ea575bc49ea4be560 \ | |||
| 9 | file://LICENSE-GPL;md5=10e86b5d2a6cb0e2b9dcfdd26a9ac58d" | 9 | file://LICENSE-GPL;md5=10e86b5d2a6cb0e2b9dcfdd26a9ac58d" |
| 10 | 10 | ||
| 11 | 11 | ||
| 12 | SRCBRANCH = "lf-6.6.52_2.2.0" | 12 | SRCBRANCH = "lf-6.12.20_2.0.0" |
| 13 | SRCREV = "dafc98ed8364d7281a9a7f0788dd0a2067844a59" | 13 | SRCREV = "010f088f05b5ebf392c6e235d6e53d391755722f" |
diff --git a/recipes-security/optee-qoriq/optee-client-qoriq_3.13.0.bb b/recipes-security/optee-qoriq/optee-client-qoriq_3.13.0.bb deleted file mode 100644 index 94123e435..000000000 --- a/recipes-security/optee-qoriq/optee-client-qoriq_3.13.0.bb +++ /dev/null | |||
| @@ -1,5 +0,0 @@ | |||
| 1 | require optee-client.nxp.inc | ||
| 2 | |||
| 3 | PV:append = "+git${SRCPV}" | ||
| 4 | |||
| 5 | COMPATIBLE_MACHINE = "(qoriq-arm64)" | ||
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 new file mode 100644 index 000000000..4b61f7c04 --- /dev/null +++ b/recipes-security/optee-qoriq/optee-client-qoriq_4.6.0.bb | |||
| @@ -0,0 +1,4 @@ | |||
| 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.nxp.inc b/recipes-security/optee-qoriq/optee-client.nxp.inc index c3933a243..590540cd8 100644 --- a/recipes-security/optee-qoriq/optee-client.nxp.inc +++ b/recipes-security/optee-qoriq/optee-client.nxp.inc | |||
| @@ -1,53 +1,22 @@ | |||
| 1 | # Copyright 2020-2021 NXP | 1 | # Copyright 2020-2021,2025 NXP |
| 2 | 2 | ||
| 3 | SUMMARY = "OPTEE Client libs" | 3 | require recipes-security/optee-imx/optee-client-fslc.inc |
| 4 | HOMEPAGE = "http://www.optee.org/" | ||
| 5 | LICENSE = "BSD" | ||
| 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=69663ab153298557a59c67a60a743e5b" | ||
| 7 | 4 | ||
| 8 | inherit python3native systemd | 5 | # The patch same as imx-optee, so point FILESEXTRAPATHS to optee-imx/optee-client, |
| 6 | # avoid duplicate copy files to optee-qoriq | ||
| 7 | FILESEXTRAPATHS:prepend := "${THISDIR}/../optee-imx/optee-client:" | ||
| 9 | 8 | ||
| 10 | SRC_URI = "git://github.com/nxp-qoriq/optee_client.git;protocol=https;nobranch=1" | 9 | DEPENDS = "util-linux-libuuid" |
| 11 | SRCREV = "7c9c423d00e96bf51debd5fe10fd70dce83be5cc" | ||
| 12 | 10 | ||
| 13 | FILESEXTRAPATHS:prepend := "${THISDIR}/optee-client:" | 11 | SRC_URI:remove = "git://github.com/OP-TEE/optee_client.git;branch=master;protocol=https" |
| 14 | SRC_URI += "file://tee-supplicant.service" | 12 | SRC_URI:prepend = "${OPTEE_CLIENT_SRC};branch=${OPTEE_CLIENT_BRANCH} " |
| 15 | 13 | ||
| 16 | S = "${WORKDIR}/git" | 14 | OPTEE_CLIENT_SRC ?= "git://github.com/nxp-qoriq/optee_client.git;protocol=https" |
| 17 | B = "${WORKDIR}/build" | ||
| 18 | 15 | ||
| 19 | OPTEE_ARCH ?= "arm32" | 16 | inherit pkgconfig |
| 20 | OPTEE_ARCH:armv7a = "arm32" | ||
| 21 | OPTEE_ARCH:aarch64 = "arm64" | ||
| 22 | 17 | ||
| 23 | EXTRA_OEMAKE = "ARCH=${OPTEE_ARCH} O=${B}" | 18 | do_install:append () { |
| 24 | 19 | if ! ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then | |
| 25 | do_install () { | 20 | rm -rf ${D}${libdir}/systemd |
| 26 | oe_runmake -C ${S} install | 21 | fi |
| 27 | |||
| 28 | install -d ${D}${libdir}/ | ||
| 29 | install -p -m0644 ${B}/export${libdir}/libteec.so.1.0.0 ${D}${libdir}/ | ||
| 30 | ln -sf libteec.so.1.0.0 ${D}${libdir}/libteec.so.1.0 | ||
| 31 | ln -sf libteec.so.1.0.0 ${D}${libdir}/libteec.so.1 | ||
| 32 | ln -sf libteec.so.1 ${D}${libdir}/libteec.so | ||
| 33 | |||
| 34 | install -D -p -m0644 ${B}/export/usr/lib/libckteec.so.0.1.0 ${D}${libdir}/libckteec.so.0.1.0 | ||
| 35 | ln -sf libckteec.so.0.1.0 ${D}${libdir}/libckteec.so.0.1 | ||
| 36 | ln -sf libckteec.so.0.1.0 ${D}${libdir}/libckteec.so.0 | ||
| 37 | ln -sf libckteec.so.0.1.0 ${D}${libdir}/libckteec.so | ||
| 38 | |||
| 39 | install -D -p -m0755 ${B}/export/usr/sbin/tee-supplicant ${D}${bindir}/tee-supplicant | ||
| 40 | |||
| 41 | cp -a ${B}/export/usr/include ${D}${includedir} | ||
| 42 | |||
| 43 | install -d ${D}${systemd_system_unitdir}/ | ||
| 44 | install -m0644 ${UNPACKDIR}/tee-supplicant.service ${D}${systemd_system_unitdir}/ | ||
| 45 | sed -i -e s:/etc:${sysconfdir}:g -e s:/usr/bin:${bindir}:g ${D}${systemd_system_unitdir}/tee-supplicant.service | ||
| 46 | } | 22 | } |
| 47 | |||
| 48 | SYSTEMD_SERVICE:${PN} = "tee-supplicant.service" | ||
| 49 | |||
| 50 | FILES:${PN} += "${libdir}/* ${includedir}/*" | ||
| 51 | |||
| 52 | INSANE_SKIP:${PN} = "ldflags dev-elf" | ||
| 53 | INSANE_SKIP:${PN}-dev = "ldflags dev-elf" | ||
diff --git a/recipes-security/optee-qoriq/optee-client/tee-supplicant.service b/recipes-security/optee-qoriq/optee-client/tee-supplicant.service deleted file mode 100644 index 0e2b4f6ba..000000000 --- a/recipes-security/optee-qoriq/optee-client/tee-supplicant.service +++ /dev/null | |||
| @@ -1,11 +0,0 @@ | |||
| 1 | [Unit] | ||
| 2 | Description=TEE Supplicant | ||
| 3 | |||
| 4 | [Service] | ||
| 5 | User=root | ||
| 6 | EnvironmentFile=-/etc/default/tee-supplicant | ||
| 7 | ExecStart=/usr/bin/tee-supplicant $OPTARGS | ||
| 8 | |||
| 9 | [Install] | ||
| 10 | WantedBy=basic.target | ||
| 11 | |||
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.6.0.bb new file mode 100644 index 000000000..e7847b81e --- /dev/null +++ b/recipes-security/optee-qoriq/optee-os-qoriq-tadevkit_4.6.0.bb | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | require optee-os.nxp.inc | ||
| 2 | |||
| 3 | SUMMARY = "OP-TEE Trusted OS TA devkit" | ||
| 4 | DESCRIPTION = "OP-TEE TA devkit for build TAs" | ||
| 5 | HOMEPAGE = "https://www.op-tee.org/" | ||
| 6 | |||
| 7 | DEPENDS += "python3-pycryptodome-native" | ||
| 8 | |||
| 9 | OPTEE_OS_BRANCH = "lf-6.12.20_2.0.0" | ||
| 10 | SRCREV = "87964807d80baf1dcfd89cafc66de34a1cf16bf3" | ||
| 11 | |||
| 12 | do_install() { | ||
| 13 | #install TA devkit | ||
| 14 | install -d ${D}${includedir}/optee/export-user_ta/ | ||
| 15 | for f in ${B}/export-ta_${OPTEE_ARCH}/* ; do | ||
| 16 | cp -aR $f ${D}${includedir}/optee/export-user_ta/ | ||
| 17 | done | ||
| 18 | } | ||
| 19 | |||
| 20 | do_deploy() { | ||
| 21 | echo "Do not inherit do_deploy from optee-os." | ||
| 22 | } | ||
| 23 | |||
| 24 | FILES:${PN} = "${includedir}/optee/" | ||
diff --git a/recipes-security/optee-qoriq/optee-os-qoriq_3.13.0.bb b/recipes-security/optee-qoriq/optee-os-qoriq_3.13.0.bb deleted file mode 100644 index 3c3652d3d..000000000 --- a/recipes-security/optee-qoriq/optee-os-qoriq_3.13.0.bb +++ /dev/null | |||
| @@ -1,28 +0,0 @@ | |||
| 1 | require optee-os.nxp.inc | ||
| 2 | |||
| 3 | PV:append = "+git${SRCPV}" | ||
| 4 | |||
| 5 | PLATFORM_FLAVOR:ls1088ardb-pb = "ls1088ardb" | ||
| 6 | PLATFORM_FLAVOR:ls1046afrwy = "ls1046ardb" | ||
| 7 | PLATFORM_FLAVOR:lx2162aqds = "lx2160aqds" | ||
| 8 | |||
| 9 | EXTRA_OEMAKE += " \ | ||
| 10 | PLATFORM=ls \ | ||
| 11 | CFG_ARM64_core=y \ | ||
| 12 | " | ||
| 13 | |||
| 14 | do_compile:append:ls1012afrwy() { | ||
| 15 | mv ${B}/core/tee-raw.bin ${B}/core/tee_512mb.bin | ||
| 16 | oe_runmake CFG_DRAM0_SIZE=0x40000000 all | ||
| 17 | } | ||
| 18 | |||
| 19 | do_install:append:qoriq() { | ||
| 20 | install -m 644 ${B}/core/tee-raw.bin ${D}${nonarch_base_libdir}/firmware/tee_${MACHINE}.bin | ||
| 21 | } | ||
| 22 | |||
| 23 | do_install:append:ls1012afrwy() { | ||
| 24 | install -m 644 ${B}/core/tee_512mb.bin ${D}${nonarch_base_libdir}/firmware/tee_${MACHINE}_512mb.bin | ||
| 25 | } | ||
| 26 | |||
| 27 | INHIBIT_PACKAGE_STRIP = "1" | ||
| 28 | COMPATIBLE_MACHINE = "(qoriq-arm64)" | ||
diff --git a/recipes-security/optee-qoriq/optee-os-qoriq_4.6.0.bb b/recipes-security/optee-qoriq/optee-os-qoriq_4.6.0.bb new file mode 100644 index 000000000..cd568b3dc --- /dev/null +++ b/recipes-security/optee-qoriq/optee-os-qoriq_4.6.0.bb | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | require optee-os.nxp.inc | ||
| 2 | |||
| 3 | OPTEE_OS_BRANCH = "lf-6.12.20_2.0.0" | ||
| 4 | SRCREV = "87964807d80baf1dcfd89cafc66de34a1cf16bf3" | ||
| 5 | |||
| 6 | do_install:append () { | ||
| 7 | install -d ${D}${nonarch_base_libdir}/firmware/ | ||
| 8 | install -m 644 ${B}/core/*.bin ${D}${nonarch_base_libdir}/firmware/ | ||
| 9 | install -m 644 ${B}/core/tee-raw.bin ${D}${nonarch_base_libdir}/firmware/tee_${MACHINE}.bin | ||
| 10 | |||
| 11 | # Install embedded TAs | ||
| 12 | install -d ${D}${base_libdir}/optee_armtz/ | ||
| 13 | install -m 444 ${B}/ta/*/*.ta ${D}${base_libdir}/optee_armtz/ | ||
| 14 | } | ||
| 15 | |||
| 16 | do_deploy:append () { | ||
| 17 | install -d ${DEPLOYDIR}/optee | ||
| 18 | install -m 644 ${D}${nonarch_base_libdir}/firmware/* ${DEPLOYDIR}/optee/ | ||
| 19 | } | ||
| 20 | |||
| 21 | FILES:${PN} = "${nonarch_base_libdir}/optee_armtz/ ${nonarch_base_libdir}/firmware/" | ||
diff --git a/recipes-security/optee-qoriq/optee-os.nxp.inc b/recipes-security/optee-qoriq/optee-os.nxp.inc index 5b90b937c..88ba3fbe2 100644 --- a/recipes-security/optee-qoriq/optee-os.nxp.inc +++ b/recipes-security/optee-qoriq/optee-os.nxp.inc | |||
| @@ -1,75 +1,30 @@ | |||
| 1 | # Copyright 2020-2021 NXP | 1 | # Copyright 2020-2021,2025 NXP |
| 2 | require recipes-security/optee-imx/optee-os-fslc.inc | ||
| 2 | 3 | ||
| 3 | SUMMARY = "OPTEE OS" | 4 | DEPENDS:append = " dtc-native" |
| 4 | DESCRIPTION = "OPTEE OS" | ||
| 5 | HOMEPAGE = "http://www.optee.org/" | ||
| 6 | LICENSE = "BSD" | ||
| 7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=c1f21c4f72f372ef38a5a4aee55ec173" | ||
| 8 | 5 | ||
| 9 | inherit deploy python3native autotools | 6 | # The patch same as imx-optee, so point FILESEXTRAPATHS to optee-imx/optee-client, |
| 10 | DEPENDS = "python3-pycryptodome-native python3-pyelftools-native python3-pycryptodomex-native dtc-native" | 7 | # avoid duplicate copy files to optee-qoriq |
| 8 | FILESEXTRAPATHS:prepend := "${THISDIR}/../optee-imx/optee-os:" | ||
| 11 | 9 | ||
| 12 | SRC_URI = "git://github.com/nxp-qoriq/optee_os.git;protocol=https;nobranch=1" | 10 | SRC_URI:remove = "git://github.com/OP-TEE/optee_os.git;branch=master;protocol=https" |
| 13 | SRCREV = "735d98806dc26fbeeecad7f5e60ffeab8170c67e" | 11 | SRC_URI:prepend = "${OPTEE_OS_SRC};branch=${OPTEE_OS_BRANCH} " |
| 12 | SRC_URI:append = " file://0007-allow-setting-sysroot-for-clang.patch" | ||
| 14 | 13 | ||
| 15 | S = "${WORKDIR}/git" | 14 | OPTEE_OS_SRC ?= "git://github.com/nxp-qoriq/optee_os.git;protocol=https" |
| 16 | B = "${WORKDIR}/build.${PLATFORM_FLAVOR}" | ||
| 17 | 15 | ||
| 18 | PLATFORM_FLAVOR ?= "${MACHINE}" | 16 | REQUIRED_MACHINE_FEATURES = "optee" |
| 19 | 17 | ||
| 20 | OPTEE_ARCH ?= "arm64" | 18 | inherit features_check |
| 21 | OPTEE_ARCH:armv7a = "arm32" | ||
| 22 | OPTEE_ARCH:aarch64 = "arm64" | ||
| 23 | 19 | ||
| 24 | OPTEE_CORE_LOG_LEVEL ?= "1" | 20 | OPTEEMACHINE = "ls-${MACHINE}" |
| 25 | OPTEE_TA_LOG_LEVEL ?= "0" | 21 | OPTEEMACHINE:ls1088ardb-pb = "ls-ls1088ardb" |
| 22 | OPTEEMACHINE:ls1046afrwy = "ls-ls1046ardb" | ||
| 23 | OPTEEMACHINE:lx2162aqds = "ls-lx2160aqds" | ||
| 24 | OPTEEMACHINE:lx2160ardb-rev2 = "ls-lx2160ardb" | ||
| 26 | 25 | ||
| 27 | # Optee-os can be built for 32 bits and 64 bits at the same time | 26 | EXTRA_OEMAKE:append = " \ |
| 28 | # as long as the compilers are correctly defined. | 27 | CFG_TEE_TA_LOG_LEVEL=0 \ |
| 29 | # For 64bits, CROSS_COMPILE64 must be set | 28 | CFG_TEE_CORE_LOG_LEVEL=1 \ |
| 30 | # When defining CROSS_COMPILE and CROSS_COMPILE64, we assure that | ||
| 31 | # any 32 or 64 bits builds will pass | ||
| 32 | EXTRA_OEMAKE = " \ | ||
| 33 | -C ${S} O=${B} \ | ||
| 34 | PLATFORM_FLAVOR=${PLATFORM_FLAVOR} \ | ||
| 35 | CROSS_COMPILE=${HOST_PREFIX} \ | ||
| 36 | CROSS_COMPILE64=${HOST_PREFIX} \ | ||
| 37 | CFG_WERROR=y \ | ||
| 38 | CFG_TEE_CORE_LOG_LEVEL=${OPTEE_CORE_LOG_LEVEL} \ | ||
| 39 | CFG_TEE_TA_LOG_LEVEL=${OPTEE_TA_LOG_LEVEL} \ | ||
| 40 | " | 29 | " |
| 41 | 30 | COMPATIBLE_MACHINE = "(qoriq-arm64)" | |
| 42 | do_compile() { | ||
| 43 | unset LDFLAGS | ||
| 44 | export CFLAGS="${CFLAGS} --sysroot=${STAGING_DIR_HOST}" | ||
| 45 | oe_runmake all | ||
| 46 | } | ||
| 47 | |||
| 48 | do_install() { | ||
| 49 | install -d ${D}${nonarch_base_libdir}/firmware/ | ||
| 50 | install -m 644 ${B}/core/*.bin ${D}${nonarch_base_libdir}/firmware/ | ||
| 51 | |||
| 52 | # Install the TA devkit | ||
| 53 | install -d ${D}${includedir}/optee/export-user_ta/ | ||
| 54 | |||
| 55 | for f in ${B}/export-ta_${OPTEE_ARCH}/*; do | ||
| 56 | cp -aR $f ${D}${includedir}/optee/export-user_ta/ | ||
| 57 | done | ||
| 58 | |||
| 59 | install -d ${D}${nonarch_base_libdir}/optee_armtz | ||
| 60 | find ${B}/export-ta_${OPTEE_ARCH}/ta -name '*.ta' | while read name; do | ||
| 61 | install -m 444 $name ${D}${nonarch_base_libdir}/optee_armtz/ | ||
| 62 | done | ||
| 63 | } | ||
| 64 | |||
| 65 | do_deploy() { | ||
| 66 | install -d ${DEPLOYDIR}/optee | ||
| 67 | install -m 644 ${D}${nonarch_base_libdir}/firmware/* ${DEPLOYDIR}/optee/ | ||
| 68 | } | ||
| 69 | addtask deploy before do_build after do_install | ||
| 70 | |||
| 71 | FILES:${PN} = "${nonarch_base_libdir}/firmware/ ${nonarch_base_libdir}/optee_armtz/" | ||
| 72 | FILES:${PN}-staticdev = "/usr/include/optee/" | ||
| 73 | RDEPENDS:${PN}-dev += "${PN}-staticdev" | ||
| 74 | |||
| 75 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
diff --git a/recipes-security/optee-qoriq/optee-test-qoriq_3.13.0.bb b/recipes-security/optee-qoriq/optee-test-qoriq_3.13.0.bb deleted file mode 100644 index 69ef73d3a..000000000 --- a/recipes-security/optee-qoriq/optee-test-qoriq_3.13.0.bb +++ /dev/null | |||
| @@ -1,13 +0,0 @@ | |||
| 1 | require optee-test.nxp.inc | ||
| 2 | |||
| 3 | PV:append = "+git${SRCPV}" | ||
| 4 | |||
| 5 | DEPENDS += "optee-client-qoriq optee-os-qoriq" | ||
| 6 | |||
| 7 | TEEC_EXPORT = "${STAGING_DIR_HOST}${prefix}" | ||
| 8 | |||
| 9 | EXTRA_OEMAKE += " \ | ||
| 10 | TEEC_EXPORT=${TEEC_EXPORT} \ | ||
| 11 | " | ||
| 12 | |||
| 13 | COMPATIBLE_MACHINE = "(qoriq-arm64)" | ||
diff --git a/recipes-security/optee-qoriq/optee-test-qoriq_4.6.0.bb b/recipes-security/optee-qoriq/optee-test-qoriq_4.6.0.bb new file mode 100644 index 000000000..d008a6211 --- /dev/null +++ b/recipes-security/optee-qoriq/optee-test-qoriq_4.6.0.bb | |||
| @@ -0,0 +1,10 @@ | |||
| 1 | require optee-test.nxp.inc | ||
| 2 | |||
| 3 | # The BSD and GPL license files are now included in the source | ||
| 4 | # https://github.com/OP-TEE/optee_test/commit/a748f5fcd9ec8a574dc86a5aa56d05bc6ac174e7 | ||
| 5 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=a8fa504109e4cd7ea575bc49ea4be560 \ | ||
| 6 | file://LICENSE-BSD;md5=dca16d6efa93b55d0fd662ae5cd6feeb \ | ||
| 7 | file://LICENSE-GPL;md5=10e86b5d2a6cb0e2b9dcfdd26a9ac58d" | ||
| 8 | |||
| 9 | OPTEE_TEST_BRANCH = "lf-6.12.20_2.0.0" | ||
| 10 | SRCREV = "010f088f05b5ebf392c6e235d6e53d391755722f" | ||
diff --git a/recipes-security/optee-qoriq/optee-test.nxp.inc b/recipes-security/optee-qoriq/optee-test.nxp.inc index 14a42ac5a..48d5a4211 100644 --- a/recipes-security/optee-qoriq/optee-test.nxp.inc +++ b/recipes-security/optee-qoriq/optee-test.nxp.inc | |||
| @@ -1,61 +1,15 @@ | |||
| 1 | # Copyright 2020-2021 NXP | 1 | # Copyright 2020-2021,2025 NXP |
| 2 | require recipes-security/optee-imx/optee-test-fslc.inc | ||
| 2 | 3 | ||
| 3 | SUMMARY = "OPTEE test" | 4 | DEPENDS:remove = "optee-client optee-os-tadevkit" |
| 4 | HOMEPAGE = "http://www.optee.org/" | 5 | DEPENDS:append = "optee-client-qoriq optee-os-qoriq-tadevkit openssl" |
| 5 | 6 | ||
| 6 | LICENSE = "BSD & GPL-2.0-only" | 7 | SRC_URI:remove = "git://github.com/OP-TEE/optee_test.git;branch=master;protocol=https" |
| 7 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=daa2bcccc666345ab8940aab1315a4fa" | 8 | SRC_URI:remove = "file://run-ptest" |
| 9 | SRC_URI:prepend = "${OPTEE_TEST_SRC};branch=${OPTEE_TEST_BRANCH} " | ||
| 8 | 10 | ||
| 9 | DEPENDS = "python3-pycryptodome-native python3-pycryptodomex-native openssl" | 11 | OPTEE_TEST_SRC ?= "git://github.com/nxp-qoriq/optee_test.git;protocol=https" |
| 10 | inherit python3native cmake | ||
| 11 | 12 | ||
| 12 | SRC_URI = "git://github.com/nxp-qoriq/optee_test.git;protocol=https;nobranch=1" | 13 | CFLAGS += " -Wno-error=unterminated-string-initialization" |
| 13 | SRCREV = "69722dab8c1f2683e30e0ee3b536053367e37aad" | ||
| 14 | 14 | ||
| 15 | S = "${WORKDIR}/git" | 15 | COMPATIBLE_MACHINE = "(qoriq-arm64)" |
| 16 | B = "${WORKDIR}/build" | ||
| 17 | |||
| 18 | TA_DEV_KIT_DIR ?= "${STAGING_INCDIR}/optee/export-user_ta" | ||
| 19 | OPTEE_CLIENT_EXPORT ?= "${STAGING_DIR_HOST}${prefix}" | ||
| 20 | |||
| 21 | EXTRA_OEMAKE = " \ | ||
| 22 | TA_DEV_KIT_DIR=${TA_DEV_KIT_DIR} \ | ||
| 23 | OPTEE_CLIENT_EXPORT=${OPTEE_CLIENT_EXPORT} \ | ||
| 24 | CROSS_COMPILE_HOST=${HOST_PREFIX} \ | ||
| 25 | CROSS_COMPILE_TA=${HOST_PREFIX} \ | ||
| 26 | OPTEE_OPENSSL_EXPORT=${STAGING_INCDIR}/ \ | ||
| 27 | -C ${S} O=${B} \ | ||
| 28 | " | ||
| 29 | |||
| 30 | EXTRA_OECMAKE = " \ | ||
| 31 | -DOPTEE_TEST_SDK=${TA_DEV_KIT_DIR} \ | ||
| 32 | " | ||
| 33 | |||
| 34 | do_compile() { | ||
| 35 | export CXXFLAGS="${CXXFLAGS} --sysroot=${STAGING_DIR_HOST}" | ||
| 36 | oe_runmake xtest | ||
| 37 | oe_runmake ta | ||
| 38 | oe_runmake test_plugin | ||
| 39 | } | ||
| 40 | |||
| 41 | do_install() { | ||
| 42 | install -d ${D}${bindir}/ | ||
| 43 | install ${B}/xtest/xtest ${D}${bindir}/ | ||
| 44 | |||
| 45 | install -d ${D}${nonarch_base_libdir}/optee_armtz | ||
| 46 | find ${B}/ta -name '*.ta' | while read name; do | ||
| 47 | install -m 444 $name ${D}${nonarch_base_libdir}/optee_armtz/ | ||
| 48 | done | ||
| 49 | |||
| 50 | install -d ${D}${libdir}/tee-supplicant/plugins/ | ||
| 51 | find ${B}/supp_plugin -name '*.plugin' | while read name; do | ||
| 52 | install -m 755 $name ${D}${libdir}/tee-supplicant/plugins/ | ||
| 53 | done | ||
| 54 | } | ||
| 55 | |||
| 56 | FILES:${PN} += "${nonarch_base_libdir} ${libdir}/tee-supplicant/plugins/" | ||
| 57 | |||
| 58 | DEBUG_OPTIMIZATION:append = " -Wno-error=maybe-uninitialized -Wno-deprecated-declarations" | ||
| 59 | FULL_OPTIMIZATION:append = " -Wno-error=maybe-uninitialized -Wno-deprecated-declarations" | ||
| 60 | |||
| 61 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
diff --git a/recipes-security/smw/keyctl-caam_git.bb b/recipes-security/smw/keyctl-caam_git.bb index 25a5f656a..f147e1148 100644 --- a/recipes-security/smw/keyctl-caam_git.bb +++ b/recipes-security/smw/keyctl-caam_git.bb | |||
| @@ -11,13 +11,11 @@ SRC_URI = "git://github.com/nxp-imx/keyctl_caam.git;protocol=https;branch=${SRCB | |||
| 11 | 11 | ||
| 12 | SRCREV = "81dc06cdb9c4d0d4ba10459d85af9a8603774948" | 12 | SRCREV = "81dc06cdb9c4d0d4ba10459d85af9a8603774948" |
| 13 | 13 | ||
| 14 | S = "${WORKDIR}/git" | ||
| 15 | |||
| 16 | TARGET_CC_ARCH += "${LDFLAGS}" | 14 | TARGET_CC_ARCH += "${LDFLAGS}" |
| 17 | 15 | ||
| 18 | do_install () { | 16 | do_install () { |
| 19 | oe_runmake DESTDIR=${D} install | 17 | oe_runmake DESTDIR=${D} install |
| 20 | } | 18 | } |
| 21 | 19 | ||
| 22 | COMPATIBLE_MACHINE = "(imx-generic-bsp)" | 20 | COMPATIBLE_MACHINE = "(imx-generic-bsp|qoriq)" |
| 23 | 21 | ||
diff --git a/recipes-security/smw/smw_git.bb b/recipes-security/smw/smw_git.bb index 3c1d04908..dbb59d2f3 100644 --- a/recipes-security/smw/smw_git.bb +++ b/recipes-security/smw/smw_git.bb | |||
| @@ -19,7 +19,7 @@ SRC_URI = "git://github.com/nxp-imx/imx-smw.git;protocol=https;branch=release/ve | |||
| 19 | SRCREV_smw = "f0570b3e8cb5f68d54edc4f9dd7cb984f6f604ed" | 19 | SRCREV_smw = "f0570b3e8cb5f68d54edc4f9dd7cb984f6f604ed" |
| 20 | SRCREV_psa = "463cb95ada820bc6f758d50066cf8c0ed5cc3a02" | 20 | SRCREV_psa = "463cb95ada820bc6f758d50066cf8c0ed5cc3a02" |
| 21 | SRCREV_FORMAT = "smw_psa" | 21 | SRCREV_FORMAT = "smw_psa" |
| 22 | S = "${WORKDIR}/git/smw" | 22 | S = "${UNPACKDIR}/git/smw" |
| 23 | 23 | ||
| 24 | inherit cmake python3native | 24 | inherit cmake python3native |
| 25 | 25 | ||
diff --git a/recipes-support/opencv/opencv_4.6.0.imx.bb b/recipes-support/opencv/opencv_4.6.0.imx.bb index 303273b10..0195bc61a 100644 --- a/recipes-support/opencv/opencv_4.6.0.imx.bb +++ b/recipes-support/opencv/opencv_4.6.0.imx.bb | |||
| @@ -47,12 +47,12 @@ IPP_MD5 = "${@ipp_md5sum(d)}" | |||
| 47 | 47 | ||
| 48 | SRCREV_FORMAT = "opencv_contrib_ipp_boostdesc_vgg" | 48 | SRCREV_FORMAT = "opencv_contrib_ipp_boostdesc_vgg" |
| 49 | SRC_URI = "git://github.com/opencv/opencv.git;name=opencv;branch=master;protocol=https \ | 49 | SRC_URI = "git://github.com/opencv/opencv.git;name=opencv;branch=master;protocol=https \ |
| 50 | git://github.com/opencv/opencv_contrib.git;destsuffix=git/contrib;name=contrib;branch=master;protocol=https \ | 50 | git://github.com/opencv/opencv_contrib.git;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/contrib;name=contrib;branch=master;protocol=https \ |
| 51 | git://github.com/opencv/opencv_3rdparty.git;branch=ippicv/master_20191018;destsuffix=git/ipp;name=ipp;protocol=https \ | 51 | git://github.com/opencv/opencv_3rdparty.git;branch=ippicv/master_20191018;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/ipp;name=ipp;protocol=https \ |
| 52 | git://github.com/opencv/opencv_3rdparty.git;branch=contrib_xfeatures2d_boostdesc_20161012;destsuffix=git/boostdesc;name=boostdesc;protocol=https \ | 52 | git://github.com/opencv/opencv_3rdparty.git;branch=contrib_xfeatures2d_boostdesc_20161012;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/boostdesc;name=boostdesc;protocol=https \ |
| 53 | git://github.com/opencv/opencv_3rdparty.git;branch=contrib_xfeatures2d_vgg_20160317;destsuffix=git/vgg;name=vgg;protocol=https \ | 53 | git://github.com/opencv/opencv_3rdparty.git;branch=contrib_xfeatures2d_vgg_20160317;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/vgg;name=vgg;protocol=https \ |
| 54 | git://github.com/opencv/opencv_3rdparty.git;branch=contrib_face_alignment_20170818;destsuffix=git/face;name=face;protocol=https \ | 54 | git://github.com/opencv/opencv_3rdparty.git;branch=contrib_face_alignment_20170818;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/face;name=face;protocol=https \ |
| 55 | git://github.com/WeChatCV/opencv_3rdparty.git;branch=wechat_qrcode;destsuffix=git/wechat_qrcode;name=wechat-qrcode;protocol=https \ | 55 | git://github.com/WeChatCV/opencv_3rdparty.git;branch=wechat_qrcode;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/wechat_qrcode;name=wechat-qrcode;protocol=https \ |
| 56 | file://0001-3rdparty-ippicv-Use-pre-downloaded-ipp.patch \ | 56 | file://0001-3rdparty-ippicv-Use-pre-downloaded-ipp.patch \ |
| 57 | file://0003-To-fix-errors-as-following.patch \ | 57 | file://0003-To-fix-errors-as-following.patch \ |
| 58 | file://0001-Temporarliy-work-around-deprecated-ffmpeg-RAW-functi.patch \ | 58 | file://0001-Temporarliy-work-around-deprecated-ffmpeg-RAW-functi.patch \ |
| @@ -64,11 +64,9 @@ SRC_URI = "git://github.com/opencv/opencv.git;name=opencv;branch=master;protocol | |||
| 64 | " | 64 | " |
| 65 | SRC_URI:append:riscv64 = " file://0001-Use-Os-to-compile-tinyxml2.cpp.patch;patchdir=contrib" | 65 | SRC_URI:append:riscv64 = " file://0001-Use-Os-to-compile-tinyxml2.cpp.patch;patchdir=contrib" |
| 66 | 66 | ||
| 67 | S = "${WORKDIR}/git" | ||
| 68 | |||
| 69 | # OpenCV wants to download more files during configure. We download these in | 67 | # OpenCV wants to download more files during configure. We download these in |
| 70 | # do_fetch and construct a source cache in the format it expects | 68 | # do_fetch and construct a source cache in the format it expects |
| 71 | OPENCV_DLDIR = "${WORKDIR}/downloads" | 69 | OPENCV_DLDIR = "${UNPACKDIR}/downloads" |
| 72 | 70 | ||
| 73 | do_unpack_extra() { | 71 | do_unpack_extra() { |
| 74 | tar xzf ${S}/ipp/ippicv/${IPP_FILENAME} -C ${S} | 72 | tar xzf ${S}/ipp/ippicv/${IPP_FILENAME} -C ${S} |
| @@ -141,7 +139,7 @@ PACKAGECONFIG[java] = "-DJAVA_INCLUDE_PATH=${JAVA_HOME}/include -DJAVA_INCLUDE_P | |||
| 141 | PACKAGECONFIG[jpeg] = "-DWITH_JPEG=ON,-DWITH_JPEG=OFF,jpeg," | 139 | PACKAGECONFIG[jpeg] = "-DWITH_JPEG=ON,-DWITH_JPEG=OFF,jpeg," |
| 142 | PACKAGECONFIG[libav] = "-DWITH_FFMPEG=ON,-DWITH_FFMPEG=OFF,libav," | 140 | PACKAGECONFIG[libav] = "-DWITH_FFMPEG=ON,-DWITH_FFMPEG=OFF,libav," |
| 143 | PACKAGECONFIG[libv4l] = "-DWITH_LIBV4L=ON,-DWITH_LIBV4L=OFF,v4l-utils," | 141 | PACKAGECONFIG[libv4l] = "-DWITH_LIBV4L=ON,-DWITH_LIBV4L=OFF,v4l-utils," |
| 144 | PACKAGECONFIG[opencl] = "-DWITH_OPENCL=ON,-DWITH_OPENCL=OFF,opencl-headers virtual/opencl-icd," | 142 | PACKAGECONFIG[opencl] = "-DWITH_OPENCL=ON,-DWITH_OPENCL=OFF,opencl-headers virtual/libopencl1," |
| 145 | PACKAGECONFIG[oracle-java] = "-DJAVA_INCLUDE_PATH=${ORACLE_JAVA_HOME}/include -DJAVA_INCLUDE_PATH2=${ORACLE_JAVA_HOME}/include/linux -DJAVA_AWT_INCLUDE_PATH=${ORACLE_JAVA_HOME}/include -DJAVA_AWT_LIBRARY=${ORACLE_JAVA_HOME}/lib/amd64/libjawt.so -DJAVA_JVM_LIBRARY=${ORACLE_JAVA_HOME}/lib/amd64/server/libjvm.so,,ant-native oracle-jse-jdk oracle-jse-jdk-native," | 143 | PACKAGECONFIG[oracle-java] = "-DJAVA_INCLUDE_PATH=${ORACLE_JAVA_HOME}/include -DJAVA_INCLUDE_PATH2=${ORACLE_JAVA_HOME}/include/linux -DJAVA_AWT_INCLUDE_PATH=${ORACLE_JAVA_HOME}/include -DJAVA_AWT_LIBRARY=${ORACLE_JAVA_HOME}/lib/amd64/libjawt.so -DJAVA_JVM_LIBRARY=${ORACLE_JAVA_HOME}/lib/amd64/server/libjvm.so,,ant-native oracle-jse-jdk oracle-jse-jdk-native," |
| 146 | PACKAGECONFIG[png] = "-DWITH_PNG=ON,-DWITH_PNG=OFF,libpng," | 144 | PACKAGECONFIG[png] = "-DWITH_PNG=ON,-DWITH_PNG=OFF,libpng," |
| 147 | PACKAGECONFIG[python2] = "-DPYTHON2_NUMPY_INCLUDE_DIRS:PATH=${STAGING_LIBDIR}/${PYTHON_DIR}/site-packages/numpy/core/include,,python-numpy," | 145 | PACKAGECONFIG[python2] = "-DPYTHON2_NUMPY_INCLUDE_DIRS:PATH=${STAGING_LIBDIR}/${PYTHON_DIR}/site-packages/numpy/core/include,,python-numpy," |
