unable to build $bitbake xen-image-minimal on imx8qxp in L6.6.36

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

unable to build $bitbake xen-image-minimal on imx8qxp in L6.6.36

208 Views
S_katikala
Contributor II

Hi

I am working on XEN hyperviosr for IMX8QXP board in L6.6.36 manifest

and i am unable to build xen-image-minimal

anybody can help me on this

sruthi@administartor-Z690-UD-DDR4:/media/sruthi/4TB/workspace/yocto/imx8/yocto_scarthgap/out$ bitbake xen-image-minimal
Loading cache: 100% |###############################################################################################################################################################################| Time: 0:00:00
Loaded 5717 entries from dependency cache.
Parsing recipes: 100% |#############################################################################################################################################################################| Time: 0:00:00
Parsing of 3642 .bb files complete (3641 cached, 1 parsed). 5718 targets, 388 skipped, 17 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
WARNING: preferred version 4.18.imx+stable of xen not available (for item xen)
WARNING: versions of xen available: 4.17+stable 4.18+stable 4.19+git

Build Configuration:
BB_VERSION = "2.8.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "aarch64-poky-linux"
MACHINE = "imx8qxpc0mek"
DISTRO = "fsl-imx-xwayland"
DISTRO_VERSION = "6.6-scarthgap"
TUNE_FEATURES = "aarch64 armv8a crc crypto"
TARGET_FPU = ""
meta
meta-poky = "HEAD:f43f393ef0246b7bee6eed8bcf8271cf2b8cdf40"
meta-oe
meta-multimedia
meta-python = "HEAD:80e01188fa822d87d301ee71973c462d7a865493"
meta-freescale = "HEAD:0f8091c63dd8805610c09b08409bc58492a3b16f"
meta-freescale-3rdparty = "HEAD:6c063450d464eb2f380443c7d9af1b94ce9b9d75"
meta-freescale-distro = "HEAD:b9d6a5d9931922558046d230c1f5f4ef6ee72345"
meta-imx-bsp
meta-imx-sdk
meta-imx-ml
meta-imx-v2x = "HEAD:f23d0ce80d40c4128116fa0b4dde5f5af9b0357d"
meta-nxp-demo-experience = "HEAD:8fd7154c05b716e9635279047f65785399432d88"
meta-nxp-matter-baseline
meta-nxp-openthread = "HEAD:783becb4b5716d989f50db95b7133d38eae5b47b"
meta-arm
meta-arm-toolchain = "HEAD:1b85bbb4cab9658da3cd926c62038b8559c5c64e"
meta-clang = "HEAD:fe561f41aef0cff9e6f96730ab59f28dca2eb682"
meta-gnome
meta-networking
meta-filesystems = "HEAD:80e01188fa822d87d301ee71973c462d7a865493"
meta-qt6 = "HEAD:dc13e1bfda4a4757a08c2d6673bc4bac012c4a80"
meta-parsec
meta-tpm = "HEAD:11ea91192d43d7c2b0b95a93aa63ca7e73e38034"
meta-virtualization = "HEAD:6a80f140e387621f62964209a2e07d3bcfb125ce"

WARNING: /media/sruthi/4TB/workspace/yocto/imx8/yocto_scarthgap/sources/meta-imx/meta-imx-bsp/recipes-kernel/linux/linux-imx_6.6.bb:do_compile is tainted from a forced run | ETA: 0:00:00
WARNING: /media/sruthi/4TB/workspace/yocto/imx8/yocto_scarthgap/sources/meta-imx/meta-imx-bsp/recipes-bsp/u-boot/u-boot-imx_2024.04.bb:do_compile is tainted from a forced run
Sstate summary: Wanted 7 Local 1 Mirrors 0 Missed 6 Current 2886 (14% match, 99% complete)######################################################################################## | ETA: 0:00:00
Initialising tasks: 100% |##########################################################################################################################################################################| Time: 0:00:02
NOTE: Executing Tasks
ERROR: xen-image-minimal-1.0-r0 do_rootfs: Unable to install packages. Command '/media/sruthi/4TB/workspace/yocto/imx8/yocto_scarthgap/out/tmp/work/imx8qxpc0mek-poky-linux/xen-image-minimal/1.0/recipe-sysroot-native/usr/bin/apt-get install --allow-downgrades --allow-remove-essential --allow-change-held-packages --allow-unauthenticated --no-remove apt dpkg kernel-image kernel-module-xen-blkback kernel-module-xen-gntalloc kernel-module-xen-gntdev kernel-module-xen-netback kernel-module-xen-wdt kernel-vmlinux packagegroup-core-boot packagegroup-core-ssh-openssh packagegroup-fsl-optee-imx qemu run-postinsts xen-tools' returned 100:
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package kernel-module-xen-gntalloc
E: Unable to locate package kernel-module-xen-gntdev
E: Unable to locate package kernel-module-xen-wdt

ERROR: Logfile of failure stored in: /media/sruthi/4TB/workspace/yocto/imx8/yocto_scarthgap/out/tmp/work/imx8qxpc0mek-poky-linux/xen-image-minimal/1.0/temp/log.do_rootfs.1360019
ERROR: Task (/media/sruthi/4TB/workspace/yocto/imx8/yocto_scarthgap/sources/meta-virtualization/recipes-extended/images/xen-image-minimal.bb:do_rootfs) failed with exit code '1'
NOTE: Tasks Summary: Attempted 5975 tasks of which 5966 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
/media/sruthi/4TB/workspace/yocto/imx8/yocto_scarthgap/sources/meta-virtualization/recipes-extended/images/xen-image-minimal.bb:do_rootfs
Summary: There were 4 WARNING messages.
Summary: There was 1 ERROR message, returning a non-zero exit code.

 

 

Thanks,

S_katikala

 

Tags (1)
0 Kudos
Reply
1 Reply

179 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

You can solve this issue by enabling kernel configurations for all the xen drivers by below command:

bitbake -c menuconfig <kernal_used>

then rebuild kernel & image

Regards

0 Kudos
Reply