Buildroot

Buildroot is a set of Makefiles and patches that makes it easy to generate a complete embedded Linux system. More information can be found on the buildroot.org

Build buildroot image for A10
Here is the instruction of building buildroot image for cubieboard, it can also apply for other A10 devices.

mkdir cubie && cd cubie git clone https://github.com/matson-hall/allwinner-buildroot.git git clone https://github.com/matson-hall/allwinner-pack-tools.git git clone https://github.com/matson-hall/linux-allwinner.git ./allwinner-pack-tools/bin/build.sh

This script will build buildroot and linux kernel with cubieboard default config, and pack the image into a LiveSuit_images. At the end of the build, you will see -image is at-

/media/work/cubie/allwinner-pack-tools/pack/sun4i_linux_cubieboard.img

That's it, to flash the image to Nand flash, you need to install LiveSuite.

unzip allwinner-pack-tools/tools/Livesuit-linux.zip chmod +x LiveSuit_For_Linux64/LiveSuit.run ./LiveSuit_For_Linux64/LiveSuit.run #livesuite will be installed to ~/Bin sudo ~/Bin/LiveSuit/LiveSuit.sh #run livesuite

choose the image we built just now, let cubieboard go to FEL mode, connect the USB cable, you should see the progress bar increasing.