by suyanlu » Mon Mar 18, 2013 3:01 pm
I think my goflexhome bricked..omg...., pls help me.
after upgrade kernel and u-boot, orange led blinked, but net console cannot see any output...
what I can do now to save my goflex home ?
upgrade process as this:
$this->bbcode_second_pass_code('', '
┌─[✗]─[root@goflexhome]─[/tmp]
└──> ./install_uboot_mtd0.sh --no-uboot-check
!!!!!! DANGER DANGER DANGER DANGER DANGER DANGER !!!!!!
If you lose power to your device while running this script,
it could be left in an unusable state.
This script will replace the bootloader on /dev/mtd0.
This installer will only work on the following devices:
Seagate Dockstar
Seagate GoFlex Net
Seagate GoFlex Home
Pogoplug v1
Pogoplug Pink (v2)
Do not run this installer on any other device.
By typing ok, you agree to assume all liabilities and risks
associated with running this installer.
If you agree, type 'ok' and press ENTER to continue: ok
# checking for /usr/sbin/nandwrite...
# checking for /usr/sbin/nanddump...
# checking for /usr/sbin/flash_erase...
# checking for /usr/sbin/fw_printenv...
# checking for /etc/fw_env.config...
# Validating existing uBoot...
Block size 131072, page size 2048, OOB size 64
Dumping data starting at 0x00000000 and ending at 0x00080000...
--2013-03-18 22:25:49-- http://jeff.doozan.com/uboot/valid-uboot.md5
Resolving jeff.doozan.com (jeff.doozan.com)... 50.116.34.13
Connecting to jeff.doozan.com (jeff.doozan.com)|50.116.34.13|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://projects.doozan.com/uboot/valid-uboot.md5 [following]
--2013-03-18 22:25:50-- http://projects.doozan.com/uboot/valid-uboot.md5
Resolving projects.doozan.com (projects.doozan.com)... 50.116.34.13
Connecting to projects.doozan.com (projects.doozan.com)|50.116.34.13|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1133 (1.1K) [text/plain]
Saving to: ‘/tmp/valid-uboot.md5’
100%[===============================================>] 1,133 --.-K/s in 0s
2013-03-18 22:25:51 (26.4 MB/s) - ‘/tmp/valid-uboot.md5’ saved [1133/1133]
## Unknown uBoot detected on mtd0: 9ea41cba00c7086fc765fe3442526892
##
## --no-uboot-check flag detected, continuing installation
############################################
Your device could not be auto-detected.
You must be using a device listed below to run this installer.
What device are you using? Type the number of your device and press ENTER.
1 - Seagate Dockstar
2 - Seagate GoFlex Net
3 - Seagate GoFlex Home
4 - Pogoplug v1
5 - Pogoplug v2 - Pink
6 - Other
3
Selected Seagate GoFlex Home
# Installing uBoot
## Installing goflexhome davygravy-2012-04-19
--2013-03-18 22:26:01-- http://download.doozan.com/uboot/files/uboot/uboot.mtd0.goflexhome.davygravy-2012-04-19.kwb.md5
Resolving download.doozan.com (download.doozan.com)... 50.116.34.13
Connecting to download.doozan.com (download.doozan.com)|50.116.34.13|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘/tmp/uboot.mtd0.kwb.md5’
[ <=> ] 32 --.-K/s in 0s
2013-03-18 22:26:02 (328 KB/s) - ‘/tmp/uboot.mtd0.kwb.md5’ saved [32]
--2013-03-18 22:26:02-- http://download.doozan.com/uboot/files/uboot/uboot.mtd0.goflexhome.davygravy-2012-04-19.kwb
Resolving download.doozan.com (download.doozan.com)... 50.116.34.13
Connecting to download.doozan.com (download.doozan.com)|50.116.34.13|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 524288 (512K) []
Saving to: ‘/tmp/uboot.mtd0.kwb’
100%[===============================================>] 524,288 56.3KB/s in 11s
2013-03-18 22:26:14 (45.4 KB/s) - ‘/tmp/uboot.mtd0.kwb’ saved [524288/524288]
Erase Total 4 Units
Performing Flash Erase of length 131072 at offset 0x60000 done
Writing data to block 0 at offset 0x0
Writing data to block 1 at offset 0x20000
Writing data to block 2 at offset 0x40000
Writing data to block 3 at offset 0x60000
Block size 131072, page size 2048, OOB size 64
Dumping data starting at 0x00000000 and ending at 0x00080000...
## Verifying new uBoot...
--2013-03-18 22:26:14-- http://download.doozan.com/uboot/files/uboot/uboot.mtd0.goflexhome.davygravy-2012-04-19.kwb.md5
Resolving download.doozan.com (download.doozan.com)... 50.116.34.13
Connecting to download.doozan.com (download.doozan.com)|50.116.34.13|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘/tmp/uboot.mtd0.kwb.md5’
[ <=> ] 32 --.-K/s in 0s
2013-03-18 22:26:15 (334 KB/s) - ‘/tmp/uboot.mtd0.kwb.md5’ saved [32]
# Verified successfully!
# Installing uBoot environment
--2013-03-18 22:26:15-- http://download.doozan.com/uboot/files/environment/uboot.environment.md5
Resolving download.doozan.com (download.doozan.com)... 50.116.34.13
Connecting to download.doozan.com (download.doozan.com)|50.116.34.13|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘/tmp/uboot.environment.md5’
[ <=> ] 32 --.-K/s in 0s
2013-03-18 22:26:16 (327 KB/s) - ‘/tmp/uboot.environment.md5’ saved [32]
--2013-03-18 22:26:16-- http://download.doozan.com/uboot/files/environment/uboot.environment
Resolving download.doozan.com (download.doozan.com)... 50.116.34.13
Connecting to download.doozan.com (download.doozan.com)|50.116.34.13|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 131072 (128K) []
Saving to: ‘/tmp/uboot.environment’
100%[===============================================>] 131,072 39.9KB/s in 3.2s
2013-03-18 22:26:20 (39.9 KB/s) - ‘/tmp/uboot.environment’ saved [131072/131072]
Erase Total 1 Units
Performing Flash Erase of length 131072 at offset 0xc0000 done
Writing data to block 6 at offset 0xc0000
# Verifying uBoot environment
Block size 131072, page size 2048, OOB size 64
Dumping data starting at 0x000c0000 and ending at 0x000e0000...
--2013-03-18 22:26:20-- http://download.doozan.com/uboot/files/environment/uboot.environment.md5
Resolving download.doozan.com (download.doozan.com)... 50.116.34.13
Connecting to download.doozan.com (download.doozan.com)|50.116.34.13|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘/tmp/uboot.environment.md5’
[ <=> ] 32 --.-K/s in 0s
2013-03-18 22:26:22 (211 KB/s) - ‘/tmp/uboot.environment.md5’ saved [32]
Warning: Bad CRC, using default environment
# Setting arcNumber to 2097 (SheevaPlug)
# Note: if you have a kernel that supports your platform, you should use the proper arcNumber.
# You can set the correct arcNumber by running the following command:
/usr/sbin/fw_setenv arcNumber 3089
# uBoot installation has completed successfully.
┌─[root@goflexhome]─[/tmp]
└──> cd /tmp
┌─[root@goflexhome]─[/tmp]
└──> ls
install_uboot_mtd0.sh mtd0.uboot uboot.environment uboot-mtd0-dump uboot.mtd0.kwb
┌─[root@goflexhome]─[/tmp]
└──> ls
install_uboot_mtd0.sh mtd0.uboot uboot.environment uboot-mtd0-dump uboot.mtd0.kwb
┌─[root@goflexhome]─[/tmp]
└──> tar cvfz /home/External/Go
GoAgent/
GoFlexHome_ArchLinux_Install_Configure/
GoFlexHomeHowToVideo/
GoFlexHome_Upgrade_Kernel_UBoot_201303182227/
┌─[root@goflexhome]─[/tmp]
└──> tar cvfz /home/External/Go
GoAgent/
GoFlexHome_ArchLinux_Install_Configure/
GoFlexHomeHowToVideo/
GoFlexHome_Upgrade_Kernel_UBoot_201303182227/
┌─[root@goflexhome]─[/tmp]
└──> tar cvfz /home/External/GoFlexHome_Upgrade_Kernel_UBoot_201303182227/upgrade_uboot.orig.tar.gz *
install_uboot_mtd0.sh
mtd0.uboot
uboot.environment
uboot-mtd0-dump
uboot.mtd0.kwb
┌─[root@goflexhome]─[/tmp]
└──> ls
install_uboot_mtd0.sh mtd0.uboot uboot.environment uboot-mtd0-dump uboot.mtd0.kwb
┌─[root@goflexhome]─[/tmp]
└──> cp -rp * /home/External/GoFlexHome_
GoFlexHome_ArchLinux_Install_Configure/
GoFlexHome_Upgrade_Kernel_UBoot_201303182227/
┌─[root@goflexhome]─[/tmp]
└──> cp -rp * /home/External/GoFlexHome_Upgrade_Kernel_UBoot_201303182227/
┌─[root@goflexhome]─[/tmp]
└──> ls
install_uboot_mtd0.sh mtd0.uboot uboot.environment uboot-mtd0-dump uboot.mtd0.kwb
┌─[root@goflexhome]─[/tmp]
└──> fw_printenv|grep arcNum
arcNumber=2097
┌─[root@goflexhome]─[/tmp]
└──> /usr/sbin/fw_setenv arcNumber 3338
┌─[root@goflexhome]─[/tmp]
└──> fw_printenv|grep arcNum
arcNumber=3338
┌─[root@goflexhome]─[/tmp]
└──> /usr/sbin/fw_setenv sata_device '0:1'
┌─[root@goflexhome]─[/tmp]
└──> /usr/sbin/fw_setenv sata_root '/dev/sda1'
┌─[root@goflexhome]─[/tmp]
└──> /usr/sbin/fw_setenv sata_rootfstype 'ext3'
┌─[root@goflexhome]─[/tmp]
└──> /usr/sbin/fw_setenv sata_rootdelay '10'
┌─[root@goflexhome]─[/tmp]
└──>
┌─[root@goflexhome]─[/tmp]
└──> /usr/sbin/fw_setenv sata_set_bootargs 'setenv bootargs console=$console root=$sata_root rootdelay=$sata_rootdelay rootfstype=$sata_rootfstype $mtdparts $sata_custom_params'
┌─[root@goflexhome]─[/tmp]
└──> /usr/sbin/fw_setenv sata_boot 'ide reset; mw 0x800000 0 1; ext2load ide $sata_device 0x800000 /boot/uImage; if ext2load ide $sata_device 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi'
┌─[root@goflexhome]─[/tmp]
└──> /usr/sbin/fw_setenv sata_bootcmd 'run sata_set_bootargs; run sata_boot'
┌─[root@goflexhome]─[/tmp]
└──> /usr/sbin/fw_setenv bootcmd 'usb start; run force_rescue_bootcmd; run ubifs_bootcmd; run usb_bootcmd; usb stop; run sata_bootcmd; run rescue_bootcmd; run pogo_bootcmd; reset'
┌─[root@goflexhome]─[/tmp]
└──> /usr/sbin/fw_setenv ipaddr '10.10.10.6'
/usr/sbin/fw_setenv ncipk '10.10.10.4'
/usr/sbin/fw_setenv serverip '10.10.10.3'
/usr/sbin/fw_setenv preboot 'run nc_test nc_start'
/usr/sbin/fw_setenv nc_test 'ping $ncip'
/usr/sbin/fw_setenv nc_start 'setenv stdin nc; setenv stdout nc; setenv stderr nc; version'
┌─[root@goflexhome]─[/tmp]
└──> /usr/sbin/fw_setenv ncip '10.10.10.5'
┌─[root@goflexhome]─[/tmp]
└──> /usr/sbin/fw_setenv ncipk '10.10.10.4'
┌─[root@goflexhome]─[/tmp]
└──> /usr/sbin/fw_setenv serverip '10.10.10.3'
┌─[root@goflexhome]─[/tmp]
└──> /usr/sbin/fw_setenv preboot 'run nc_test nc_start'
┌─[root@goflexhome]─[/tmp]
└──> /usr/sbin/fw_setenv nc_test 'ping $ncip'
┌─[root@goflexhome]─[/tmp]
└──> /usr/sbin/fw_setenv nc_start 'setenv stdin nc; setenv stdout nc; setenv stderr nc; version'
┌─[root@goflexhome]─[/tmp]
└──>
┌─[root@goflexhome]─[/tmp]
└──> /usr/sbin/fw_setenv usb_custom_params 'ignore_loglevel netconsole=6665@10.10.10.3/eth0,6666@10.10.10.4/'
┌─[root@goflexhome]─[/tmp]
└──> /usr/sbin/fw_setenv sata_custom_params 'ignore_loglevel netconsole=6665@10.10.10.3/eth0,6666@10.10.10.4/'
┌─[root@goflexhome]─[/tmp]
└──> cat /etc/fw_env.config
# Configuration file for fw_(printenv/saveenv) utility.
# Up to two entries are valid, in this case the redundand
# environment sector is assumed present.
# MTD device name Device offset Env. size Flash sector size
#/dev/mtd2 0x0000 0x20000 0x20000
# segate dockstar:
#/dev/mtd0 0xc0000 0x20000 0x20000
/dev/mtd0 0x60000 0x20000 0x20000
# iomega iconnect
# /dev/mtd0 0xa0000 0x20000 0x20000
# CuBox
# /dev/mtd0 0xc0000 0x10000 0x10000
┌─[root@goflexhome]─[/tmp]
└──> /usr/sbin/fw_setenv usb_custom_params 'ignore_loglevel netconsole=6665@10.10.10.3/eth0,6666@10.10.10.4/ elevator=bfq'
┌─[root@goflexhome]─[/tmp]
└──> /usr/sbin/fw_setenv sata_custom_params 'ignore_loglevel netconsole=6665@10.10.10.3/eth0,6666@10.10.10.4/ elevator=bfq'
┌─[root@goflexhome]─[/tmp]
└──>
┌─[root@goflexhome]─[/tmp]
└──> pacman -Sy linux-kirkwood linux-headers-kirkwood
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
alarm is up to date 0.0 B 0.00B/s 00:00 [----------------------------] 0%
aur is up to date
warning: linux-kirkwood-3.8.3-0 is up to date -- reinstalling
warning: linux-headers-kirkwood-3.8.3-0 is up to date -- reinstalling
resolving dependencies...
looking for inter-conflicts...
Targets (2): linux-headers-kirkwood-3.8.3-0 linux-kirkwood-3.8.3-0
Total Installed Size: 68.90 MiB
Net Upgrade Size: 0.00 MiB
Proceed with installation? [Y/n] n
┌─[root@goflexhome]─[/tmp]
└──> fw_printenv
bootdelay=5
baudrate=115200
arcNumber=3338
sata_device=0:1
sata_root=/dev/sda1
sata_rootfstype=ext3
sata_rootdelay=10
sata_set_bootargs=setenv bootargs console=$console root=$sata_root rootdelay=$sata_rootdelay rootfstype=$sata_rootfstype $mtdparts $sata_custom_params
sata_boot=ide reset; mw 0x800000 0 1; ext2load ide $sata_device 0x800000 /boot/uImage; if ext2load ide $sata_device 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi
sata_bootcmd=run sata_set_bootargs; run sata_boot
bootcmd=usb start; run force_rescue_bootcmd; run ubifs_bootcmd; run usb_bootcmd; usb stop; run sata_bootcmd; run rescue_bootcmd; run pogo_bootcmd; reset
ipaddr=10.10.10.6
ncip=10.10.10.5
ncipk=10.10.10.4
serverip=10.10.10.3
preboot=run nc_test nc_start
nc_test=ping $ncip
nc_start=setenv stdin nc; setenv stdout nc; setenv stderr nc; version
usb_custom_params=ignore_loglevel netconsole=6665@10.10.10.3/eth0,6666@10.10.10.4/ elevator=bfq
sata_custom_params=ignore_loglevel netconsole=6665@10.10.10.3/eth0,6666@10.10.10.4/ elevator=bfq
')