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

rpi5 domain creation problem



Hello, 

I successfully installed Xen on rpi5 using buildroot and uboot. 
However, I'm having trouble creating a domain. 
Here is some information about my system.

# xl create /etc/xen/Dom-u1.cfg
Parsing config from /etc/xen/ /Dom-u1.cfg
xc: error: panic: xc_dom_boot.c:120: xc_dom_boot_mem_init: can't allocate low memory for domain: Out of memory
libxl: error: libxl_dom.c:595:libxl__build_dom: xc_dom_boot_mem_init failed: No such file or directory
libxl: error: libxl_create.c:1577:domcreate_rebuild_done: Domain 1:cannot (re-)build domain: -3
libxl: error: libxl_domain.c:1182:libxl__destroy_domid: Domain 1:Non-existant domain
libxl: error: libxl_domain.c:1136:domain_destroy_callback: Domain 1:Unable to destroy guest
libxl: error: libxl_domain.c:1063:domain_destroy_cb: Domain 1:Destruction of domain failed

Domain configuration file:

name = "dom_U1"
type = "pvh"
memory = 128
vspus = 1
maxvscpus = 1
extra = "init=/sbin/init loglevel=1 console=hvc0"
kernel = "/opt/Image"
ramdisk = "/opt/rootfs.ext4"

bcm2712-rpi-5-b.dts file :

#include "arm/broadcom/bcm2712-rpi-5-b.dts"

/{
          chosen {
                       xen,xen-bootargs = "dom0_mem=512M dom0_max_vcpus=1 loglvl=all dom0_vcpus_pin=1 flash=permissive argo=1";
                       xen,dom0-bootargs = "console=hvc0 root=/dev/mmcblk0p2 rootfstype=ext4 loglevel=7 plymouth.ignore-serial-consoles";
                       bootargs = "console=serial1,115200 console=ttyAMA10 root=/dev/mmcblk0p2  rootfstype=ext4 loglevel=7 plymouth.ignore-serial-consoles";
                       
                       #adress-cells = <2>;
                       #size-cells = <2>;

                       dom0 {
                                      compatible = "xen,linux-zimage", "xen,multiboot-module", "multiboot,device-tree";
                                      reg = < 0x0x0x8800000 0x0 0x02000000>;
                       };
           };
 };

I'm sure I'm missing something. I just wanted to know if this is an issue that has been encountered and resolved before. 
If so, any help would be appreciated!

Thank you and best regards, 

Selina.


 


Rackspace

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