How to implement xen-hypervisor in yocto? (LX2160A)
Hi,
We have built the SDK using the Yocto environment (Scarthgap branch) following the NXP repository:
https://github.com/nxp-qoriq/yocto-sdk
After deploying the images to an SD card, we successfully booted the reference board using the guidance provided here:
https://community.nxp.com/t5/Layerscape/LX2160-yocto-implement-problem/m-p/1367714
We are now working on integrating the Xen hypervisor.
To do so, we referred to the following legacy document:
https://www.nxp.com/docs/en/application-note/AN13138.pdf
We have successfully enabled Xen in the Yocto SDK build, based on the instructions in that document.
However, the document does not explain how to deploy the Xen-enabled image via SD card.
Could you please provide guidance on how to deploy the Yocto SDK with Xen support using an SD card?
Alternatively, if there is a better method for deployment, we would appreciate your recommendation.
Thank you.
Please connect SD card to your host PC
Plug in the SD card to the target board and power on.
Set the environment in uboot for SD boot.
=>
=> setenv bootcmd 'setenv bootargs root=/dev/mmcblk0p2 rw rootdelay=5 console=ttyAMA0,115200 earlycon=pl011,mmio32,0x21c0000;mmcinfo;mmc read 0x80d00000 0x6800 0x800; fsl_mc lazyapply dpl 0x80d00000;ext2load mmc 0:2 0xa0000000 /boot/Image;ext2load mmc 0:2 0xb0000000 /boot/fsl-lx2160a-rdb-sdk.dtb;booti 0xa0000000 - 0xb0000000'
=> saveenv