Okay... I've given up on Win 7 path... didn't feel like I was getting anywhere, so over on Ubuntu 11.10 now and making tentative progress...
Installed the FTDI drivers and OpenOCD via Ubuntu Software Centre, and used apt-git for some of the supporting files like libusb, ftdi_eeprom and libconfuse. Not sure if I've installed just the packages I need, but I'm following at least two sets of instructions, cause everything I can find about debricking is either out of date or has multiple methods to use. Rather frustrating. Admittedly, my linux prowess is increasing... almost rank n00b.
I think I haven't bricked the SheevaPlug, cause the more I learn about it, the more I see it's built to withstand screw-ups like flashing the wrongly named boot image
. JTAG provides latitude for fixing things deep down.Getting to the question
, since I'm getting stuck on openocd. I've got uboot.bin in openocd's directory, along with the sheevaplug.cfg file (have tried the original and Evan Black's updated version on pastebin). I navigate a terminal to sheevaplug-installer-v1.0/uboot/openocd directory containing the sheevaplug.cfg file, but when I run;
$ openocd -f sheevaplug.cfg -c init -c sheevaplug_reflash_uboot -c exit
I'm getting the following output:
brett@eeeBox:~/sheevaplug-installer-v1.0/uboot/openocd/config$ openocd -f sheevaplug.cfg -c init -c sheevaplug_reflash_uboot -c exit
Open On-Chip Debugger 0.5.0 (2011-08-26-10:27)
Licensed under GNU GPL v2
For bug reports, read http://openocd.berlios.de/doc/doxygen/bugs.html
Info : only one transport option; autoselect 'jtag'
trst_and_srst separate srst_gates_jtag trst_push_pull srst_open_drain
dcc downloads are enabled
Warn : use 'feroceon.cpu' as target identifier, not '0'
Info : clock speed 2000 kHz
Info : JTAG tap: feroceon.cpu tap/device found: 0x20a023d3 (mfg: 0x1e9, part: 0x0a02, ver: 0x2)
Info : Embedded ICE version 0
Info : feroceon.cpu: hardware has 1 breakpoint/watchpoint unit
target state: halted
target halted in ARM state due to debug-request, current mode: Supervisor
cpsr: 0x000000d3 pc: 0xffff0000
MMU: disabled, D-Cache: disabled, I-Cache: disabled
feroceon.cpu mww address data [count]
mww ['phys'] address value [count]
Runtime Error: sheevaplug.cfg:34:
in procedure 'sheevaplug_reflash_uboot'
in procedure 'sheevaplug_init' called at file "sheevaplug.cfg", line 106
in procedure 'mww' called at file "sheevaplug.cfg", line 34
Any ideas on what I'm doing wrong?