Quantcast
Channel: Linux Device Hacking
Viewing all articles
Browse latest Browse all 3247

help: recovering old goflex home (4 replies)

$
0
0
Old goflex home, It was running stable with a SATA drive. I made a mistake of installing archlinux, something went wrong, bricked the device. Now I managed to install new u-boot but I cannot boot from Debian-4.4.0-kirkwood-tld-1-rootfs-bodhi.tar.bz2 installed to a USB drive.

I did not have the default environment saved before. As I cannot boot in to the OS, I cannot do the step 8 of programming the default environment. I even tried

GoFlexHome> usb start
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
GoFlexHome> usb storage
  Device 0: Vendor: FLASH Rev: 1.00 Prod: Drive 3S_USB20
            Type: Removable Hard Disk
            Capacity: 1910.8 MB = 1.8 GB (3913375 x 512)
GoFlexHome> usbboot device 0

Loading from usb device 0, partition 1: Name: usbda1  Type: U-Boot
** Unknown image type
GoFlexHome>
on the u-boot console. It does not work. What could be wrong? How do I recover the device?

Here is the output of my serial console. It does show GoFlexHome prompt with new new uboot loaded. I can run uboot console commands but that is all.

GoFlexHome> reset
resetting ...


U-Boot 2015.10-tld-1 (Nov 06 2015 - 15:53:00 -0800)
Seagate GoFlex Home

SoC:   Kirkwood 88F6281_A1
DRAM:  128 MiB (ECC not enabled)
WARNING: Caches not enabled
NAND:  256 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
88E1116 Initialized on egiga0
GoFlexHome>

Here is my hand coded environment
GoFlexHome> printenv
arcNumber=3338
baudrate=115200
bootdelay=10
bootdev=usb
device=0:1
devices=usb ide mmc
disks=0 1 2 3
ethact=egiga0
ethaddr=00:10:25:25:52:52
if_netconsole=ping 192.168.0.12
ipaddr=192.168.0.254
led_error=orange blinking
led_exit=green off
led_init=green blinking
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
nc_ready=0
net_dhcp_s=1
scan_disk=scan_done=0; setenv scan_usb "usb start";  setenv scan_ide "ide reset";  setenv scan_mmc "mmc rescan"; for dev in $devices; do if test $scan_done -eq 0; then echo Scan device $dev; run scan_$dev; for disknum in $disks; do if test $scan_done -eq 0; then echo device $dev $disknum:1; if ext2load $dev $disknum:1 0x800000 /boot/uImage 1; then scan_done=1; echo Found bootable drive on $dev $disknum; setenv device $disknum:1; setenv bootdev $dev; fi; fi; done; fi; done
serverip=192.168.0.12
stderr=serial
stdin=serial
stdout=serial
usb_device=0:1
usb_init=usb start; setenv usb_root LABEL=rootfs
usb_rootfstype=ext3

Environment size: 1062/131068 bytes
GoFlexHome> 


Viewing all articles
Browse latest Browse all 3247

Trending Articles