Official Images from OLIMEX
Download location to A13-OLinuXino-MICRO Debian 4GB SD-card image release 3
Step-by-step instructions for building the latest release
The image has the following features:
- Linux Kernel 3.4.79+
- LXDE desktop environment
- GCC 4.6
- Python 2.7
- LCD support
- USB WIFI RTL8188CU, Ethernet AX88772B
- PyA13 python module with GPIO,I2C,SPI support
- Default Login: root/olimex
The file A13_Micro_Debian_kernel_34_79_100kHz_I2C_WIFI_USB_LAN_X_touch_third_release.7z is an archive of A13_Micro_Debian_kernel_34_79_100kHz_I2C_WIFI_USB_LAN_X_touch_third_release.img file.
So in order to write the image on SD card you have to unzip A13_Micro_Debian_kernel_34_79_100kHz_I2C_WIFI_USB_LAN_X_touch_third_release.7z file:
Install under Windows
Use 7zip and then use Win32DiskImager.exe http://sourceforge.net/projects/win32diskimager/ for image writing
Install under linux
Use p7zip package. If you have no installed 7zip then type
#apt-get install p7zip
Copy A13_Micro_Debian_kernel_34_79_100kHz_I2C_WIFI_USB_LAN_X_touch_third_release.7z file in your directory and unzip it with
#7za e A13_Micro_Debian_kernel_34_79_100kHz_I2C_WIFI_USB_LAN_X_touch_third_release.7z
The output should be a new 4GB file named A13_Micro_Debian_kernel_34_79_100kHz_I2C_WIFI_USB_LAN_X_touch_third_release.img
Put 4GB SD card in your card reader and type
# ls /dev/sd
Then press two times <TAB> you will see a list of your sd devices like sda sdb sdc note that some of these devices may be your hard disk so make sure you know which one is your sd card before you proceed as you can damage your HDD if you choose the wrong sd-device. You can do this by unplugging your sd card reader and identify which "sd" devices remove from the list.
Once you know which device is your sdcard like sda use this text instead of the sdX name in the references below:
#dd if=A13_Micro_Debian_kernel_34_79_100kHz_I2C_WIFI_USB_LAN_X_touch_third_release.img of=/dev/sdX
The list of all installed packages is here
Note: the A13-OLinuXino-MICRO-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
A13-OLinuXino-MICRO has only 256MB of RAM, Android 4.x requires at least 512MB to run well. Running obsolete Android would be possible but without video acceleration )since only MALI requires around 200MB). Forget for Android on this board.
Changing A13-OLinuxino-MICRO screen resolution
The default Debian SD card setup is made with settings for VGA 800x600.
If you want to switch resolutions between VGA (800x600) 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_GPIO_VGA_xxx directory (with the desired VGA resolution mode) or from script_GPIO_LCD_xxx directory (with the desired LCD resolution mode).
The archive of scripts might be download from here: all available screen resolution scripts for A13-MICRO
Note that these A13-MICRO scripts are not compatible with the A13 boards. Please check the A13 wiki article for such scripts.
How to edit board configurations and definitions in the official Debian Linux?
The biggest part of the board configuration might be edited, changed or improved in a file called script.bin
The script.bin file can usually be found in the main directory of a microSD card prepared with official Debian image. The folder containing the script can be inspected under both Windows, Linux or Mac.
You can't directly edit binary file so you would need to convert it to text format (it is called fex in this case), then edit the parameters via a text editor and finally switch it back to binary format.
The different options for the script are explained here: SUNXI FEX GUIDE
IMPORTANT! ADJUSTING SCRIPT.BIN WITH IMPROPER VALUES MIGHT BREAK YOUR DEBIAN IMAGE AND IT IS ALWAYS RECOMMENDED TO KEEP A BACK-UP OF YOUR DEFAULT SCRIPT.BIN
To convert back and fort the script.bin you might use different tools. You can find Windows tools here: SUNXI TOOLS FOR WINDOWS . For Linux convertors please check the sunxi tools here: SUNXI TOOLS
Note that it is possible to change the script.bin in a running Debian image in newest releases! More information might be found at the end of the document! Not all releases feature the live method of changing fex to bin so if you board doesn't have it follow the other methods.
Changing script.bin file without removing the microSD card:
The tools for script.bin changing are located in /opt/sunxi-tools directory
# cd /opt/sunxi-tools
This will convert script.bin file from sdcard to script.fex file and the file will be opened using nano editor.
Now you can change the board modules and parameters, save the changes and exit from nano editor
this will convert script.fex to script.bin and the script.bin file will be written to sdcard.
Linux-Commands Brief Linux Command reference