I'm following this guide to update uBoot but it is not working out
http://projects.doozan.com/uboot/
[root@alarm /]# cd /tmp
[root@alarm tmp]# wget
http://projects.doozan.com/uboot/install_uboot_mtd0.sh
--1970-01-01 18:16:07--
http://projects.doozan.com/uboot/install_uboot_mtd0.sh
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: 17281 (17K) [text/x-sh]
Saving to: `install_uboot_mtd0.sh.1'
100%[======================================>] 17,281 25.8K/s in 0.7s
1970-01-01 18:16:12 (25.8 KB/s) - `install_uboot_mtd0.sh.1' saved [17281/17281]
[root@alarm tmp]# chmod +x install_uboot_mtd0.sh
[root@alarm tmp]# ./install_uboot_mtd0.sh
!!!!!! 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 GoFlex Net
Seagate Dockstar
Pogoplug v1
Pogoplug Pink
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...
--1970-01-01 18:16:27--
http://jeff.doozan.com/debian/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]
--1970-01-01 18:16:28--
http://projects.doozan.com/uboot/valid-uboot.md5
Resolving projects.doozan.com (projects.doozan.com)... 50.116.34.13
Reusing existing connection to jeff.doozan.com:80.
HTTP request sent, awaiting response... No data received.
Retrying.
--1970-01-01 18:16:29-- (try: 2)
http://projects.doozan.com/uboot/valid-uboot.md5
Connecting to projects.doozan.com (projects.doozan.com)|50.116.34.13|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 824 [text/plain]
Saving to: `/tmp/valid-uboot.md5'
100%[======================================>] 824 --.-K/s in 0s
1970-01-01 18:16:30 (20.6 MB/s) - `/tmp/valid-uboot.md5' saved [824/824]
## Unknown uBoot detected on mtd0: 38eb11b49b828dc070270680a8a37845
##
## The installer could not detect the version of your current uBoot
## This may happen if you have installed a different uBoot on
## /dev/mtd0 or if you have bad blocks on /dev/mtd0
##
## If you have bad blocks on mtd0, you should not try to install uBoot.
##
## If you have installed a diffirent uBoot on mtd0, and understand the
## risks, you can re-run the installer with the --no-uboot-check parameter
##
## Installation cancelled.
[root@alarm tmp]#
Trying to use the --noprompt--no-uboot-check parameter also does not help
[root@alarm tmp]# ./install_uboot_mtd0.sh --noprompt --no-uboot-check
# 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...
--1970-01-01 18:18:39--
http://jeff.doozan.com/debian/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]
--1970-01-01 18:18:40--
http://projects.doozan.com/uboot/valid-uboot.md5
Resolving projects.doozan.com (projects.doozan.com)... 50.116.34.13
Reusing existing connection to jeff.doozan.com:80.
HTTP request sent, awaiting response... No data received.
Retrying.
--1970-01-01 18:18:42-- (try: 2)
http://projects.doozan.com/uboot/valid-uboot.md5
Connecting to projects.doozan.com (projects.doozan.com)|50.116.34.13|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 824 [text/plain]
Saving to: `/tmp/valid-uboot.md5'
100%[======================================>] 824 --.-K/s in 0s
1970-01-01 18:18:42 (19.7 MB/s) - `/tmp/valid-uboot.md5' saved [824/824]
## Unknown uBoot detected on mtd0: 38eb11b49b828dc070270680a8a37845
##
## --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 - Pogoplug v1
4 - Pogoplug v2 - Pink
5 - Other
2
Selected Seagate GoFlex Net
# Installing uBoot
## Installing goflexnet jeff-2010-10-23
--1970-01-01 18:18:45--
http://jeff.doozan.com/debian/uboot/files/uboot/uboot.mtd0.goflexnet.jeff-2010-10-23.kwb.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://download.doozan.com/uboot/files/uboot/uboot.mtd0.goflexnet.jeff-2010-10-23.kwb.md5 [following]
--1970-01-01 18:18:46--
http://download.doozan.com/uboot/files/uboot/uboot.mtd0.goflexnet.jeff-2010-10-23.kwb.md5
Resolving download.doozan.com (download.doozan.com)... 50.116.34.13
Reusing existing connection to jeff.doozan.com:80.
HTTP request sent, awaiting response... No data received.
Retrying.
--1970-01-01 18:18:48-- (try: 2)
http://download.doozan.com/uboot/files/uboot/uboot.mtd0.goflexnet.jeff-2010-10-23.kwb.md5
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
1970-01-01 18:18:48 (344 KB/s) - `/tmp/uboot.mtd0.kwb.md5' saved [32]
--1970-01-01 18:18:48--
http://jeff.doozan.com/debian/uboot/files/uboot/uboot.mtd0.goflexnet.jeff-2010-10-23.kwb
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://download.doozan.com/uboot/files/uboot/uboot.mtd0.goflexnet.jeff-2010-10-23.kwb [following]
--1970-01-01 18:18:49--
http://download.doozan.com/uboot/files/uboot/uboot.mtd0.goflexnet.jeff-2010-10-23.kwb
Resolving download.doozan.com (download.doozan.com)... 50.116.34.13
Reusing existing connection to jeff.doozan.com:80.
HTTP request sent, awaiting response... No data received.
Retrying.
--1970-01-01 18:18:50-- (try: 2)
http://download.doozan.com/uboot/files/uboot/uboot.mtd0.goflexnet.jeff-2010-10-23.kwb
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 134K/s in 3.8s
1970-01-01 18:18:55 (134 KB/s) - `/tmp/uboot.mtd0.kwb' saved [524288/524288]
Erase Total 4 Units
Performing Flash Erase of length 131072 at offset 0x0
MTD Erase failure: Input/output error
Writing data to block 0 at offset 0x0
Bad block at 0, 1 block(s) from 0 will be skipped
Writing data to block 1 at offset 0x20000
Bad block at 20000, 1 block(s) from 20000 will be skipped
Writing data to block 2 at offset 0x40000
Bad block at 40000, 1 block(s) from 40000 will be skipped
Writing data to block 3 at offset 0x60000
Bad block at 60000, 1 block(s) from 60000 will be skipped
Writing data to block 4 at offset 0x80000
Bad block at 80000, 1 block(s) from 80000 will be skipped
Writing data to block 5 at offset 0xa0000
Bad block at a0000, 1 block(s) from a0000 will be skipped
Writing data to block 6 at offset 0xc0000
Bad block at c0000, 1 block(s) from c0000 will be skipped
Writing data to block 7 at offset 0xe0000
Bad block at e0000, 1 block(s) from e0000 will be skipped
Writing data to block 8 at offset 0x100000
ioctl(MEMGETBADBLOCK): Invalid argument
Data was only partially written due to error
: Invalid argument
Block size 131072, page size 2048, OOB size 64
Dumping data starting at 0x00000000 and ending at 0x00080000...
## Verifying new uBoot...
--1970-01-01 18:18:55--
http://jeff.doozan.com/debian/uboot/files/uboot/uboot.mtd0.goflexnet.jeff-2010-10-23.kwb.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://download.doozan.com/uboot/files/uboot/uboot.mtd0.goflexnet.jeff-2010-10-23.kwb.md5 [following]
--1970-01-01 18:18:56--
http://download.doozan.com/uboot/files/uboot/uboot.mtd0.goflexnet.jeff-2010-10-23.kwb.md5
Resolving download.doozan.com (download.doozan.com)... 50.116.34.13
Reusing existing connection to jeff.doozan.com:80.
HTTP request sent, awaiting response... No data received.
Retrying.
--1970-01-01 18:18:57-- (try: 2)
http://download.doozan.com/uboot/files/uboot/uboot.mtd0.goflexnet.jeff-2010-10-23.kwb.md5
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
1970-01-01 18:18:58 (340 KB/s) - `/tmp/uboot.mtd0.kwb.md5' saved [32]
##
##
## VERIFICATION FAILED!
##
## uBoot was not properly installed to mtd0.
##
##
## YOUR DEVICE MAY BE IN AN UNUSABLE STATE.
## DO NOT REBOOT OR POWER OFF YOUR DEVICE
##
##
## Make a backup of /tmp/uboot-mtd0-dump someplace safe and
## then re-run this installer.
[root@alarm tmp]#