Welcome! Log In Create A New Profile

Advanced

JTAG restore of DockStar - Bus Pirate, CA-42 cable, & openOCD

Posted by rcaron 
JTAG restore of DockStar - Bus Pirate, CA-42 cable, & openOCD
August 29, 2011 12:37AM
I'm stuck at the uBoot prompt - there is no countdown to interrupt boot so it always ends up frozen.

I'm following RedoX's guide at http://plume.redox.ws/article13/dockstar-debricking-jtag-with-buspirate as well as firestorm's wiring suggestions at http://www.yourwarrantyisvoid.com/2010/09/08/dead-dockstar-resurrected-with-jtag/

I am using Ubuntu 10.10. I installed OpenOCD from the software center and had some mild tweaks to the dockstar.cfg file to accommodate the different version.

Hardware includes a SparkFun Bus Pirate with the 6.0RC1 firmware, a CA-42 cable off of eBay, and a 2.5-3.5" IDE hard drive adapter from geeks.com

I can halt, init, load, and resume fine, and I get the following from the serial terminal:
U-Boot 2010.09 (Oct 23 2010 - 11:49:22)
Marvell-Dockstar/Pogoplug by Jeff Doozan

SoC:   Kirkwood 88F6281_A0
DRAM:  128 MiB
NAND:  256 MiB
*** Warning - bad CRC or NAND, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   egiga0
88E1116 Initialized on egiga0
Hit any key to stop autoboot:  0 
Marvell>>

There is no countdown, and no echo. No matter how fast I switch windows I'm stuck at the Marvell>> prompt. I've also tried the original uBoot file with the same symptoms. I've swapped out CA-42 cables and jumpers and checked the pin assignments with a multimeter.

If it matters, I got into this mess by inadvertently overwriting 0x000000 a few weeks ago...
I recalled doing a nand erase as well but cannot recall the exact memory address. Is uboot environment empty?
dpffan Wrote:
-------------------------------------------------------
> I recalled doing a nand erase as well but cannot
> recall the exact memory address. Is uboot
> environment empty?

Might have used ecc's command: http://archlinuxarm.org/forum/viewtopic.php?f=18&t=195&start=130#p5606
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: