Hi,
i am working on enabling the jailhouse hypervisor on imx8qxpc0mek board, i have successfully enabled it.
After running the following command:
jailhouse cell linux /usr/share/jailhouse/cells/imx8qxp-linux-demo.cell /run/media/mmcblk1p1/Image -d /run/media/mmcblk1p1/imx8qxp-mek-inmate.dtb -c "clk_ignore_unused console=ttyLP1,115200 earlycon=ec_imx8q,0x5a070010,115200 root=/dev/mmcblk1p1 rootwait rw"
root@imx8qxpc0mek:~# export PATH=$PATH:/usr/share/jailhouse/tools/
root@imx8qxpc0mek:~# jailhouse cell linux /usr/share/jailhouse/cells/imx8qxp-linux-demo.cell /run/media/mmcblk1p1/Image -d /run/media/mmcblk1p1/imx8qxp-mek-inmate.dtb -c "clk_ignore_unused console=ttyLP1,115200 earlycon=ec_imx8q,0x5a070010,115200 root=/dev/mmcblk1p1 rootwait rw"
[ 118.706548] CPU2: shutdown
[ 118.709275] psci: CPU2 killed (polled 0 ms)
[ 118.774510] CPU3: shutdown
[ 118.777238] psci: CPU3 killed (polled 0 ms)
Adding virtual PCI device 00:00.0 to cell "linux-inmate-demo"
Shared memory connection established, peer cells:
"imx8qxp"
Adding virtual PCI device 00:01.0 to cell "linux-inmate-demo"
Shared memory connection established, peer cells:
"imx8qxp"
Created cell "linux-inmate-demo"
Page pool usage after cell creation: mem 90/992, remap 144/131072
[ 118.818134] Created Jailhouse cell "linux-inmate-demo"
Cell "linux-inmate-demo" can be loaded
Started cell "linux-inmate-demo"
root@imx8qxpc0mek:~# jailhouse cell list
ID Name State Assigned CPUs Failed CPUs
0 imx8qxp running 0-1
1 linux-inmate-demo running 2-3
root@imx8qxpc0mek:~# [ 490.763777] audit: type=1006 audit(1720099801.336:4): pid=876 uid=0 old-auid=4294967295 auid=0 tty=(none) old-ses=4294967295 ses=3 res
The problem is when i open another port(/dev/ttyUSB1) i am not able to the jailhouse logs. i have also checked all other available ports.
Can anyone suggest me here.
Thanks,
sai
Hello,
I think there are serveral issues:
1. console=ttymxc0,115200 in your bootargs, but your inmate boot log show ttymxc1. Note, root cell and inmate not share uart console, inmate just use earlycon for print log on root cell in the beginning.
2. From your boot log, there is no mmcblk2p2, so you not burn eMMC with an valid image.
Regards