[U-Boot] A23 u-boot with SPL / dram init available in my personal git repo

Hans de Goede hdegoede at redhat.com
Thu Dec 18 12:41:32 CET 2014


Hi,

On 15-12-14 07:01, Ricky Xian wrote:
> Hi,
>
> I'm trying to boot from usb fel mode on A23. I have rebuilt your sunxi-wip
> branch, and try to run on my A23 (q88?) board, but it's failed in fel mode
> in executing.
>
> I think the u-boot-spl.bin can be used as A20, this's the website I refer
> to:
> http://docs.cubieboard.org/tutorials/cb2/development/booting_from_usb_in_fel_mode
>
> my testing instructions are:
>
> fel write address  u-boot-spl.bin
> fel exec address
>
> the address for A20 is 0x2000, so that the DRAM will be initialized. but
> it's incorrect for A23 if the size reach 0x4000.
>
> can you please let me know how to use fel and your u-boot-spl.bin?

I've just tested this, and it works fine for me using the following commands:

make -j4 CROSS_COMPILE=arm-linux-gnu- Ippo_q8h_v1_2_felconfig

Note the _felconfig rather then _defconfig at the end !

And then:

make -j4 CROSS_COMPILE=arm-linux-gnu-

sudo ~hans/bin/fel write 0x2000 spl/u-boot-spl.bin
sudo ~hans/bin/fel exe 0x2000
sleep 0.5
sudo ~hans/bin/fel write 0x4a000000 u-boot.bin
sudo ~hans/bin/fel exe 0x4a000000

Regards,

Hans


More information about the U-Boot mailing list