How to implement xen-hypervisor in yocto? (LX2160A)

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to implement xen-hypervisor in yocto? (LX2160A)

341件の閲覧回数
peter_kang
Contributor I

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.

タグ(3)
0 件の賞賛
返信
1 返信

308件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

Please connect SD card to your host PC

  1. Please create two partitions with Linux command "fdisk", one 1G FAT16 and 2G one ext2/ext3 or with remainder of the available disk size.
    # mkfs.vfat /dev/sdb1
    # mkfs.ext2 /dev/sdb2
    2. Please deploy rootfs filesystem to SD card in the host PC as the following.
    # mkdir  /temp
    # mount  /dev/sdb2  /temp
    # cd /temp
    # cp  fsl-image-networking-lx2160ardb.tar.gz .
    # tar -xzvf  fsl-image-networking-lx2160ardb.tar.gz
    # rm  fsl-image-networking-lx2160ardb.tar.gz
    Please deploy Kernel Image and the dtb to the /boot folder.
    # cp Image boot
    # cp  fsl-lx2160-rdb-sdk.dtb boot

    Configure the switch setting boot from SD card 

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

0 件の賞賛
返信