<?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 LCD display in jailhouse inmate in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/LCD-display-in-jailhouse-inmate/m-p/1429024#M188266</link>
    <description>&lt;P&gt;I have an imx8mp based custom board.&lt;/P&gt;&lt;P&gt;I'm trying jailhouse hypervisor in it. I followed&amp;nbsp;IMXVIRTUG_ga and I'm able to run a Linux demo in jailhouse inmates. now I want to bring up one LCD to the inmate.&lt;/P&gt;&lt;P&gt;Here are my hardware details&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2022-03-10 145026.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/173031i37E8E62B4253EE6F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2022-03-10 145026.png" alt="Screenshot 2022-03-10 145026.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Here I would like to use the second display in inmate Linux. So I disabled the LCDIF1 (second display) and the&amp;nbsp; i2c3 (where touch screen controller is connected) in root cell dtb and enabled them in the im8mp-evk-inmate.dts file (i have attached the inmate DTS file)&lt;/P&gt;&lt;P&gt;I booted inmate Linux &lt;EM&gt;(used same kernel and rootfs of root cell)&lt;/EM&gt;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;root@imx8:~# jailhouse cell linux /usr/share/jailhouse/cells/imx8mp-linux-demo.cell /boot/Image -d /run/media/mmcblk1p1/imx8mp-evk-inmate.dtb -c "clk_ignore_unused  earlycon=ec_imx6q,0x30890000,115200  root=/dev/mmcblk2p1 rootwait rw"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then i entered inmate console via ssh and tried weston-terminal &lt;EM&gt;(a GUI terminal) and got the&amp;nbsp; following error&lt;/EM&gt;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;root@imx8-inmate:~# weston-terminal 
\failed to connect to Wayland display: No such file or directory
failed to create display: No such file or directory&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so I checked the &lt;STRONG&gt;dmesg&lt;/STRONG&gt; and found the following&lt;/P&gt;&lt;LI-CODE lang="c"&gt;root@imx8-inmate:~# dmesg | grep fail
[    0.103303] imx8mp-ccm: probe of 30380000.clock-controller failed with error -12
[    0.108039] imx-uart 30a60000.serial: failed to get alias id, errno -19
[    0.125631] imx-cpufreq-dt: probe of imx-cpufreq-dt failed with error -2
[    0.177336] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    0.474714] cfg80211: failed to load regulatory.db
&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can see that the LCDIF and MIPI_DSI&amp;nbsp; nodes are populated at /sys/devices/platform/soc@0/32c00000.bus/&lt;/P&gt;&lt;LI-CODE lang="c"&gt;root@imx8-inmate:~# ls  /sys/devices/platform/soc@0/32c00000.bus/
32e60000.mipi_dsi  32e80000.lcd-controller  32ec0000.blk-ctl  consumers  driver_override  modalias  of_node  power  subsystem  suppliers  uevent&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;any idea why this is happening?&lt;/P&gt;&lt;P&gt;am I missing anything in inmate.cell&lt;EM&gt; (attached .c inmate config file)&lt;/EM&gt; configuration or any clock or pin config in inmate.dtb file ?&lt;/P&gt;</description>
    <pubDate>Wed, 16 Mar 2022 06:49:20 GMT</pubDate>
    <dc:creator>slimSHA</dc:creator>
    <dc:date>2022-03-16T06:49:20Z</dc:date>
    <item>
      <title>LCD display in jailhouse inmate</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/LCD-display-in-jailhouse-inmate/m-p/1429024#M188266</link>
      <description>&lt;P&gt;I have an imx8mp based custom board.&lt;/P&gt;&lt;P&gt;I'm trying jailhouse hypervisor in it. I followed&amp;nbsp;IMXVIRTUG_ga and I'm able to run a Linux demo in jailhouse inmates. now I want to bring up one LCD to the inmate.&lt;/P&gt;&lt;P&gt;Here are my hardware details&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2022-03-10 145026.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/173031i37E8E62B4253EE6F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2022-03-10 145026.png" alt="Screenshot 2022-03-10 145026.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Here I would like to use the second display in inmate Linux. So I disabled the LCDIF1 (second display) and the&amp;nbsp; i2c3 (where touch screen controller is connected) in root cell dtb and enabled them in the im8mp-evk-inmate.dts file (i have attached the inmate DTS file)&lt;/P&gt;&lt;P&gt;I booted inmate Linux &lt;EM&gt;(used same kernel and rootfs of root cell)&lt;/EM&gt;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;root@imx8:~# jailhouse cell linux /usr/share/jailhouse/cells/imx8mp-linux-demo.cell /boot/Image -d /run/media/mmcblk1p1/imx8mp-evk-inmate.dtb -c "clk_ignore_unused  earlycon=ec_imx6q,0x30890000,115200  root=/dev/mmcblk2p1 rootwait rw"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then i entered inmate console via ssh and tried weston-terminal &lt;EM&gt;(a GUI terminal) and got the&amp;nbsp; following error&lt;/EM&gt;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;root@imx8-inmate:~# weston-terminal 
\failed to connect to Wayland display: No such file or directory
failed to create display: No such file or directory&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so I checked the &lt;STRONG&gt;dmesg&lt;/STRONG&gt; and found the following&lt;/P&gt;&lt;LI-CODE lang="c"&gt;root@imx8-inmate:~# dmesg | grep fail
[    0.103303] imx8mp-ccm: probe of 30380000.clock-controller failed with error -12
[    0.108039] imx-uart 30a60000.serial: failed to get alias id, errno -19
[    0.125631] imx-cpufreq-dt: probe of imx-cpufreq-dt failed with error -2
[    0.177336] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    0.474714] cfg80211: failed to load regulatory.db
&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can see that the LCDIF and MIPI_DSI&amp;nbsp; nodes are populated at /sys/devices/platform/soc@0/32c00000.bus/&lt;/P&gt;&lt;LI-CODE lang="c"&gt;root@imx8-inmate:~# ls  /sys/devices/platform/soc@0/32c00000.bus/
32e60000.mipi_dsi  32e80000.lcd-controller  32ec0000.blk-ctl  consumers  driver_override  modalias  of_node  power  subsystem  suppliers  uevent&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;any idea why this is happening?&lt;/P&gt;&lt;P&gt;am I missing anything in inmate.cell&lt;EM&gt; (attached .c inmate config file)&lt;/EM&gt; configuration or any clock or pin config in inmate.dtb file ?&lt;/P&gt;</description>
      <pubDate>Wed, 16 Mar 2022 06:49:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/LCD-display-in-jailhouse-inmate/m-p/1429024#M188266</guid>
      <dc:creator>slimSHA</dc:creator>
      <dc:date>2022-03-16T06:49:20Z</dc:date>
    </item>
  </channel>
</rss>

