On 01.11.18 09:21, jjzhu1...@gmail.com wrote:
在 2018年11月1日星期四 UTC+8上午10:34:44,jjzh...@gmail.com写道:
在 2018年11月1日星期四 UTC+8上午1:18:59,J. Kiszka写道:
On 31.10.18 08:30, jjzhu wrote:
Hi,

I am trying to run the Jailhouse on UltraZed SOM evaluation board with 
UltraZed-EG IO Carrier Card provided by AVNET.

I followed the manual document "setup-on-zynqmp-zcu102.md" at 
https://github.com/siemens/jailhouse/blob/master/Documentation/setup-on-zynqmp-zcu102.md

I finished the compile of Jailhouse and installed it onto the rootfs.
When I try to enable the Root cell "zynqmp-zcu102.cell", the system just stuck, 
console has no response. and no print output at second UART either.

Attached is the log file of the whole starting procedure.
Could anyone give some hint on what I should modify to make it work?

Thank you in advance!
PetaLinux 2017.4 jh_01 /dev/ttyPS0

jh_01 login: [   10.265514] random: crng init done
root
Password:
root@jh_01:~# modprobe jailhouse
[   22.786682] jailhouse: loading out-of-tree module taints kernel.
root@jh_01:~#
root@jh_01:~#
root@jh_01:~# jailhouse enable zynqmp-zcu102.cell


[...]

[    0.000000] Kernel command line: earlycon clk_ignore_unused earlyprintk 
mem=1536M root=/dev/mmcblk1p2 rw rootfstype=ext4 rootwait

Note that the zcu102 config we have in Jailhouse expects a reservation via the
device tree at 0x80000000 to 0x83fffffff. You likely leave that region in use
and may thus overwrite kernel memory when loading the hypervisor binary.

Jan

--
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux



Hi Jan,

Thank you for your feedback!
I didn't make any reservation in Device tree, just modified the bootargs 
'mem=1536M'
Attached is my device tree.
Where and how should I add the reservation for Jailhouse?

Thank you in advance!

Hi Jan,

I added the following reservation in the zynqmp.dtsi

/memreserve/ 0x800000000 0x40000000

and rebuild the system.
It still stuck at the same place (enabling the root cell)

Attached is the modified zynqmp.dtsi.

Is this the right way to add reservation?
Thank you!


Reservation looks good from here (I don't have the board as reference in reach 
ATM).

Could it be that your kernel has KVM enabled? That must be off.

Jan

--
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 jailhouse-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to