From: eLinux.org

A13 OLinuXino-MICRO

Contents

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 JTAGPinJTAG SignalARM 20-pin JTAGARM 14-pin
GND1GND1010
TDO2TDO1311
TCK3TCK99
TMS4TMS77
TDI5TDI55
3.3V63.3V 11

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:

  1. 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:




































NAMEstart blocksize
MBR01 block
sunxi-spl.bin1620K
u-boot.bin64170K
FAT204820M
EXT2—-Rest

Categories: