I am trying to build xen hypervisor for imx8mqevk target by command "bitbake xen-image-minimal" but its failing at do_rootfs.
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
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
Hi,
Thanks for reply!
I am building xen hypervisor for imx8mq target. Does xen support imx8mq ?
If support is available how i can find device tree source for the same, xen supporting dts files are available for imx8qm & imx8qxp only.
kernel: 4.19.35
u-boot: 2019.04
host: ubuntu 16.04
Looking forward for your response.
Thanks & Regards,
Vipul Kumar
Hello,
Xen is not supported in MX8MQ, still working on it, but it will be supported in at least two more BSP.
Regards
Hi,
Thanks for reply!
I am trying to load yocto based linux OS in each core of imx8mq EVK. OS in each core should be isolated. Can you suggest which hypervisor can serve my purpose?
I tried jailhouse but looks like it only support RTOS in non-root cells & as you mention Xen doesn't support imx8mq. Looking forward to hear from you on this.
Thanks & Regards,
Vipul Kumar