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

Re: [Xen-devel] Xen On Cubieboard2 is stuck in "Starting kernel ..."



Hi, duqi

 >>>duqi <duqi_2009@xxxxxxx> wrote: 
> Hi, 
>  
> We will have tested the stand alone dtb load progress according this  
> wikiïhttp://wiki.xenproject.org/wiki?title=Xen_ARM_with_Virtualization_Extens 
> ions/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...." 
there should be some advise for debugging kernel in mailing list archives.
anyway, you could reference:
http://wiki.xenproject.org/wiki?title=Xen_ARM_with_Virtualization_Extensions/Allwinner#DomU_kernel_debug

regards

bamvor
>  
> 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@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®.