Welcome! Log In Create A New Profile

Advanced

GoFlexHome not booting

Posted by balanga 
GoFlexHome not booting
May 09, 2017 11:38AM
I have only just discovered this forum, so apologies if I'm posting in the wrong place...

I have been using a Seagate GoFlex Home unit for several years and had read that it was possible to install one's own operating system on it after reading https://archlinuxarm.org/platforms/armv5/seagate-goflex-home. I didn't want to mess with my unit as it was doing a reasonable job as a SAMBA server, but eventually decided to get a second dock to experiment with and managed to install Arch Linux, but after trying one or two things I found I was unable to restore the factory settings and it became inaccessible from the network.

On this forum I'm confused by all the different platforms supported and don't know the relationship between dockstar, shiva pogoplug and GoFlex. My question is, is there some software I can install on a USB stick which will enable my unit to boot up and connect to the network? Alternatively can I set up some verbose logging which will output to a logfile which I can examine after removing the USB stick?
Re: GoFlexHome not booting
May 09, 2017 12:44PM
balanga,

> I have only just discovered this forum, so apologi
> es if I'm posting in the wrong place...

This is the right place.

> I have been using a Seagate GoFlex Home unit for s
> everal years and had read that it was possible to
> install one's own operating system on it after rea
> ding https://archlinuxarm.org/platforms/armv5/seag
> ate-goflex-home. I didn't want to mess with my uni
> t as it was doing a reasonable job as a SAMBA serv
> er, but eventually decided to get a second dock to
> experiment with and managed to install Arch Linux,
> but after trying one or two things I found I was u
> nable to restore the factory settings and it becam
> e inaccessible from the network.

If you have saved the log of what you did, please post here. If you did not save the log, then tell me when you ran the installation procedure https://archlinuxarm.org/platforms/armv5/seagate-goflex-home (so I can determine which u-boot version you have installed).

> On this forum I'm confused by all the different pl
> atforms supported and don't know the relationship
> between dockstar, shiva pogoplug and GoFlex. My qu
> estion is, is there some software I can install on
> a USB stick which will enable my unit to boot up a
> nd connect to the network?

Yes, install Debian 4.4 rootfs on USB: http://forum.doozan.com/read.php?2,12096.

Scroll down to section
Quote

Updated 20 Feb 2016:

This Debian-4.4.0-kirkwood-tld-1-rootfs-bodhi.tar.bz2 is to keep in sync with kernel Linux-4.4.0-kirkwood-tld-1.

This rootfs works for all Kirkwood plugs (GF Home, Dockstar,....)

> Alternatively can I se
> t up some verbose logging which will output to a l
> ogfile which I can examine after removing the USB
> stick?

Sure, once you boot the Debian-4.4.0-kirkwood-tld-1-rootfs-bodhi.tar.bz2 rootfs, you can do that.


---

I expect that you need some additional set up to boot Debian-4.4.0-kirkwood-tld-1-rootfs-bodhi.tar.bz2 rootfs on USB. Because Arch u-boot is set up differently to boot Arch roots. But that should be doable without much effort.

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
Re: GoFlexHome not booting
May 09, 2017 03:55PM
Thanks for your reply.

It's a few months since I got stuck with Arch Linux and no longer have access to the USB stick, but will follow your guidance and see how far I get.
Re: GoFlexHome not booting
May 17, 2017 06:29PM
Ok I've finally got a chance to follow the instructions cited and have a few questions.... The example uses kirkwood-goflexnet.dtb... should I substitute kirkwood-goflex.home.dtb? Not sure of the differences between the two.

Also I'm lacking mkimage. Where should I get this from? Is it an ARM binary?
Re: GoFlexHome not booting
May 18, 2017 02:31AM
balanga Wrote:
-------------------------------------------------------
> Ok I've finally got a chance to follow the instruc
> tions cited and have a few questions.... The examp
> le uses kirkwood-goflexnet.dtb... should I substit
> ute kirkwood-goflex.home.dtb? Not sure of the diff
> erences between the two.
>

Yes, use kirkwood-goflexhome.dtb

> Also I'm lacking mkimage. Where should I get this
> from? Is it an ARM binary?

You can find ARM mkimage in Debian-4.4.0-kirkwood-tld-1-rootfs-bodhi.tar.bz2 rootfs, or on any Linux distro. It works the same way. But you don't need to use this binary during rootfs creation, when booting with separate DTB (you on ly need to use mkimage to append the DTB to zImage to make uImage, when the rootfs kernel is non-FDT).

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
Re: GoFlexHome not booting
May 18, 2017 06:26PM
Re: GoFlexHome not booting
May 19, 2017 01:34AM
balanga,


You can use one from the u-boot installation thread:

http://forum.doozan.com/read.php?3,12381


Quote

A. Flashing Instruction:


Installation is the same for each u-Boot image, the instruction below is written to include all boxes. So choose the platform name that you are installing for, and copy/paste the appropriate commands.

If you are running kernel that do not provide mtd-utils and uboot-tools (fw_setenv, fw_printenv, flash_erase, nandwrite), you can download the NAND and U-Boot tools binaries here in this thread.

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
Re: GoFlexHome not booting
May 19, 2017 12:28PM
That is kind of a long thread with a lot of links and I have no idea what to download....

All I'm looking for is mkimage....

Having said that do I actually need mkimage to create a bootable USB stick?
Re: GoFlexHome not booting
May 19, 2017 01:32PM
balanga Wrote:
-------------------------------------------------------
> That is kind of a long thread with a lot of links
> and I have no idea what to download....
>
> All I'm looking for is mkimage....
>
> Having said that do I actually need mkimage to cre
> ate a bootable USB stick?

As I mentioned above, you don't need to use mkimage, if you have installed a relative new u-boot such as Arch u-boot or my released u-boot.

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
Re: GoFlexHome not booting
May 20, 2017 12:38PM
I was following instructions in this thread

http://forum.doozan.com/read.php?2,12096


Quote

Updated 20 Feb 2016:

This Debian-4.4.0-kirkwood-tld-1-rootfs-bodhi.tar.bz2 is to keep in sync with kernel Linux-4.4.0-kirkwood-tld-1.

...mentioned above...
cd /media/sdb1/boot
cp -a zImage-4.4.0-kirkwood-tld-1  zImage.fdt
cat dts/kirkwood-goflexnet.dtb  >> zImage.fdt
mv uImage uImage.orig
mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-4.4.0-kirkwood-tld-1 -d zImage.fdt  uImage
sync

Quote

Note: if your Linux box does not have mkimage, then install it

apt-get install u-boot-tools


so I don't know whether I need mkimaqe or not
Re: GoFlexHome not booting
May 20, 2017 12:57PM
balanga,

The whole instruction step 4:

Quote

4. Create uImage with embedded DTB for booting with older u-boots (2012 or earlier). Skip this step if you have installed the latest U-Boot for Kirkwood (or are installing this u-boot at the same time).


Please replace kirkwood-goflexnet.dtb below with the correct DTB name for your box (see the folder /media/sdb1/boot/dts).

Generate the uImage with DTB embedded inside:
cd /media/sdb1/boot
cp -a zImage-4.4.0-kirkwood-tld-1 zImage.fdt
cat dts/kirkwood-goflexnet.dtb >> zImage.fdt
mv uImage uImage.orig
mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-4.4.0-kirkwood-tld-1 -d zImage.fdt uImage
sync

Note: if your Linux box does not have mkimage, then install it

apt-get install u-boot-tools

So if you have install the new u-boot (2016.05-tld-1), or installing this new u-boot at the same time, then you don't need it (step 4 is skipped).

If you still have older u-boot (circa 2012) and plan to keep running it then you do need mkimge to perform step 4.

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
Re: GoFlexHome not booting
May 24, 2017 06:36AM
It seems as though I've completely misunderstood what I need to do... I thought I only needed to install a new rootfs, but I suppose I also need a new U-Boot... but the instructions for doing that are confusing. Can this be done on a Linux PC?
Re: GoFlexHome not booting
May 24, 2017 01:40PM
balanga,

> It seems as though I've completely misunderstood w
> hat I need to do... I thought I only needed to ins
> tall a new rootfs,

Your thought is correct. All you need is a new Debian rootfs. And then adjust some u-boot envs to boot it. Your situation is that you have installed Arch u-boot. Now you want to boot Debian rootfs with it:

http://forum.doozan.com/read.php?3,23727

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: