background image

OLIMEX© 2015

A20-SOM user's manual

Q: How to edit board configurations and definitions in the official Debian Linux?

A: Do you want a custom video resolution output? Do you need a different port definition? Do you 
need to change the hardware definitions of the board?

It is explained above in the manual. But you can also visit this wiki article: 

wiki article

.

Q: How to edit board configurations and definitions in the official Android images?

A: There is a wiki article about that, please visit: 

wiki article

.

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. There are people who were successful in booting 
Debian from the NAND, however. Make sure to check on the forum.

Q: How to generate boot-able SD-card Debian Linux image for A20-SOM?

Build instructions and required files for the latest Debian images: 

GitHub location

 

Note that Linux-Sunxi Kernel is a work-in-progress, this means you can try the current stage/sunxi-
x.x branch but if something is broken and doesn't work just revert to the git tags we give in the blog 
and they would work for sure.

Sunxi u-boot loader

 – the linux-sunxi git page contains a lot of sources for all Olimex Allwinner 

boards.

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. To check under what name the LAN is associated write "ifconfig –a"

2. If, for example, it is under eth0 name, then write: "dhclient eth0"

This should enable the Ethernet and then SSH would also be available.

You can also enable auto detection of Ethernet on power-up by removing the comment #auto eth0 in
/etc/network/interfaces in the Linux image.

Q: How to download the prebuilt Android image to a microSD card?

A: First download one of the official Android images, which might be found in the Android section 
above.

Make sure that the download link you visit clearly indicates that the image is suitable for the 
microSD card since there are images suitable for NAND memory also. The images suitable for the 
microSD memory and those suitable for NAND card are different. However, the upload method is 
almost identical – using PhoenixSuit.

There are two types of Android images for microSD card that we usually provide and each of them 
has to be downloaded to a microSD card using a different method. The image provided for microSD
card is either the native Android image that can be downloaded to the card via a software tool like 

Page 38 of 41

Summary of Contents for A20-SOM

Page 1: ...SOM AND A20 SOM 4GB System on Module boards capable of Linux and Android boot USER S MANUAL Document revision I March 2015 Designed by OLIMEX Ltd 2015 All boards produced by Olimex LTD are ROHS compli...

Page 2: ...ies of merchantability or fitness for purpose are excluded 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 f...

Page 3: ...ng 10 2 4 Button functions 10 2 5 Interacting with the board 11 2 6 Expanding the Debian file system space 12 2 7 Changing the default image resolution 12 2 8 Connecting and calibrating a display 15 2...

Page 4: ...t Output 40pin connector 28 6 5 5 GPIO 5 General Purpose Input Output 40pin connector 29 6 5 6 GPIO 6 General Purpose Input Output 10pin connector 29 6 6 LCD_CON 40pin connector 30 6 7 Jumper descript...

Page 5: ...sts the processor the memory and the power control unit and the peripheral part which contains the USB ports the video output and most of the connectors SOM designs are targeted at customers who want...

Page 6: ...by OLIMEX A20 SOM might be is used altogether with A20 SOM EVB In that case the board s target market widens drastically the combination is suitable for embedded programming enthusiasts Linux and And...

Page 7: ...ion C Boards from the initial couple of revisions have visible differences compared to boards from revisions C and on Yet the two major functional differences are the improved memory clock speed 480MH...

Page 8: ...For example when you connect a serial cable connected between a PC and the board s DEBUG port it is a good idea to have them both connected to the same electrical source to the same utility power sock...

Page 9: ...official Android release 2 3 Powering the board The powering requirements of the A20 SOM are different depending on whether you use it in stand alone mode or mounted atop A20 SOM EVB The sub chapters...

Page 10: ...of A20 SOM EVB A20 SOM is between 150mA 12V and 250mA 12V depending on the processor s current load For the European customers we also stock and sell basic power supply adapters compatible with the p...

Page 11: ...d rate is 115200 the rest of the settings should be left as per default After everything else is set you would need to power the board as explained in 2 3 Powering the board In the command line interf...

Page 12: ...changing the resolution we have compiled a number of Android images for the Android users with hard coded video output settings Alternatively for Debian Linux users we have provided a shell script th...

Page 13: ...guration script shows up Choose the resolution and the interface LCD HDMI or VGA The supported resolutions are listed on the next page For LCD 1 4 3 480 272 2 7 800 480 3 10 1024 600 For HDMI 0 480i 1...

Page 14: ...ges CTRL X confirm with Y and exit CTRL X again from nano editor wrscr sh this will convert script fex to script bin and the script bin file will be written to the microSD card reboot Reboot the board...

Page 15: ...ard at the moment of writing might be found in the table below Display name Size of display in inches Native resolution in pixels Official Debian image support Official Android image support Link to p...

Page 16: ...ian calibration The command that allows calibrating in Debian Linux is ts_calibrate The default Debian setup is made with settings for HDMI 720p 60Hz If you want to change some other LCD VGA or HDMI r...

Page 17: ...ernels and extra features You are more than welcome to send or share your suggestions and ideas at our e mail the public forums or irc channel We would attempt to help in almost every case We listen t...

Page 18: ...lf 3 1 Layout top view The picture below shows the top side of the A hardware revision of board and highlights the most important parts Please note that there might be differences in the layout of top...

