Hi,
I am trying to build S32G3 RDB3 image from yocto source with Xen Support, i.e. adding
DISTRO_FEATURES:append = " xen"
in conf/local.conf, but "bitbake fsl-image-base" failed with:
| NOTE: make -j 18 STDVGA_ROM=/qnx/soc/s32g3/nxp_linux_bsp/bsp38.0/fsl-auto-yocto-bsp/build_s32g399ardb3/tmp/work/cortexa53-crypto-fsl-linux/xen/4.17-r0/recipe-sysroot/usr/share/firmware/vgabios-0.8a.bin CIRRUSVGA_ROM=/qnx/soc/s32g3/nxp_linux_bsp/bsp38.0/fsl-auto-yocto-bsp/build_s32g399ardb3/tmp/work/cortexa53-crypto-fsl-linux/xen/4.17-r0/recipe-sysroot/usr/share/firmware/vgabios-0.8a.cirrus.bin SEABIOS_ROM=/qnx/soc/s32g3/nxp_linux_bsp/bsp38.0/fsl-auto-yocto-bsp/build_s32g399ardb3/tmp/work/cortexa53-crypto-fsl-linux/xen/4.17-r0/recipe-sysroot/usr/share/firmware/bios.bin ETHERBOOT_ROMS=/qnx/soc/s32g3/nxp_linux_bsp/bsp38.0/fsl-auto-yocto-bsp/build_s32g399ardb3/tmp/work/cortexa53-crypto-fsl-linux/xen/4.17-r0/recipe-sysroot/usr/share/firmware/rtl8139.rom WGET=/bin/false GIT=/bin/false XEN_BUILD_DATE=2023-01-31 XEN_BUILD_TIME=10:28:24 XEN_CONFIG_EXPERT=y debug=n DESTDIR=/qnx/soc/s32g3/nxp_linux_bsp/bsp38.0/fsl-auto-yocto-bsp/build_s32g399ardb3/tmp/work/cortexa53-crypto-fsl-linux/xen/4.17-r0/image install-xen
| make -C xen install
| make[1]: Entering directory '/qnx/soc/s32g3/nxp_linux_bsp/bsp38.0/fsl-auto-yocto-bsp/build_s32g399ardb3/tmp/work/cortexa53-crypto-fsl-linux/xen/4.17-r0/git/xen'
| Makefile:59: "You must use e.g. 'make menuconfig' to enable/disable debug now."
| ln: source/.: cannot overwrite directory
| make[1]: *** [Makefile:313: outputmakefile] Error 1
| make[1]: Leaving directory '/qnx/soc/s32g3/nxp_linux_bsp/bsp38.0/fsl-auto-yocto-bsp/build_s32g399ardb3/tmp/work/cortexa53-crypto-fsl-linux/xen/4.17-r0/git/xen'
| make: *** [Makefile:143: install-xen] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
ERROR: Task (/qnx/soc/s32g3/nxp_linux_bsp/bsp38.0/fsl-auto-yocto-bsp/sources/meta-virtualization/recipes-extended/xen/xen_git.bb:do_install) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3999 tasks of which 3994 didn't need to be rerun and 1 failed.
any hints how to make this work?
Thanks
I am using S32G3 RDB3 board, and according to S32G3_LinuxBSP_38.0_User_Manual, chapter 24.4.4 "How to enable Xen in S32 Linux BSP Build", i need to add this one liner to conf/local.conf:
DISTRO_FEATURES:append = " xen"
and I did that already. Is this what you are referring to above? I can't find any HF1 User Manual doc for S32G274A
Hello,
From Reading i find that my U-boot still misses somes config related to EL2 , enabled with XEN ( also theses config must be enabled using menuconfig ..or/and patch the .config file later )
Boot flow with TF-A from ARM architecture/Select boot flow
Enable Xen EL2 Booting from ARM architecture
You can refer to Section 19.2 of Linux BSP 29.0.0 HF1 User Manual for S32G274A on how to enable Xen in Automotive BSP. The document mentioned above is part of NXP Automotive BSP package available through FLEXERA. Follow https://www.nxp.com/app-autopackagemgr/software-package-manager:AUTO-SW-PACKAGE-MANAGER?_gl=1*ze56kr...
to enter the download procedure. You have to be logged in onto NXP Website and agree to the License..
Regards