Welcome! Log In Create A New Profile

Advanced

GoFlexNet bricked

Posted by beta 
GoFlexNet bricked
March 05, 2013 10:34AM
Hi there,

Think my GFN is finally bricked.
Here is what I did, from scratch:
Main reason to order this device was to build a SqueezePlug, so I followed the SqueezeboxWiki instruction SqueezeBoxWiki. Preparing the USB stick was easy, the bootloader has been replaced following GFNImage and arcNumber was adapted.

Boot from USB stick went fine, last step of the wiki is to install the Rescue System to NAND. At step:
fw_setenv rescue_bootcmd 'if test $rescue_installed -eq 1; then run rescue_set_bootargs; nand read.e 0x500000 0x100000 0x400000; bootm 0x500000; else run pogo_bootcmd; fi
I've got the "Too few good blocks..." response, I was seeking for info on that and learned here: Newer uBoot as workaround to 3.2 kernel problem? that a new uBoot would help to resolve that problem. So, I set up UART and netconsole and successfully installed
uboot.mtd0.kwb-2011.12-goflexnet-L2Coff-IDEpatched.kwb .
That went fine:
U-Boot 2011.12 (Apr 18 2012 - 23:08:20)
Seagate GoFlexNet

SoC:   Kirkwood 88F6281_A1
DRAM:  128 MiB
WARNING: Caches not enabled
NAND:  256 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
88E1116 Initialized on egiga0
Hit any key to stop autoboot:  0
GoFlexNet> tftpboot 0x800000 uboot.mtd0.kwb-2011.12-goflexnet-L2Coff-IDEpatched.kwb
Using egiga0 device
TFTP from server 192.168.2.113; our IP address is 192.168.2.118
Filename 'uboot.mtd0.kwb-2011.12-goflexnet-L2Coff-IDEpatched.kwb'.
Load address: 0x800000
Loading: ####################################
done
Bytes transferred = 524288 (80000 hex)
GoFlexNet> nand erase 0x0 0x80000

NAND erase: device 0 offset 0x0, size 0x80000
Erasing at 0x60000 -- 100% complete.
OK
GoFlexNet> nand write.e 0x800000 0x0 0x80000

NAND write: device 0 offset 0x0, size 0x80000
 524288 bytes written: OK
GoFlexNet> reset
resetting ...

But now, the GFN didn't boot from USB stick anymore, even after setting the arcNumber to 3089 again.
Next, I was trying to boot from USB manually, using the USB boot variables I found in
GoFlex Net not booting from USB Stick. Dockstar does! .
But it seems that I mixed something up in the uBoot env settings:
GoFlexNet> usb start
(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... 1 Storage Device(s) found
GoFlexNet> run usb_bootcmd
## Error: "usb_bootcmd" not defined
GoFlexNet> usb_boot=mw 0x800000 0 1; ext2load usb $usb_device 0x800000 /boot/uIm
age; if ext2load usb $usb_device 0x1100000 /boot/uInitrd; then bootm 0x800000 0x
1100000; else bootm 0x800000; fi
Unknown command '0x800000' - try 'help'
** No boot file defined **
** No boot file defined **
Wrong Image Format for bootm command
ERROR: can't get kernel image!

From that post: Re: Restore MTD backup via serial
I deduced I might need to install uboot.UARTgoflexnet-IDEpatched-netconsoleON.kwb to fix this.
So I did:
U-Boot 2011.12 (Apr 18 2012 - 23:08:20)
Seagate GoFlexNet

SoC:   Kirkwood 88F6281_A1
DRAM:  128 MiB
WARNING: Caches not enabled
NAND:  256 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
88E1116 Initialized on egiga0
Hit any key to stop autoboot:  0
GoFlexNet> tftpboot 0x800000 uboot.UARTgoflexnet-IDEpatched-netconsoleON.kwb
Using egiga0 device
TFTP from server 192.168.2.113; our IP address is 192.168.2.118
Filename 'uboot.UARTgoflexnet-IDEpatched-netconsoleON.kwb'.
Load address: 0x800000
Loading: ####################################
done
Bytes transferred = 524288 (80000 hex)
GoFlexNet> version

U-Boot 2011.12 (Apr 18 2012 - 23:08:20)
Seagate GoFlexNet
arm-none-linux-gnueabi-gcc (Sourcery G++ Lite 2009q3-67) 4.4.1
GNU ld (Sourcery G++ Lite 2009q3-67) 2.19.51.20090709
GoFlexNet> nand erase 0x0 0x80000

NAND erase: device 0 offset 0x0, size 0x80000
Erasing at 0x60000 -- 100% complete.
OK
GoFlexNet> nand write.e 0x800000 0x0 0x80000

NAND write: device 0 offset 0x0, size 0x80000
 524288 bytes written: OK
GoFlexNet> version

U-Boot 2011.12 (Apr 18 2012 - 23:08:20)
Seagate GoFlexNet
arm-none-linux-gnueabi-gcc (Sourcery G++ Lite 2009q3-67) 4.4.1
GNU ld (Sourcery G++ Lite 2009q3-67) 2.19.51.20090709
GoFlexNet> reset
resetting ...

From here onwards, the device doesn't respond on UART connection (Windows Hyperterminal) and the status LED remains dark. The system is still consuming power (4 W) but I assume it finally mutated into a zombie :-(

Could someone tell me at which point I made the deadly mistake?
Re: GoFlexNet bricked
March 05, 2013 03:53PM
beta Wrote:
-------------------------------------------------------
> Hi there,
>
> Think my GFN is finally bricked.
> Here is what I did, from scratch:
> Main reason to order this device was to build a
> SqueezePlug, so I followed the SqueezeboxWiki
> instruction
> [url=http://wiki.slimdevices.com/index.php/Squeeze
> Plug]SqueezeBoxWiki[/url]. Preparing the USB stick
> was easy, the bootloader has been replaced
> following
> [url=http://wiki.slimdevices.com/index.php/Squeeze
> Plug#SqueezePlug_GoFlexNet_Image]GFNImage[/url]
> and arcNumber was adapted.
>
> Boot from USB stick went fine, last step of the
> wiki is to install the Rescue System to NAND. At
> step:
> [i]fw_setenv rescue_bootcmd 'if test
> $rescue_installed -eq 1; then run
> rescue_set_bootargs; nand read.e 0x500000 0x100000
> 0x400000; bootm 0x500000; else run pogo_bootcmd;
> fi[/i]
> I've got the "[i]Too few good blocks...[/i]"
> response, I was seeking for info on that and
> learned here:
> [url=http://forum.doozan.com/read.php?3,6965,6965]
> Newer uBoot as workaround to 3.2 kernel
> problem?[/url] that a new uBoot would help to
> resolve that problem. So, I set up UART and
> netconsole and successfully installed
> [b]uboot.mtd0.kwb-2011.12-goflexnet-L2Coff-IDEpatc
> hed.kwb[/b] .
> That went fine:
> [code]
> U-Boot 2011.12 (Apr 18 2012 - 23:08:20)
> Seagate GoFlexNet
>
> SoC: Kirkwood 88F6281_A1
> DRAM: 128 MiB
> WARNING: Caches not enabled
> NAND: 256 MiB
> In: serial
> Out: serial
> Err: serial
> Net: egiga0
> 88E1116 Initialized on egiga0
> Hit any key to stop autoboot: 0
> GoFlexNet> tftpboot 0x800000
> uboot.mtd0.kwb-2011.12-goflexnet-L2Coff-IDEpatched
> .kwb
> Using egiga0 device
> TFTP from server 192.168.2.113; our IP address is
> 192.168.2.118
> Filename
> 'uboot.mtd0.kwb-2011.12-goflexnet-L2Coff-IDEpatche
> d.kwb'.
> Load address: 0x800000
> Loading: ####################################
> done
> Bytes transferred = 524288 (80000 hex)
> GoFlexNet> nand erase 0x0 0x80000
>
> NAND erase: device 0 offset 0x0, size 0x80000
> Erasing at 0x60000 -- 100% complete.
> OK
> GoFlexNet> nand write.e 0x800000 0x0 0x80000
>
> NAND write: device 0 offset 0x0, size 0x80000
> 524288 bytes written: OK
> GoFlexNet> reset
> resetting ...
> [/code]
>

> But now, the GFN didn't boot from USB stick
> anymore, even after setting the arcNumber to 3089
> again.
> Next, I was trying to boot from USB manually,
> using the USB boot variables I found in
> [url=http://forum.doozan.com/read.php?2,11222,1122
> 2,quote=1]GoFlex Net not booting from USB Stick.
> Dockstar does![/url] .
> But it seems that I mixed something up in the
> uBoot env settings:
> [code]
> GoFlexNet> usb start
> (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... 1
> Storage Device(s) found
> GoFlexNet> run usb_bootcmd
> ## Error: "usb_bootcmd" not defined
> GoFlexNet> usb_boot=mw 0x800000 0 1; ext2load usb
> $usb_device 0x800000 /boot/uIm
> age; if ext2load usb $usb_device 0x1100000
> /boot/uInitrd; then bootm 0x800000 0x
> 1100000; else bootm 0x800000; fi
> Unknown command '0x800000' - try 'help'
> ** No boot file defined **
> ** No boot file defined **
> Wrong Image Format for bootm command
> ERROR: can't get kernel image!
> [/code]
>

Looks like it's fine until this point, the error can be fixed by setting usb_bootcmd and usb_boot envs to correct values.

I don't think you need to flash this image: uboot.UARTgoflexnet-IDEpatched-netconsoleON.kwb. The previous one works fine, but I think the envs were not for USB booting. You're actually flashing debugging uBoot images created by Davy. It's best to flash his final uBoot image that you can find from Jeff's installation script [url]http://projects.doozan.com/uboot/install_uboot_mtd0.sh[/url].

To unbrick this zombie, try UART booting instruction:
[url]http://forum.doozan.com/read.php?3,7852[/url]
Re: GoFlexNet bricked
March 06, 2013 08:49AM
bodhi Wrote:
-------------------------------------------------------
>
> Looks like it's fine until this point, the error
> can be fixed by setting usb_bootcmd and usb_boot
> envs to correct values.
>
> I don't think you need to flash this image:
> uboot.UARTgoflexnet-IDEpatched-netconsoleON.kwb.
> The previous one works fine, but I think the envs
> were not for USB booting. You're actually flashing
> debugging uBoot images created by Davy. It's best
> to flash his final uBoot image that you can find
> from Jeff's installation script
> http://projects.doozan.com/uboot/install_uboot_mtd
> 0.sh.
>
> To unbrick this zombie, try UART booting
> instruction:
> http://forum.doozan.com/read.php?3,7852

Thanks, bodhi,
but I'm afraid I can't do anything any further, since I don't receive any single bit via the established serial connection anymore. Didn't try netconsole yet but afaik it is activated AFTER the serial connection. I guess the first stage bootloader is somehow gone.
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: