Building a yocto image using the NXP scarthgap-6.6.52-2.2.0 branch of meta-imx fails to build:
ERROR: firmware-nxp-wifi-1.0-r0 do_package: QA Issue: firmware-nxp-wifi-nxpiw610-sdio is listed in PACKAGES multiple times, this leads to packaging errors. [packages-list]
This is due to nxpiw610-sdio being added to PACKAGES in meta-freescale/.../firmware-nxp-wifi_1.0.bb in:
commit 39b41e63a01283e2b39020ef408ea0e7b0d31a30
Author: Jun Zhu <junzhu@nxp.com>
Date: Sun Jan 5 20:34:43 2025 +0800
firmware-nxp-wifi: Upgrade Wi-Fi firmware to 6.6.52-2.2.0
- Add firmware to support nxpiw610.
- Update file name of nxp8997 and nxp9098.
as well as in meta-imx/.../firmware-nxp-wifi_%.bbappend in:
commit 9df647386872df5160fe02cae10be894cc0892bb
Author: Flora Hu <flora.hu@nxp.com>
Date: Thu Oct 17 15:31:06 2024 +0200
firmware-nxp-wifi: Add IW610 firmware support [YOCIMX-8429]
The reason for this, is the huge cluster**bleep** between meta-freescale and meta-imx (and maybe meta-nxp-connectivity) that all somehow require each other but are in general pretty messy.
The issue is that (for current scarthgap branches) both meta-freescale/recipes-bsp/firmware-imx/firmware-nxp-wifi_1.1.bb and meta-imx/meta-imx-bsp/recipes-bsp/firmware-imx/firmware-nxp-wifi_%.bbappend add ${PN}-nxpiw610-sdio to PACKAGES, which leads to the QA error.
The older firmware-nxp-wifi_1.0.bb does not contain nxpiw610, so this error won't show up there...
I'm trying to upgrade our own BSP (https://github.com/karo-electronics/karo-nxp-bsp) to scarthgap using the necessary components from the NXP BSP.
I just found, that the NXP BSP does not use the latest commit (be9267fca859) from the scarthgap branch for meta-freescale, but some intermediate state (0627128b341c) which does not show this error.
Hello,
Please share the build machine in yocto.
Best Regards,
Zhiming