Welcome! Log In Create A New Profile

Advanced

Help recovering bricked Dockstar

Posted by seiatwork 
Help recovering bricked Dockstar
August 27, 2010 05:06PM
I wouldn't have brought this up if I hadn't already looked everywhere else, but you seem to be the king when it comes to the dockstar!

I somehow managed to brick my dockstar. I'll start from the beginning:

I followed all the instructions to the tee. Debian installed fine on the USB drive. Then it asked me for a reboot. However, after rebooting, it wouldn't boot into debian. It would directly go into Pogoplug.

I then ran these commands from this link: http://forum.doozan.com/read.php?3,34
blparam ipaddr=192.168.2.4
blparam active_host=192.168.2.1
blparam if_connected='ping ${active_host}'
blparam bootcmd='run if_connected bootcmd_usb; run bootcmd_original'

After rebooting, The green led blinked for a little while, then my flash drive blinked for a sec and the green led started blinking again. Like on a loop. Now it doesn't even go to the Pogoplug.

So, I opened it up and attached a serial wire.

When I don't attach the USB drive or network, I get the following output -
U-Boot 1.1.4 (Jul 16 2009 - 21:02:16) Cloud Engines (3.4.16)

U-Boot code: 00600000 -> 0067FFF0  BSS: -> 00690D60

Soc: 88F6281 A0 (DDR2)
CPU running @ 1200Mhz L2 running @ 400Mhz
SysClock = 400Mhz , TClock = 200Mhz

DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6
DRAM CS[0] base 0x00000000   size 128MB
DRAM Total size 128MB  16bit width
Flash:  0 kB
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
NAND:256 MB

CPU : Marvell Feroceon (Rev 1)
CLOUD ENGINES BOARD: REDSTONE:1.0

Streaming disabled
Write allocate disabled


USB 0: host mode
PEX 0: interface detected no Link.
Net:   egiga0 [PRIME], egiga1
Hit any key to stop autoboot:  0
egiga0 no link
mvEgigaInit: egiga1 mvEthPortEnable failed (error)
mvEgigaInit: egiga1 failed
Using egiga0 device
ping failed; host 192.168.2.1 is not alive
Unknown command 'runbootcmd_original' - try 'help'


And if I attach both I get the following output -


U-Boot 1.1.4 (Jul 16 2009 - 21:02:16) Cloud Engines (3.4.16)

U-Boot code: 00600000 -> 0067FFF0  BSS: -> 00690D60

Soc: 88F6281 A0 (DDR2)
CPU running @ 1200Mhz L2 running @ 400Mhz
SysClock = 400Mhz , TClock = 200Mhz

DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6
DRAM CS[0] base 0x00000000   size 128MB
DRAM Total size 128MB  16bit width
Flash:  0 kB
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
NAND:256 MB

CPU : Marvell Feroceon (Rev 1)
CLOUD ENGINES BOARD: REDSTONE:1.0

Streaming disabled
Write allocate disabled


USB 0: host mode
PEX 0: interface detected no Link.
Net:   egiga0 [PRIME], egiga1
Hit any key to stop autoboot:  0
Using egiga0 device
host 192.168.2.1 is alive

NAND read: device 0 offset 0x2500000, size 0x80000

Reading data from 0x257f800 -- 100% complete.
 524288 bytes read: OK
## Starting application at 0x00C00000 ...


U-Boot 2010.03-01266-g42f7128-dirty (Aug 06 2010 - 16:49:19)
Marvell-Sheevaplug

SoC:   Kirkwood 88F6281_A0
DRAM:  128 MB
NAND:  256 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
88E1116 Initialized on egiga0
Hit any key to stop autoboot:  0
(Re)start USB...
USB:   Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 3 USB Device(s) found
       scanning bus for storage devices... 1 Storage Device(s) found
Loading file "/boot/uImage" from usb device 0:1 (usbda1)
Failed to mount ext2 filesystem...
** Bad ext2 partition or disk - usb 0:1 **
Loading file "/boot/uInitrd" from usb device 0:1 (usbda1)
Failed to mount ext2 filesystem...
** Bad ext2 partition or disk - usb 0:1 **
Wrong Image Format for bootm command
ERROR: can't get kernel image!
resetting ...


U-Boot 1.1.4 (Jul 16 2009 - 21:02:16) Cloud Engines (3.4.16)

