[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] Booting Xen on qemu-arm
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? > I've just built Xen with debugging on and found out the reason why it didn't work: Starting kernel ... - UART enabled - - CPU 00000000 booting - - CPU doesn't support the virtualization extensions - - Boot failed - My command line was: ~/bin/qemu-3.1.0/arm-softmmu/qemu-system-arm -cpu cortex-a15 -machine virt -m 512M -bios u-boot.bin -device loader,file=xen-uImage,force-raw=on,addr=0x46000000 -device loader,file=zImage,addr=0x45000000 -nographic -no-reboot -chardev socket,id=qemu-monitor,host=localhost,port=7777,server,nowait,telnet -mon qemu-monitor,mode=readline I modified if to: -machine virt,gic_version=3 -machine virtualization=true so, now I get further: - 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>; }; I trued to boot with gic_version=2, but also stuck: ... (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. -- Regards, Denis Obrezkov Attachment:
signature.asc _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |