Bricked GoFlex Net? Need Help (SOLVED by tomcheng76)

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

Bricked GoFlex Net? Need Help (SOLVED by tomcheng76)

Postby LightC » Tue Oct 25, 2011 4:49 am

Hi All,

I was following the directions on here to install Archlinux on my GoFlex Net: http://archlinuxarm.org/platforms/armv5 ... goflex-net

I completed all the steps but after rebooting I'm no longer able to SSH to my GoFlex, with or without the USB drive connected. Unfortunately, it looks like I used too small of a USB drive for the initial install (4GB). Any ideas as to what could have gone wrong with not being able to boot back up into pogoplug? I've included an output of latter half of the install process below.


$this->bbcode_second_pass_code('', './usr/lib/libobjc.so
./usr/lib/libfuse.a
tar: write error: No space left on device
-bash-3.2# rm ArchLinuxARM-armv5te-*.tar.gz
-bash-3.2# sync # Takes a while if you are using a flash drive
-bash-3.2# sync
-bash-3.2# cd ..
-bash-3.2# umount usb
-bash-3.2# cd /tmp
-bash-3.2# wget http://jeff.doozan.com/debian/goflex/v0.6/uInitrd
Connecting to jeff.doozan.com (69.163.187.226:80)
uInitrd 100% |*******************************| 3911k 00:00:00 ETA
-bash-3.2# wget http://jeff.doozan.com/debian/goflex/v0.6/ubit_start
Connecting to jeff.doozan.com (69.163.187.226:80)
ubit_start 100% |*******************************| 2238 --:--:-- ETA
-bash-3.2# chmod +x ubit_start
-bash-3.2# ./ubit_start
17220 blocks
Entering UBIT environment
No valid U-Boot environment exists.
You need to reboot once to let U-Boot set its default environment
before the ethaddr setting can be updated, either directly or
with a cached value.

To cache a value, run:
ethaddr uu:vv:ww:xx:yy:zz
UBIT v0.6 by peaslaker 2010.11-00125-ga21bcca
ubit0-6:~# chain_install goflexnet
UBIT.CHAIN:goflexnet
UBIT.CHAIN:/usr/share/ubit/original/goflexnet.kwb writing to 0x380000 of /dev/mtd1
1+0 records in
1+0 records out
UBIT:bl: /usr/share/ubit/original/goflexnet.kwb checksum 5cbbbca7693c5939836349bbd7f270e8 -
Erase Total 4 Units
Performing Flash Erase of length 131072 at offset 0x3e0000 done
Writing data to block 28 at offset 0x380000
Writing data to block 29 at offset 0x3a0000
Writing data to block 30 at offset 0x3c0000
Writing data to block 31 at offset 0x3e0000
1+0 records in
1+0 records out
UBIT:bl: u-boot checksum match OK.
ubit0-6:~# chain_revert
/usr/share/ubit/original/goflexnet.kwb.md5
1+0 records in
1+0 records out
UBIT:bl: u-boot.5cbbbca7693c5939836349bbd7f270e8.kwb checksum 5cbbbca7693c5939836349bbd7f270e8 -
Erase Total 4 Units
Performing Flash Erase of length 131072 at offset 0x60000 done
Writing data to block 0 at offset 0x0
Writing data to block 1 at offset 0x20000
Writing data to block 2 at offset 0x40000
Writing data to block 3 at offset 0x60000
1+0 records in
1+0 records out
Writing data to block 4 at offset 0x80000
UBIT:bl: u-boot checksum match OK.
ubit0-6:~# uboot_uptodate
Existing firmware identified as matching: /usr/share/ubit/original/goflexnet.kwb.md5
UBIT:bl: u-boot checksum did not match.
Writing latest goflexnet firmware to /dev/mtd0
0+1 records in
1+0 records out
UBIT:bl: /usr/share/ubit/firmware/goflexnet.kwb checksum b43339faeb1d3924fa09aae0d0723065 -
Erase Total 4 Units
Performing Flash Erase of length 131072 at offset 0x60000 done
Writing data to block 0 at offset 0x0
Writing data to block 1 at offset 0x20000
Writing data to block 2 at offset 0x40000
Writing data to block 3 at offset 0x60000
0+1 records in
1+0 records out
Writing data to block 4 at offset 0x80000
UBIT:bl: u-boot checksum match OK.
ubit0-6:~# ethaddr 00:10:75:26:32:1B
No valid U-Boot environment exists.
You need to reboot once to let U-Boot set its default environment
before the ethaddr setting can be updated, either directly or
with a cached value.

Cached ethaddr value set to: 00:10:75:26:32:1B
ubit0-6:~# on /dev/sda1 ubit_write
UBIT:operating on /dev/sda1

cpio: /etc/ssh_host_key: No such file or directory
Writing ramdisk to /tmp/7caae93163da50f03ac46f598ec13f7a/boot/uInitrd
Image Name: UBIT-2010.11-00125-ga21bcca
Created: Tue Oct 25 04:31:38 2011
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 2640302 Bytes = 2578.42 kB = 2.52 MB
Load Address: 00000000
Entry Point: 00000000
ubit0-6:~# tune2fs -L "rootfs" /dev/sda1
tune2fs 1.41.12 (17-May-2010)
ubit0-6:~# exit
Exiting UBIT environment

-bash-3.2# /sbin/reboot

')
Last edited by LightC on Thu Oct 27, 2011 7:09 pm, edited 1 time in total.
LightC
 
Posts: 6
Joined: Mon Jan 10, 2011 6:54 pm

Re: Bricked GoFlex Net? Need Help

Postby tomcheng76 » Tue Oct 25, 2011 6:12 am

Not all usb thumb drive is recognized and can be used in cold boot i think....
perhaps you can use a linux pc and issue the following command to check if U-boot is working first

First, setup this in your pc, make sure ifconfig and netcat/socat is installed on the linux.
$this->bbcode_second_pass_code('', 'sudo ifconfig eth0:0 10.10.10.5
nc -lu 10.10.10.5 6666')

then turn on goflex net on the same LAN network.

Or you can simply use another usb thumb drive that has size > 1G and < 4G and repeat the following step in a linux pc and then insert it to goflex net, verify the boot using the above method.
$this->bbcode_second_pass_code('', '
1. Format your whole drive as ext3 primary partition
2. Download http://archlinuxarm.org/os/ArchLinuxARM-armv5te-latest.tar.gz
3. extract ArchLinuxARM-armv5te-latest.tar.gz
4. umount the usb.
')
tomcheng76
 
Posts: 130
Joined: Mon Dec 13, 2010 11:24 am

Re: Bricked GoFlex Net? Need Help

Postby LightC » Tue Oct 25, 2011 2:11 pm

Shouldn't I be able to boot into pogoplug without the USB attached? That's the way Arch Linux ARM install works on my Dockstar at least. I can't even SSH to the GoFlex Net regardless of whether the USB is attached or not.
LightC
 
Posts: 6
Joined: Mon Jan 10, 2011 6:54 pm

Re: Bricked GoFlex Net? Need Help

Postby tomcheng76 » Wed Oct 26, 2011 1:37 am

$this->bbcode_second_pass_quote('LightC', 'S')houldn't I be able to boot into pogoplug without the USB attached? That's the way Arch Linux ARM install works on my Dockstar at least. I can't even SSH to the GoFlex Net regardless of whether the USB is attached or not.


Please debug your goflex net startup using the advanced procedure. Mine goes to Arch Linux ARM install if no USB is attached.
http://archlinuxarm.org/platforms/armv5 ... tform_tabs

FYI, after i install the archlinxarm following the URL you posted, the IP of the goflexnet changes, i have to check my router to get the IP information. you may check the DHCP or router for the IP information.
tomcheng76
 
Posts: 130
Joined: Mon Dec 13, 2010 11:24 am

Re: Bricked GoFlex Net? Need Help

Postby LightC » Thu Oct 27, 2011 7:09 pm

I think that was it. The MAC address setting that was in the instructions didn't take for some reason and it defaulted to another MAC address that my router gave a new IP to.

I basically started with a new USB stick and installed the goflex net version of Arch Linux ARM install onto it using my dockstar. Then I was able to boot up on the GoFlex Net with no problem.

Thanks for the help.
LightC
 
Posts: 6
Joined: Mon Jan 10, 2011 6:54 pm


Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 9 guests