Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors when building Yocto SDKs for imx8mq-evk and imx8mm-lpddr4-evk (Kirkstone) #1590

Open
dv1 opened this issue Jun 28, 2023 · 1 comment

Comments

@dv1
Copy link
Contributor

dv1 commented Jun 28, 2023

I tried to build a Yocto SDK for imx8mq-evk and current Yocto Kirkstone, but I get:

Downloading file:/home/build/BuildSetups * check_data_file_clashes: Package linux-firmware-nxp89xx wants to install file /home/build/BuildSetups2/yocto-bsp-kirkstone/build/tmp/work/imx8mq_evk-custom-linux/custom-devel-image/1.0-r0/sdk/image/usr/local/oe-sdk-hardcoded-buildpath/sysroots/cortexa53-crypto-custom-linux/lib/firmware/nxp/ed_mac_ctrl_V3_8997.conf
        But that file is already provided by package  * firmware-nxp-wifi-nxp8997-common
 * check_data_file_clashes: Package linux-firmware-nxp89xx wants to install file /home/build/BuildSetups2/yocto-bsp-kirkstone/build/tmp/work/imx8mq_evk-custom-linux/custom-devel-image/1.0-r0/sdk/image/usr/local/oe-sdk-hardcoded-buildpath/sysroots/cortexa53-crypto-custom-linux/lib/firmware/nxp/sdiouart8997_combo_v4.bin
        But that file is already provided by package  * firmware-nxp-wifi-nxp8997-sdio
 * check_data_file_clashes: Package linux-firmware-nxp89xx wants to install file /home/build/BuildSetups2/yocto-bsp-kirkstone/build/tmp/work/imx8mq_evk-custom-linux/custom-devel-image/1.0-r0/sdk/image/usr/local/oe-sdk-hardcoded-buildpath/sysroots/cortexa53-crypto-custom-linux/lib/firmware/nxp/txpwrlimit_cfg_8997.conf
        But that file is already provided by package  * firmware-nxp-wifi-nxp8997-common
 * check_data_file_clashes: Package linux-firmware-nxp89xx wants to install file /home/build/BuildSetups2/yocto-bsp-kirkstone/build/tmp/work/imx8mq_evk-custom-linux/custom-devel-image/1.0-r0/sdk/image/usr/local/oe-sdk-hardcoded-buildpath/sysroots/cortexa53-crypto-custom-linux/lib/firmware/nxp/wifi_mod_para.conf
        But that file is already provided by package  * firmware-nxp-wifi-nxp-common

I fixed this by adding this to my local.conf file:

MACHINE_FEATURES:remove = " nxp8997-sdio nxp8997-pcie nxp9098-pcie nxp9098-sdio "

I had a similar issue when building an SDK for the imx8mm-lpddr4-evk machine:

Installing linux-firmware * check_data_file_clashes: Package linux-firmware-nxp89xx wants to install file /home/build/BuildSetups2/yocto-bsp-kirkstone/build/tmp/work/imx8mm_lpddr4_evk-custom-linux/custom-devel-image/1.0-r0/sdk/image/usr/local/oe-sdk-hardcoded-buildpath/sysroots/cortexa53-crypto-custom-linux/lib/firmware/nxp/wifi_mod_para.conf
        But that file is already provided by package  * firmware-nxp-wifi-nxp-common

There, the workaround was to add this to local.conf:

MACHINE_FEATURES:remove = " nxp8987-sdio "
@morten-bruun-zoetis
Copy link

I had the same error and fixed it with:

MACHINE_FEATURES:remove = "nxp8987"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants