GoFlex Home, boot from usb: Need Help

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

GoFlex Home, boot from usb: Need Help

Postby floodo1 » Sun Jul 22, 2012 1:42 am

Had to do a lot of searching to get as far as I have since all the information seems to be super spread out. I can't quite piece it all together, so I'm stuck and need some help.

I already had a 3TB GoFlex USB3 drive, and I saw the guy on ebay selling GoFlex Home bases for 25 bucks, so I figured that's worth buying :) Unlike a lot of people I don't want to boot off the SATA drive. For now, I'd rather have the GoFlex booting off USB and then serving up whatever SATA drive I slap on there (namely my 3tb)....file server style.

So I got the base, and hooked it up with no SATA drive (just bare), and I made myself an Arch Linux USB drive, which I managed to make bootable (ended up using Gparted live disc to partition my thumb drive with an bootable ext3 partition, which I then extracted the latest Arch linux onto).
Thing of it was that the base wasn't booting from it. I figured out that the problem is that the Seagate boot loader wasn't trying to boot off USB, and was just booting the default Seagate software. At this point I found this page on Jeff Doozan's site. So I did the following:

$this->bbcode_second_pass_code('', ' ssh USERNAME_hipserv2_seagateplug_XXXX-XXXX-XXXX-XXXX@GOFLEX_HOME_IP
sudo -E -s #gain root access ')
$this->bbcode_second_pass_code('', 'cd /tmp wget http://projects.doozan.com/uboot/install_uboot_mtd0.sh chmod +x install_uboot_mtd0.sh ./install_uboot_mtd0.sh')

That went fine, so I threw in an /sbin/halt, power cycled and voila! Thing booted right up off my thumb drive!!!!!

I was in the promised land......only problem was that every time I turn the thing on it's got a new MAC address. Easy enough fix right? WRONG!!!!!

I do the usual, installing UBIT
$this->bbcode_second_pass_code('', 'cd /tmp wget http://jeff.doozan.com/debian/goflex/v0.6/uInitrd wget http://jeff.doozan.com/debian/goflex/v0.6/ubit_start chmod +x ubit_start')
Then run UBIT. and as soon as it launches it tells me that the environment isn't setup and that it takes a restart to do so, and that if I want a can cache a MAC address so that it will be set next time it starts up. I cache the MAC address, restart and it's on a random MAC again.

After that it's a blur. At some point something changed so that when I SSH into the thing it goes directly into UBOOT, and says the thing about the environment being jacked and I appear to be in a different file system from the one on my USB drive, and I have a more limited shell than on my USB drive. EVERY time I would reboot the device, SSH in and I'd be at this different prompt, and the device has a new MAC still every time.

I tried to use netconsole from both my Mac and my PC running a linux live disc, but that never works, just blank always.

-------

long and short of it is that i'm erasing and putting a fresh base copy of arch on my thumb drive and gonna see if that helps the weird SSH prompt thing, and if it does I'll still be stuck with what appears to be semi-borked boot loader.

No matter what I try I can't set the EthAddr, either from the uboot type prompt, from the linux install with fw_setenv, or anything.

Maybe I shouldn't have installed the boot loader from here?????? http://projects.doozan.com/uboot/
floodo1
 
Posts: 4
Joined: Sun Jul 22, 2012 1:20 am

Re: GoFlex Home, boot from usb: Need Help

Postby floodo1 » Sun Jul 22, 2012 1:45 am

Wow, last post was too long!

Pretty sure that I have a borked uboot install. The fact that net console doesn't do anything for me (even when I try it on different computers with no firewall (live cd) or firewall turned off (mac)) makes me think that uboot is messed up.

Still don't understand why it seems like when I have the thumb drive plugged in I get a prompt from a different linux system.

Thanks in advance.
floodo1
 
Posts: 4
Joined: Sun Jul 22, 2012 1:20 am

Re: GoFlex Home, boot from usb: Need Help

Postby floodo1 » Sun Jul 22, 2012 2:02 am

Ok, so now I'm thinking that the reason I have a funny prompt and limited system is that I might have Jeff Doozan's Rescue v2 installed. http://forum.doozan.com/read.php?4,3896

Thing of it is that the latest version of Rescue, v2.8 http://forum.doozan.com/read.php?4,7915 says this in the changelog:
$this->bbcode_second_pass_quote('', 'f')ixes for the "Too Many Bad Blocks" NAND driver problem on GoFlex Net/Home

I remember at some point I did a "dmesg" and it had about 500 lines of "bad block" error message, in sequential blocks.

So maybe the old install of Rescue (that I may or may not have) doesn't play nice with the uboot that I do for sure have installed. Thing of it is that I don't recall doing any manual "flash_erase" or "nand_write" commands by hand ever.
floodo1
 
Posts: 4
Joined: Sun Jul 22, 2012 1:20 am

Re: GoFlex Home, boot from usb: Need Help

Postby floodo1 » Sun Jul 22, 2012 2:04 am

Wow, if you read through all my self-replies and help you I'll be amazed.

What it all comes down to is how can I go about making sure I have the right uboot? I'm gonna start with a clean USB drive, which the thing should be willing to boot from.
floodo1
 
Posts: 4
Joined: Sun Jul 22, 2012 1:20 am


Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 205 guests