iMX8QM, Yocto 4.19.35-1.1.0 : bitbake -c populate_sdk fails

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

iMX8QM, Yocto 4.19.35-1.1.0 : bitbake -c populate_sdk fails

810 Views
dry
Senior Contributor I

While building  sdk , with bitbake -c populate_sdk fails, with  error (at least one ..) being related to dnf ...:

ERROR: Could not invoke dnf. Command '/devel2/linux/imx8/kontron/kci1-smx8-bsp-4.19.35-dev-27c53b5be168/build/tmp/work/kontron_samx8_qm-poky-linux/kontron-image-validation-samx/1.0-r0/recipe-sysroot-native/usr/bin/dnf -v

And checking that file  its trying to use :

 /devel2/linux/imx8/kontron/kci1-smx8-bsp-4.19.35-dev-27c53b5be168/build/tmp/work/kontron_samx8_qm-poky-linux/kontron-image-validation-samx/1.0-r0/recipe-sysroot-native/usr/bin/dnf
Traceback (most recent call last):
  File "/devel2/linux/imx8/kontron/kci1-smx8-bsp-4.19.35-dev-27c53b5be168/build/tmp/work/kontron_samx8_qm-poky-linux/kontron-image-validation-samx/1.0-r0/recipe-sysroot-native/usr/bin/dnf.real", line 57, in <module>
    from dnf.cli import main
ModuleNotFoundError: No module named 'dnf'

 

Additionally, at the end it goes these errors:

Transaction Summary
================================================================================
Install  1490 Packages

Total size: 938 M
Installed size: 5.7 G
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Error: Transaction check error:
  file /lib/firmware/qca/NOTICE.txt from install of linux-firmware-qca-1:0.0+git0+711d3297ba_a0026b646c+f6d0859f94-r0.noarch conflicts with file from package firmware-samx8-qca-1.0-r0.noarch
  file /lib/firmware/qca/nvm_usb_00000302.bin from install of linux-firmware-qca-1:0.0+git0+711d3297ba_a0026b646c+f6d0859f94-r0.noarch conflicts with file from package firmware-samx8-qca-1.0-r0.noarch
  file /lib/firmware/qca/rampatch_usb_00000302.bin from install of linux-firmware-qca-1:0.0+git0+711d3297ba_a0026b646c+f6d0859f94-r0.noarch conflicts with file from package firmware-samx8-qca-1.0-r0.noarch

Error Summary
-------------

 

So that is broken, and by the looks its file part of Yocto sources. 

I'm using NXP's  imx docker container, with Ubuntu 18 in it. The actual Yocto distro builds,  but not the wanted SDK.

Anyone seen it / knows about how to solve this?  Log file is attached.

NXP support ..?

 

 

0 Kudos
Reply
3 Replies

786 Views
joanxie
NXP TechSupport
NXP TechSupport

I don't know how you build, firstly I suggest that you can refer to the yocto user guide step by step, then you can refer to the link too

"https://community.nxp.com/t5/NavQ-8MMNavQ-Discussion/Error-when-running-populate-sdk-on-imx-image-ho..."

0 Kudos
Reply

763 Views
dry
Senior Contributor I

How I build is exactly in the command I pasted, bitbake -c populate_sdk.

Anything else you need to clarify .. ?

0 Kudos
Reply

756 Views
joanxie
NXP TechSupport
NXP TechSupport

you don't give me how you set your yocto, and refer to your logfile, it seems that you don't use nxp yocto bsp, it's the third party company bsp, right? then you also can refer to the link I sent to you

0 Kudos
Reply