Olimex A20-OLinuXino-Lime2

From linux-sunxi.org
Jump to: navigation, search
Olimex A20-OLinuXino-Lime2
Lime2 top.jpg
Manufacturer Olimex
Dimensions 84mm x 60mm x 20mm
Release Date September 2014
Website Device Product Page
Specifications
SoC A20 @ 1Ghz
DRAM 1GiB DDR3 @ 480MHz
eMMC 4GB (optional)
NAND 4GB (optional)
Power DC 5V (5.5/2.1 jack), 3.7V LiPo (JST PHR-2 header)
Features
Video HDMI (Type A, full)
Network 10/100/1000Mbps Ethernet (Realtek RTL8211CL)
Storage µSD, SATA
USB 2x USB2.0 Host, 1x mini USB2.0 OTG

The A20 Olinuxino LIME2 is an OSHW board produced by Olimex.

The A20-OLinuXino-LIME2 is an upgrade of the Olimex A20-OLinuXino-Lime, but it comes with 1GiB RAM and gigabit ethernet. There are also two extra variants with onboard storage: A20-OLinuXIno-LIME2-4GB with 4GB NAND and A20-OLinuXino-LIME2-eMMC with 4GB eMMC.

Contents

Identification

The board is marked as A20-OLinuXino-Lime on both the top and bottom of the PCB.

Note that it is not marked as Lime2. The Lime2 variant can be distinguished by the presence of two dram chips on the top of the board between the SoC and the USB connectors, also the ethernet phy is on the bottom of the board instead of the top.

Sunxi support

Current status

Supported.

  • Mainline kernel patches posted to linux-arm-kernel mailing list 2014-09-28
  • Mainline u-boot patches posted to u-boot mailing list 2014-09-28

Manual build

You can build things for yourself by following our Manual build howto and by choosing from the configurations available below.

U-Boot

Sunxi/Legacy U-Boot

Use the A20-OLinuXino_Lime2 build target. _FEL version is also available for USB booting.

Mainline U-Boot

Use the A20-OLinuXino-Lime2_defconfig build target.

Linux Kernel

Sunxi/Legacy Kernel

Use the a20-olinuxino_lime2.fex file. (Please note that this fex file adopted DRAM clock setting from the Lime2's predecessor - only dram_tpr4 differs for unknown reasons. Using this fex file the DRAM is clocked with just 384 MHz, which costs some few percent performance depending on the application used.)

Mainline kernel

Use the sun7i-a20-olinuxino-lime2.dtb device-tree binary.

Recovery button

Tips, Tricks, Caveats

FEL mode

The Recovery button (under sata connector, nearest hdmi connector) triggers FEL mode.

Lime2 UEXT connector

Expansion ports

The internal GPIO headers appear to be mirrored compared to the original Lime boards [1]. Due to this there are specific A20-OLinuXino-Lime2-UEXT adapters, however as of 2014-09-28 these do not appear to be available directly from the Olimex shop.

Booting from SPI Flash

See the main Bootable_SPI_flash article for generic guides on how to boot from SPI flash. Included here are two pictures of a SPI NOR Flash setup with a LIME2. This requires soldering wires to 3 pads on the empty NAND socket in order to get access to the PC0,PC1,PC2 pins, which makes it more or less just a proof of concept solution. But it would be great if Olimex considers adding an on-board SPI flash to the future revisions of the A20-OLinuXino-Lime2 board just like they have recently done this with eMMC. Because this can allow having SATA or network boot without any need to use an SD card for storing the U-Boot bootloader.

SATA power connector

Unlike other sunxi boards the Olimex boards don't use the JST XH 0.1"/2.5mm header for SATA power but the smaller JST PHR-2 header normally used for connecting LiPo batteries.

DRAM clock speed limit

DRAM is clocked at 480 MHz by the hardware vendor (in fact even 532Mhz is mentioned in the blog). But the reliability still needs to be verified. The board uses somewhat non-standard resistors for ZQ calibration (ZQ = 330 Ohm, SZQ = 330 Ohm), but at least they seem to be the same in Lime2 revisions from Rev.B to Rev.E according to the board schematics. Still it's best to always mention the board revision in the results table in order to avoid any surprises.

Hardware Diagnostic software lima-memtester passes lima-memtester fails Notes
User:JohnDoe's A20-OLinuXino-Lime2 Rev.? fel-boot-lima-memtester-on-a20-lime2-v1.tar.gz  ? MHz  ? MHz  ? MHz fails after running for ? minutes

Adding a serial port

UART connector

There is a clearly marked UART0 connector on the edge of the board beside the ethernet connector. All you have to do is attach some leads according to our UART howto.

Pictures

See also

Manufacturer images

Olimex images for Lime2

Personal tools
Namespaces

Variants
Actions
Navigation
Tools