A20 OLinuXino Lime2
Installation
Everything except U-boot is already present in the Generic ARM tarball on the download page.
Compile U-boot
Download the u-boot repository
git clone --depth 1 git://git.denx.de/u-boot.git
then configure and compile u-boot
make CROSS_COMPILE=arm-linux-gnueabihf- A20-OLinuXino-Lime2_defconfig make CROSS_COMPILE=arm-linux-gnueabihf-
This should output a combined SPL file with u-boot called u-boot-sunxi-with-spl.bin
Prepare an SD Card
Create a DOS partition table and a primary partition on your card.
fdisk /dev/sdX
Start the partition at sector 2048, change its type to W95 FAT32, and set its bootable flag. Finally create a FAT filesystem on the new partition.
mkfs.fat /dev/sdX1
Copy Data to the SD Card
Copy u-boot to the SD Card at offset 8k (specific to Sunxi).
dd if=u-boot-sunxi-with-spl.bin of=/dev/sdX bs=1024 seek=8
Finally, mount the partition and copy everything from the Generic ARM tarball onto it.
After Installation
The default login is `root`, HDMI should work out-of-the-box, ethernet is off by default. The Installation page should guide you from here.