I am trying to overcome bad blocks on my NAND that has bricked my dockstar. I have managed to use my buspirate as a JTAG interface by using the instructions found here:
http://ferdinand-keil.de/2011/06/30/how-to-restore-a-locked-up-seagate-dockstar/
http://plume.redox.ws/article13/dockstar-debricking-jtag-with-buspirate
I can successfully load the bootloader into RAM and then try to write it to NAND.
Below is the output from my serial terminal:
Quote
stopping USB..
### JFFS2 loading 'uboot-original-mtd0.kwb' to 0x800000
Scanning JFFS2 FS: read_nand_cached: error reading nand off 0xe20000 size 8192 bytes done.
find_inode failed for name=uboot-original-mtd0.kwb
load: Failed to find inode
### JFFS2 LOAD ERROR<0> for uboot-original-mtd0.kwb!
## Starting application at 0x00800200 ...
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>> nand erase
NAND erase: device 0 whole chip
Skipping bad block at 0x00320000
Skipping bad block at 0x00e20000
Skipping bad block at 0x064c0000
Erasing at 0xffe0000 -- 100% complete.
OK
Marvell>> nand write.e 0x800000 0x0 0x80000
NAND write: device 0 offset 0x0, size 0x80000
524288 bytes written: OK
Marvell>>
I am assuming that the bootloader is getting written to bad blocks preventing my dockstar from booting. How do I overcome?
I am way over my head, but am having fun tinkering!
Thanks for any help...