Xen hypervisor on Rock64
#7
Hey,

I know this is an old post but I think the problem is common enough and hard enough to figure.

So when you see this scenario - Xen kernel starting and then just "Starting kernel" with regards to Linux, or not even see the Xen kernel starting.

I went through that last week with a Cubietruck.

It almost always means no more than your output is going to a different or misconfigured or non-existent console.
It does almost never mean there was a failure to execute your kernel.

In my case, I had to _remove_ the whole set of definitions like dtuart, console=dtuart, earlycons et ceterea.
EVERYTHING. just no special setting for Xen, load the correct DTB of course, and for Linux kernel, plain and simple console=hvc0.

From that moment on, I had Xen boot output on serial, then Linux kernel boot output on serial, then Linux console on serial.

There was other issues, mostly Xen vs Kernel vs. xl toolstack mismatches
A non-Xen enabled kernel (alpine-lts iirc) and a few more stupid mishaps.

But the main and most common issue was simply that I could not find any indication it was booting when in fact it was booting (and then failed of course), and that the serial console setup didn't work in the "oh lets do it super perfectly addressing the device from dt" way or any other, but worked perfectly in the default which i had never tried since all instructions very specific about giving a device tree address. Just try not doing that and see how it goes.

There's also reports that some DTB's have pins inverted and stuff like that, I tried reversing tx+rx cables, nope.
The failing setup is more complex than that, but there's no reason (unless you do it commercially) to look into that when you can just not specify it and be done with it.

Best,
Flo
  Reply


Messages In This Thread
Xen hypervisor on Rock64 - by tumbleweed - 05-13-2018, 09:03 PM
RE: Xen hypervisor on Rock64 - by evilbunny - 05-13-2018, 11:40 PM
RE: Xen hypervisor on Rock64 - by tumbleweed - 05-15-2018, 09:41 AM
RE: Xen hypervisor on Rock64 - by sstabellini - 05-17-2018, 07:05 PM
RE: Xen hypervisor on Rock64 - by tumbleweed - 05-19-2018, 02:35 PM
RE: Xen hypervisor on Rock64 - by tumbleweed - 05-23-2018, 09:36 PM
RE: Xen hypervisor on Rock64 - by darkfader - 11-03-2025, 09:25 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  irradium (based on crux linux) Rock64 riscv64, aarch64 mara 10 15,936 11-27-2025, 10:30 AM
Last Post: mara
  Rock64 - not booting after Armbian update helpmerock 6 3,807 03-27-2025, 08:26 AM
Last Post: wdt
  can rock64 4gb ram run entirely on free software? heocb 1 2,413 01-07-2025, 05:47 AM
Last Post: KC9UDX
  Upgrading ancient Rock64 timxjr1300 1 2,530 11-26-2024, 09:47 AM
Last Post: dmitrymyadzelets
  arch rock64 does not boot nemnob 1 3,577 09-20-2024, 11:18 AM
Last Post: AwU2HBg
  DietPi OS for ROCK64 MichaIng 42 70,072 09-01-2024, 06:43 AM
Last Post: RaymondDay
Smile First Lakka image for Rock64! Luke 47 100,857 09-01-2024, 06:05 AM
Last Post: RaymondDay
  Rock64 v2 - did not work song / audio sqw200zu 2 4,547 03-14-2024, 03:09 AM
Last Post: dmitrymyadzelets
  Rock64 won't boot dstallmo 0 2,676 12-27-2023, 10:34 AM
Last Post: dstallmo
  HDMI doesn't work on rock64 Noung1991 1 3,145 11-21-2023, 08:33 AM
Last Post: as365n4

Forum Jump:


Users browsing this thread: 1 Guest(s)