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

Re: [Xen-users] Booting Xen on qemu-arm





On 03/06/2019 13:22, Denis Obrezkov wrote:
Hi Julien,
This maybe because Xen crashed before the console is setup. You can
compile Xen with earlyprintk.

Can you provide the command line you use to build Xen?

- UART enabled -
- CPU 00000000 booting -
- Xen starting in Hyp mode -
- Zero BSS -
- Setting up control registers -
- Turning on paging -
- Ready -
(XEN) Checking for initrd in /chosen
(XEN) RAM: 0000000040000000 - 000000005fffffff
(XEN)
(XEN) MODULE[0]: 0000000040000000 - 0000000040002000 Device Tree
(XEN) MODULE[1]: 0000000045000000 - 0000000045853200 Kernel
(XEN)  RESVD[0]: 0000000040000000 - 0000000040002000
(XEN)
(XEN) CMDLINE[0000000045000000]:chosen earlyprintk=serial,ttyAMA0
console=ttyAMA0,115200n8 earlycon=xenboot
(XEN)
(XEN) Command line: console=dtuart dtuart=/pl011@9000000
(XEN) Xen heap: 000000005e000000-0000000060000000 (8192 pages)
(XEN) Dom heap: 122880 pages
(XEN) Domain heap initialised
(XEN) Booting using Device Tree
(XEN)
(XEN) ****************************************
(XEN) Panic on CPU 0:
(XEN) Unable to find compatible GIC in the device tree
(XEN) ****************************************
(XEN)
(XEN) Reboot in five seconds...

Though, there is a node from my device tree:

intc@8000000 {
         phandle = <0x00008001>;
         interrupts = <0x00000001 0x00000009 0x00000004>;
         reg = <0x00000000 0x08000000 0x00000000 0x00010000 0x00000000
0x080a0000 0x00000000 0x00f60000>;
         #redistributor-regions = <0x00000001>;
         compatible = "arm,gic-v3";
         ranges;
         #size-cells = <0x00000002>;
         #address-cells = <0x00000002>;
         interrupt-controller;
         #interrupt-cells = <0x00000003>;
     };

Which version of Xen are you using? Also what is the content of xen/.config?


I trued to boot with gic_version=2, but also stuck:

I am not entirely sure if QEMU supports GICv2 virtualization. Stefano, do you remember?


...

(XEN) GICv2: 288 lines, 1 cpu (IID 00000000).
(XEN) Using scheduler: SMP Credit Scheduler rev2 (credit2)
(XEN) Initializing Credit2 scheduler

My guess that here might be a problem with Dom0.

It is too early for having a problem with Dom0. It is most likely due to the configuration of your GIC.

Cheers,

--
Julien Grall

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-users

 


Rackspace

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