A20 OlinuXino Micro

The A20 OlinuXino Micro is an open-source hardware development board implementing the AllWinner A20 SoC. It has everything you might possibly need from the board - HDMI, plenty of memory, two SD card connectors, plenty of GPIOs, and all that while keeping a reasonably form factor and the perfect value.

Board features:

  • Mali400mp2, OpenGL ES GPU
  • SATA connector with 5V SATA power jack
  • HDMI connector
  • 2x USB high-speed host and USB-OTG with power control and current limiter
  • VGA output on 6-pin 1.25mm (0.05") step connector
  • Battery connector with battery-charging capabilities
  • Audio headphones output
  • Microphone input on connector
  • 2x UEXT connectors
  • LCD connector compatible with with 4.3", 7.0", 10.1" LCD modules from Olimex
  • 160 GPIOs on three GPIO connectors
  • MicroSD and full size SD/MMC card connectors
  • 10 BUTTONS with ANDROID functionality + RESET button
  • 6-16V input power supply, noise immune design
Architecture
ARMv7 Cortex-A7
Processor
Allwinner A20 1GHz Dual-core
RAM
1GB
SD
Micro SD
USB
3
SATA
1
Ethernet
10/100

Install to a micro SD card

Replace sdX in the following instructions with the device name for the SD card as it appears on your computer.

  1. Zero the beginning of the SD card:
    dd if=/dev/zero of=/dev/sdX bs=1M count=8
  2. Start fdisk to partition the SD card:
    fdisk /dev/sdX
  3. At the fdisk prompt, delete old partitions and create a new one:
    1. Type o. This will clear out any partitions on the drive.
    2. Type p to list partitions. There should be no partitions left.
    3. Now type n, then p for primary, 1 for the first partition on the drive, 2048 for the first sector, and then press ENTER to accept the default last sector.
    4. Write the partition table and exit by typing w.
  4. Create the ext4 filesystem:
    1. For e2fsprogs < 1.43:
      mkfs.ext4 /dev/sdX1
    2. For e2fsprogs >= 1.43:
      mkfs.ext4 -O ^metadata_csum,^64bit /dev/sdX1
  5. Mount the filesystem:
    mkdir mnt
    mount /dev/sdX1 mnt
  6. Download and extract the root filesystem:
    wget http://os.archlinuxarm.org/os/ArchLinuxARM-armv7-latest.tar.gz
    bsdtar -xpf ArchLinuxARM-armv7-latest.tar.gz -C mnt
    sync
  7. Install the U-Boot bootloader:
    wget http://os.archlinuxarm.org/os/sunxi/boot/a20-olinuxino-micro/u-boot-sunxi-with-spl.bin
    dd if=u-boot-sunxi-with-spl.bin of=/dev/sdX bs=1024 seek=8
    wget http://os.archlinuxarm.org/os/sunxi/boot/a20-olinuxino-micro/boot.scr -O mnt/boot/boot.scr
    umount mnt
    sync
  8. Insert the micro SD card into the OlinuXino, connect ethernet, and apply 6-16V power.
  9. Use the serial console or SSH to the IP address given to the board by your router.
    • Login as the default user alarm with the password alarm.
    • The default root password is root.


Install the U-Boot package

  1. In order to receive updates to the U-Boot bootloader, after logging into the system type:
    pacman -Syu uboot-a20-olinuxino-micro
  2. When prompted, press y and hit enter to flash the bootloader to the SD card.
  3. Merge any pacnew files created by the package overwriting the manually installed bootloader files.


Install to USB or SATA

Replace sdY in the following instructions with the device name for the USB or SATA drive as it appears on your computer.

  1. Zero the beginning of the SD card:
    dd if=/dev/zero of=/dev/sdX bs=1M count=8
  2. Install the U-Boot bootloader:
    wget http://os.archlinuxarm.org/os/sunxi/boot/a20-olinuxino-micro/u-boot-sunxi-with-spl.bin
    dd if=u-boot-sunxi-with-spl.bin of=/dev/sdX bs=1024 seek=8
    sync
  3. Start fdisk to partition the USB or SATA drive:
    fdisk /dev/sdY
  4. At the fdisk prompt, delete old partitions and create a new one:
    1. Type o. This will clear out any partitions on the drive.
    2. Type p to list partitions. There should be no partitions left.
    3. Now type n, then p for primary, 1 for the first partition on the drive, 2048 for the first sector, and then press ENTER to accept the default last sector.
    4. Write the partition table and exit by typing w.
  5. Create the ext4 filesystem:
    1. For e2fsprogs < 1.43:
      mkfs.ext4 /dev/sdY1
    2. For e2fsprogs >= 1.43:
      mkfs.ext4 -O ^metadata_csum,^64bit /dev/sdY1
  6. Mount the filesystem:
    mkdir mnt
    mount /dev/sdY1 mnt
  7. Download and extract the root filesystem:
    wget http://os.archlinuxarm.org/os/ArchLinuxARM-armv7-latest.tar.gz
    bsdtar -xpf ArchLinuxARM-armv7-latest.tar.gz -C mnt
  8. Install the U-Boot bootloader boot files:
    wget http://os.archlinuxarm.org/os/sunxi/boot/a20-olinuxino-micro/boot.scr -O mnt/boot/boot.scr
    umount mnt
    sync
  9. Insert the micro SD card into the OlinuXino, connect the USB or SATA drive, connect ethernet, and apply 6-16V power.
  10. Use the serial console or SSH to the IP address given to the board by your router.
    • Login as the default user alarm with the password alarm.
    • The default root password is root.
  11. Follow the previous section to install the U-Boot package.

Copyright ©2009-2016 Arch Linux ARM
The registered trademark Linux® is used pursuant to a sublicense from LMI, the exclusive licensee of Linus Torvalds, owner of the mark on a world-wide basis.
The Arch Linux™ name and logo are used under permission of the Arch Linux Project Lead.