On 04.06.20 00:19, jorgeluis.martinezgarc...@gmail.com wrote:
> Hi,
> I forgot to mention that I am using Jailhouse v0.9.1 and hence the

What's the reason for that old version?

> actual config and dts files are
> https://github.com/siemens/jailhouse/blob/v0.9.1/configs/arm64/dts/inmate-zynqmp-zcu102-2.dts
> and
> https://github.com/siemens/jailhouse/blob/v0.9.1/configs/arm64/zynqmp-zcu102-linux-demo-2.c.
> 
> Jorge
> 
> On Thursday, June 4, 2020 at 12:05:23 AM UTC+2, Martinez Garcia, Jorge
> Luis wrote:
> 
>     Dear all,
> 
>     I am trying to have three Linux instances on the ZCU102 ZynqMP
>     Ultrascale+ (The root cell and two guests). I followed the steps
>     specified in
>     
> https://github.com/siemens/jailhouse/blob/master/Documentation/setup-on-zynqmp-zcu102.md
>     
> <https://github.com/siemens/jailhouse/blob/master/Documentation/setup-on-zynqmp-zcu102.md>
>     and have two Linux instances successfully running on the board.
>     However, when adding a third Linux guest, I do not see the kernel
>     booting in the Jailhouse console:
> 
> 
>     root@xilinx-zcu102-2018_3:~/LinuxGuest2# jailhouse cell linux
>     zynqmp-zcu102-linux-demo-2.cell Image -d inmate-zynqmp-zcu102-2.dtb
>     -i rootfs.cpio -c "console=jailhouse,115200"
> 
>     root@xilinx-zcu102-2018_3:~/LinuxGuest2# jailhouse console -f
> 
>     Adding virtual PCI device 00:02.0 to cell "ZynqMP-linux-demo-2"
>     Shared memory connection established: "ZynqMP-linux-demo-2" <-->
>     "ZynqMP-linux-demo"
>     Created cell "ZynqMP-linux-demo-2"
>     Page pool usage after cell creation: mem 77/995, remap 69/131072
>     Cell "ZynqMP-linux-demo-2" can be loaded
>     Started cell "ZynqMP-linux-demo-2"
> 
> 
>     root@xilinx-zcu102-2018_3:~/LinuxGuest2# jailhouse cell list
>     ID      Name                    State             Assigned
>     CPUs           Failed CPUs             
>     0       ZynqMP-ZCU102           running          
>     0                                               
>     1       ZynqMP-linux-demo       running          
>     2-3                                             
>     2       ZynqMP-linux-demo-2     running           1
> 
>     The config file of ZynqMP-linux-demo-2
>     is 
> https://github.com/siemens/jailhouse/blob/master/configs/arm64/zynqmp-zcu102-linux-demo-2.c
>     
> <https://github.com/siemens/jailhouse/blob/master/configs/arm64/zynqmp-zcu102-linux-demo-2.c>
>     (as you can see the flag JAILHOUSE_CELL_DEBUG_CONSOLE is present)
> 
>     and its corresponding dts file is
>     
> https://github.com/siemens/jailhouse/blob/master/configs/arm64/dts/inmate-zynqmp-zcu102-2.dts
>     
> <https://github.com/siemens/jailhouse/blob/master/configs/arm64/dts/inmate-zynqmp-zcu102-2.dts>
> 
> 
>     While the three instances are supposed to be running, as shown by
>     jailhouse cell list, I do not see the third Linux booting. Has any
>     of you faced a similar issue?
> 

The second non-root Linux is headless because the UART is already used
by the first non-root Linux. If the cell is running, you can ssh to it,
though. If it is not running, debugging would be possible via the
hypervisor console for Linux [1] ("console=jailhouse").

Jan

[1]
http://git.kiszka.org/?p=linux.git;a=commitdiff;h=226048c260672f16e1e3eea894a1131c6d07b690

-- 
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 jailhouse-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jailhouse-dev/344734c5-3b91-b00d-e00e-a5d2f6377b5d%40siemens.com.

Reply via email to