<?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 Re: Issue with Jailhouse hypervisor Guest/Inmate os Login failure for i.MX8MQ in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Issue-with-Jailhouse-hypervisor-Guest-Inmate-os-Login-failure/m-p/2125444#M238844</link>
    <description>&lt;P&gt;We followed the Rev. LF5.15.71_2.2.0 — 16 December 2022 i.MX Yocto Project User’s Guide and completed the following steps:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Installed the required host packages&lt;BR /&gt;2. Set up the Repo utility&lt;BR /&gt;3. Performed the Yocto Project setup&lt;BR /&gt;------------------------------------------&lt;BR /&gt;$ mkdir imx-yocto-bsp&lt;BR /&gt;$ cd imx-yocto-bsp&lt;BR /&gt;$ repo init -u &lt;A title="https://github.com/nxp-imx/imx-manifest" href="https://github.com/nxp-imx/imx-manifest" target="_blank" rel="noreferrer noopener"&gt;https://github.com/nxp-imx/imx-manifest&lt;/A&gt; -b imx-linux-kirkstone -m imx-5.15.71-2.2.0.xml&lt;BR /&gt;$ repo sync&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;4. Built the images&lt;BR /&gt;---------------------&lt;BR /&gt;$ DISTRO=fsl-imx-wayland MACHINE=imx8mqevk source imx-setup-release.sh -b build&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$ bitbake -k imx-image-full (GUI full image)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$ bitbake -k fsl-image-machine-test (minimal image)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We built two images: one minimal Linux image and one GUI-based image. The minimal image was flashed to the eMMC, while the GUI image was flashed to an SD card.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Steps followed to bringup jailhouse hypervisor&lt;BR /&gt;------------------------------------------------&lt;BR /&gt;1) Boot SD card image &amp;amp; interrupt at u-boot and ran the command ‘run jh_mmcboot’.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) Once image is up, Loaded jailhouse kernel object&lt;BR /&gt;  $ modprobe jailhouse&lt;BR /&gt;&lt;BR /&gt;3) Enable jailhouse hypervisor&lt;BR /&gt;  $ jailhouse enable /usr/share/jailhouse/cells/imx8mq.cell&lt;BR /&gt;&lt;BR /&gt;4) Check if imx8mq cell created &amp;amp; running by below command&lt;BR /&gt;  $ jailhouse cell list&lt;BR /&gt;&lt;BR /&gt;5) $ export PATH=$PATH:/usr/share/jailhouse/tools/&lt;BR /&gt;&lt;BR /&gt;6) Open other serial terminal with /dev/ttyUSB1 for non-root linux. Run below command to start linux cell with image, dtb &amp;amp; mmcblk device of emmc.&lt;BR /&gt;  $ jailhouse cell linux /usr/share/jailhouse/cells/imx8mq-linux-demo.cell /run/media/boot-mmcblk1p1/Image -d /run/media/boot-mmcblk1p1/imx8mq-evk-inmate.dtb -c "clk_ignore_unused console=ttymxc1,115200 earlycon=ec_imx6q,0x30860000,115200 root=/dev/mmcblk2p2 rootwait rw"&lt;BR /&gt;&lt;BR /&gt;7) Now 2nd image of emmc will bootup up in another console (/dev/ttyUSB1).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, we have 2 images up in imx8mq-evk at the same time.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Note:-&amp;nbsp;&lt;/P&gt;&lt;P&gt;The sizes of both the GUI and core minimal images are around 2GB. As it's likely not possible to upload files of this size here due to limitations, please let us know if there's any shared drive or link available from your side. We can upload the images there instead.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 30 Jun 2025 07:52:01 GMT</pubDate>
    <dc:creator>sumiteca09</dc:creator>
    <dc:date>2025-06-30T07:52:01Z</dc:date>
    <item>
      <title>Issue with Jailhouse hypervisor Guest/Inmate os Login failure for i.MX8MQ</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Issue-with-Jailhouse-hypervisor-Guest-Inmate-os-Login-failure/m-p/2124687#M238794</link>
      <description>&lt;P&gt;We have successfully enabled the Jailhouse hypervisor and launched a minimal Linux guest (non-root cell) on the NXP i.MX8MQ EVK platform using the Yocto-based 5.15 Kirkstone release&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) Jailhouse module loaded and hypervisor successfully enabled&lt;BR /&gt;2) Memory reserved for hypervisor via U-Boot&lt;BR /&gt;3) linux-inmate.cell created&amp;nbsp;&lt;BR /&gt;4) Guest Linux kernel and rootfs booted in the non-root cell&lt;BR /&gt;5) Log messages confirm that the Linux inmate boots up and starts serial getty on ttymxc1:&lt;BR /&gt;Started Serial Getty on ttymxc1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Current Issue: &lt;STRONG&gt;Console Login Failure on Guest OS&amp;nbsp;&lt;/STRONG&gt;(Image Attached)&lt;BR /&gt;-----------------------------------------------------&lt;BR /&gt;Although the guest Linux is running and getty is started on /dev/ttymxc1, keyboard input and mouse input (via UART) is not working.&lt;BR /&gt;However, input/output works fine on ttymxc0 (used by the root cell).&lt;BR /&gt;&lt;BR /&gt;Please provide solution&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jun 2025 09:35:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Issue-with-Jailhouse-hypervisor-Guest-Inmate-os-Login-failure/m-p/2124687#M238794</guid>
      <dc:creator>sumiteca09</dc:creator>
      <dc:date>2025-06-27T09:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Jailhouse hypervisor Guest/Inmate os Login failure for i.MX8MQ</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Issue-with-Jailhouse-hypervisor-Guest-Inmate-os-Login-failure/m-p/2125173#M238834</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/241474"&gt;@sumiteca09&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Please attach image here.&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Zhiming&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jun 2025 00:57:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Issue-with-Jailhouse-hypervisor-Guest-Inmate-os-Login-failure/m-p/2125173#M238834</guid>
      <dc:creator>Zhiming_Liu</dc:creator>
      <dc:date>2025-06-30T00:57:56Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Jailhouse hypervisor Guest/Inmate os Login failure for i.MX8MQ</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Issue-with-Jailhouse-hypervisor-Guest-Inmate-os-Login-failure/m-p/2125444#M238844</link>
      <description>&lt;P&gt;We followed the Rev. LF5.15.71_2.2.0 — 16 December 2022 i.MX Yocto Project User’s Guide and completed the following steps:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Installed the required host packages&lt;BR /&gt;2. Set up the Repo utility&lt;BR /&gt;3. Performed the Yocto Project setup&lt;BR /&gt;------------------------------------------&lt;BR /&gt;$ mkdir imx-yocto-bsp&lt;BR /&gt;$ cd imx-yocto-bsp&lt;BR /&gt;$ repo init -u &lt;A title="https://github.com/nxp-imx/imx-manifest" href="https://github.com/nxp-imx/imx-manifest" target="_blank" rel="noreferrer noopener"&gt;https://github.com/nxp-imx/imx-manifest&lt;/A&gt; -b imx-linux-kirkstone -m imx-5.15.71-2.2.0.xml&lt;BR /&gt;$ repo sync&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;4. Built the images&lt;BR /&gt;---------------------&lt;BR /&gt;$ DISTRO=fsl-imx-wayland MACHINE=imx8mqevk source imx-setup-release.sh -b build&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$ bitbake -k imx-image-full (GUI full image)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$ bitbake -k fsl-image-machine-test (minimal image)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We built two images: one minimal Linux image and one GUI-based image. The minimal image was flashed to the eMMC, while the GUI image was flashed to an SD card.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Steps followed to bringup jailhouse hypervisor&lt;BR /&gt;------------------------------------------------&lt;BR /&gt;1) Boot SD card image &amp;amp; interrupt at u-boot and ran the command ‘run jh_mmcboot’.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) Once image is up, Loaded jailhouse kernel object&lt;BR /&gt;  $ modprobe jailhouse&lt;BR /&gt;&lt;BR /&gt;3) Enable jailhouse hypervisor&lt;BR /&gt;  $ jailhouse enable /usr/share/jailhouse/cells/imx8mq.cell&lt;BR /&gt;&lt;BR /&gt;4) Check if imx8mq cell created &amp;amp; running by below command&lt;BR /&gt;  $ jailhouse cell list&lt;BR /&gt;&lt;BR /&gt;5) $ export PATH=$PATH:/usr/share/jailhouse/tools/&lt;BR /&gt;&lt;BR /&gt;6) Open other serial terminal with /dev/ttyUSB1 for non-root linux. Run below command to start linux cell with image, dtb &amp;amp; mmcblk device of emmc.&lt;BR /&gt;  $ jailhouse cell linux /usr/share/jailhouse/cells/imx8mq-linux-demo.cell /run/media/boot-mmcblk1p1/Image -d /run/media/boot-mmcblk1p1/imx8mq-evk-inmate.dtb -c "clk_ignore_unused console=ttymxc1,115200 earlycon=ec_imx6q,0x30860000,115200 root=/dev/mmcblk2p2 rootwait rw"&lt;BR /&gt;&lt;BR /&gt;7) Now 2nd image of emmc will bootup up in another console (/dev/ttyUSB1).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, we have 2 images up in imx8mq-evk at the same time.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Note:-&amp;nbsp;&lt;/P&gt;&lt;P&gt;The sizes of both the GUI and core minimal images are around 2GB. As it's likely not possible to upload files of this size here due to limitations, please let us know if there's any shared drive or link available from your side. We can upload the images there instead.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jun 2025 07:52:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Issue-with-Jailhouse-hypervisor-Guest-Inmate-os-Login-failure/m-p/2125444#M238844</guid>
      <dc:creator>sumiteca09</dc:creator>
      <dc:date>2025-06-30T07:52:01Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Jailhouse hypervisor Guest/Inmate os Login failure for i.MX8MQ</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Issue-with-Jailhouse-hypervisor-Guest-Inmate-os-Login-failure/m-p/2126036#M238875</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/241474"&gt;@sumiteca09&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is command for uart2(0x30890000, ttymxc0).&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;jailhouse cell linux /usr/share/jailhouse/cells/imx8mq-linux-demo.cell /run/media/boot-mmcblk1p1/Image -d /run/media/boot-mmcblk1p1/imx8mq-evk-inmate.dtb -c "clk_ignore_unused console=ttymxc0,115200 earlycon=ec_imx6q,0x30890000,1115200 root=/dev/mmcblk2p2 rootwait rw"
&lt;/LI-CODE&gt;
&lt;P&gt;If you use below command, the log will show at current console.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;jailhouse cell linux /usr/share/jailhouse/cells/imx8mq-linux-demo.cell /run/media/boot-mmcblk1p1/Image -d /run/media/boot-mmcblk1p1/imx8mq-evk-inmate.dtb -c "clk_ignore_unused console=ttymxc1,115200 earlycon=ec_imx6q,0x30860000,1115200 root=/dev/mmcblk2p2 rootwait rw"&lt;/LI-CODE&gt;
&lt;P&gt;Please try to use core-image-base in emmc, i don' t see login issue.&lt;BR /&gt;&lt;BR /&gt;And why you need&amp;nbsp;&lt;SPAN&gt;/dev/ttyUSB1? the console you used in jailhouse is&amp;nbsp;ttymxc1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Zhiming&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jul 2025 05:14:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Issue-with-Jailhouse-hypervisor-Guest-Inmate-os-Login-failure/m-p/2126036#M238875</guid>
      <dc:creator>Zhiming_Liu</dc:creator>
      <dc:date>2025-07-01T05:14:59Z</dc:date>
    </item>
  </channel>
</rss>

