imx8: building "xen-image-minimal" for imx8mqevk failed on rootfs

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

imx8: building "xen-image-minimal" for imx8mqevk failed on rootfs

402 Views
vsuneja63
Contributor III

I am building xen hypervisor "xen-image-minimal" image for imx8mqevk target but its failing on do_rootfs operation. Please find the logs below:

ERROR: xen-image-minimal-1.0-r0 do_rootfs: Could not invoke dnf. Command '/home/vipulkumar/platform/AGL_Master/build/tmp/work/imx8mqevk-agl-linux/xen-image-minimal/1.0-r0/recipe-sysroot-native/usr/bin/dnf -v --rpmverbosity=debug -y -c /home/vipulkumar/platform/AGL_Master/build/tmp/work/imx8mqevk-agl-linux/xen-image-minimal/1.0-r0/rootfs/etc/dnf/dnf.conf --setopt=reposdir=/home/vipulkumar/platform/AGL_Master/build/tmp/work/imx8mqevk-agl-linux/xen-image-minimal/1.0-r0/rootfs/etc/yum.repos.d --repofrompath=oe-repo,/home/vipulkumar/platform/AGL_Master/build/tmp/work/imx8mqevk-agl-linux/xen-image-minimal/1.0-r0/oe-rootfs-repo --installroot=/home/vipulkumar/platform/AGL_Master/build/tmp/work/imx8mqevk-agl-linux/xen-image-minimal/1.0-r0/rootfs --setopt=logdir=/home/vipulkumar/platform/AGL_Master/build/tmp/work/imx8mqevk-agl-linux/xen-image-minimal/1.0-r0/temp --nogpgcheck install locale-base-en-us locale-base-en-gb kernel-modules kernel-module-xen-gntalloc packagegroup-core-standalone-sdk-target pulseaudio-server rpm packagegroup-core-tools-debug dropbear sdl-core kernel-module-xen-netback screen kernel-module-xen-blkback packagegroup-core-tools-profile kernel-module-xen-gntdev libdrm-tests xen-base kernel-module-xen-wdt dnf mc run-postinsts packagegroup-core-boot packagegroup-agl-core-devel packagegroup-core-sdk libz-dev qemu packagegroup-core-eclipse-debug packagegroup-core-ssh-openssh busybox' returned 1:
DNF version: 2.7.5
cachedir: /home/vipulkumar/platform/AGL_Master/build/tmp/work/imx8mqevk-agl-linux/xen-image-minimal/1.0-r0/rootfs/var/cache/dnf
Added oe-repo repo from /home/vipulkumar/platform/AGL_Master/build/tmp/work/imx8mqevk-agl-linux/xen-image-minimal/1.0-r0/oe-rootfs-repo
repo: using cache for: oe-repo
not found deltainfo for: oe-repo
not found updateinfo for: oe-repo
oe-repo: using metadata from Tue 10 Mar 2020 11:11:03 AM UTC.
Last metadata expiration check: 0:00:02 ago on Tue 10 Mar 2020 11:11:11 AM UTC.
No match for argument: kernel-module-xen-gntalloc
No match for argument: kernel-module-xen-blkback
No match for argument: kernel-module-xen-gntdev
No match for argument: kernel-module-xen-wdt
Error: Unable to find a match

ERROR: xen-image-minimal-1.0-r0 do_rootfs: Function failed: do_rootfs
ERROR: Logfile of failure stored in: /home/vipulkumar/platform/AGL_Master/build/tmp/work/imx8mqevk-agl-linux/xen-image-minimal/1.0-r0/temp/log.do_rootfs.23651
ERROR: Task (/home/vipulkumar/platform/AGL_Master/external/meta-virtualization/recipes-extended/images/xen-image-minimal.bb:do_rootfs) failed with exit code '1'

0 Kudos
1 Reply

341 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello Vipul,

The error says it can't find a package named repo. Was such a package generated? For this error I strongly recommend to erase and reinstall the yocto again. Or maybe you are playing with non-supported ubuntu version.

Regards

0 Kudos