The Cubieboard2 is an low cost, high performance open ARM box based on Allwinner A20 (Cortex A7 Dual-Core) which can be used in many fields.
CPU Information Processor : ARMv7 Processor rev 4 (v7l) processor : 0 BogoMIPS : 1915.28 processor : 1 BogoMIPS : 1915.28 Features : swp half thumb fastmult vfp edsp thumbee neon vfpv3 tls vfpv4 idiva idivt CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x0 CPU part : 0xc07 CPU revision : 4 Hardware : sun7i Revision : 0000 Serial : 0000000000000000 boot.log |
This info is based on http://linux-sunxi.org/Bootable_SD_card and u-boot.bin and SPL are built from git://github.com/hno/u-boot branch wip/a20
To install the current release we need to setup an uSD card with 2 partitions after cluster 2048 (see http://linux-sunxi.org/Bootable_SD_card#Partitioning for details). The first partition must be vfat formated, required for bootloader's stuff and the second one must be ext2, ext3 or ext4 formated and will contain the files from the release and current kernel modules.
dd if=sunxi-spl.bin of=/dev/sdX bs=1024 seek=8 dd if=u-boot.bin of=/dev/sdX bs=1024 seek=32
We should setup all the important files: pkgmk.conf, prt-get.conf, inittab, fstab, rc.conf, net ...
To obtain serial access we need to make some modifications to this file:
s1:2:respawn:/sbin/agetty 115200 ttyS0 vt100
KERNEL=="mali", MODE="0660", GROUP="video" KERNEL=="ump", MODE="0660", GROUP="video"