Skip to content
hno edited this page May 20, 2012 · 71 revisions

u-boot for Allwinner A10

Branch information:

sunxi Default branch. Most up to date. Supports booting from MMC only.

lichee/* Unmodified mirrors of original Allwinner sources

How to make a bootable SD-card

A10 boots the SPL loader from block 8. This then loads actual u-boot from block 32 onwards.

make sun4i CROSS_COMPILE=arm-none-linux-gnueabi-
dd if=spl/sun4i-spl.bin of=/dev/sdc bs=1024 seek=8
dd if=uboot.bin of=/dev/sdc bs=1024 seek=32

You also need to partition the card. First partition should start at sector 2048.

This version of u-boot supports boot.scr, and will look for it in the first partition /boot.scr or /boot.scr or /boot/boot.scr.

If no boot.scr is found then it will fall back on a default boot action which is

fatload mmc 0 0x43000000 script.bin; fatload mmc 0 0x48000000 ${kernel}; bootm 0x48000000

Clone this wiki locally