When I run runme.sh, I get this:
# ./runme.sh
**** Preparing environment variables file ...
**** Burning uboot and environment variables ... This will take few minutes ...
Open On-Chip Debugger 0.2.0-in-development (2009-05-17-10:32) svn:1800M
BUGS? Read http://svn.berlios.de/svnroot/repos/openocd/trunk/BUGS
$URL: http://svn.berlios.de/svnroot/repos/openocd/trunk/src/openocd.c $
2000 kHz
dcc downloads are enabled
Error: unable to open ftdi device: device not found
Runtime error, file "command.c", line 453:
**** openocd FAILED
**** Is the mini USB cable connected?
**** Try powering down, then replugging the Sheevaplug
The Sheevaplug is connected and I can connect to the Linux host on /dev/ttyUSB1. Rebooting the plug made no difference. The kernel logs show this:
Aug 5 16:50:45 Reno kernel: usb 4-2: new full speed USB device using ohci_hcd and address 7
Aug 5 16:50:45 Reno kernel: usb 4-2: configuration #1 chosen from 1 choice
Aug 5 16:50:45 Reno kernel: ftdi_sio 4-2:1.0: FTDI USB Serial Device converter detected
Aug 5 16:50:45 Reno kernel: usb 4-2: Detected FT2232C
Aug 5 16:50:45 Reno kernel: usb 4-2: FTDI USB Serial Device converter now attached to ttyUSB0
Aug 5 16:50:45 Reno kernel: ftdi_sio 4-2:1.1: FTDI USB Serial Device converter detected
Aug 5 16:50:45 Reno kernel: usb 4-2: Detected FT2232C
Aug 5 16:50:45 Reno kernel: usb 4-2: FTDI USB Serial Device converter now attached to ttyUSB1
Should I try recompiling OpenOCD on my non-ARM linux box?
It looks like I have libftdi and not libftdi2xx, would that cause problems? OpenOCD didn't have any errors about dynamic library loading...
Actually, could Bad Things (TM) be happening because I'm running this on 64 bit Linux? I'll try it on a 32 bit system...
On the 32 bit system, openocd segfaulted almost instantly. Ergh, I guess I'll try recompiling it.
Okay, it looks like it's working from my 64 bit box with fragfutter's modifications to interface.cfg.