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

Re: [Xen-devel] bootwrapper can't be compiled for cubieboard2



2013/8/30 Ian Campbell <ian.campbell@xxxxxxxxxx>:
> On Fri, 2013-08-30 at 10:51 +0100, Ian Campbell wrote:
>> I'll try that shortly and let you know how I get on.
>
> Success! My failure previously was not getting the kernel command line
> in the right place, so no printk...
>
> Starting from
> https://github.com/linux-sunxi/u-boot-sunxi.git sunxi
> I merged your stuff:
> git pull git://git.linaro.org/people/aprzywara/u-boot.git hypmode_v4
> and applied the patch below (NB: u-boot doesn't support SMP on this
> platform yet, hence stubbing out the kicking of secondaries etc) and
> https://groups.google.com/forum/#!topic/linux-sunxi/7oS0CM2WSy4.
>
> Then built with:
>
> $ make Cubieboard2_FEL CROSS_COMPILE=arm-linux-gnueabihf-
>
> Then I could boot via FEL (http://linux-sunxi.org/FEL/USBBoot) using
> usb-boot from git://github.com/linux-sunxi/sunxi-tools.git:
> usb-boot ~/devel/u-boot.git/spl/u-boot-spl.bin ~/devel/u-boot.git/u-boot.bin 
> uImage
>
> where uImage is the zImage+dtb (cat into tmp) and mkimage -A arm -O
> linux -T kernel -a 0x40008000 -e 0x40008000 -C none -d tmp uImage
>
> Linux says:
> [    0.000000] CPU: All CPU(s) started in HYP mode.
> [    0.000000] CPU: Virtualization extensions available.
>
> (All == all 1)
>
> Kernel is https://github.com/mripard/linux.git sunxi-next-a20-cubie2
> multi_v7_defconfig + CONFIG_DEBUG_LL w/ CONFIG_DEBUG_SUNXI_UART0 and
> CONFIG_EARLY_PRINTK.
> I used appended dtb and set /chosen/bootargs = "console=ttyS0,115200
> earlyprintk" in arch/arm/boot/dts/sun7i-a20-cubieboard2.dts (only
> because usb-boot doesn't happen to load dtb and pass it to bootm, will
> fix that up...)
>

That's cool. Following your guide,  the u-boot can enter into hyper mode now.

_______________________________________________
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®.