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

[Xen-devel] ARM: EXYNOS 5410 - DOM0 not being scheduled


  • To: xen-devel@xxxxxxxxxxxxx
  • From: Suriyan Ramasami <suriyan.r@xxxxxxxxx>
  • Date: Sat, 15 Mar 2014 07:44:01 -0700
  • Delivery-date: Sat, 15 Mar 2014 14:44:40 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>

Hello Friends,
   I have been trying to get DOM0 to run on XEN on teh odroid-xu
(Exynos 5410). xen boots up in hyp mode. I can get all 4 CPU cores to
come up. Confirmed that the Arch generic timer is ticking (note the
output of the timer and the reread of the same timer for different
values). Any pointers on where I should concentrate on to debug would
be helpful. I do see that softirq_haldler[1] is never called which is
the call to schedule().

I am posting the full boot logs. Any help is appreciated.
Thanks
- Suriyan

U-Boot 2012.07-g612e625-dirty (Mar 14 2014 - 17:57:52) for Exynos5410

CPU: Exynos5410 Rev2.3 [Samsung SOC on SMP Platform Base on ARM CortexA15]
APLL = 900MHz, KPLL = 600MHz
MPLL = 532MHz, BPLL = 800MHz
DRAM:  2 GiB
WARNING: Caches not enabled

TrustZone Enabled BSP
BL1 version:
PMIC VER : 0, CHIP REV : 6
VDD MIF : 1.00000V
VDD ARM : 1.00000V
VDD INT : 1.00000V
VDD G3D : 1.00000V
VDD KFC : 1.00000V

Checking Boot Mode ... SDMMC
MMC:   S5P_MSHC2: 0, S5P_MSHC0: 1
MMC Device 0: 7.4 GiB
MMC Device 1: [ERROR] response error : 00000006 cmd 8
[ERROR] response error : 00000006 cmd 55
[ERROR] response error : 00000006 cmd 2
In:    serial
Out:   serial
Err:   serial
Net:   No ethernet found.
Press 'Enter' or 'Space' to stop autoboot:  0
there are pending interrupts 0x00000001
reading boot.ini

2555 bytes read
Loading boot.ini from FAT
Find boot.ini file from FAT/Ext4 Area!!
boot.ini command = echo fatload mmc 0:1 $kernel_addr_r $kernel_path
fatload mmc 0:1 0x50000000 linux3.13-zimage
boot.ini command = fatload mmc 0:1 $kernel_addr_r $kernel_path
reading linux3.13-zimage

4688744 bytes read
boot.ini command = echo setenv linux_size 0x$filesize
setenv linux_size 0x478B68
boot.ini command = setenv linux_size 0x$filesize
boot.ini command = echo fatload mmc 0:1 $xen_addr_r $xen_path
fatload mmc 0:1 0x41000000 xen4.4-uImage
boot.ini command = fatload mmc 0:1 $xen_addr_r $xen_path
reading xen4.4-uImage

656208 bytes read
boot.ini command = echo fatload mmc 0:1 $dtb_addr_r $dtb_path
fatload mmc 0:1 0x60000000 /exynos5410-odroidxu.dtb
boot.ini command = fatload mmc 0:1 $dtb_addr_r $dtb_path
reading /exynos5410-odroidxu.dtb

26961 bytes read
boot.ini command = fdt addr $dtb_addr_r
boot.ini command = fdt resize
boot.ini command = fdt set /chosen \#address-cells <1>
boot.ini command = fdt set /chosen \#size-cells <1>
boot.ini command = fdt set /chosen xen,xen-bootargs \"$xen_bootargs\"
boot.ini command = fdt set /chosen bootargs \"$xen_bootargs\"
boot.ini command = fdt mknod /chosen module@0
boot.ini command = fdt set /chosen/module@0 compatible
"xen,linux-zimage" "xen,multiboot-module"
boot.ini command = fdt set /chosen/module@0 reg <${kernel_addr_r} ${linux_size}>
boot.ini command = fdt set /chosen/module@0 bootargs \"$dom0_bootargs\"
boot.ini command = fdt list /chosen
chosen {
    xen,xen-bootargs = "dom0_mem=512M console=dtuart
dtuart=/serial@12C20000 earlyprintk=xen";
    #size-cells = <0x1>;
    #address-cells = <0x1>;
    bootargs = "dom0_mem=512M console=dtuart dtuart=/serial@12C20000
earlyprintk=xen";
    module@0 {
    };
};
boot.ini command = fdt print /chosen
chosen {
    xen,xen-bootargs = "dom0_mem=512M console=dtuart
dtuart=/serial@12C20000 earlyprintk=xen";
    #size-cells = <0x1>;
    #address-cells = <0x1>;
    bootargs = "dom0_mem=512M console=dtuart dtuart=/serial@12C20000
earlyprintk=xen";
    module@0 {
        bootargs = "console=hvc0,115200n8 root=/dev/mmcblk0p2 rw
rootwait earlyprintk=xen console=ttySAC2,115200n8 mem=512M
initcall_debug debug loglevel=10 psci=enable clk_ignore_unused";
        reg = <0x50000000 0x478b68>;
        compatible = "xen,linux-zimage", "xen,multiboot-module";
    };
};
boot.ini command = bootm $xen_addr_r - $dtb_addr_r
## Booting kernel from Legacy Image at 41000000 ...
   Image Name:
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    656144 Bytes = 640.8 KiB
   Load Address: 80200000
   Entry Point:  80200000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 60000000
   Booting using the fdt blob at 0x60000000
   Loading Kernel Image ... OK
