Table of Contents

Advertisement

Quick Links

A20-OLINUXINO-LIME
and
A20-OLINUXINO-LIME-4GB
Open-source single-board Android/Linux mini-computer
USER'S MANUAL
Revision H, March 2015
Designed by OLIMEX Ltd, 2015
All boards produced by Olimex LTD are ROHS compliant

Advertisement

Table of Contents
loading

Summary of Contents for OLIMEX A20-OLINUXINO-LIME

  • Page 1 A20-OLINUXINO-LIME A20-OLINUXINO-LIME-4GB Open-source single-board Android/Linux mini-computer USER’S MANUAL Revision H, March 2015 Designed by OLIMEX Ltd, 2015 All boards produced by Olimex LTD are ROHS compliant...
  • Page 2: Disclaimer

    This document is intended only to assist the reader in the use of the product. OLIMEX Ltd. shall not be liable for any loss or damage arising from the use of any information in this document or any error or omission in such information or any incorrect use of the product.
  • Page 3: Table Of Contents

    2.8 GPIO under Debian ....................... 17 2.9 I2C and SPI under Debian ....................18 2.10 Software support ........................18 CHAPTER 3: A20-OLINUXINO-LIME BOARD DESCRIPTION ..... 20 3. Introduction to the chapter ..................... 20 3.1 Layout (top view) ........................20 3.2 Layout (bottom view) ......................21 CHAPTER 4: THE ALLWINNER A20 MICROCONTROLLER .......
  • Page 4 OLIMEX© 2015 A20-OLinuXino-LIME user's manual CHAPTER 6: CONNECTORS AND PINOUT ............25 6. Introduction to the chapter ..................... 25 6.1 UART0 interface ........................25 6.2 MicroSD card connector ....................... 25 6.2.1 SD/MMC1 slot .............................. 26 6.3 PWR jack ..........................27 6.4 USB_OTG ..........................
  • Page 5: Chapter 1: Overview

    Thank you for choosing this OLinuXino single board computer from Olimex! This document provides a user’s guide for the Olimex A20 LIME board. As an overview, this chapter gives the scope of this document and lists the board’s features. The document’s organization is then detailed.
  • Page 6: Target Market And Purpose Of The Board

    ShareAlike 3.0 Unported License. 1.3 Board variants There are two major board variants named: A20-OLinuXino-LIME and A20-OLinuXino-LIME- 4GB. The 4GB version has a built-in NAND memory that allows the storage of an operating system without the need of a SD card. The 4GB version comes with already programmed Android image.
  • Page 7: Board Version Used In The Manual

    GitHub page of the board (https://github.com/OLIMEX/OLINUXINO/tree/master/HARDWARE). Please note that A20-OLinuXino-LIME design is almost identical to the design of its predecessor A10-OlinuXino-LIME – the only difference being the processor. Even then the processors are pin- to-pin compatible.
  • Page 8: Chapter 2: Setting Up The Olinuxino Board

    OLIMEX© 2015 A20-OLinuXino-LIME user's manual CHAPTER 2: SETTING UP THE OLINUXINO BOARD 2. Introduction to the chapter This section helps you set up the OLinuXino development board for the first time. Please consider first the electrostatic warning to avoid damaging the board, then discover the hardware and software required to operate the board.
  • Page 9: Requirements

    A20-OLinuXino-LIME user's manual 2.2 Requirements In order to set up the A20-OLinuXino-LIME optimally one or more additional items may be used. They might be generally placed in three categories: Required – items that are needed in order to achieve minimum functionality;...
  • Page 10: Powering The Board

    USB-MINI-CABLE – standard USB type A to USB type mini cable A10-OLINUXINO-LIME-UEXT – GPIO adapter which makes LIME GPIOs available in breadboard friendly 0.1" step connectors, needed if you want to connect an older Olimex-made display to the board (newer displays listed below have 0.05'' step connector) CABLE-40-40-10CM –...
  • Page 11: Button Functions

    NAND memory. 2.5 Interacting with the board There are five typical ways to interact with A20-OLinuXino-LIME. You can interact with A20- OLinuXino-LIME and: - a personal computer or another board via UART0 and a serial debug cable - an HDMI monitor via the HDMI connector and an HDMI cable - an LCD display via LCD_CON connector and 0.05'' step 40-pin cable...
  • Page 12: Serial Connection At Uart0

    After everything else is set, you would need to power the board as explained in “2.3 Powering the board”. 2.5.2 HDMI monitor All official Debian and Android images for A20-OLinuXino-LIME have HDMI output enabled by default. The board would work out-of-the-box with a native HDMI monitor. Make sure to use a tested HMDI cable.
  • Page 13: Lcd Display

    192.168.1.254 2.6 Changing the default image resolution Depending on the display or the screen you want to use with the A20-OLinuXino-LIME, you might need to apply software changes to the prebuilt Android or Linux image.
  • Page 14 Download locations to such images might be found at the wiki article for the A20 board here: https://www.olimex.com/wiki/A20-OLinuXino-LIME. For Linux Debian you would need to execute a shell script to be able to change the resolution. It is very good idea to use a serial cable for connection to the board from a personal computer since in this case you are dependent on a video resolution (a cable like USB-SERIAL-CABLE-F).
  • Page 15 OLIMEX© 2015 A20-OLinuXino-LIME user's manual 9. 1080p50 10. 1080p60 For VGA: (please note that there is no VGA connector and you might need to install additional hardware - more instructions on the VGA signals might be found in the chapter 6): 0.
  • Page 16: Connecting And Calibrating A Display

    0.05'' (compared to 0.1'' of bigger boards). Newer displays made by Olimex have both 0.1'' and 0.05'' step connectors. Going for an LCD output you would also need need and a cable to attach the display to the board. The cable is sold separately.
  • Page 17: Gpio Under Debian

    If the problem is under Debian Linux make sure you are properly logged in the XFCE interface! Else applying calibration would not happen for the current user – if you are calibrating from the X graphical interface make sure that you are logged as user “olimex” (if calibrating without the X, the user is “root”).
  • Page 18: I2C And Spi Under Debian

    Debian images for Olimex A20 boards might be found at the following GitHub address: https://github.com/OLIMEX/OLINUXINO/tree/master/SOFTWARE/A20/A20-build Another useful place is the Olimex forums where a lot of people share their experience and advice: https://www.olimex.com/forum/ The official images are a constant work-in-progress – newer releases are packed with better hardware support, newer kernels and extra features.
  • Page 19 OLIMEX© 2015 A20-OLinuXino-LIME user's manual places to look for more information. However, we won’t install a piece of software for you or write custom program for you. We won't provide a specific software solution to a specific software problem. Page 19 of 49...
  • Page 20: Chapter 3: A20-Olinuxino-Lime Board Description

    OLIMEX© 2015 A20-OLinuXino-LIME user's manual CHAPTER 3: A20-OLINUXINO-LIME BOARD DESCRIPTION 3. Introduction to the chapter Here you get acquainted with the main parts of the board. Note the names used on the board might differ from the names used below to describe them. For the actual names check the A20- OLinuXino-LIME board itself.
  • Page 21: Layout (Bottom View)

    OLIMEX© 2015 A20-OLinuXino-LIME user's manual 3.2 Layout (bottom view) At the bottom are located mainly the buttons and microSD card connector. Page 21 of 49...
  • Page 22: Chapter 4: The Allwinner A20 Microcontroller

    OLIMEX© 2015 A20-OLinuXino-LIME user's manual CHAPTER 4: THE ALLWINNER A20 MICROCONTROLLER 4. Introduction to the chapter In this chapter is located the information about the heart of OLinuXino – its microcontroller. The information is a modified version of the datasheet provided by its manufacturers.
  • Page 23: Block Diagram

    OLIMEX© 2015 A20-OLinuXino-LIME user's manual More information can be found on Allwinner's web site at the following web-address: http://www.allwinnertech.com/en/product/A20.html A good source of information on the processor is the linux sunxi wiki article: http://linux- sunxi.org/A20. 4.2 Block diagram The block diagram is taken from Allwinner's web-site.
  • Page 24: Chapter 5: Control Circuity

    A20 processor. It is mounted on the board but since it is relatively hard to find we also sell it separately. The power supply circuit of A20-OLinuXino-LIME requires input supply of 5V. The minimum wattage is 2.5W, and this threshold may raise if using a lot of devices on the USB-HOST (via external hub), a lot of GPIOs or you have a display connected to the LCD_CON or a hard disk powered from the 5V_SATA_PWR connector.
  • Page 25: Chapter 6: Connectors And Pinout

    When in doubt – try the same operation with another card from another brand. Olimex sells microSD cards with Linux or Android images, that have been tested – please refer to chapter “2.2 Requirements”. Of course, if you already have a large enough microSD card you can download the official Linux image from the wiki pages: https://www.olimex.com/wiki/A20-...
  • Page 26: Sd/Mmc1 Slot

    OLIMEX© 2015 A20-OLinuXino-LIME user's manual 6.2.1 SD/MMC1 slot The schematic related to the SD/MMC1 (microSD connector) is shown below: SD/MMC1 slot is the microSD card slot, located on the top of the board. This slot is typically used for booting the OS, due to the larger capacities of the microSD cards (compared to SD or MMC cards).
  • Page 27: Pwr Jack

    OLIMEX© 2015 A20-OLinuXino-LIME user's manual 6.3 PWR jack The power jack used is the typical DC barrel jack one used by Olimex (2.1×6.3×9.2mm) in most of our products. More information about the exact component might be found here: https://www.olimex.com/wiki/PWRJACK You should provide 5 volts direct current and the required current may vary depending on the peripherals connected to the board.
  • Page 28 USB0-IDDET The connector case is also grounded. We have configured an Android image with settings suitable for A20-OLinuXino-LIME. Then using PhoenixSuit tools we uploaded the image to the board via the USB OTG. The image is available for users to try and tweak the settings. The images can be downloaded from the wiki article at: https://www.olimex.com/wiki/A20-OLinuXino-LIME.
  • Page 29 OLIMEX© 2015 A20-OLinuXino-LIME user's manual method of writing the image and confirm your wish to write the image. 8. Wait till upgrade succeeds as shown below: Page 29 of 49...
  • Page 30: Usb_Host Connectors

    OLIMEX© 2015 A20-OLinuXino-LIME user's manual 6.5 USB_HOST connectors The part of the schematic related to the USB_HOST connectors is listed below: There are two USB host connector featured on the board. They are called USB_HOST1 and USB_HOST2. Each of them has own connector, both situated near the Ethernet connector. Each of connector has own low loss power distribution switch SY6280 which protects the board in case the devices you have plugged to the board try to draw more current than 523mA combined.
  • Page 31 OLIMEX© 2015 A20-OLinuXino-LIME user's manual - 10/100Mbps operation „ - Full/half duplex operation - Supports auto crossover detection - Adaptive equalization - IEEE 802.3/802.3u compliant - Supports IEEE 802.3u clause 28; 1.8V - Operation with 3.3V IO signal tolerance and much more The Ethernet connector is grounded according to the standard (check GND1 and GND2 lines on the schematics).
  • Page 32 OLIMEX© 2015 A20-OLinuXino-LIME user's manual Ethernet Pin # Signal name The RJ45 connector has a small yellow and a small built-in LEDS and they are described below: Color Usage Right Green Link status Left Yellow Activity status Page 32 of 49...
  • Page 33: Hdmi Connector

    OLIMEX© 2015 A20-OLinuXino-LIME user's manual 6.7 HDMI connector The part of the schematic that describes the HDMI module is shown below: Note that there are different Linux images depending whether the HDMI TV works at 50Hz or 60Hz refresh rate. If you board runs Android there is a specific option to set the appropriate HDMI output.
  • Page 34: Sata Connector And Power

    OLIMEX© 2015 A20-OLinuXino-LIME user's manual 6.8 SATA connector and power The part of the schematic describing the SATA module is shown below: SATA connector Pin # Signal name Processor pin SATA-TXP SATA-TXM SATA-RXM SATA-RXP There is a 5V_SATA_PWR connector that is suitable for powering 5V hard-disks trough the board.
  • Page 35: Gpio Connectors

    Three of the GPIO connectors have 40 pins and the last one has 20 pins. Note that all GPIO connectors have 0.05'' (50 mil) step between pins. Olimex sells a compatible extension cable for these connectors named CABLE-40-40-10CM. IMPORTANT: the cables and the 0.05'' connectors are very fragile – if you attempt to disconnect the setup by pulling the cable it might break! Furthermore –...
  • Page 36 OLIMEX© 2015 A20-OLinuXino-LIME user's manual header (like the one on the A20 board) you might use the cable for the A20-OlinuXino-MICRO (called A20-VGA-CABLE). The 6 signals needed are the 5 signals mentioned about plus GND. A general advice for easier use of the microphone, headphone and VGA interfaces of A20- OLinuXino-LIME is to take a look at the schematics of another board with those interfaces already installed.
  • Page 37: Gpio-2 (General Purpose Input/Output) 40Pin Connector

    OLIMEX© 2015 A20-OLinuXino-LIME user's manual 6.9.2 GPIO-2 (General Purpose Input/Output) 40pin connector The GPIO pins are led out on a separate 40pin connecter. They allow the user to attach additional hardware, check readings or perform hardware debug. The GPIO-2 connector numbers are printed at the bottom of the board for your convenience.
  • Page 38: Gpio-3 (General Purpose Input/Output) 40Pin Connector

    OLIMEX© 2015 A20-OLinuXino-LIME user's manual 6.9.3 GPIO-3 (General Purpose Input/Output) 40pin connector GPIO-3 connector GPIO pin# Signal name Processor pin# GPIO pin# Signal name Processor pin# 3.3V RESET_N PH7/PB9 B4/C12 PH10 PH11 PB8/SATA-PWR-EN PH12 PB10 PH13 PB11 PH14 PB12 PH15...
  • Page 39: Lcd_Con 40Pin Connector

    Important: you need additional 40PIN ribbon cable to connect an Olimex display and the LCD_CON. The LCD connector is suitable for a number of Olimex displays and touchscreen panels with different native resolution – the smallest available is the 4.3'' one called LCD-OLinuXino-4.3TS with native screen resolution of 480×272, through the 7'' one named LCD-OlinuXino-7TS with...
  • Page 40: Jumper Description

    OLIMEX© 2015 A20-OLinuXino-LIME user's manual 6.11 Jumper description Please note that most the jumpers on the board are SMT type. If you feel insecure of your soldering/cutting technique it is better not to try to adjust the jumpers since it is possible to damage the board.
  • Page 41: Additional Hardware Components

    OLIMEX© 2015 A20-OLinuXino-LIME user's manual 6.12 Additional hardware components The components below are mounted on OLinuXino but are not discussed above. They are listed here for completeness: Reset button – used to reset the board Power button – used to reset the board Recovery button –...
  • Page 42: Chapter 7: Schematics

    You can download the whole repository as .zip without having a GitHub account. Please note that the schematics of A20-OlinuXino-LIME and A10-OlinuXino-LIME are similar and it is possible that a single board file and schematic for both boards exist.
  • Page 43: Physical Dimensions

    OLIMEX© 2015 A20-OLinuXino-LIME user's manual 7.2 Physical dimensions Note that all dimensions are in mils. Page 43 of 49...
  • Page 44: Chapter 8: Revision History And Support

    OLIMEX© 2015 A20-OLinuXino-LIME user's manual CHAPTER 8: REVISION HISTORY AND SUPPORT 8. Introduction to the chapter In this chapter you will find the current and the previous version of the document you are reading. Also the web-page for your device is listed. Be sure to check it after a purchase for the latest available updates and examples.
  • Page 45: Useful Web Links And Purchase Codes

    How to purchase? You can purchase directly from our online shop or from any of our distributors. Note that usually it is faster and cheaper to purchase Olimex products from our distributors. List of confirmed Olimex LTD distributors and resellers: https://www.olimex.com/Distributors.
  • Page 46: Frequently Asked Questions

    OLIMEX© 2015 A20-OLinuXino-LIME user's manual 8.4 Frequently asked questions Q: I power my board, it shows a logo and then nothing happens. A: This might be due to a number of reasons but it is recommended to try the following: 1.
  • Page 47 OLIMEX© 2015 A20-OLinuXino-LIME user's manual The tips above can also be used to prepare a microSD card with an Android image, suitable for a microSD card. Q: How to detect and enable the Ethernet controller (if it is disabled by default)? A: You can enable it by following these two steps: 1.
  • Page 48 Sunxi u-boot loader - the linux-sunxi git page contains a lot of sources for all Olimex Allwinner boards. Q: Is it possible to boot Debian from NAND? Do you provide such image? A: It is possible bu we don't provide such image.
  • Page 49: Product Support

    All goods are checked before they are sent out. In the unlikely event that goods are faulty, they must be returned, to OLIMEX at the address listed on your order invoice. OLIMEX will not accept goods that have clearly been used more than the amount needed to evaluate their functionality.

This manual is also suitable for:

A20-olinuxino-lime-4gb

Table of Contents