HOWTO: rebuild GoflexNet if u-boot was updated

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

HOWTO: rebuild GoflexNet if u-boot was updated

Postby glenno » Sun Feb 08, 2015 3:01 am

Like many on here, a few years ago I updated U-boot to support kernels newer than 3.2 using this guide viewtopic.php?f=53&t=3355

Almost a year ago I needed to rebuild my goflexnet and couldnt get it to successfully boot and grab a DHCP address. At the time I posted here viewtopic.php?f=53&t=6695 saying I would talk to the mods to update the website build guide. There wasn't much take-up.

The build guide here http://archlinuxarm.org/platforms/armv5 ... goflex-net is great if you have a new goflexnet, but if like me you have updated u-boot the guide just doesn't work.

Well, another year has passed and my USB stick wore out, so here are the steps I have used twice now to build a new boot image on USB.

- Grab a new USB stick and format to EXT3 (havent tested EXT4 yet)
- set the partition label of the usb stick to urootfs using "tune2fs -L urootfs /dev/<part>" (replace <part> with /dev/sda1 or similar as applicable)
- Grab the arch image using wget http://archlinuxarm.org/os/ArchLinuxARM ... est.tar.gz and unpack it to your new USB stick.
- Grab the uInitrd from here using "wget http://goo.gl/GFbtn -O uInitrd" and save it to /boot on the usb stick
- Set the perms using chmod 644 /boot/uInitrd
- Edit /etc/fstab to point to the partion to boot. Add the line "LABEL=urootfs / ext3 rw,noatime 0 1"
- Run the command "sync"
- Unmount
- Put stick in to goflexnet and boot.
glenno
 
Posts: 18
Joined: Tue Jan 11, 2011 11:33 am

Re: HOWTO: rebuild GoflexNet if u-boot was updated

Postby moonman » Sun Feb 08, 2015 5:40 am

That U-Boot is old. You really should update to latest provided by us (and there is a big note at the top that links to a guide on how to update to the lates available uboot). After you do that,you can install rescue system.

With the new U-Boot you can use ext4 for rootfs and use linux-kirkwood-dt kernel.
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


Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 5 guests