* 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
* Re: Xen On Cubieboard2 is stuck in "Starting kernel ..."
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:48 ` Ian Campbell
1 sibling, 1 reply; 6+ messages in thread
From: Bamvor Jian Zhang @ 2014-04-08 6:39 UTC (permalink / raw)
To: duqi, xen-devel@lists.xen.org
Cc: Julien Grall, Stefano Stabellini, Ian Campbell, nkgongxl
Hi, duqi
>>>duqi <duqi_2009@163.com> 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@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Xen On Cubieboard2 is stuck in "Starting kernel ..."
2014-04-08 6:39 ` Bamvor Jian Zhang
@ 2014-04-08 8:25 ` Julien Grall
2014-04-08 8:49 ` duqi
0 siblings, 1 reply; 6+ messages in thread
From: Julien Grall @ 2014-04-08 8:25 UTC (permalink / raw)
To: Bamvor Jian Zhang, duqi, xen-devel@lists.xen.org
Cc: Stefano Stabellini, Ian Campbell, nkgongxl
Hello all,
On 08/04/14 07:39, Bamvor Jian Zhang wrote:
> Hi, duqi
>
> >>>duqi <duqi_2009@163.com> 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
This is for debugging the kernel not Xen. His logs show that he can't
boot xen.
duqi: Did you add CONFIG_EARLY_PRINTK=suni7 on Xen build commandline?
Regards,
--
Julien Grall
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Xen On Cubieboard2 is stuck in "Starting kernel ..."
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:48 ` Ian Campbell
1 sibling, 0 replies; 6+ messages in thread
From: Ian Campbell @ 2014-04-08 8:48 UTC (permalink / raw)
To: duqi
Cc: bjzhang@suse.com, Julien Grall, Stefano Stabellini,
宫晓利, xen-devel@lists.xen.org
On Tue, 2014-04-08 at 14:30 +0800, duqi wrote:
> WARNING: ignoring attempt to set core boot address 7ff88454 on core -1
> WARNING: Not kicking secondary CPUs
What version of u-boot is this from?
Ian.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Xen On Cubieboard2 is stuck in "Starting kernel ..."
2014-04-08 8:25 ` Julien Grall
@ 2014-04-08 8:49 ` duqi
2014-04-08 9:02 ` Ian Campbell
0 siblings, 1 reply; 6+ messages in thread
From: duqi @ 2014-04-08 8:49 UTC (permalink / raw)
To: Julien Grall, xen-devel@lists.xen.org
Cc: nkgongxl, Stefano Stabellini, Ian Campbell, Bamvor Jian Zhang
At 2014-04-08 16:25:02,"Julien Grall" <julien.grall@linaro.org> wrote:
>duqi: Did you add CONFIG_EARLY_PRINTK=suni7 on Xen build commandline?
Yeah, the xen build commandline is: make dist-xen XEN_TARGET_ARCH=arm32 CROSS_COMPILE=arm-linux-gnueabihf- CONFIG_EARLY_PRINTK=sun7i
Many thanks.
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
* Re: Xen On Cubieboard2 is stuck in "Starting kernel ..."
2014-04-08 8:49 ` duqi
@ 2014-04-08 9:02 ` Ian Campbell
0 siblings, 0 replies; 6+ messages in thread
From: Ian Campbell @ 2014-04-08 9:02 UTC (permalink / raw)
To: duqi
Cc: Bamvor Jian Zhang, Julien Grall, Stefano Stabellini, nkgongxl,
xen-devel@lists.xen.org
On Tue, 2014-04-08 at 16:49 +0800, duqi wrote:
> At 2014-04-08 16:25:02,"Julien Grall" <julien.grall@linaro.org> wrote:
>
> >duqi: Did you add CONFIG_EARLY_PRINTK=suni7 on Xen build commandline?
>
> Yeah, the xen build commandline is: make dist-xen
> XEN_TARGET_ARCH=arm32 CROSS_COMPILE=arm-linux-gnueabihf-
> CONFIG_EARLY_PRINTK=sun7i
If you only added CONFIG_EARLY_PRINTK after doing an initial build
without it then you may need to do a clean for it to actually take
affect.
Ian.
_______________________________________________
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.