Please note that User Registration has been temporarily disabled due to a recent increase in automated registrations. If anyone needs an account, please request one here: RequestAccount. Thanks for your patience!--Wmat (talk)
Please email User:Wmat if you experience any issues with the Request Account form.

A13 OLinuXino-MICRO

From eLinux.org
Jump to: navigation, search


JTAG support

The A13 OLinuXino-MICRO has JTAG support brought out to an unpopulated 6-pin header next to the headphone jack. Solder a piece of header strip and it's ready to go.

Cabling

The table below shows the pinout for the proprietary JTAG header on the board. All pins are clearly silkscreened on the bottom of the board.

A13 OLinuXino JTAG Pin JTAG Signal ARM 20-pin JTAG ARM 14-pin
GND 1 GND 10 10
TDO 2 TDO 13 11
TCK 3 TCK 9 9
TMS 4 TMS 7 7
TDI 5 TDI 5 5
3.3V 6 3.3V  1 1

BDI-2000/3000

The A13 OLinuXino-MICRO BDI config file can be used with a BDI configured with the ARM11/Cortex-An firmware and the standard BDI ARM/Xscale 20-pin JTAG cable.

BDI2000 to A13 OLinuXino JTAG cabling

Flyswatter 2 / OpenOCD

The A13 OLinuXino OpenOCD config file can be used with a Flyswatter, OpenOCD, and the ARM 20-pin JTAG on the Flyswatter 2.

Usage:

 openocd -f interface/flyswatter2.cfg -f /tmp/a13-olinuxino.cfg

Flyswatter 2 to A13 OLinuXino JTAG cabling

Boot Layout

The device doesn't have internal storage and boots from the SD-card. The second and third stage loader (SPL and U-Boot) are loaded from the start of the MMC (not on a file system). The default configuration is to create two partitions the first is a FAT formatted one where u-boot will load files from and the second one probably a ext2 partition. But given the bootloaders are not on the FAT you need to reserve some space at the start (I leave 2048 512 byte blokcs at the start as this is the default fdisk offers).

The layout looks something like this:

NAME start block size
MBR 0 1 block
sunxi-spl.bin 16 20K
u-boot.bin 64 170K
FAT 2048 20M
EXT2 --- Rest