Armtool Compile/Usage Instructions

PLEASE USE WITH CARE. STANDARD DISCLAIMER APPLY:

  This QUICK-HOWTO is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  General Public License for more details.

1. go to http://home.at/cgi-bin/viewcvs.cgi/midori/sources/libjtag/

2. press "Download tarball" and save the file (i.e. on /usr/src)

3. go to http://home.at/cgi-bin/viewcvs.cgi/midori/sources/armtool/

4. press "Download tarball" and save the file (i.e. on /usr/src)

5. do the following

# cd /usr/src
# tar zxf libjtag.tar.gz
# cd libjtag/src
# make
# cd /usr/src
# tar zxf armtool.tar.gz
# cd armtool/src

6. edit Makefile (i.e. with vi editor)

remove the words "-ljtag" from Makefile, then save, exit, do

# LDLIBS="/usr/src/libjtag/src/libjtag.a" make
# strip armtool
# ls -l armtool
-rwxr-xr-x    1 root     root        15212 2004-01-18 11:05 armtool

7. it is ready!

armtool uses the following environment variables

JTAG_CABLE (defaults to wiggler)
JTAG_DEVICE (defaults to /dev/parport0)

so please do

# insmod parport
# insmod parport_pc io=0x378 irq=7
(adjust to your printer port IO and IRQ, accordling)
before trying it

armtool was tested with JTAG adaptor made from this schematic
http://bh.udev.org/filez/wireless/samsung4510/pasteleurs/
(Link from http://seattlewireless.net/index.cgi/SamSung4510)

my guess is that, to use it with Stas's JTAG schematic,
armtool will need a patch.

published on the list at 18/Jan/2004


Patches to armtool

Petr Novak wrote a patch that extends armtool capabilities: patch README (updated 20/Jan/2004)


$Id: armtool.html,v 1.2 2004/02/19 20:57:29 bcabral Exp $