OK
   reserving fdt memory region: addr=60000000 size=7000
   Using Device Tree in place at 60000000, end 60009fff
CPU0: Power: 3 status: 3
CPU0: Power: 3 status: 3 Its powered on!
CPU1: Power: 0 status: 0
CPU1: Power: 3 status: 0 Its powered on!
CPU2: Power: 0 status: 0
CPU2: Power: 3 status: 0 Its powered on!
CPU3: Power: 0 status: 0
CPU3: Power: 3 status: 0 Its powered on!
The MCT timer is now on - Arch timer will start counting

Starting kernel ...

.- UART enabled -
- CPU 00000000 booting -
- Xen starting in Hyp mode -
- Zero BSS -
- Setting up control registers -
- Turning on paging -
- Ready -
Checking for initrd in /chosen
RAM: 0000000040000000 - 000000004fffffff
RAM: 0000000050000000 - 000000005fffffff
RAM: 0000000060000000 - 000000006fffffff
RAM: 0000000070000000 - 000000007fffffff
RAM: 0000000080000000 - 000000008fffffff
RAM: 0000000090000000 - 000000009fffffff
RAM: 00000000a0000000 - 00000000afffffff
RAM: 00000000b0000000 - 00000000bfdfffff

MODULE[1]: 0000000060000000 - 000000006000a000
MODULE[2]: 0000000050000000 - 0000000050478b68 console=hvc0,115200n8
root=/dev/mmcblk0p2 rw rootwait earlyprintk=xen
console=ttySAC2,115200n8 mem=512M initcall_debug debug loglevel=10
psci=enable clk_ignore_unused
 RESVD[0]: 0000000060000000 - 0000000060007000

Command line: dom0_mem=512M console=dtuart dtuart=/serial@12C20000
earlyprintk=xen
Placing Xen at 0x00000000bfc00000-0x00000000bfe00000
Xen heap: 00000000ae000000-00000000be000000 (65536 pages)
Dom heap: 458240 pages
 Xen 4.4.0r UART console /serial@12C20000
(XEN) Xen version 4.4.0 (suriyan@) (arm-linux-gcc (Buildroot 2014.02)
4.7.3) debug=y Sat Mar 15 07:40:02 PDT 2014
(XEN) Latest ChangeSet:
(XEN) Processor: 412fc0f3: "ARM Limited", variant: 0x2, part 0xc0f, rev 0x3
(XEN) 32-bit Execution:
(XEN)   Processor Features: 00001131:00011011
(XEN)     Instruction Sets: AArch32 Thumb Thumb-2 ThumbEE Jazelle
(XEN)     Extensions: GenericTimer Security
(XEN)   Debug Features: 02010555
(XEN)   Auxiliary Features: 00000000
(XEN)   Memory Model Features: 10201105 20000000 01240000 02102211
(XEN)  ISA Features: 02101110 13112111 21232041 11112131 10011142 00000000
(XEN) Platform: SAMSUNG EXYNOS5
(XEN) Set SYSRAM to 00000000bfc0004c (0020004c)
(XEN) Generic Timer IRQ: phys=30 hyp=26 virt=27
(XEN) Using generic timer at 24000 KHz
(XEN) boot_count: 47899952 reread: 47982870
(XEN) GIC initialization:
(XEN)         gic_dist_addr=0000000010481000
(XEN)         gic_cpu_addr=0000000010482000
(XEN)         gic_hyp_addr=0000000010484000
(XEN)         gic_vcpu_addr=0000000010486000
(XEN)         gic_maintenance_irq=25
(XEN) GIC: 256 lines, 8 cpus, secure (IID 0200043b).
(XEN) softirq_handlers[4] set
(XEN) softirq_handlers[0] set
(XEN) softirq_handlers[1] set
(XEN) Using scheduler: SMP Credit Scheduler (credit)
(XEN) softirq_handlers[3] set
(XEN) Allocated console ring of 32 KiB.
(XEN) VFP implementer 0x41 architecture 4 part 0x30 variant 0xf rev 0x0
(XEN) Bringing up CPU1
- CPU 00000001 booting -
- Xen starting in Hyp mode -
- Setting up control registers -
- Turning on paging -
- Ready -
(XEN) CPU 1 booted.
(XEN) Bringing up CPU2
- CPU 00000002 booting -
- Xen starting in Hyp mode -
- Setting up control registers -
- Turning on paging -
- Ready -
(XEN) CPU 2 booted.
(XEN) Bringing up CPU3
- CPU 00000003 booting -
- Xen starting in Hyp mode -
- Setting up control registers -
- Turning on paging -
- Ready -
(XEN) CPU 3 booted.
(XEN) Brought up 4 CPUs
(XEN) *** LOADING DOMAIN 0 ***
(XEN) Populate P2M 0x80000000->0xa0000000 (1:1 mapping for dom0)
(XEN) Loading kernel from boot module 2
(XEN) Loading zImage from 0000000050000000 to 0000000087a00000-0000000087e78b68
(XEN) Loading dom0 DTB to 0x0000000088000000-0x00000000880067c9
(XEN) Scrubbing Free RAM: ...............done.
(XEN) Initial low memory virq threshold set at 0x4000 pages.
(XEN) Calling init_constructors
(XEN) Calling console_endboot
(XEN) Std. Loglevel: All
(XEN) Guest Loglevel: All
(XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch
input to Xen)
(XEN) Calling serial_endboot
(XEN) Calling domain_unpause_by_systemcontroller
(XEN) Calling switch_stack_and_jump
(XEN) Calling free_init_memory
(XEN) Freed 264kB init memory.
(XEN) Calling startup_cpu_idle_loop

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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