U-Boot code: 00600000 -> 0067FFF0  BSS: -> 00690D60

Soc: 88F6281 A0 (DDR2)
CPU running @ 1200Mhz L2 running @ 400Mhz
SysClock = 400Mhz , TClock = 200Mhz

DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6
DRAM CS[0] base 0x00000000   size 128MB
DRAM Total size 128MB  16bit width
Flash:  0 kB
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
NAND:256 MB

CPU : Marvell Feroceon (Rev 1)
CLOUD ENGINES BOARD: REDSTONE:1.0

Streaming disabled
Write allocate disabled


USB 0: host mode
PEX 0: interface detected no Link.
Net:   egiga0 [PRIME], egiga1
Hit any key to stop autoboot:  0
Using egiga0 device
host 192.168.2.1 is alive

NAND read: device 0 offset 0x2500000, size 0x80000

Reading data from 0x257f800 -- 100% complete.
 524288 bytes read: OK
## Starting application at 0x00C00000 ...


U-Boot 2010.03-01266-g42f7128-dirty (Aug 06 2010 - 16:49:19)
Marvell-Sheevaplug

SoC:   Kirkwood 88F6281_A0
DRAM:  128 MB
NAND:  256 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
88E1116 Initialized on egiga0
Hit any key to stop autoboot:  0
(Re)start USB...
USB:   Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 3 USB Device(s) found
       scanning bus for storage devices... 1 Storage Device(s) found
Loading file "/boot/uImage" from usb device 0:1 (usbda1)
Failed to mount ext2 filesystem...
** Bad ext2 partition or disk - usb 0:1 **
Loading file "/boot/uInitrd" from usb device 0:1 (usbda1)
Failed to mount ext2 filesystem...
** Bad ext2 partition or disk - usb 0:1 **
Wrong Image Format for bootm command
ERROR: can't get kernel image!
resetting ...


U-Boot 1.1.4 (Jul 16 2009 - 21:02:16) Cloud Engines (3.4.16)

U-Boot code: 00600000 -> 0067FFF0  BSS: -> 00690D60

Soc: 88F6281 A0 (DDR2)
CPU running @ 1200Mhz L2 running @ 400Mhz
SysClock = 400Mhz , TClock = 200Mhz

DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6
DRAM CS[0] base 0x00000000   size 128MB
DRAM Total size 128MB  16bit width
Flash:  0 kB
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
NAND:256 MB

CPU : Marvell Feroceon (Rev 1)
CLOUD ENGINES BOARD: REDSTONE:1.0

Streaming disabled
Write allocate disabled


USB 0: host mode
PEX 0: interface detected no Link.
Net:   egiga0 [PRIME], egiga1
Hit any key to stop autoboot:  3

I don't want to mess it up in any way if there is any chance of recovering it. Please help! Otherwise it's 40$ down the drain.. :(
Re: Help recovering bricked Dockstar
August 27, 2010 05:47PM
You're still running the old uBoot.

From uBoot:

run bootcmd_original

That'll get you into Pogoplug. From there, run the mtd0 uBoot installer, and you should be fine.

-- Jeff
Re: Help recovering bricked Dockstar
August 28, 2010 06:33AM
seiatwork Wrote:
-------------------------------------------------------
> ping failed; host 192.168.2.1 is not alive
> Unknown command 'runbootcmd_original' - try

there is missing a space between run and bootcmd_original i think
gorgone
Re: Help recovering bricked Dockstar
August 28, 2010 07:50AM
sorry if i missunderstod something
i have no problem with starting debian from stik but no luck with the orginal pogo sys

U-Boot 2010.03-01266-g42f7128-dirty (Aug 22 2010 -à13:33:06)
Marvell-Sheevaplug

SoC:   Kirkwood 88F6281_A0
DRAM:  128 MB
NAND:  256 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
88E1116 Initialized on egiga0
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 âus for storage devices... 0 Storage Device(s) found
** 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 u.,r½Ñsupported
** Block device usb 0 not supported
Wrong Image Format for boµcommand
ERROR: can't get kernel image!
resetting ...


U-Boot 2010.03-01266-g42f7128-dirty (Aug 22 2010 - 13:33:06)
Marvell-Sheevaplug

SoC:   Kirkwood 88F6281_A0
DRAM:  128 MB
NAND:  256 MiB
In:    serial
Out:   serial
E~r:   serial
Net:   egiga0
88E1116 Initialized on egiga0
Hit any key to stop autoboot:  0


Marvell>> printenv
bootdelay=3
baudrate=115200
preboot=
arcNumber=2097
mainlineLinux=yes
console=ttyS0,115200
usb_device=0:1
usb_root=/dev/sda1
usb_rootfstype=ext2
usb_rootdelay=10
mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
mtdids=nand0=orion_nand
partition=nand0,2
bootcmd_pogo=fsload uboot-original-mtd0.kwb; go 0x800200
usb_load_uimage=ext2load usb $usb_devicå 0x800000 /boot/uImage
usb_boot=if ext2load usb $usb_device 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000;else bootm 0x800000;fi;
set_bootargs_usb=setenv bootargs console=$console root=$usb_root rootdelay=$usb_rootdela{ rootfstype=$usb_rootfstype $mtdparts
bootcmd_usb=run usb_init; run usb_load_uimage; run set_bootargs_usb; run usb_boot;
ethact=egiga0
ethaddr=00:10:75:1A:CD:A8
bootcmd=mw 0x800000 0 1; run bootcmd_usb; reset
usb_init=usb start; if ext2load usb 0:1 0x800000 /boot/uImage; then setenv usb_device 0:1; setenv usb_root /dev/sda1; elif ext2load usb 1:1 0x800000 /boot/uImage; then setenv usb_device 1:1; setenv usb_root /dev/sdb1; elif ext2load usb 2:1 0x800000 /boot/uImage; then setenv usb_device 2:1; setenv usb_root /dev/sdc1; elif ext2load usb 3:1 0x800000 /boot/uImage; then setenv usb_device 3:1;setenv usb_root /dev/sdd1;fi;
stdin=serial
stdout=serial
stderr=serial

Environment size: 1270/131068 bytes

i can get ce with run bootcmd_pogo
and than i can start bootcmd_orginal

some idea ?

CE>> printenv
baudrate=115200
loads_echo=0
ipaddr=169.254.254.253
serve¹Zõ169.254.254.254
rootpath=/mnt/ARM_FS/
netmask=255.255.0.0
run_diag=yes
console=console=ttyS0,115200
CASset=min
MALLOC_len=1
ethprime=egiga0
bootargs_root=root=/dev/mtdblock2 ro
ethmtu=1500
usb0Mode=host
ethact=egiga0
ethaddr=00:10:75:1A:CD:A8
cesvcid=XJ53LUUHYM7R7KV6TCUXDEWEFS
ceserialno=2GEP1GBD
ceboardver=REDSTONE:1.0
bootcmd_usb=nand read.e 0xc00000 0x2500000 0x80000; go 0xc00000
bootcmd1=setenv bootcmd run bootcmd2; saveenv; run bootcmd_usb
bootcmd2=setenv bootcmd run bootcmd1; saveenv; run bootcmd_original
bootcmd_original=nand read.e 0x800000 0x100000 0x300000; setenv bootargs $(console) $(bootargs_root); bootm 0x800000
bootcmd=run bootcmd2
tdin=serial
stdout=serial
stderr=serial
mainlineLinux=no
enaMonExt=no
enaCpuStream=no
enaWrAllo=no
pexMode=RC
disL2Cache=no
setL2CacheWT=yes
disL2Prefetch=yes
enaICPref=yes
enaDCPref=yes
sata_dma_mode=yes
netbsd_en=nï
vxworks_en=no
bootdelay=3
disaMvPnp=no

Environment size: 987/131068 bytes

CE>> run bootcmd_original

NAND read: device 0 offset 0x100000, size 0x300000

Reading data from 0x3ff800 -- 100% complete.=Reading data from 0x205000 --  34% complete.
 3145728 bytes read: OK
## Booting image at 00800000 ...
   Image Name:   Linux-2.6.22.18
   Created:      2009-08-31  23:31:05 UTC
   Image Type:   ARSb¥¹ÕáKernel Image (uncompressed)
   Data Size:    1976384 Bytes =  1.9 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK

Starting kernel ...


gorgone
Re: Help recovering bricked Dockstar
August 28, 2010 07:58AM
i flashed the uboot from 25.9
now it boots without usb directly into pogo

only i got 1 error on boot

### JFFS2 loading 'uboot-original-mtd0.kwb' to 0x800000
Scanning JFFS2 FS: .....  read_nand_cached: error reading nand off 0x625200 size 8192 bytes                                                                                                                                                                        .... done.
read_nand_cached: error reading nand off 0x626600 size 8192 bytes
### JFFS2 load complete: 524288 bytes loaded to 0x800000
## Starting application at 0x00800200 ...

is there something damaged ?
Re: Help recovering bricked Dockstar
August 28, 2010 09:37AM
I installed the new uboot successfully. Then I rebooted it and inserted the USB. This is what I got next -

-sh-3.2# reboot
The system is going down NOW!
Sending SIGTERM to all processes
Requesting system reboot
[   87.120000] md: stopping all md devices.
[   88.120000] Restarting system.
[   88.120000] Reseting !!


U-Boot 2010.06-00695-gbd23130-dirty (Aug 25 2010 - 01:20:45)
Marvell-Dockstar/Pogoplug by Jeff Doozan

SoC:   Kirkwood 88F6281_A0
DRAM:  128 MiB
NAND:  256 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
88E1116 Initialized on egiga0
Hit any key to stop autoboot:  0
(Re)start USB...
USB:   Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 3 USB Device(s) found
       scanning bus for storage devices... 1 Storage Device(s) found
Loading file "/boot/uImage" from usb device 0:1 (usbda1)
Failed to mount ext2 filesystem...
** Bad ext2 partition or disk - usb 0:1 **
Loading file "/boot/uInitrd" from usb device 0:1 (usbda1)
Failed to mount ext2 filesystem...
** Bad ext2 partition or disk - usb 0:1 **
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 0xba0000 size 8192 bytes
read_nand_cached: error reading nand off 0xba2000 size 8192 bytes
read_nand_cached: error reading nand off 0xba4000 size 8192 bytes
read_nand_cached: error reading nand off 0xba6000 size 8192 bytes
read_nand_cached: error reading nand off 0xba8000 size 8192 bytes
read_nand_cached: error reading nand off 0xbaa000 sand_cached: error reading nand off 0xbbc000 size 8192 bytes
read_nand_cached: error reading nand off 0xbbe000 size 8192 bytes             . done.
read_nand_cached: error reading nand off 0xb9f600 size 8192 bytes
off = 0xb9f31c magic 0x1985 type 0xe002 node.totlen = 3299
### JFFS2 load complete: 524288 bytes loaded to 0x800000
## Starting application at 0x00800200 ...


U-Boot 1.1.4 (Jul 16 2009 - 21:02:16) Cloud Engines (3.4.16)

U-Boot code: 00600000 -> 0067FFF0  BSS: -> 00690D60

Soc: 88F6281 A0 (DDR2)
CPU running @ 1200Mhz L2 running @ 400Mhz
SysClock = 400Mhz , TClock = 200Mhz

DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6
DRAM CS[ Done
NAND:256 MB

CPU : Marvell Feroceon (Rev 1)
CLOUD ENGINES BOARD: REDSTONE:1.0

Streaming disabled
Write allocate disabled


USB 0: host mode
PEX 0: interface detected no Link.
Net:   egiga0 [PRIME], egiga1
Hit any key to stop autoboot:  0
CE>>

What am I doing wrong?
Re: Help recovering bricked Dockstar
August 28, 2010 10:47AM
@gorgone, that error is nothing to worry about.

@seiatwork

You're not doing anything wrong. If you look at the log, it's not finding an ext2 partition on your USB drive. So that fails, and it starts booting Pogoplug.

Loading file "/boot/uImage" from usb device 0:1 (usbda1)
Failed to mount ext2 filesystem...
** Bad ext2 partition or disk - usb 0:1 **

Have you installed Debian on this USB drive? If not, just let it boot into Pogoplug and then run the Debian installer.
Re: Help recovering bricked Dockstar
August 28, 2010 07:16PM
All's well now. Booted into pogoplug and made a fresh install of Debian as per your instructions. Debian is now running without any issues. :)

Installed webmin and transmission too.

Thanks a lot Jeff. Yesterday I had lost all hope. Today I'm a happy guy again! :D
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: