All of lore.kernel.org
 help / color / mirror / Atom feed
* Xen On Cubieboard2 is stuck in "Starting kernel ..."
@ 2014-04-08  6:30 duqi
  2014-04-08  6:39 ` Bamvor Jian Zhang
  2014-04-08  8:48 ` Ian Campbell
  0 siblings, 2 replies; 6+ messages in thread
From: duqi @ 2014-04-08  6:30 UTC (permalink / raw)
  To: xen-devel@lists.xen.org
  Cc: bjzhang@suse.com, Julien Grall, Stefano Stabellini, Ian Campbell,
	宫晓利

Hi,

We will have tested the stand alone dtb load progress according this wiki:http://wiki.xenproject.org/wiki?title=Xen_ARM_with_Virtualization_Extensions/Allwinner.

For simplicity, I compiled  ramdisk into kernel image.

The Xen version is xen4.4.0 release.
I typed the below command in u-boot,but the Xen was stuck in "Starting kernel...."

Could you give me some advice? Thank you very much.

(1)Here is the command I typed:
setenv kernel_addr_r  0x7f600000
setenv fdt_addr       0x7ec00000
setenv xen_addr_r     0x7ea00000

fatload mmc 0 ${xen_addr_r} /boot/xen
fatload mmc 0 ${fdt_addr} /boot/sun7i-a20-cubieboard2.dtb
fatload mmc 0 ${kernel_addr_r} /boot/zImage

setenv fdt_high      0xffffffff 
setenv bootargs "dom0_mem=128M sync_console console=dtuart dtuart=/soc@01c00000/serial@01c28000"

fdt addr ${fdt_addr} 0x40000   
fdt resize
fdt chosen
fdt set /chosen \#address-cells <1>
fdt set /chosen \#size-cells <1>
fdt mknod /chosen module@0
fdt set /chosen/module@0 compatible "xen,linux-zimage" "xen,multiboot-module"
fdt set /chosen/module@0 reg <${kernel_addr_r} 0xf00000>
fdt set /chosen/module@0 xen,dom0-bootargs "console=hvc0,115200n8 debug ignore_loglevel rw rootwait earlyprintk=xen clk_ignore_unused init=/init"

bootz ${xen_addr_r} - ${fdt_addr}

(2) Here is the debug information:
Kernel image @ 0x7ea00000 [ 0x000000 - 0x0cf700 ]
## Flattened Device Tree blob at 7ec00000
   Booting using the fdt blob at 0x7ec00000
   reserving fdt memory region: addr=7ec00000 size=4000
   Using Device Tree in place at 7ec00000, end 7ec06fff
WARNING: ignoring attempt to set core boot address 7ff88454 on core -1
WARNING: Not kicking secondary CPUs

Starting kernel ...


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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-04-08  9:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-08  6:30 Xen On Cubieboard2 is stuck in "Starting kernel ..." duqi
2014-04-08  6:39 ` Bamvor Jian Zhang
2014-04-08  8:25   ` Julien Grall
2014-04-08  8:49     ` duqi
2014-04-08  9:02       ` Ian Campbell
2014-04-08  8:48 ` Ian Campbell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.