A10s-OLinuXino-MICRO

Revision as of 05:47, 28 October 2013 by Olimex (talk | contribs) (Linux)

Official Images from OLIMEX

Linux

A10S Debian 4GB SD-card image release-8 with:

  • Linux Kernel 3.4.61+
  • XFCE4 desktop environment
  • Mplayer CLI
  • GCC 4.6
  • iceweasel WEB browser
  • LCD and touchscreen support
  • GPIO
  • I2C
  • SPI
  • USB WIFI RTL8188CU, Ethernet AX88772B
  • Audio
  • apache2
  • dpkg
  • git
  • i2c-tools
  • perl
  • vlc
  • xorg
  • Scratch
  • GCC
  • Python 2.7.3
  • PyA13 python module with GPIO,I2C,SPI support
  • OpenCV
  • Default Login: root/olimex


Note: the A10S-OLinuXino-SD card which we have on our webshop contain same image on 4GB Class10 fast micro sd-card, if you want to use this image please use Class10 fast card or the performance of Linux will slow down

Tested hardware with this image:

  • GPIOs located in /sys/class/gpio
  • LCD - supported are A13-LCD4.3TS, A13-LCD7TS, A13-LCD10TS
  • Touch screen - you need calibrate LCD before using touch screen. Type: ts_calibrate and then test it with ts_test
  • HDMI - the default HDMI resolution is 720p60(1280x720-60 Hz)
  • ASIX 8877 USB-LAN - USB-ETHERNET-AX88772B
  • WEB camera A4TECH
  • RTL8188CU - MOD-WIFI-RTL8188
  • USB_OTG - works as OTG device and Low/Full/High USB host
  • USB_HOST - works as Low/Full/High USB host
  • USB_HOST_down - works as Low/Full/High USB host
  • mico_SD_card - allow Linux boot
  • secondary SD-MMC card - with card present detector
  • ETHERNET - 100Mb
  • Headphone OUT - audio output
  • MIC IN - microphone input
  • I2C1(100KHz) - /dev/i2c-1
  • I2C2(100KHz) - /dev/i2c-2
  • UART2 - /dev/ttyS1. Note that UART2 is shifted and it responds of /dev/ttyS1 instead of /dev/ttyS2
  • UART3 - /dev/ttyS2. Note that UART3 is shifted and it responds of /dev/ttyS2 instead of /dev/ttyS3

Android

A10S Android NAND image with HDMI

  • Android_version - 4.0.3
  • Baseband version - 1.2
  • Kernel version 3.0.8+


A10S-OLinuXino-MICRO Android SD-CARD image with HDMI

You have to unrar the file and write the image on 4GB sd card. We recommend class 10 card. You can use dd (under linux) or Win32DiskImager.exe (under Windows) for image writing.

  • Android_version - 4.0.3
  • Baseband version - 1.2
  • Kernel version 3.0.8+

Documents

A10S-OLinuXino User manual

A10S-OLinuXino user manual


A10S Datasheet

A10S Datasheet

A10S Dongle brief

AXP152 datasheet

Hardware

Under construction

Software

The image in the Nand flash can be updated using the tools found at the following links:

LiveSuit official page

LiveSuit for Windows


A10S Android 4.2.2 SDK used to generate the Android image

A10S-SDK


Changing A10s-OLinuxino-MICRO screen resolution

The default Debian SD card setup is made with settings for HDMI 1920x1080. If you want to switch resolutions between HDMI and LCD (4.3'' or 7'' or 10.1'', respectively with native screen resolutions of 480x242, 800x480 and 1024x600) then you have to replace the existing script.bin file from the first SD card partition (note that this partition is FAT - so you can replace the file under Windows or Linux) with the script.bin file from script_a10s_linux_HDMI_xxx directory (for HDMI resolution mode) or from script_a10s_linux_LCD_xxx directory (with the desired LCD resolution mode).

The archive of scripts might be download from here: all available screen resolution scripts for A10s

Note that these A10s-MICRO scripts are not compatible with the A10 boards. Please check the A10s wiki article for such scripts.

For Android you need a new image created with the proper screen settings.

HOW TO?

How to generate SD Debian Linux image with Kernel 3.4

How to Build SD card Debian Linux image with Linux Kernel 3.4


How do I write the Linux image to a micro SD card to use with my A10S board?

To write a Linux image to an SD card under Windows we use Win32 Disk Imager):

  • Download Win32 Disk Imager Win32 Disk Imager
  • Insert card
  • Start program
  • Select file
  • Click "write"


To write a Linux image to an SD card under Linux:

For instance you have an image with the file name of "debian_4g.img". It would be downloaded to the SD card connected to a Linux machine using one of the following commands:

  • # dd bs=4M oflag=sync if=debian_4g.img of=/dev/sdX

or

  • # cp debian_4g.img /dev/sdX


where X is the uSD card.

FAQ

Q: I plug my mouse in the board's only USB and it is not working under Debian. I also tried with my keyboard - still no success. Is my A10s board broken?

A: No. The problem is on software level! Low-speed devices such as mice and keyboards doesn't work as expected with the USB-host interface under Debian. You can go around this problem if you plug an USB hub (USB splitter) in the board. Then plug your low speed devices to the USB hub. Now they should work properly. EDIT: This has been fixed by Hans De Goode here: Link to the sunxi's github


Q: How to download new Android image to the NAND memory of my A10s board?

A: To repair the image on the NAND re-upload it following these steps:

1. Download, install and start LiveSuit (download location might be found above the article)

2. Hold down “BOOT/REC” button on the board

3. Connect the board to the computer via the mini connector of the USB-OTG

5. Release “BOOT/REC” button

6. You will be asked for drivers for the bootloader. Navigate to the folder where you extracted the LiveSuit and install the drivers from the respective executables (or manually point the installer to the drivers folder in the LiveSuit installation path).

7. Choose the image you have prepared or downloaded

8. Update and don't disconnect the board until the LiveSuit program confirms the update is complete


Q: How do I upload a Linux image to an SD card which I want to use with my A10s board?

A: To write a Linux image to an SD card under Windows we use Win32 Disk Imager:

  • Download Win32 Disk Win32 Disk Imager
  • Insert card
  • Start program
  • Select file
  • Click "write"


To write a Linux image to an SD card under Linux:

For instance you have an image with the file name of "debian_2g.img". It would be downloaded to the SD card connected to a Linux machine using one of the following commands:

  • # dd bs=4M oflag=sync if=debian_2g.img of=/dev/sdX

or

  • # cp debian_2g.img /dev/sdX


where X is the uSD card.