After successfully bitbaking the full firmware image with bitbake imx-image-full, I tried populating the yocto SDK with bitbake imx-image-full -c populate_sdk but got following error :
ERROR: imx-image-full-1.0-r0 do_populate_sdk: Could not invoke dnf. Command '/home/eddywijaya/imx-yocto-bsp/build_imx8mn-evk/tmp/work/imx8mn_lpddr4_evk-poky-linux/imx-image-full/1.0-r0/recipe-sysroot-native/usr/bin/dnf -v --rpmverbosity=info -y -c /home/eddywijaya/imx-yocto-bsp/build_imx8mn-evk/tmp/work/imx8mn_lpddr4_evk-poky-linux/imx-image-full/1.0-r0/sdk/image/usr/local/oe-sdk-hardcoded-buildpath/sysroots/armv8a-poky-linux/etc/dnf/dnf.conf --setopt=reposdir=/home/eddywijaya/imx-yocto-bsp/build_imx8mn-evk/tmp/work/imx8mn_lpddr4_evk-poky-linux/imx-image-full/1.0-r0/sdk/image/usr/local/oe-sdk-hardcoded-buildpath/sysroots/armv8a-poky-linux/etc/yum.repos.d --installroot=/home/eddywijaya/imx-yocto-bsp/build_imx8mn-evk/tmp/work/imx8mn_lpddr4_evk-poky-linux/imx-image-full/1.0-r0/sdk/image/usr/local/oe-sdk-hardcoded-buildpath/sysroots/armv8a-poky-linux --setopt=logdir=/home/eddywijaya/imx-yocto-bsp/build_imx8mn-evk/tmp/work/imx8mn_lpddr4_evk-poky-linux/imx-image-full/1.0-r0/temp --repofrompath=oe-repo,/home/eddywijaya/imx-yocto-bsp/build_imx8mn-evk/tmp/work/imx8mn_lpddr4_evk-poky-linux/imx-image-full/1.0-r0/oe-sdk-repo --nogpgcheck install dnf docker firmwared jailhouse onnxruntime-dev opencv-apps opencv-samples packagegroup-base-extended packagegroup-core-boot packagegroup-core-full-cmdline packagegroup-core-nfs-server packagegroup-core-sdk packagegroup-core-ssh-dropbear packagegroup-core-standalone-sdk-target packagegroup-core-tools-debug packagegroup-core-tools-profile packagegroup-core-tools-testapps packagegroup-core-weston packagegroup-fsl-gstreamer1.0 packagegroup-fsl-gstreamer1.0-full packagegroup-fsl-optee-imx packagegroup-fsl-tools-audio packagegroup-fsl-tools-benchmark packagegroup-fsl-tools-gpu packagegroup-fsl-tools-gpu-external packagegroup-fsl-tools-testapps packagegroup-imx-isp packagegroup-imx-ml packagegroup-imx-security packagegroup-qt6-imx packagegroup-qt6-modules packagegroup-tools-bluetooth python3-opencv rpm run-postinsts target-sdk-provides-dummy tensorflow-lite-dev tzdata' returned 1:
DNF version: 4.11.1
cachedir: /home/eddywijaya/imx-yocto-bsp/build_imx8mn-evk/tmp/work/imx8mn_lpddr4_evk-poky-linux/imx-image-full/1.0-r0/sdk/image/usr/local/oe-sdk-hardcoded-buildpath/sysroots/armv8a-poky-linux/var/cache/dnf
Added oe-repo repo from /home/eddywijaya/imx-yocto-bsp/build_imx8mn-evk/tmp/work/imx8mn_lpddr4_evk-poky-linux/imx-image-full/1.0-r0/oe-sdk-repo
User-Agent: falling back to 'libdnf': could not detect OS or basearch
repo: using cache for: oe-repo
oe-repo: using metadata from Thu 22 Feb 2024 11:19:43 AM UTC.
Last metadata expiration check: 0:00:01 ago on Thu 22 Feb 2024 11:46:47 AM UTC.
--> Starting dependency resolution
--> Finished dependency resolution
Error:
Problem: package packagegroup-qt6-modules-1.0-r0.imx8mn_lpddr4_evk requires packagegroup-qt6-addons, but none of the providers can be installed
- conflicting requests
- nothing provides qtimageformats needed by packagegroup-qt6-addons-1.0-r0.imx8mn_lpddr4_evk
(try to add '--skip-broken' to skip uninstallable packages)ERROR: Logfile of failure stored in: /home/eddywijaya/imx-yocto-bsp/build_imx8mn-evk/tmp/work/imx8mn_lpddr4_evk-poky-linux/imx-image-full/1.0-r0/temp/log.do_populate_sdk.993651
ERROR: Task (/home/eddywijaya/imx-yocto-bsp/sources/meta-imx/meta-sdk/dynamic-layers/qt6-layer/recipes-fsl/images/imx-image-full.bb:do_populate_sdk) failed with exit code '1'
Could you advice how to solve the issue, please ?
Additional info, Because of my diskspace is running out, I remove the "downloads" folder before start bit baking with popupate_sdk. Is there will cause this issues?
Host : Ubuntu 22.04.3 LTS
Target : imx8mn-lpddr4-evk
Best Regards,
Eddy Wijaya
已解决! 转到解答。
Hi @Chavira,
I can say my problems were solved already.
The SDK completely successful created.
Based on my previous reply related to the error
Error:
Problem: package packagegroup-qt6-modules-1.0-r0.imx8mn_lpddr4_evk requires packagegroup-qt6-addons, but none of the providers can be installed
- conflicting requests
- nothing provides qtimageformats needed by packagegroup-qt6-addons-1.0-r0.imx8mn_lpddr4_evk
(try to add '--skip-broken' to skip uninstallable packages)
My first thought that the problems is related to the qtimageformats component, but its actually this qtimageformats is not needed. Just for workaround I just deleted all the files that generated related to the qtimageformats in below folder
/tmp/pkgdata/imx8mn-lpddr4-evk/
/tmp/pkgdata/imx8mn-lpddr4-evk/extended/
/tmp/pkgdata/imx8mn-lpddr4-evk/runtime/
then rerun again and successfully passed and generated the files in sdk folder.
Thanks for your response previously.
I can close this thread as resolved.
Best Regard.
Eddy Wijaya
Hi @Chavira ,
Is below error does not mean anything to resolve the issues?
Error:
Problem: package packagegroup-qt6-modules-1.0-r0.imx8mn_lpddr4_evk requires packagegroup-qt6-addons, but none of the providers can be installed
- conflicting requests
- nothing provides qtimageformats needed by packagegroup-qt6-addons-1.0-r0.imx8mn_lpddr4_evk
(try to add '--skip-broken' to skip uninstallable packages)
Thanks,
Eddy Wijaya
Hi @Chavira,
I can say my problems were solved already.
The SDK completely successful created.
Based on my previous reply related to the error
Error:
Problem: package packagegroup-qt6-modules-1.0-r0.imx8mn_lpddr4_evk requires packagegroup-qt6-addons, but none of the providers can be installed
- conflicting requests
- nothing provides qtimageformats needed by packagegroup-qt6-addons-1.0-r0.imx8mn_lpddr4_evk
(try to add '--skip-broken' to skip uninstallable packages)
My first thought that the problems is related to the qtimageformats component, but its actually this qtimageformats is not needed. Just for workaround I just deleted all the files that generated related to the qtimageformats in below folder
/tmp/pkgdata/imx8mn-lpddr4-evk/
/tmp/pkgdata/imx8mn-lpddr4-evk/extended/
/tmp/pkgdata/imx8mn-lpddr4-evk/runtime/
then rerun again and successfully passed and generated the files in sdk folder.
Thanks for your response previously.
I can close this thread as resolved.
Best Regard.
Eddy Wijaya