Hi, i.MX Virtualization User's Guide
Any idea why this is failing?
0root@imx8mqevk:~# jailhouse enable /usr/share/jailhouse/cells/imx8mq.cell
[ 1372.528225] jailhouse: request_mem_region failed for hypervisor memory.
[ 1372.534954] jailhouse: Did you reserve the memory with "memmap=" or "mem="?
JAILHOUSE_ENABLE: Invalid argument
root@imx8mqevk:~#
解決済! 解決策の投稿を見る。
I worked out the missing step.
During the Linux boot - in the serial terminal it prompts to press a key.
Press a key and this enters U-boot terminal
Then
run jh_mmcboot
etc.
Then this starts the Jailhouse DTB (Device Tree Blob)
Then I run type these commands...
insmod /lib/modules/4.14.98-imx_4.14.98_2.0.0_ga+g1175b59/extra/driver/jailhouse.ko
insmod /lib/modules/4.14.98-imx_4.14.98_2.0.0_ga+g1175b59/extra/driver/uio_ivshmem.ko
jailhouse enable /usr/share/jailhouse/cells/imx8mq.cell
I worked out the missing step.
During the Linux boot - in the serial terminal it prompts to press a key.
Press a key and this enters U-boot terminal
Then
run jh_mmcboot
etc.
Then this starts the Jailhouse DTB (Device Tree Blob)
Then I run type these commands...
insmod /lib/modules/4.14.98-imx_4.14.98_2.0.0_ga+g1175b59/extra/driver/jailhouse.ko
insmod /lib/modules/4.14.98-imx_4.14.98_2.0.0_ga+g1175b59/extra/driver/uio_ivshmem.ko
jailhouse enable /usr/share/jailhouse/cells/imx8mq.cell