Latest U-Boot for Seagate GoFlex Home

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

Latest U-Boot for Seagate GoFlex Home

Postby balanga » Mon Sep 11, 2017 12:26 pm

Where can I find the latest U-Boot for a Seagate GoFlex Home Unit?
balanga
 
Posts: 22
Joined: Thu Mar 16, 2017 1:04 pm

Re: Latest U-Boot for Seagate GoFlex Home

Postby moonman » Thu Sep 14, 2017 2:00 pm

You can install it with pacman from the repositories.
Pogoplug V4 | GoFlex Home | Raspberry Pi B 512 | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | |[armv5] How to install my.pogoplug.com service | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3089
Joined: Sat Jan 15, 2011 3:36 am
Location: Calgary, Canada

Re: Latest U-Boot for Seagate GoFlex Home

Postby balanga » Mon Oct 30, 2017 7:34 am

I'm booting from a Debian USB stick so pacman is not available.
balanga
 
Posts: 22
Joined: Thu Mar 16, 2017 1:04 pm

Re: Latest U-Boot for Seagate GoFlex Home

Postby moonman » Tue Oct 31, 2017 7:35 pm

You can extract it from the package then
http://ca.us.mirror.archlinuxarm.org/ar ... pkg.tar.xz
Pogoplug V4 | GoFlex Home | Raspberry Pi B 512 | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | |[armv5] How to install my.pogoplug.com service | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3089
Joined: Sat Jan 15, 2011 3:36 am
Location: Calgary, Canada

Re: Latest U-Boot for Seagate GoFlex Home

Postby balanga » Tue Oct 31, 2017 10:05 pm

Thanks for the link, but I'm not sure how to install it....
balanga
 
Posts: 22
Joined: Thu Mar 16, 2017 1:04 pm

Re: Latest U-Boot for Seagate GoFlex Home

Postby moonman » Wed Nov 01, 2017 11:58 pm

Well, you have 2 options:
1. Boot archlinux arm from a usb and then install the package
2. Check the install script in the package which is also available here https://github.com/archlinuxarm/PKGBUIL ... me.install
It is just a bash script. If you will be doing it manually, make sure you set ethaddr to the mac address of your device after flashing or you will boot up without network interface
Pogoplug V4 | GoFlex Home | Raspberry Pi B 512 | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | |[armv5] How to install my.pogoplug.com service | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3089
Joined: Sat Jan 15, 2011 3:36 am
Location: Calgary, Canada

Re: Latest U-Boot for Seagate GoFlex Home

Postby balanga » Thu Nov 02, 2017 7:29 am

Thanks for the help.

This is how I understand what I need to do...

Boot from USB (using existing Debian uboot)
ssh into GFH

wget https://github.com/archlinuxarm/PKGBUIL ... me.install
uboot-goflexhome.install

reboot

Does that sound right?
balanga
 
Posts: 22
Joined: Thu Mar 16, 2017 1:04 pm

Re: Latest U-Boot for Seagate GoFlex Home

Postby balanga » Thu Nov 02, 2017 9:16 pm

I tried:-

wget https://github.com/archlinuxarm/PKGBUIL ... me.install

but got:

ERROR: The certificate of 'github.com' is not truted.
ERROR: The certificate of 'github.com' hasn't got a known issuer.
balanga
 
Posts: 22
Joined: Thu Mar 16, 2017 1:04 pm

Re: Latest U-Boot for Seagate GoFlex Home

Postby balanga » Thu Nov 02, 2017 9:59 pm

I managed to get this onto my USB stick when it booted up, but even though I set it to executable I couldn't get it to run...

Any clues?
Code: Select all
[code]flash_uboot() {
  if [[ ! -e /dev/mtd0 ]]; then
   echo '>> Error: /dev/mtd0 does not exist.'
   return
  fi
  # set up config for fw_printenv/setenv
  echo '/dev/mtd0 0xc0000 0x20000 0x20000' > /etc/fw_env.config
  # save MAC address
  mac=$(fw_printenv | grep ethaddr | cut -d= -f2)
  if [[ $mac == '' ]]; then
   echo '>> Error: Could not find MAC address from current U-Boot.'
   return
  fi
  # flash U-Boot
  flash_erase /dev/mtd0 0 4
  flash_erase /dev/mtd0 0xc0000 1
  nandwrite /dev/mtd0 /boot/uboot-goflexhome.kwb
  nandwrite -s 0xc0000 /dev/mtd0 /boot/uboot-goflexhome.env
  # set MAC address
  fw_setenv ethaddr ${mac}
}

ask_uboot() {
  echo "A new U-Boot version needs to be flashed to NAND."
  echo "Do you want to do this now? [y|N]"
  read -r shouldwe
  if [[ $shouldwe =~ ^([yY][eE][sS]|[yY])$ ]]; then
   flash_uboot
  else
   echo "You can do this later by re-installing uboot-goflexhome."
  fi
}
balanga
 
Posts: 22
Joined: Thu Mar 16, 2017 1:04 pm


Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 4 guests