summaryrefslogtreecommitdiffstats
path: root/recipes-bsp
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #2234 from Freescale/backport-2230-to-scarthgapOtavio Salvador2025-05-051-3/+5
|\ | | | | [Backport scarthgap] imx-boot: Add BOOT_VARIANT variable at prefix to generated binaries
| * imx-boot: Add BOOT_VARIANT variable at prefix to generated binariesRodrigo M. Duarte2025-05-051-3/+5
| | | | | | | | | | Signed-off-by: Rodrigo M. Duarte <rodrigo.duarte@ossystems.com.br> (cherry picked from commit 0cc7db1dc77f0c5497878ee21814f9940f9a21c1)
* | alsa-state: Add qoriq-*-bsp specific configurationAlexander Stein2025-05-054-0/+4
|/ | | | | | | | | | This asound.conf can be used for both i.MX and Layerscale platforms. But the latter don't have imx-<default>-bsp in their overrides. So add symlinks for QorIQ platforms. This makes the package for QorIQ platforms machine-specific as well. Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com> (cherry picked from commit 5ea77dce34cf2d8b936a0df75bfe274d48a321ec)
* asound.conf: default sample rate to 48000Kevin Baker2025-04-282-4/+4
| | | | | | | | | | | | | | Change the default sample rate as used with ALSA to 48000 instead of 44100. Most newer content, videos, and web-based content uses 48 kHz sampling rate, especially with modern codecs like Opus. Normally applications request ALSA to use a PCM sample rate which matches the input content when starting playback. However, more complex applications such as Chromium will internally resample audio to match the default output. This can result in high CPU usage for resampling, so having ALSA's default rate match the majority of content is preferred. (cherry picked from commit 3760fde40b9c66ec7fcaf2807f154ad3955d51f8)
* imx-boot: add LPDDR_FW_VERSION to mkimage arguments for iMX95Ernest Van Hoecke2025-04-251-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | For the iMX95 it can be necessary to use a different DDR FW version than the one selected by default by the mkimage build. You might need newer FW binaries while still supporting an older NXP BSP. Pass LPDDR_FW_VERSION to make if it is set, otherwise do nothing such that the Makefile selects its default value just like before. When using a different FW version without setting LPDDR_FW_VERSION accordingly you will get a build error similar to the below: ``` | DEBUG: Executing shell function do_compile | NOTE: UBOOT_CONFIG = sd, UBOOT_DTB_NAME = | NOTE: i.MX 95 boot binary build | NOTE: i.MX 93 boot binary build | NOTE: Copy ddr_firmware: lpddr4x_dmem_v202409.bin from $BUILD_PATH/deploy/images/verdin-imx95 -> $BUILD_PATH/tmp/work/verdin_imx95-tdx-linux/imx-boot/1.0/git/iMX95 [...] | make[1]: *** No rule to make target 'lpddr4x_imem_v202311.bin', needed by 'm33-oei-ddrfw.bin'. Stop. ``` Above we are using `lpddr4x_imem_v202409.bin` but mkimage is not aware without this fix and setting LPDDR_FW_VERSION (i.e.: in the machine conf). Signed-off-by: Ernest Van Hoecke <ernest.vanhoecke@toradex.com> (cherry picked from commit 4f9e481e131aa7190535579e7ea208abf641bf8f)
* imx-vpu-hantro: Update recipesJoão Paulo Gonçalves2025-04-253-9/+18
| | | | | | | | Update Hantro VPU libraries and daemon to latest version of rel_6.6.52_2.2.0. Signed-off-by: João Paulo Gonçalves <joao.goncalves@toradex.com> (cherry picked from commit e6254a24a9d7fcc8e73b9bfa866f4b952be94cd2)
* firmware-imx: Upgrade to v8.27Ernest Van Hoecke2025-04-153-3/+3
| | | | | | | | | | | | | | | | | | | | | This updates firmware-imx to the versions used in NXP BSP L6.12.3-1.0.0. Compared to v8.26 at d4c33ab, the following binaries were added: - ddr/lpddr4x_dmem_qb_v202409.bin - ddr/lpddr4x_dmem_v202409.bin - ddr/lpddr4x_imem_qb_v202409.bin - ddr/lpddr4x_imem_v202409.bin - ddr/lpddr5_dmem_qb_v202409.bin - ddr/lpddr5_dmem_v202409.bin - ddr/lpddr5_imem_qb_v202409.bin - ddr/lpddr5_imem_v202409.bin No binaries were removed, the following have been updated: - vpu/vpu_fw_imx8_dec.bin - vpu/ave633c_codec_fw.bin Signed-off-by: Ernest Van Hoecke <ernest.vanhoecke@toradex.com> (cherry picked from commit 2cb2dc355827044a0011dcc4425da88b0ab36689)
* imx-mkimage: Upgrade to NXP BSP 6.6.52_2.2.0Tom Hochstein2025-04-021-2/+2
| | | | | | | | | 71b8c18 Add flash_all_ap target for non-Linux ap image. b8f5454 For iMX95, change verdin M7 image name. d97f0eb For iMX95, change 15x15 M7 image name. 0576197 M7 image names changed again. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-uuc: Don't inherit autotoolsTom Hochstein2025-04-021-2/+4
| | | | | | | | | | | | | | | | | | | | The do_configure task is failing: ``` ERROR: imx-uuc-0.5.1+git-r1 do_configure: no configure script found at ./configure ``` It appears to be due to this OE-Core change: autotools: require that a configure script exists There's no point inheriting autotools if you're not actually going to run a configure script, so make a missing configure script fatal. https://github.com/openembedded/openembedded-core/commit/6d327a39befae44a88a812bdf4acde800dcee57b imx-uuc doesn't need autotools, just a simple do_install implementation. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* u-boot: Add CVE_PRODUCT definitionJasper Orschulko2025-04-021-0/+1
| | | | | | | Adding a correct CVE_PRODUCT definition helps to keep track of upstream CVEs Signed-off-by: Jasper Orschulko <jasper@fancydomain.eu>
* treewide: Remove all references to SRC_URI[md5sum] hashesOtavio Salvador2025-04-027-7/+0
| | | | | | | | | | | | Drop md5sum check as no longer mandated in Yocto Project. SRC_URI[md5sum] used to also be commonly used, but it is deprecated and should be replaced by SRC_URI[sha256sum] when updating existing recipes. See: - https://docs.yoctoproject.org/dev/singleindex.html#fetching-code - https://docs.yoctoproject.org/dev/singleindex.html#src-uri-checksum-behaviour Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* u-boot-fslc: upgrade to v2025.01Benjamin Szőke2025-03-303-3/+4
| | | | | | | | | | | | | | | | U-Boot fork has been updated to include tagged version v2025.01 from upstream. Following commits were ported from 2024.07+fslc to this version: ---- aa4bc52d08 ("imx: iMX6: Define disconnect_from_pc function") a6f371cad5 ("MLK-21854-2 imx: uuu: Update autoboot to run uuu or fastboot") bd90432d6c ("pico-imx6ul, pico-imx7d: Explain how to use eMMC user partition") 49f4fa81f9 ("mx6sabre_common: Dynamically change the video output") 9f3a98873d ("mx6sabresd: Enable video interfaces in bootargs") ---- Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
* imx-atf: Bum to match 6.6.52-2.2.0Daiane Angolini2025-03-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Relevant changes: - 1b27ee3ed Pull request #96: MA-23026 Fix bug: failed boot on LS platforms due caam driver - 02b06d177 MA-23026 Fix bug: failed boot on LS platforms due caam driver - afd50b207 LF-13734 fix(imx95): add missing license header - 0efc2fff8 Pull request #95: MA-23009 Fix i.MX 8Q boot failed when trusty disabled - 0728e974a MA-23009 Fix i.MX 8Q boot failed when trusty disabled - f590c74e5 Pull request #94: MA-23007 Fix bug, i.MX 8MN ATF failed to build - e9823459d MA-23007 Fix i.MX 8MN build break - a53124bcd Pull request #92: ATF RNG - 5b66f7321 MA-21916 Enable caam driver for i.MX - 55f8854fc MA-21915 Make the CAAM driver compatible with i.MX devices - 1d6489907 MA-22997 Fix bug: 8q failed to print any logs in ATF - dfda4210e Pull request #88: Lf v2.10 LF-13160 - 8b770b71f MA-22946-2 Guard the FF-A functions - b02708418 MA-22946 Enlarge the trusty stack - 66b6ed7e1 trusty: delete the fp registers save&restore at init stage - fea70c8d6 spd: trusty: Add FFA_PARTITION_INFO_GET - 96c52d0c2 spd: trusty: Add FFA_RX_RELEASE - afff18cea spd: trusty: add secure partition and non secure client descriptors - 77ba0234d spd: trusty: use FFA specific macros from ffa_svc - c80318969 trusty: generic-arm64-smcall: Add echo smcalls - 42164a24c LF-13673 fix(imx93): correct the ecc en bit define - 0e31b369c LF-13160-3: plat: imx8ulp: scmi sensor update temp return val - f6f942d2e LF-13160-2: drivers: scmi-msg: sensor: follow return temp val with spec data types - 3399b1786 LF-13160-1: plat: imx8ulp: scmi sensor: fix invalid temp error - 5e2ae7751 LF-13235 feat(imx95): support LM boot and shutdown - 7f72130b5 LF-13233 feat(imx95): support setting M7 reset address - 7c4a94d42 LF-13603 fix(imx9): reduce the pmic stby off delay on imx93/91 - efbc6f46a LF-13319 feat(imx95): Implement a semaphore for GIC quiescing between SM and ATF Signed-off-by: Daiane Angolini <daiane.angolini@foundries.io> (cherry picked from commit 142c264ccb45d990db6668b5989f5364313bcb38)
* imx-oei: provide virtual/imx-oeiHiago De Franco2025-03-241-1/+1
| | | | | | | | | | | | Some hardware vendors provide a customized Optional Executable Image (OEI) with changes specific to their boards (e.g. Toradex SMARC i.MX95). Add a virtual provider to avoid conflicts between the OEI recipes from other layers. This follows the pattern used for the related imx-system-manager. Signed-off-by: Hiago De Franco <hiago.franco@toradex.com> (cherry picked from commit 7cf349d287a9d6eece4320cf487fc804917c2077)
* firmware-nxp-wifi: remove COMPATIBLE_MACHINEHiago De Franco2025-02-181-2/+0
| | | | | | | | | | | | | | | The current COMPATIBLE_MACHINE is set to build every i.MX SoC with both BSP variants. However the firmware-nxp-wifi deploys firmware related to the NXP Wi-Fi Modules (e.g. Maya IW416), which can be used with other SoCs as well, as example the Toradex Verdin-AM62 wich uses the TI SoC and the NXP Wi-Fi Module. With the current COMPATIBLE_MACHINE it is not possible to build this recipe and deploy the NXP firmware with different SoCs, therefore remove it. Signed-off-by: Hiago De Franco <hiago.franco@toradex.com> (cherry picked from commit 8e7ebc096b009b40f9dc71546af25fbeee380770)
* firmware-nxp-wifi: create symbolic links to firmware/mrvl folderHiago De Franco2025-02-181-1/+6
| | | | | | | | | | | | | | | The upstream kernel Wi-Fi driver expects the sdiouart8997_combo_v4 and sdiouartiw416_combo_v0 binaries to be located under firmware/mrvl [1], different from the out-of-tree driver, which places them under firmware/nxp. Create symbolic links to deploy these binaries in the correct location for the upstream driver. Due to this change, bump the recipe version to 1.1. [1] https://github.com/torvalds/linux/blob/master/drivers/net/wireless/marvell/mwifiex/sdio.h#L31 Signed-off-by: Hiago De Franco <hiago.franco@toradex.com> (cherry picked from commit deebc27a3abb88964a05aea794ffd9e86e0fd0bb)
* qe-ucode: replace NXP-Binary-EULA with LICENSE to calculate checksumMeng Li2025-02-181-1/+1
| | | | | | | | | According to the commit c89d7843943f("Move License File from NXP-Binary-EULA to LICENSE") of repo https://github.com/nxp-qoriq/qoriq-qe-ucode. NXP-Binary-EULA is renamed to LICENSE, so replace NXP-Binary-EULA with LICENSE in recipe file. Signed-off-by: Meng Li <Meng.Li@windriver.com>
* u-boot-imx: Bump to 6.6.52-2.2.0Daiane Angolini2025-02-171-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Relevant changes: - 6c4545203d1 LF-13928 update key for capsule - a6fbbc4830b LF-13892 imx8mp_evk: Fix kernel boot failure with DDR ECC enabled - b2f3a82bb62 LFU-815 imx91: Update iMX9101 PN support to latest config - dd06e11a237 LFU-813-3 imx95_15x15_evk: Turn on PCA9632 LED for LVDS backlight - 3215ce8075b LFU-813-2 imx95_19x19_evk: Enable backlight for LVDS - 063caa4957a LFU-813-1 gpio: adp5585: Reset alternate function pins to GPIO - ca6436fb7e4 LFU-812 arm: dts: imx95: Assign PLL VCO as the parent of PLL - 0688aa50da0 MA-23021 secretkeeper: return earlier if not initialized - 0ee139a17eb MA-23003-2 android: populate the SecretKeeper identity - e3b6dacd0ef MA-23003-1 trusty: add SecretKeeper client - f63ddd9cb11 LFU-808-3 power: regulator: correct the LDO_SNVS name - 5726a995b80 LFU-808-2 arm: dts: change LDO_SNVS voltage range - 69d949bcd3e LFU-808-1 power: regulator: change LDO_SNVS voltage range - b6d4dc9f627 LF-13712 video: nxp: imx_lcdifv3: Fix incorrect DISP_PARA register configuration - 5f50707d7bb LFU-788 imx95_evk: Modify the size of memory visible to the kernel - 86be8aa9268 LFU-807 imx: set enable_virt_at_load as false - 94619f027ce LFU-805-7 verdin-imx95: Enable aqr-stby regulator - 87f2e20bcb6 LFU-805-6 imx95_evk: Enable netc stby regulators - 331d8ae9a43 LFU-805-5 arm: dts: imx95-19x19-verdin: Update enet1 and enet2 ports - adf6ecb292f LFU-805-4 arm: dts: imx95-19x19-evk: Enable enet2 10Gbps port - d04db3691af LFU-805-3 net: fsl_enetc: Add iMX95 enetc4 10Gbps port support - 435f01c56e7 LFU-805-2 net: fsl_enetc_mdio: Add phy-supply property support - b42dd7d9bf5 LFU-805-1 net: phy: aquantia: Increase timeout for out of reset - 8461bbe8afa LFU-806 arm: dts: imx91: Update MEDIA_AXI clock to 333Mhz - 18fbed49e2a LFU-804 mmc: fsl_esdhc_imx: Add workaround for errata ERR052357 - 4e4af7348e4 LFU-803-2 imx93_qsb: Switch to Tianma LCD panel - fbc21190687 LFU-803-1 arm: dts: imx93_qsb: Add Tianma LCD panel DTS - caa18774855 LFU-802 imx95: verdin: correct xen bootargs - ba33b30784d LF-10293 imx8dxl_ddr3l_evk: Update default mtest range - 713768fb3fb LFU-801 mtd: spi: mt35xu01g: Disable erase chip command - 726021e921f LFU-796 imx91: Update iMX91 NIC clock to 250Mhz for low drive mode - b3931582f67 LFU-800 ls1012afrdm: Fix wrong pointer cast used - d601605d90a LFU-799 imx93_qsb: Fix build warning - f296640286b LFU-790 imx8mp_evk: Modify the size of memory visible to the kernel - ef5968f9050 MA-22915 Move ele buffer address to avoid Kernel image be overwrite - 357a0faeb4f LFU-789 mtd: spi-nor: Fix chip erase timeout issue - b9742cd668a LFU-793 imx95: Remove regions that AP does not have access from the memory map. - e172c32c4c9 LFU-792 firmware: scmi: Fix SCMI_SENSOR_CONFIG_SET return parameter - ae178324467 LFU-786-3: arm: dts: ls1088a-rdb: add bootph-all property - 2b22a9f8595 LFU-786-2: board: freescale: ls1088a: check rtc chip and adjust the rtc node - 69b7bfc391d LFU-786-1: configs: enable rtc pcf2131 - 161cb647c41 LFU-791 imx93_evk: enable XRST_STBY_EN function - 33f5fc8ab17 LFU-784: imx8: fdt: fix fdt edma nodes check - d1c05b18dd9 LFU-795 net: fec_mxc: correct fec clk Signed-off-by: Daiane Angolini <daiane.angolini@foundries.io> (cherry picked from commit d8ce1e264c33c80e7d977d20453fe647b8a6d960)
* imx-secure-enclave: Bump to lf-6.6.52_2.2.0Daiane Angolini2025-02-111-3/+3
| | | | | Signed-off-by: Daiane Angolini <daiane.angolini@foundries.io> (cherry picked from commit 2847cd04c8b55fc9628589e0156c9eaabba41c2d)
* firmware-upower: SRC_URI uses PN not BPNSamuli Piippo2025-01-301-1/+1
| | | | | | | Fix src-uri-bad QA error. Signed-off-by: Samuli Piippo <samuli.piippo@qt.io> (cherry picked from commit 980419236f0bfb0bc1861f9c8ba9f740a83c1fa2)
* firmware-ele-imx: Use generic-bsp compatibleAlexander Stein2025-01-291-1/+1
| | | | | Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com> (cherry picked from commit a790076164115e65686c3eff973217874a39b2ec)
* ixp-imx: update to 4.2.2.24.4Max Krummenacher2025-01-263-149/+88
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make tuningext a packageconfig as it no longer builds with latest master (walnascar): isp-imx contains the 3rd party cpp-netlib package. Compiling that package against boost 1.87 results in build errors. boost 1.87 is provided with latest master (walnascar). Compare also with meta-oe commit a46de2745b30 ("cpp-netlib: Skip recipe, not buildable with boost >= 1.87") Drop patch. Fix now present in package sources. Add jsoncpp to DEPENDS as the package no longer compiles its own version thereoff and dynamically links against the OE provided one. Sync CMake options with upstream recipe. The binary blobs provided now link against libtinyxml2.so.10. Drop the fix. The binary blobs provided still link against libjsoncpp.so.25, but OE provides libjsoncpp.so.26. Fixup the binaries. The package now provides a Makefile with a install task. Use that. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 37959b89dce54596bc515dda39c6ca1a8bf5df47) Enabled package config tuningext which compiles in scarthgap. Drop binary blob fixup as they link correctly against the provided libjsoncpp.so.25 in scarthgap. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
* qe-ucode: Update to latest from NXP 6.6.52-2.2.0Flora Hu2025-01-161-1/+1
| | | | | | | Update SRCREV to c89d784 Signed-off-by: Flora Hu <flora.hu@nxp.com> (cherry picked from commit 1fa85893dbc24fd5b827d926ba19f54cf7347dd1)
* firmware-nxp-wifi: Upgrade Wi-Fi firmware to 6.6.52-2.2.0Jun Zhu2025-01-071-6/+18
| | | | | | | | - Add firmware to support nxpiw610. - Update file name of nxp8997 and nxp9098. Signed-off-by: Jun Zhu <junzhu@nxp.com> (cherry picked from commit 66946b4189252141b7c97685c01102c4b04f288c)
* feat(regex): use explicitly regex mark for regexsAndrej Valek2024-12-031-5/+5
| | | | | | | | | This should fix errors like this: | Parsing recipes...WARNING: /home/project/build/../meta-freescale/recipes-multimedia/imx-codec/imx-codec_4.8.3.bb: /home/project/build/../meta-freescale/recipes-multimedia/imx-codec/imx-codec_4.8.3.bb:63: SyntaxWarning: invalid escape sequence '\.' | do_split_packages(d, codecdir, '^lib_([^_]*).*_arm.*_elinux\.so\..*', Signed-off-by: Andrej Valek <andrej.v@skyrain.eu> (cherry picked from commit ccf9a1bcea6321cdfb760726aacc7759afbc6710)
* firmware-imx: Upgrade to LF6.6.52_2.2.0Benjamin Szőke2024-12-014-4/+4
| | | | (cherry picked from commit 1df2950cb14625ee9348075beb04348a762e7d25)
* libimxdmabuffer: be explicit about dwl compatibilityKonrad Weihmann2024-11-131-1/+3
| | | | | | | | | | | | | | | | | | | | | PACKAGECONFIG[dwl] injects a direct dependency on imx-vpu-hantro which in itself is only compatible with (mx8mq-nxp-bsp|mx8mm-nxp-bsp|mx8mp-nxp-bsp) When configuring a mx8mn based machine (e.g. imx8mn EVK) the imx-vpu-hantro is skipped as not compatible, but a world build fails with ERROR: Nothing PROVIDES 'imx-vpu-hantro' (but /build/meta-freescale/recipes-bsp/libimxdmabuffer/libimxdmabuffer_1.1.2.bb DEPENDS on or otherwise requires it) imx-vpu-hantro was skipped: incompatible with machine imx8mn-ddr4-evk (not in COMPATIBLE_MACHINE) imx-vpu-hantro was skipped: incompatible with machine imx8mn-ddr4-evk (not in COMPATIBLE_MACHINE) ERROR: Required build target 'meta-world-pkgdata' has no buildable providers. Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'gstreamer1.0-plugins-imx', 'libimxdmabuffer', 'imx-vpu-hantro'] Fix that by enabling dwl only for the same COMPATIBLE_MACHINE settings as in the imx-vpu-hantro recipe Signed-off-by: Konrad Weihmann <konrad.weihmann@avnet.eu> (cherry picked from commit 41130d76d93d2754595ee6c419fc81f3be21d17e)
* rcw: Update to latest from NXP 6.6.36-2.1.0Flora Hu2024-11-071-1/+1
| | | | | | | update revision to 64abe70 Signed-off-by: Flora Hu <flora.hu@nxp.com> (cherry picked from commit 1314af7d3d1eb1a2ab538270901357b13e2157c9)
* mc-utils: Update to latest from NXP 6.6.36-2.1.0Flora Hu2024-11-071-1/+1
| | | | | | | Update revision to 5ccc268 Signed-off-by: Flora Hu <flora.hu@nxp.com> (cherry picked from commit 412acc27c60d325d43919e74d9124336931360be)
* uefi: Upgrade to lf-6.6.36-2.1.0 releaseZelan Zou2024-11-061-1/+1
| | | | | Signed-off-by: Zelan Zou <zelan.zou@nxp.com> (cherry picked from commit 6d5c966c2ce578ed90a4e22d7378572fc74f4c40)
* recipes-bsp: imx-mkimage: Upgrade BSP to LF6.6.36_2.1.0Hiago De Franco2024-11-041-2/+2
| | | | | Signed-off-by: Hiago De Franco <hiago.franco@toradex.com> (cherry picked from commit ec102e3f2f9d95252a94147ca37daa9a52811e8c)
* imx-boot: Fix 8M non multi-config build problemEsben Haabendal2024-10-291-1/+3
| | | | | | | | | | | | | | | | | | | | | | The fix made in commit 2db7047ba40e ("imx-boot: Fix 8M multi-config build problems") broke builds not using U-Boot multi-config, as the link created ends up being a simple recursive link when UBOOT_DTB_NAME_EXTRA is the same as UBOOT_DTB_NAME. It fails with something like this: ``` | ./../scripts/dtb_check.sh imx8mq-evk.dtb evk.dtb imx8mq-var-dart-dt8mcustomboard.dtb | Can't find u-boot DTB file, please copy from u-boot ``` caused by a symlink like this: ``` lrwxrwxrwx 1 esben 1000001 35 Oct 29 21:32 imx8mq-var-dart-dt8mcustomboard.dtb -> imx8mq-var-dart-dt8mcustomboard.dtb ``` Fixes: 2db7047ba40e ("imx-boot: Fix 8M multi-config build problems") Signed-off-by: Esben Haabendal <esben@geanix.com> (cherry picked from commit 7da235fbdd3dc521f5bfd368770b9a30b959e689)
* recipes-bsp: imx-lib: Upgrade to BSP LF6.6.36_2.1.0Hiago De Franco2024-10-281-1/+1
| | | | | Signed-off-by: Hiago De Franco <hiago.franco@toradex.com> (cherry picked from commit e73688054056e654dce8616412ec2427b4bf70f7)
* firmware-ele-imx: Rename firmware-sentinel to firmware-ele-imxBenjamin Szőke2024-10-211-0/+3
| | | | (cherry picked from commit 7efb7980ddd92f33effa3e21a5470624c890623b)
* firmware-ele-imx: Fix code formattingBenjamin Szőke2024-10-211-2/+2
| | | | (cherry picked from commit ae95f06ffd72ef270c368e086e5c78bda6007c3a)
* firmware-imx: Upgrade to LF6.6.36_2.1.0Benjamin Szőke2024-10-214-19/+14
| | | | (cherry picked from commit bd5947f730f806366c64f63145b99b4a6ac5d8e2)
* recipes-bsp: imx-atf: Upgrade to new NXP BSP LF6.6.36_2.1.0Hiago De Franco2024-10-211-1/+1
| | | | | Signed-off-by: Hiago De Franco <hiago.franco@toradex.com> (cherry picked from commit bd5299898ec83d04978a056f2a3e3d1ef105e910)
* imx-atf: Redefine LD using HOST_PREFIXKhem Raj2024-10-111-1/+3
| | | | | | | | Distro's which use ld-is-lld end up with LD=<HOST_PREFIX>ld.lld and remove_options_tail() does not handle such cases Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 14c0b8720d75d36b97c07668000194a969f66417)
* u-boot-imx: Update to lf-6.6.36-2.1.0backport-1958-to-scarthgapLuan Rafael Carneiro2024-09-301-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update the u-boot-imx to the tag lf-6.6.36-2.1.0, that is used in the NXP BSP LF6.6.36_2.1.0. This commit adds the following changes: - de16f4f1722 configs: ls1088ardb: enable CONFIG_PHY_AQUANTIA - 291d018424c MA-22821 Adjust the fastboot offset used for avb verification - aefc41754b1 Pull request #135: MA-22768 Android: Enable NEON instruction acceleration as default on i.MX 95 - dfabeeba1bf LFU-785 arm: dts: fsl-ls1088a: Enable USB nodes - f1b36b56740 MA-22768 Android: Enable NEON instruction acceleration as default on i.MX 95 - 127c4143ced MA-22751-2 Android: Enable kaslr function on all android platforms - bbaa7cd97bc MA-22751-1 Enable kaslr function on all android platforms - 5c751212a6a Pull request #130: Feature/MA-22726 add rng driver for ele - 796b36cef2b LF-13165 imx91_evk/qsb: Align default mmcroot env with mmcdev - 02888f5a7aa MA-22726-4 imx95: android: seed the rng from bootloader - 01ca33808b4 MA-22726-3 android: enable ELE based RNG - aa49f8c2d44 MA-22726-2: ele: add rng driver - d5ac6715ff9 MA-22726-1 rework config CONFIG_DEK_BLOB_BUFFER - 6670dde79fe Pull request #128: Accelerate AVB process by NEON instruction - ed06f95670b MA-22734 Accelerate AVB process by NEON instruction - 54369cd719f LFU-782 imx95: add clk_ignore_unused for xen boot - 2b02a886a36 LF-12602-2 arm: dts: imx95-verdin: Change default splash screen to adv7535 - 161f39fc7f3 LF-12602-1 imx95_verdin: Changes default kernel DTB file - c50050b80a7 LFU-781 ddr: imx9: Disable dynamic refresh rate when do mr operation - 7a7445a2113 LFU-780 imx9: wait ssar when power on power domain - 8ffdc89512f LFU-779-3 imx91_qsb: Add 1600MTS DDR timing files - ed0abd9a1b5 LFU-779-2 imx91_evk: Add 1600MTS DDR timing files - 14e6baf09c9 LFU-779-1 imx91: Support new variant part iMX9121 - 579c5aba0c5 MA-22702 imx95: android: enable mcu image flash - 7606a94787d LFU-777 imx8ulp_evk: Update the DDR timing from latest RPA tool - 8807207c83f LFU-778 imx9: scmi: print SM version - 48cae0937d6 MA-22691 Android: Adjust the SPL size for imx93 - f9dfd8a0b2e LFU-776 misc: imx_ele: Fix fuse read issue on OEM closed LC - 9d634dfc0f2 LFU-775 imx93_evk/qsb: Update DDR timing files with latest RPA - d4f81e6783b LFU-755-2 verdin-imx95: Workaround dead battery on USB typec - 9163beb516d LFU-755-1 imx95_evk: Workaround dead battery on USB typec - 28b40ba0525 Pull request #123: Verdin splash screen enable - f042d04a6b8 MA-22683 Android: Align defconfig with BSP for imx95_15x15_evk - ebb78124638 MA-22680 Android: Enable splash screen on i.MX95 verdin - a9efed38dca LFU-774 imx95: Fix ELE FW revision print bug - 2cd18693dc6 LFU-772 imx9: scmi: disable some clocks before booting linux - 6dfdc164edf LFU-768: mtd: rawnand: fsl_ifc: dynamic update register by nand info - eca8f851ae9 LFU-770-2 imx91_qsb: Add defconfig for M.2 flexspi NOR boot - fc232e192b8 LFU-770-1 arm: dts: imx91_qsb: Add DTS for M.2 flexspi NOR support - e3483987537 LFU-769 imx91_evk/qsb: Update DDR timing files from DDR tool - 92708586a64 LF-12889: laysercape: fixup: update esdhc node name to mmc - 8dffea7abad LFU-766-2 imx95_evk: Enable flexspi NOR support on 15x15 EVK - 642dbba7480 LFU-766-1 arm: dts: imx95-15x15-evk: add M.2 flexspi NOR support - 0f70d2f755a LFU-765-2 arm: dts: imx91: Fix incorrect MEDIA AXI clock rate - 43feb688fe6 LFU-765-1 imx91: clock: Fix incorrect bus clock rate - a7c8915150f LF-12901 thermal: imx91_tmu: Fix fuse map address for temperature sensor trim - b8478e99f8e LFU-764 imx95: evk/verdin: enable cpuidle - e409ae328e0 LFU-669-2 imx93: Call the ELE voltage APIs when set OD voltage - e813a6998a9 LFU-669-1 misc: ele_api: Add Voltage change start and finish APIs - ab09a34411a LFU-763-4 imx95_evk: Add defconfig for LVDS splash screen on 15x15 EVK - 6fdb6753233 LFU-763-3 arm: dts: Add DTS for BOE LVDS panel - 8a0487a9e01 LFU-763-2 video: imx95-ldb: Update LDB driver for single channel - 600129e81df LFU-763-1 video: simple_panel: Add BOE LVDS panel - aab772b45f7 LFU-759-4 verdin_imx95: Enable splash screen for MIPI-DSI - b028fc838e9 LFU-759-3 arm: dts: imx95: Add dts for Verdin board MIPI DSI - 90f5fca16f7 LFU-759-2 video: video_link: Move ahead duplicated link check - 47f1e9cb8da LFU-759-1 video: lontium-lt8912b: Add driver for lt8912b - ea69aa79fdb LFU-762-2 imx91_qsb: Update board codes to enable splash screen - e28478b3238 LFU-762-1 arm: dts: imx91_qsb: add DTS for tianma parallel LCD panel - 3a27b0c3ac1 LFU-761-2 imx8ulp: Align serial No to UID[0] and UID[1] with big endian - be59f7acab0 LFU-761-1 imx9: Print UID in big endian format for EL2GO - 36c93488d60 MA-22653 imx95: restore the verdin elemu1 node - c31ba1f4ce8 LFU-760 configs: imx95: enlarge dom0 mem - 2a3c1cf36a0 LFU-756 misc: ele_mu: clear RR when initialize MU - bcc07c08ee2 LFU-758: spi: nxp_fspi: Add extra delay after flexspi DLL locked - 9d4171ff039 LFU-757 imx93: Fix DDR QB training data generation build failure - 491e26cbbc8 MA-22635 Fix i.mx91/i.mx93 build error - c6e7cbb0551 MA-22628 Android: Enable encrypted boot for imx95 - e8429da2961 MA-22459 Remove the dek_blob dest buffer from stack for imx95 - 4b99a1ea7d8 LFU-754-3 misc: fuse: Remove FUSE_BANKS macro - 3ba29ac19a1 LFU-754-2 misc: fuse: Add shadow fuse read and write - 7821b84f323 LFU-754-1 misc: ele_api: Add read/write shadow fuse APIs - 1434b0ec2d8 MA-22546 imx95: fix rpmb not reliable issue - d9f174f315b MA-22461 Android: Follow BSP update the imx93 defconfig - 9811741f98e MA-22560 Fix spl can't switch to another slot when verification failed Signed-off-by: Luan Rafael Carneiro <luan.r@variscite.com> (cherry picked from commit 5e6af5d6e5c8a120a764d89abb5bbe55a0413e52)
* boot: Fix UUU tagging, extend to fslcTom Hochstein2024-09-173-14/+8
| | | | | | | | | | | | | | | | | | | | | Using the UUU-tagged bootloader image directly with UUU can cause UUU to hang. The bootloader image is split on a certain transmit size, and the hang occurs if the tag does not fit with the final bytes of the bootloader image and must be split into a new transmit package. The UUU tag is needed by UUU only in the SD Card image file itself so that UUU can find the end of the boot partition. Rework the design so the default bootloader and the default imx-boot binaries are not tagged. Also, extend the UUU tagging to fslc so it can gain the same benefit. Fixes: https://github.com/Freescale/meta-freescale/pull/1762 Fixes: https://github.com/nxp-imx/mfgtools/issues/416 Co-authored-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> (cherry picked from commit ef8b4c41cf0abb41ade7371c2abb16ffe708a8c9)
* imx-boot: Drop un-necessary variable BOOT_NAMETom Hochstein2024-09-171-11/+9
| | | | | | | | The variable suggests the ability to override when there is no reason to override. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> (cherry picked from commit 0e3a84c9d46abfd62143887ada7a58b8127ff747)
* u-boot-fslc: Bump to revison 5b4d66ddRodrigo M. Duarte2024-09-101-1/+1
| | | | | | | | This commit changes the u-boot-fslc source revision to 5b4d66dd. This new revison fix a issue with imx8mq bootloader. Signed-off-by: Rodrigo M. Duarte <rodrigo.duarte@ossystems.com.br> (cherry picked from commit c0b7f552a0fef79a79704f4bc515f74a1274030d)
* imx-oei: move to dynamic-layers and add arm-toolchainHiago De Franco2024-09-091-57/+0
| | | | | | | | | | The recipe depends on meta-arm-toolchain, therefore it should be on dynamic-layers/arm-toolchain folder. Create it and make the necessary changes for conf/layer.conf. Fixes: 61beaf5861f2 ("recipes-bsp: introduce imx-oei recipe") Signed-off-by: Hiago De Franco <hiago.franco@toradex.com> (cherry picked from commit 07931ef7fdf35ca2956481387f8476cd531a9048)
* imx-secure-enclave: add the lf-6.6.3-1.0.0 recipeThomas Perrot2024-09-041-0/+31
| | | | | | | | | | | This library allows the use of the EdgeLock secure Enclave (ELE) from Linux userspace. Moreover, this library is a build dependency of i.MX Security Middleware Library. Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com> (cherry picked from commit 639ca90853f694cde2a15093127bf3a3c1b6d9f1)
* imx-seco-libs: Update to latest from NXP 6.6.23-2.0.0Jun Zhu2024-08-291-3/+3
| | | | | Signed-off-by: Jun Zhu <junzhu@nxp.com> (cherry picked from commit 68d55d4e33324b2a949c3d7bbb27c8d09e121a03)
* firmware-ele-imx: Bump to version 0.1.2Hiago De Franco2024-08-271-4/+7
| | | | | | | This aligns with the current version available on meta-imx layer. Signed-off-by: Hiago De Franco <hiago.franco@toradex.com> (cherry picked from commit e30df90c5edd31e76c64eda949f1ad7eb73e2783)
* imx-boot: Update to latest from NXP 6.6.23-2.0.0Tom Hochstein2024-08-271-8/+32
| | | | | | | | - Add i.MX 91 support - Add missing STMM deploy Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> (cherry picked from commit 9cbfa8f33730e59e8be810ecdd3967738b07380a)
* imx-boot: Fix 8M multi-config build problemsTom Hochstein2024-08-271-3/+5
| | | | | | | | | | | | | | | | | | | | Building in the NXP layer meta-imx with the latest imx-boot recipe, the dtb is not found during mkimage build: ``` | NOTE: building iMX8MP - TEE=tee.bin-stmm flash_evk_stmm_capsule | dtc -@ -I dts -O dtb -o signature.dtbo signature.dts | fdtoverlay -i imx8mp-evk.dtb -o imx8mp-evk.dtb signature.dtbo | Couldn't open blob from 'imx8mp-evk.dtb': No such file or directory ``` The problem is the recipe does now copy the dtb from u-boot-imx with a config-adorned name, e.g., imx8mp-evk.dtb-sd, but mkimage is still expecting imx8mp-evk.dtb. Add a link for compatibility. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> (cherry picked from commit 2db7047ba40efed4d9e7c86c63d71158d974e297)
* imx-boot: inherit from uboot-config rather than uboot-signRogerio Guerra Borin2024-08-271-5/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit 5e12dc911d0c541f43aa6d0c046fb87e8b7c1f7e on layer openembedded-core, the class uboot-sign is supposed to be inherited by u-boot recipes only, but the imx-boot recipe is currently inheriting it. With this commit we change this situation by inheriting from uboot-config instead so it can access relevant variables related to the U-Boot configuration without inheriting the tasks defined by uboot-sign which pertain exclusively to u-boot recipes (uboot_generate_rsa_keys, uboot_assemble_fitimage); this in turn allows us to get rid of the prepend to uboot_assemble_fitimage which only existed to allow that extraneous task to succeed. Nevertheless, the main issue solved by the commit is a conflict that happens when imx-boot is used together a U-Boot configured not to generate a boot container, i.e. with UBOOT_PROVIDES_BOOT_CONTAINER="0" in which case both the U-Boot and the imx-boot recipe would try to deploy the same files due to to extraneous tasks inherited, leading to build errors like this: ERROR: imx-boot-1.0-r0 do_deploy: Recipe imx-boot is trying to install files into a shared area when those files already exist. The files and the manifests listing them are: /workdir/.../deploy/images/colibri-imx8x/u-boot-colibri-imx8x.dtb (matched in manifest-colibri_imx8x-u-boot-toradex.deploy) /workdir/.../deploy/images/colibri-imx8x/u-boot.dtb (matched in manifest-colibri_imx8x-u-boot-toradex.deploy) ... As part of this change we set variable UBOOT_DTB_BINARY to match the setting in uboot-sign.bbclass, which duplicates information. This is not ideal but it should work as that value is unlikely to change. The ideal solution would likely be setting it in uboot-config.bbclass (provided by layer openembedded-core); that's left as a future improvement. Signed-off-by: Rogerio Guerra Borin <rogerio.borin@toradex.com> (cherry picked from commit 45941f64766cd78f1491f74bf7483de52c43c9c5) Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> (cherry picked from commit f50044623d99e4e5c72db2e1d1c97f16c8e8903a)
* u-boot-imx: Update to lf-6.6.23-2.0.0Tom Hochstein2024-08-272-4/+12
| | | | | | | | Update the u-boot-imx to the tag lf-6.6.23-2.0.0, that is used in the NXP BSP LF6.6.23_2.0.0. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> (cherry picked from commit 8335c55ed1f67ad38062dbc7ed35b8ef41466033)