r1720 - developers/werner/notes

werner at sita.openmoko.org werner at sita.openmoko.org
Tue Apr 10 06:20:54 CEST 2007


Author: werner
Date: 2007-04-10 06:20:51 +0200 (Tue, 10 Apr 2007)
New Revision: 1720

Modified:
   developers/werner/notes/openocd
Log:
latest versions of OpenOCD and libftdi, and support for a list of USB ID pairs



Modified: developers/werner/notes/openocd
===================================================================
--- developers/werner/notes/openocd	2007-04-10 04:19:31 UTC (rev 1719)
+++ developers/werner/notes/openocd	2007-04-10 04:20:51 UTC (rev 1720)
@@ -1,14 +1,13 @@
-# Quick OpenOCD setup and usage notes (for JTAGkey - will need updating for
-# debug v2)
+# Quick OpenOCD setup and usage notes (for JTAGkey and debug v2)
 
 ###  SETUP  ###################################################################
 
 # Build libftdi (don't need to do this if you already have a recent version)
 
 cd $OMDIR
-wget http://www.intra2net.com/de/produkte/opensource/ftdi/TGZ/libftdi-0.8.tar.gz
-tar xfz libftdi-0.8.tar.gz
-cd libftdi-0.8
+wget http://www.intra2net.com/de/produkte/opensource/ftdi/TGZ/libftdi-0.9.tar.gz
+tar xfz libftdi-0.9.tar.gz
+cd libftdi-0.9
 automake
 autoconf
 ./configure
@@ -17,12 +16,12 @@
 make install
 ldconfig
 
-# Build openocd (don't need to do this if you already have it)
+# Build openocd
 
 cd $OMDIR
-svn -r 130 co svn://svn.berlios.de/openocd/trunk openocd
+svn -r 137 co svn://svn.berlios.de/openocd/trunk openocd
 cd openocd
-patch -p1 -s <$OMDIR/openmoko/devlopers/werner/openocd-wait-patiently.patch
+patch -p1 -s <$OMDIR/openmoko/developers/werner/openocd-multiple-usb-ids.patch
 ./bootstrap
 # enable parport_dev and ft2232, so that we stay compatible with the wiggler.
 # use libftdi since we don't want no binary-only code.
@@ -48,8 +47,8 @@
 # Get the config file. (JTAGkey version)
 
 wget http://people.openmoko.org/laforge/misc/openocd.cfg
-wget http://people.openmoko.org/werner/openocd-jtagkey.patch
-patch -p1 -s <openocd-jtagkey.patch
+wget http://people.openmoko.org/werner/openocd-ft2232.patch
+patch -p1 -s <openocd-ft2232.patch
 
 # Run openocd
 
@@ -63,10 +62,8 @@
 cd $OMDIR
 wget http://people.openmoko.org/laforge/tmp/bbt-20070206/lowlevel_foo.bin
 
-# Build a version of u-boot that can boot from JTAG
-# WARNING: you need to undo this if you want to build one that boots from NAND !
+# Build u-boot
 
-echo 'PLATFORM_RELFLAGS += -DBUILD_FOR_RAM' >> u-boot/board/neo1973/config.tmp
 make -C u-boot ARCH=arm
 
 





More information about the commitlog mailing list