[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xen bootup: issue with Raspberry Pi 5?


  • To: xen-users@xxxxxxxxxxxxxxxxxxxx
  • From: Paul Leiber <paul@xxxxxxxxxxxxxxxx>
  • Date: Tue, 1 Jul 2025 22:01:13 +0200
  • Arc-authentication-results: i=1; strato.com; arc=none; dkim=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1751400075; s=strato-dkim-0002; d=strato.com; h=In-Reply-To:From:References:To:Subject:Date:Message-ID:Cc:Date:From: Subject:Sender; bh=Z0iK5HFHVujTrZNY8EGxfaep5KtXLThXLI0CCfXG/+U=; b=OgjVkx3OWSyVrOTY0ZFJC2O2KE7INKFaWwmXzutqx63ho2Eps5Ag+E4JQl9s38v5KA AEo7IEEJoPNr/gz+IB4LipJBpGzvDjG8GCweRkMxHsa2uPAvv/YHdlrTa6xlTW8rgLIY gRhd94W7TtdkLkY2eeas1+6cWQEpYn4SFHORGGpf++P5HOnrrVR7aLDh5W/QQ6MUXZT/ M3G9vuH/EkRSSX/FRQmeVtbVn5aALQx0TFoaQHf2IcdoHamZezIpl6yPprodkhG0QaXu 4YRj/EXhcB9urZaipEkzcOYTe5/HlRpd8PVFVEfXZjLKuW/0Cri60UUtSgMX4JpGsJ1e ufEA==
  • Arc-seal: i=1; a=rsa-sha256; t=1751400075; cv=none; d=strato.com; s=strato-dkim-0002; b=NZbwgUfHcZWa9CvVA7WBmoO34diCgWMD5L+bQP2UyMHuqHQlGg7iw/wAJlqhEI2FAT tVrjBC4VwwjvF3/qbNdMZSz9dQ5zse66RBLcqBPLJJcI7rXij1BHDG1tew2KdqHkklqq kJsn06pDRme1i9EnoenuBfvgK+7Exzt3CtmqhwLv8rJHAabka2qVfhvwZXjnLhMqQ1zu dDbIsSpRs0wYr4lOljm3ryV/dXE3MSdVVnNjZBBUs1WmZjD+fp1MLDRey3Grremom/4U zYBLn11FTQCoD6Y1uPxRTe2IXokMFne/xTwyE3hXfbWL+P5ysUMWjTR6b9MhpRbuU8Bp eg6A==
  • Delivery-date: Tue, 01 Jul 2025 20:02:02 +0000
  • List-id: Xen user discussion <xen-users.lists.xenproject.org>

Hi Sumit,

Unfortunately, I don't have a direct answer to the question (as is so often the case, due to my limited knowledge and experience). However, I am successfully running Xen on a RPi 4 (mostly, except for some VLAN related networking issues).

I used instructions in [1] to install vanilla Debian on the RPi, including UEFI boot and grub. I then compiled Xen with expert options and ACPI enabled.

I don't know if there are better solutions. For example, I suffer from the fact that I2C doesn't work when using UEFI boot on a RPi. Nowadays, Debian provides their own vanilla Debian images for RPi and with working I2C, but these images are using a different boot method that I didn't know how to use with Xen. So far, the procedure described above seems to be the easiest solution for me.

Best regards

Paul


[1] https://forums.raspberrypi.com/viewtopic.php?t=282839

Am 30.06.2025 um 12:35 schrieb Sumit Semwal:
Hello,

Good <time of the day>!

I've just begun to experiment with the Raspberry Pi 5, trying to run a
simple xen + Dom0 setup, using uBoot, and the bookworm based Rpi
distro.

I've tried combinations of the following setup:

1. prebuilt Rpi5 kernel + dtbs, and have also tried to build them from
source [1]
2. Xen from upstream [2] and xen-troops [3]
3. upstream uBoot from [4]

but with the same result: [short log below; I can provide a fuller log
if needed]

(XEN) DT: ** translation for device /axi/msi-controller@1000130000 **
(XEN) DT: bus is default (na=2, ns=2) on /axi
(XEN) DT: translating address:<3> 000000ff<3> fffff000<3>
(XEN) DT: parent bus is default (na=2, ns=1) on /
(XEN) DT: walking ranges...
(XEN) DT: default map, cp=0, s=1000000000, da=fffffff000
(XEN) DT: default map, cp=1000000000, s=100000000, da=fffffff000
(XEN) DT: default map, cp=1400000000, s=400000000, da=fffffff000
(XEN) DT: default map, cp=1800000000, s=400000000, da=fffffff000
(XEN) DT: default map, cp=1c00000000, s=400000000, da=fffffff000
(XEN) DT: not found !
(XEN) Unable to retrieve address 1 for /axi/msi-controller@1000130000
(XEN) Device tree generation failed (-22).
(XEN) debugtrace_dump() global buffer starting
1 cpupool_create(pool=0,sched=6)
2 Created cpupool 0 with scheduler SMP Credit Scheduler rev2 (credit2)
3 cpupool_add_domain(dom=0,pool=0) n_dom 1 rc 0
(XEN) wrap: 0
(XEN) debugtrace_dump() global buffer finished
(XEN)
(XEN) ****************************************
(XEN) Panic on CPU 0:
(XEN) Could not set up DOM0 guest OS (rc = -22)
(XEN) ****************************************


I'm certain I'm missing something, but before I delve deeper, I just
wanted to ask if this is a known issue, and if so, are there any
workarounds or solutions available for this?

Any help about this is highly appreciated!

Thanks and Best regards,
Sumit.

[1]:  https://github.com/raspberrypi/linux rpi-6.12.y branch
[2]: git://xenbits.xen.org/xen.git - main branch
[3] xen-troops https://github.com/xen-troops/xen - rpi5_dev branch
[4]: https://github.com/u-boot/u-boot.git master branch





 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.