jailhouse enable - request_mem_region failed for hypervisor memory.

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

jailhouse enable - request_mem_region failed for hypervisor memory.

ソリューションへジャンプ
1,613件の閲覧回数
neo2
Contributor III

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:~#

0 件の賞賛
返信
1 解決策
1,611件の閲覧回数
neo2
Contributor III

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

 

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
1,612件の閲覧回数
neo2
Contributor III

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

 

0 件の賞賛
返信