Difference between revisions of "A13 OLinuXino-MICRO"
Matt Porter (talk | contribs) (Created page with " == 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 re...") |
(Added some info about the expected file system layout) |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | |||
== JTAG support == | == JTAG support == | ||
Line 27: | Line 28: | ||
=== BDI-2000/3000 === | === BDI-2000/3000 === | ||
− | + | The [https://github.com/ohporter/bdi_configs/blob/master/a13-olinuxino-micro.cfg 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. | |
+ | |||
+ | [[File:Bdia13jtag.jpg|600px|BDI2000 to A13 OLinuXino JTAG cabling]] | ||
+ | |||
+ | === Flyswatter 2 / OpenOCD === | ||
+ | |||
+ | The [https://github.com/ohporter/openocd_configs/blob/master/a13-olinuxino.cfg 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 | ||
+ | |||
+ | [[File:Fs2a13jtag.jpg|600px|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: | ||
+ | {| class="wikitable" | ||
+ | |- | ||
+ | ! NAME !! start block !! size | ||
+ | |- | ||
+ | | MBR || 0 || 1 block | ||
+ | |- | ||
+ | | sunxi-spl.bin || 16 || 20K | ||
+ | |- | ||
+ | | u-boot.bin || 64 || 170K | ||
+ | |- | ||
+ | | FAT || 2048 || 20M | ||
+ | |- | ||
+ | | EXT2 || --- || Rest | ||
+ | |} | ||
+ | |||
− | [ | + | [[Category:Flyswatter]] |
+ | [[Category:HOWTOs]] |
Latest revision as of 13:13, 14 May 2013
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.
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
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 |