<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to implement xen-hypervisor in yocto? (LX2160A) in Layerscape</title>
    <link>https://community.nxp.com/t5/Layerscape/How-to-implement-xen-hypervisor-in-yocto-LX2160A/m-p/2079727#M15618</link>
    <description>&lt;P&gt;How to implement xen-hypervisor in yocto? (LX2160A)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We have built the SDK using the Yocto environment (Scarthgap branch) following the NXP repository:&lt;BR /&gt;&lt;A href="https://github.com/nxp-qoriq/yocto-sdk" target="_blank" rel="noopener"&gt;https://github.com/nxp-qoriq/yocto-sdk&lt;/A&gt;&lt;/P&gt;&lt;P&gt;After deploying the images to an SD card, we successfully booted the reference board using the guidance provided here:&lt;BR /&gt;&lt;A href="https://community.nxp.com/t5/Layerscape/LX2160-yocto-implement-problem/m-p/1367714" target="_blank" rel="noopener"&gt;https://community.nxp.com/t5/Layerscape/LX2160-yocto-implement-problem/m-p/1367714&lt;/A&gt;&lt;/P&gt;&lt;P&gt;We are now working on integrating the Xen hypervisor.&lt;BR /&gt;To do so, we referred to the following legacy document:&lt;BR /&gt;&lt;A href="https://www.nxp.com/docs/en/application-note/AN13138.pdf" target="_blank" rel="noopener"&gt;https://www.nxp.com/docs/en/application-note/AN13138.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;We have successfully enabled Xen in the Yocto SDK build, based on the instructions in that document.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, the document does not explain how to deploy the Xen-enabled image via SD card.&lt;/P&gt;&lt;P&gt;Could you please provide guidance on how to deploy the Yocto SDK with Xen support using an SD card?&lt;BR /&gt;Alternatively, if there is a better method for deployment, we would appreciate your recommendation.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
    <pubDate>Mon, 14 Apr 2025 07:53:47 GMT</pubDate>
    <dc:creator>peter_kang</dc:creator>
    <dc:date>2025-04-14T07:53:47Z</dc:date>
    <item>
      <title>How to implement xen-hypervisor in yocto? (LX2160A)</title>
      <link>https://community.nxp.com/t5/Layerscape/How-to-implement-xen-hypervisor-in-yocto-LX2160A/m-p/2079727#M15618</link>
      <description>&lt;P&gt;How to implement xen-hypervisor in yocto? (LX2160A)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We have built the SDK using the Yocto environment (Scarthgap branch) following the NXP repository:&lt;BR /&gt;&lt;A href="https://github.com/nxp-qoriq/yocto-sdk" target="_blank" rel="noopener"&gt;https://github.com/nxp-qoriq/yocto-sdk&lt;/A&gt;&lt;/P&gt;&lt;P&gt;After deploying the images to an SD card, we successfully booted the reference board using the guidance provided here:&lt;BR /&gt;&lt;A href="https://community.nxp.com/t5/Layerscape/LX2160-yocto-implement-problem/m-p/1367714" target="_blank" rel="noopener"&gt;https://community.nxp.com/t5/Layerscape/LX2160-yocto-implement-problem/m-p/1367714&lt;/A&gt;&lt;/P&gt;&lt;P&gt;We are now working on integrating the Xen hypervisor.&lt;BR /&gt;To do so, we referred to the following legacy document:&lt;BR /&gt;&lt;A href="https://www.nxp.com/docs/en/application-note/AN13138.pdf" target="_blank" rel="noopener"&gt;https://www.nxp.com/docs/en/application-note/AN13138.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;We have successfully enabled Xen in the Yocto SDK build, based on the instructions in that document.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, the document does not explain how to deploy the Xen-enabled image via SD card.&lt;/P&gt;&lt;P&gt;Could you please provide guidance on how to deploy the Yocto SDK with Xen support using an SD card?&lt;BR /&gt;Alternatively, if there is a better method for deployment, we would appreciate your recommendation.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Apr 2025 07:53:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/How-to-implement-xen-hypervisor-in-yocto-LX2160A/m-p/2079727#M15618</guid>
      <dc:creator>peter_kang</dc:creator>
      <dc:date>2025-04-14T07:53:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to implement xen-hypervisor in yocto? (LX2160A)</title>
      <link>https://community.nxp.com/t5/Layerscape/How-to-implement-xen-hypervisor-in-yocto-LX2160A/m-p/2081589#M15630</link>
      <description>&lt;P&gt;Please connect SD card to your host PC&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Please create two partitions with Linux command "fdisk", one 1G FAT16 and 2G one ext2/ext3 or with remainder of the available disk size.&lt;BR /&gt;# mkfs.vfat /dev/sdb1&lt;BR /&gt;# mkfs.ext2 /dev/sdb2&lt;BR /&gt;2. Please deploy rootfs filesystem to SD card in the host PC as the following.&lt;BR /&gt;# mkdir&amp;nbsp; /temp&lt;BR /&gt;# mount&amp;nbsp; /dev/sdb2&amp;nbsp; /temp&lt;BR /&gt;# cd /temp&lt;BR /&gt;# cp&amp;nbsp;&amp;nbsp;fsl-image-networking-lx2160ardb.tar.gz&amp;nbsp;.&lt;BR /&gt;# tar -xzvf&amp;nbsp;&amp;nbsp;fsl-image-networking-lx2160ardb.tar.gz&lt;BR /&gt;# rm&amp;nbsp;&amp;nbsp;fsl-image-networking-lx2160ardb.tar.gz&lt;BR /&gt;Please deploy Kernel Image and the dtb to the /boot folder.&lt;BR /&gt;# cp&amp;nbsp;Image&amp;nbsp;boot&lt;BR /&gt;# cp&amp;nbsp;&amp;nbsp;fsl-lx2160-rdb-sdk.dtb&amp;nbsp;boot&lt;BR /&gt;&lt;BR /&gt;Configure the switch setting boot from SD card&amp;nbsp;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Plug in the SD card to the target board and power on.&lt;BR /&gt;Set the environment in uboot for SD boot.&lt;/P&gt;
&lt;P&gt;=&amp;gt;&lt;BR /&gt;=&amp;gt; setenv bootcmd 'setenv bootargs root=/dev/mmcblk0p2 rw rootdelay=5 console=ttyAMA0,115200 earlycon=pl011,mmio32,0x21c0000;mmcinfo;mmc read 0x80d00000 0x6800 0x800;&amp;nbsp;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'&lt;BR /&gt;=&amp;gt; saveenv&lt;/P&gt;</description>
      <pubDate>Wed, 16 Apr 2025 08:58:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/How-to-implement-xen-hypervisor-in-yocto-LX2160A/m-p/2081589#M15630</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2025-04-16T08:58:53Z</dc:date>
    </item>
  </channel>
</rss>

