Setting fw_env when hard drive won't boot?

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

Setting fw_env when hard drive won't boot?

Postby UncleRoger » Wed Aug 28, 2013 7:23 am

I've got a Pogoplug Mobile and a 500gb USB3 hard drive (they were on sale cheap at Target!). I've installed ArchLinux on the hard drive and a flash drive. The flash drive boots fine, but the hard drive just keeps blinking. So I want to set up NetConsole (as directed here and here) but I'm confused.

If I can't boot off the hard drive, how do I use fw_setenv to get netconsole going on the Pogoplug?

I apologize for the questions; I'm not used to digging this deep into OS stuff on Linux. And if y'all have any thoughts on why it boots fine from the thumb drive and not from the hard drive when they have the exact same OS on them, I'd love to hear it. (Both are ext3, partitioned and formatted under Ubuntu, with the same ArchLinux stuff. The hard drive has one 8GB partition with the label ROOTFS and it's flagged as bootable.)

So anyway, thanks in advance!
UncleRoger
 
Posts: 6
Joined: Thu Aug 22, 2013 12:28 am

Re: Setting fw_env when hard drive won't boot?

Postby moonman » Wed Aug 28, 2013 7:34 am

If I remember correctly Mobile does not have U-Boot netconsole. If I am right then your only option is serial.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: Setting fw_env when hard drive won't boot?

Postby UncleRoger » Wed Aug 28, 2013 7:52 am

$this->bbcode_second_pass_quote('', 'I')f I remember correctly Mobile does not have U-Boot netconsole. If I am right then your only option is serial.


Aw fiddlesticks. I don't really have the time or the skill to hook that up (my problem, not anyone else's). I may just have to go with booting from the flash drive and mount the hd along with it.

Thanks!
UncleRoger
 
Posts: 6
Joined: Thu Aug 22, 2013 12:28 am

Re: Setting fw_env when hard drive won't boot?

Postby grayman4hire » Wed Aug 28, 2013 3:53 pm

You might want to try the solution mentioned in this thread - viewtopic.php?f=18&t=1717&p=9527#p9527

I'm had HD boot up issues and editing the bootcmd to start, stop and then start the usb again resolved the issue - "usb start; usb stop; usb start"

$this->bbcode_second_pass_code('', '
fw_printenv bootcmd
#fw_setenv bootcmd 'usb start; usb stop; usb start; xxxxxxx'')

Give that a try and report back. Thanks
grayman4hire
 
Posts: 350
Joined: Sat Sep 29, 2012 12:03 am
Location: SF, CA

Re: Setting fw_env when hard drive won't boot?

Postby UncleRoger » Wed Aug 28, 2013 7:22 pm

$this->bbcode_second_pass_quote('', 'Y')ou might want to try the solution mentioned in this thread...


I saw that one... it's one of many, many ArchLinux/Pogoplug related tabs permanently open. 8^)

But as I understand it, the fw_setenv command makes the file on the current boot partition. But if I can't boot off the hard drive, how do I get this in place on the hard drive? Can I do this command when booted on the flash drive and then copy /etc/fw_env.config to the hard drive?

P.S., is your site qnology.com? If so, thankyouthankyouthankyou!
UncleRoger
 
Posts: 6
Joined: Thu Aug 22, 2013 12:28 am

Re: Setting fw_env when hard drive won't boot?

Postby moonman » Wed Aug 28, 2013 8:22 pm

fw_* commands deal with U-Boot that is on the internal flash on your device. Also I believe The mobile needs to use blparm, not fw_* stuff.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: Setting fw_env when hard drive won't boot?

Postby UncleRoger » Wed Aug 28, 2013 11:59 pm

$this->bbcode_second_pass_quote('', 'f')w_* commands deal with U-Boot that is on the internal flash on your device. Also I believe The mobile needs to use blparm, not fw_* stuff.

Ah, so I could boot off the flash drive that works, do the fw_* (or equivalent blparm) commands, and, because they affect the built-in flash, they would still be in effect after rebooting with the hard drive? So now I need to hunt down the appropriate blparm commands. Thanks!
UncleRoger
 
Posts: 6
Joined: Thu Aug 22, 2013 12:28 am
Top


Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 2 guests