Help with failed GoFlex Net install (Debian a while back)

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

Help with failed GoFlex Net install (Debian a while back)

Postby noggin » Sun Jan 26, 2014 5:03 pm

Hi all

Just resurrected a borked GoFlex Net I was playing with a few months ago. Got the time to install a UART cable and have a look at Uboot. (Waiting for a header connector from eBay before I attack the Pogo v4 I mentioned in a previous thread)

Results here :

UBoot environment http://pastebin.com/8w7CgXEk
UBoot error http://pastebin.com/JMdKW7dD

I've managed to build a Debian Rootfs within Ubuntu and the guide here : http://forum.doozan.com/read.php?2,5986,page=1 however it doesn't quite work (something to do with triggers I'm not Linux-friendly enough to understand!). To be honest I'd rather install Arch Linux anyway. (I can boot a USB Rescue image from Jeff Doozan's Debian stuff as well)

It looks to me as if I need to get a valid ArchLinux rootfs and uImage and Uinitrd onto a flash drive - as even without interrupting uBoot it will load these and run them.

Any assistance in creating a boot image I can put on a USB flash drive, or guidance that will help me install Arch reliably, ideally to a SATA HD as the end point - would be really appreciated.
noggin
 
Posts: 21
Joined: Mon Jan 13, 2014 10:39 pm

Re: Help with failed GoFlex Net install (Debian a while back

Postby WarheadsSE » Sun Jan 26, 2014 8:57 pm

We don't make uInitrd's
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Help with failed GoFlex Net install (Debian a while back

Postby noggin » Sun Jan 26, 2014 9:14 pm

Sorry - not an expert in Arch Linux. The question is whether there is a route to install Arch Linux from the current state of my GoFlex Net and how I go about it.

Apologies if my post was assuming a route that wouldn't work for Arch Linux.

(BTW är du svensk?)
noggin
 
Posts: 21
Joined: Mon Jan 13, 2014 10:39 pm

Re: Help with failed GoFlex Net install (Debian a while back

Postby noggin » Sun Jan 26, 2014 11:32 pm

Never mind. Was able to use RescueFS USB stick get me in a position where I could restore an original uBoot to the GoFlex Net.

# Restore original uBoot
wget http://download.doozan.com/uboot/files/ ... iginal.kwb
flash_erase /dev/mtd0 0 4
nandwrite /dev/mtd0 uboot.mtd0.goflexnet.original.kwb

(I was in a "nothing ventured, nothing gained" kind of mood. I'm usually paranoid about erasing and writing to flash)

Using this was enough to get me back to almost factory settings, boot without an attached storage device, and then allow me to SSH in and run the ArchLinux install script with a blank USB stick, so am now booting Arch Linux from a USB stick. (Currently updating in Pacman)

Excellent.

Now need to find a SATA drive and work out how to make that work.
noggin
 
Posts: 21
Joined: Mon Jan 13, 2014 10:39 pm

Re: Help with failed GoFlex Net install (Debian a while back

Postby noggin » Mon Jan 27, 2014 12:06 am

Spoke too soon...

After following first reboot instructions here : http://archlinuxarm.org/platforms/armv5 ... goflex-net (though the timezone stuff is now deprecated?) my GoFlex Net doeesn't boot.

Uboot logs from UART here : http://pastebin.com/UFEywTc6

Uboot environment here : http://pastebin.com/v8TnMf4Z

And because I've changed Uboot my old Jeff Doozan RescueFS USB stick no longer boots (because of change away from initrd that Arch introduced?)

Any advice gratefully received. It was all going so well. Hopefully it is something obvious. That'll teach me to count my chickens etc.
noggin
 
Posts: 21
Joined: Mon Jan 13, 2014 10:39 pm

Re: Help with failed GoFlex Net install (Debian a while back

Postby noggin » Mon Jan 27, 2014 12:20 am

Well - looks like I've got the same issue as the poster here : viewtopic.php?f=18&t=1365

So following WarheadsSE and kmihelich instructions I need to $this->bbcode_second_pass_quote('', 'r')epartition/format/extract the rootfs


Can I do this on a standard x86 Ubuntu install ? I don't have another Pogoplug-type device knocking around at the moment. Do I need to do something different to :

$this->bbcode_second_pass_code('', '
cd /tmp
wget http://archlinuxarm.org/os/pogoplug/mke2fs
chmod 755 mke2fs
./mke2fs -j /dev/sda1
mkdir alarm
mount /dev/sda1 alarm

cd alarm
wget http://archlinuxarm.org/os/ArchLinuxARM-armv5te-latest.tar.gz
tar -xzvf ArchLinuxARM-armv5te-latest.tar.gz # This will take a long time
rm ArchLinuxARM-armv5te-latest.tar.gz
sync # Takes a while if you are using a flash drive

cd ..
umount alarm
')
noggin
 
Posts: 21
Joined: Mon Jan 13, 2014 10:39 pm

Re: Help with failed GoFlex Net install (Debian a while back

Postby moonman » Mon Jan 27, 2014 12:56 am

See my signature for (re)installation instructions.
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: Help with failed GoFlex Net install (Debian a while back

Postby noggin » Mon Jan 27, 2014 1:01 am

Thanks moonman. Took a punt and though I just needed to extract the ArchLinuxARM-armv5te-latest.tar.gz to a newly ext3 formatted USB stick called "rootfs" on my x86 Ubuntu machine and it's booting. Think this is pretty much what you say.

It's booted. Now trying a packman update and will then reboot.
noggin
 
Posts: 21
Joined: Mon Jan 13, 2014 10:39 pm

Re: Help with failed GoFlex Net install (Debian a while back

Postby moonman » Mon Jan 27, 2014 1:04 am

It may be booting, but if you didn't extract it as root (sudo su) you may be seeing weird problems.
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: Help with failed GoFlex Net install (Debian a while back

Postby noggin » Mon Jan 27, 2014 1:04 am

Hmm - during the pacman update I got quite a few of the following errors :

$this->bbcode_second_pass_code('', '
usb 1-1 : device descriptor read/64 error -110
')

I guess this could be a dodgy USB stick?

I'll try with another one...
noggin
 
Posts: 21
Joined: Mon Jan 13, 2014 10:39 pm

Next

Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 5 guests