As others already reported a warm reboot often doesn't find the usb device (a Freeagent Go drive in my case). It then tries to boot the original pogoplug linux. It seems that this original linux is broken or the internal flash is corrupted. I get the following output:
U-Boot 2010.06-00695-gbd23130-dirty (Aug 30 2010 - 23:04:56)
Marvell-Dockstar/Pogoplug by Jeff Doozan
Hit any key to stop autoboot: 0
(Re)start USB...
USB: Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 2 USB Device(s) found
scanning bus for storage devices... 0 Storage Device(s) found
** Block device usb 0 not supported
** Invalid boot device **
Creating 1 MTD partitions on "nand0":
0x000002500000-0x000010000000 : "mtd=3"
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size: 131072 bytes (128 KiB)
UBI: logical eraseblock size: 129024 bytes
UBI: smallest flash I/O unit: 2048
UBI: sub-page size: 512
UBI: VID header offset: 512 (aligned 512)
UBI: data offset: 2048
UBI: attached mtd1 to ubi0
UBI: MTD device name: "mtd=3"
UBI: MTD device size: 219 MiB
UBI: number of good PEBs: 1750
UBI: number of bad PEBs: 2
UBI: max. allowed volumes: 128
UBI: wear-leveling threshold: 4096
UBI: number of internal volumes: 1
UBI: number of user volumes: 0
UBI: available PEBs: 1729
UBI: total number of reserved PEBs: 21
UBI: number of PEBs reserved for bad PEB handling: 17
UBI: max/mean erase counter: 1/1
UBIFS error (pid 0): ubifs_get_sb: cannot open "ubi:rootfs", error -19
Error reading superblock on volume 'ubi:rootfs'!
** Block device usb 0 not supported
** Block device usb 1 not supported
** Block device usb 2 not supported
** Block device usb 3 not supported
** Block device usb 0 not supported
** Block device usb 0 not supported
Wrong Image Format for bootm command
ERROR: can't get kernel image!
stopping USB..
### JFFS2 loading 'uboot-original-mtd0.kwb' to 0x800000
Scanning JFFS2 FS: ....... read_nand_cached: error reading nand off 0x999a00 si
ze 8192 bytes
read_nand_cached: error reading nand off 0xff0000 size 8192 bytes
. read_nand_cached: error reading nand off 0x22c6e00 size 8192 bytes
done.
read_nand_cached: error reading nand off 0x999800 size 8192 bytes
off = 0x998f40 magic 0x1985 type 0xe002 node.totlen = 2861
read_nand_cached: error reading nand off 0xfef200 size 8192 bytes
off = 0xfeeb64 magic 0x1985 type 0xe002 node.totlen = 2557
read_nand_cached: error reading nand off 0x22c6000 size 8192 bytes
off = 0x22c5fa4 magic 0x1985 type 0xe002 node.totlen = 379
### JFFS2 load complete: 524288 bytes loaded to 0x800000
## Starting application at 0x00800200 ...
and nothing happens anymore.
I don't really care about the old pogoplug linux except that I don't have the tools to update the flash anymore. There is no nanddump or anything to use Jeff's scripts for updating uboot or installing a rescue linux on the flash.
Are there any tools for writing the flash from standard Debian?
RE