Page 19: ...and Allwinner themselves The full list of features might be found below CPU ARM Cortex A7 Dual Core GPU ARM Mali400MP2 Complies with OpenGL ES 2 0 1 1 VIDEO HD H 264 2160p video decoding Multi format...

Page 20: ...Audio Codec Dual analog mic amplifiers More information can be found on Allwinner s web site at the following web address http www allwinnertech com en clq processora A20 html 4 2 Block diagram The b...

Page 21: ...0 microcontroller 5 3 Power supply circuit The power supply is handled mainly by AXP209 power management system an Allwinner chip that goes together with the A20 processor It is mounted on the board b...

Page 22: ...to bring them to the TTL level of your computer or cable That is true for the RX and TX also It is highly recommended to have an USB SERIAL CABLE F or similar product at hand when debugging the video...

Page 23: ...lease 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 SOM When r...

Page 24: ...names before connecting the supply More info about the power supply can be found in chapter 5 of this manual 6 5 GPIO connectors There are 6 GPIO connectors located on the top side of A20 SOM They ea...

Page 25: ...ocessor pin Pin Signal name Processor pin 1 5V POWER CIRCUIT 2 GND POWER CIRCUIT 3 3 0VA POWER CIRCUIT 4 AGND POWER CIRCUIT 5 5V_OTG_PWR POWER CIRCUIT 6 LINEINR AB21 7 USB0 DRV C12 8 LINEINL AB20 9 US...

Page 26: ...6 HTX2P T23 7 SATA TXM T21 8 HTX2N T22 9 SATA RXM U20 10 HTX1P U23 11 SATA RXP U21 12 HTX1N U22 13 HCEC P23 14 HTX0P V23 15 HSCL R23 16 HTX0N V22 17 HSDA R22 18 HTXCP W23 19 HHPD P22 20 HTXCN W22 21 U...

Page 27: ...CUIT 5 PH0 SDC3 DET A6 6 PB3 B14 7 PH2 LED C6 8 PB4 A13 9 PH8 C4 10 PB5 B13 11 PH9 D4 12 PB6 A12 13 PH10 A3 14 PB7 B12 15 PH11 B3 16 PB8 A11 17 PH12 CSI STY 1 C3 18 PB10 C11 19 PH13 CSI RST 1 A2 20 PB...

Page 28: ...10 PE2 CSI0_HSYNC D23 11 PE8 CSI0_D4 A23 12 PE3 CSI0_VSYNC D22 13 PE9 CSI0_D5 A22 14 PE4 CSI0_D0 C23 15 PE10 CSI0_D6 B21 16 PE5 CSI0_D1 C22 17 PE11 CSI0_D7 A21 18 PE6 CSI0_D2 B23 19 UART7 TX E14 20 UA...

Page 29: ...1 NDQ3 G22 32 PC3 SATA PWR EN L22 33 NDQ4 H21 34 NCLE L23 35 NDQ5 H20 36 NALE M22 37 NDQ6 G21 38 NWE M23 39 NDQ7 G20 40 NCE0 K23 6 5 6 GPIO 6 General Purpose Input Output 10pin connector This connecto...

Page 30: ...le 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 800 480 to the 1024 600 10 1 LCD OLinuXino 10TS Note that the small...

Page 31: ...ts The components below are mounted on the A20 SOM but are not discussed above They are listed here for completeness Reset button used to reset the board Power button used to power up the board Recove...

Page 32: ...ry https github com OLIMEX SOM tree master A20 You can download the whole repository as zip without having a GitHub account The part of the design that has the main microcontroller is considered propr...

Page 33: ...uplicate information Updated the information about the LCD displays 7 15 C 26 11 14 Improved LCD display information 12 14 D 19 12 14 Adjusted for boar revision D changes 17 30 E 30 01 15 Fixed wrong...

Page 34: ...and layout differences with previous hardware revisions General hardware improvement of the board based on A20 OLinuXino Lime2_Rev_B s memory routing General layout improvement Additional GPIO connec...

Page 35: ...gabit interface SATA port Headphones jack Microphone jack Camera etc USB SERIAL CABLE F USB serial console cable female A20 SOM Android SD a tested class 10 micro SD card with the latest by the time o...

Page 36: ...e shop or from any of our distributors Note that usually it might be faster and cheaper to purchase Olimex products from our distributors List of confirmed Olimex LTD distributors and resellers https...

Page 37: ...ed off without the Quick Boot mode being ticked on Try pressing or holding down the PWR button for a couple of seconds to wake it up Q How do I write the Linux image to a micro SD card to use with my...

Page 38: ...ux sunxi git page contains a lot of sources for all Olimex Allwinner boards Q How to detect and enable the Ethernet controller if it is disabled by default A You can enable it by following these two s...

Page 39: ...d confirm your wish to write the image Wait till upgrade succeeds Note that it is not recommended to have your mini USB connected to an external USB hub This might cause delays and might distort the s...

Page 40: ...xtracted the PhoenixSuit and install the drivers from the respective executable or manually point the installer to the drivers folder in the PhoenixSuit installation path 8 PhoenixSuit will detect the...

Page 41: ...ordered items are allowed subject to a 10 restocking fee What is unaffected If you hooked it to power you affected it To be clear this includes items that have been soldered to or have had their firmw...

Reviews: