bash build.sh
# In Debian, install sunxi-tools
sudo apt-get install -y sunxi-tools
sudo dd if=/usr/share/sunxi-tools/fel-sdboot.sunxi of=/dev/mmcblk0 bs=1024 seek=8
sync
sudo apt-get install -y sunxi-tools
sudo sunxi-fel spiflash-write 0 u-boot/u-boot-sunxi-with-spl.bin
sudo apt-get install sunxi-tools
sudo sunxi-fel uboot u-boot/u-boot-sunxi-with-spl.bin