[re-adding the list]
On 10.09.19 12:13, [email protected] wrote:
I tried to include 0xf0000000-0xffffffff in the cell config, and I succeded in
enabling jailhouse in android.
Thanks a lot for the advice. It seems that I had not understood the meaning of
the inmate memory region.
Great that you found a solution! Yes, the cell needs explicit permission. And
the root cell needs that for regions where it is supposed to load inmate
code&data into.
Jan
regards,
Yanqiang Liu
----- 原始邮件 -----
发件人: "Jan Kiszka" <[email protected]>
收件人: "oai" <[email protected]>, "Jailhouse" <[email protected]>
发送时间: 星期一, 2019年 9 月 09日 下午 11:35:48
主题: Re: Using android as root cell facing ESR_EC_IABT_LOW issue
On 09.09.19 14:39, Yanqiang Liu wrote:
Hi,
I am working to enable jailhouse as android being the root cell on imx8mq
platform.
When it comes back to android after the initialization of the hypervisor, I get
the error code 0x20.
Is there any advice for me on debugging?
Basic information is in [1][2].
Initializing Jailhouse hypervisor v0.10 (66-g22170297-dirty) on CPU 0
Code location: 0x0000ffffc0200800
Page pool usage after early setup: mem 39/994, remap 0/131072
Initializing processors:
CPU 0... OK
CPU 1... OK
CPU 3... OK
CPU 2... OK
Initializing unit: irqchip
Initializing unit: ARM SMMU
No SMMU
Initializing unit: PCI
Adding virtual PCI device 00:00.0 to cell "imx8mq"
iommu_config_commit imx8mq
Page pool usage after late setup: mem 61/994, remap 144/131072
Activating hypervisor
FATAL: instruction abort at 0xf7ffe094
An instruction at that guest-physical address cause a second-level translation
failure. Check your root cell config for that address region, if it should be
included, if it is executable.
Jan
FATAL: forbidden access (exception class 0x20)
Cell state before exception:
pc: ffff000001468094 lr: ffff000001468094 spsr: 200001c5 EL1
sp: ffff00000801bf00 esr: 20 1 0000086
x0: 0000000000000000 x1: 0000000000000000 x2: 0000000000000000
x3: 0000000000000000 x4: 0000000000000000 x5: 0000000000000000
x6: 0000000000000000 x7: 0000000000000000 x8: 0000000000000000
x9: 0000000000000000 x10: 0000000000000000 x11: 0000000000000000
x12: 0000000000000000 x13: 0000000000000000 x14: 0000000000000000
x15: 0000000000000000 x16: 0000000000000000 x17: 0000000000000000
x18: 0000000000000000 x19: ffff00000146cc18 x20: 0000000000000000
x21: 0000000000000000 x22: 0000000000000001 x23: 0000000000000000
x24: ffff0000114c3a60 x25: ffff00000949bf48 x26: ffff00000801c000
x27: ffff000009851000 x28: ffff8000774cd400 x29: ffff00000801bf00
Parking CPU 3 (Cell: "imx8mq")
Sincerely,
Yanqiang Liu
[1]
https://events.linuxfoundation.org/sites/events/files/slides/ELCE2016-Jailhouse-Tutorial.pdf
[2] https://youtu.be/7fiJbwmhnRw?list=PLbzoR-pLrL6pRFP6SOywVJWdEHlmQE51q
--
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux
--
You received this message because you are subscribed to the Google Groups
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jailhouse-dev/60657747-0a90-02ac-3fb6-f6951730972d%40siemens.com.