On 10.02.20 18:08, Patrick Uven wrote:
Hi all,
I'm currently evaluating the usage of Jailhouse in a project using the
Nvidia Jetson TX1/2 as well as the Xilinx ZCU102. Seeing both in the
list of supported ARM64 boards, I had high hopes to get them running
quite easy.
Using the guide in the Documentation folder I was able to set up the
ZCU102 with Petalinux 2019.2 and Jailhouse 0.12 (and two patches, [0]
and [1]), but can't get any output from the inmates via UART. There was
another person with this problem on the list, but his workaround isn't
working for me.
Not sure which workaround you tried, but of those UARTs work with
non-root Linux but not with bare-metal, it's related to Linux disabling
unused ports and the inmates not having the logic and/or the privileges
to reenable those. "cat /dev/ttyXXX" under root Linux may help then, but
the issue actually requires more proper fixing.
With the Nvidia I'm unable to build the latest versions of Jailhouse and
Linux for Tegra with the problem Saroj Sapkota mentioned a few days ago
on this list. I have a running system with the
"evidence/linux-jailhouse-jetson" fork and kernel 4.4.159, but only on
the TX2 (the TX1 kernel is crashing when enabling jailhouse).
Is there more documentation for possible solutions to these problems? Is
anyone maintaining those targets? I think I can get both setups running
(and possibly provide some updated setup guides), but it would be
interesting if there is still anyone "officially" working on them.
Unfortunately, the above boards are not part of any regular testing,
thus the enablement can indeed regress without being noticed. We test
frequently images generated via jailhouse-images, but even that lacks
automation at this stage (on the to-do list, but that list is lengthy).
Therefore, we depend on contributors doing tests, sending fixes or at
least reporting issues. Obvious issues can then be resolved remotely,
trickier ones are usually not a beginner task, though.
For the boards you mentioned: I don't have any TX1/2 in direct reach,
thus more complications with those. The ZCU102 is in our lab, just no
one here found the time so far to add it to jailhouse-images - which
shouldn't be too hard, given that we support the Ultra96, but it remains
work.
To that comes the desire of some users to take a downstream vendor
kernel. We only support that when really unavoidable (RPi4 for the time
being), but generally only test against latest LTS mainline. Due to
that, some resources may not be properly modeled in the existing configs
because mainline, at the time of enabling, didn't support them yet.
Well, it all boils down to a constantly growing test matrix. In a
community project like this, it's the community that should help filling
unavoidable gaps.
Jan
Regards, Patrick
[0]http://git.kiszka.org/?p=linux.git;a=commitdiff;h=70b17485a56b6ff27f44c531ea382c11194327e2;hp=4be84b9b39b16493e1577544387e0fccc43cc344
[1]http://git.kiszka.org/?p=linux.git;a=commitdiff;h=70b17485a56b6ff27f44c531ea382c11194327e2;hp=4be84b9b39b16493e1577544387e0fccc43cc344
--
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/4cd52364-9c2f-8766-4898-5512a9211217%40siemens.com.