User Tools

Site Tools


toh:seagate:goflexnet

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

toh:seagate:goflexnet [2013/11/04 16:33]
toh:seagate:goflexnet [2014/09/11 20:40] (current)
tmomas typo corrections
Line 150: Line 150:
 </​code>​ </​code>​
  
-==== Install OpenWrt ​in to NAND via serial cable and tftp-server ==== +==== Install OpenWrt ​into NAND via serial cable and tftp-server ==== 
-files:+Files needed:
  
 <​del>​http://​downloads.openwrt.org/​snapshots/​trunk/​kirkwood/​uboot-kirkwood-dockstar/​openwrt-kirkwood-dockstar-u-boot.kwb</​del>​ <​del>​http://​downloads.openwrt.org/​snapshots/​trunk/​kirkwood/​uboot-kirkwood-dockstar/​openwrt-kirkwood-dockstar-u-boot.kwb</​del>​
Line 157: Line 157:
 http://​dl.dropbox.com/​u/​1015928/​Kirkwood/​uboot/​newer-uboots-nonEFI_GPT-TESTED/​uboot.mtd0.kwb-2011.12-goflexnet-L2Coff-IDEpatched.tar.gz http://​dl.dropbox.com/​u/​1015928/​Kirkwood/​uboot/​newer-uboots-nonEFI_GPT-TESTED/​uboot.mtd0.kwb-2011.12-goflexnet-L2Coff-IDEpatched.tar.gz
  
-(untar - this uboot with working sata!)+(untar - this is uboot with working sata!)
  
 http://​downloads.openwrt.org/​snapshots/​trunk/​kirkwood/​openwrt-kirkwood-uImage http://​downloads.openwrt.org/​snapshots/​trunk/​kirkwood/​openwrt-kirkwood-uImage
Line 172: Line 172:
 download from tftp-server file **uboot.mtd0.kwb-2011.12-goflexnet-L2Coff-IDEpatched** to RAM start offset 0x6400000 download from tftp-server file **uboot.mtd0.kwb-2011.12-goflexnet-L2Coff-IDEpatched** to RAM start offset 0x6400000
 <​code>​tftp 0x6400000 uboot.mtd0.kwb-2011.12-goflexnet-L2Coff-IDEpatched</​code>​ <​code>​tftp 0x6400000 uboot.mtd0.kwb-2011.12-goflexnet-L2Coff-IDEpatched</​code>​
-Bytes transferred = 524288 (**80000** hex)  <- this numbers need for nand write+Bytes transferred = 524288 (**80000** hex)  <- this number is needed ​for nand write
  
-erease ​nand start from 0 size 0x100000+erase nand start from 0 size 0x100000
 <​code>​nand erase 0x0 0x100000</​code>​ <​code>​nand erase 0x0 0x100000</​code>​
 write nand from RAM start offset 0x6400000 to nand start 0x0 size 0x**80000** write nand from RAM start offset 0x6400000 to nand start 0x0 size 0x**80000**
Line 181: Line 181:
 download from tftp-server file **openwrt-kirkwood-uImage** to RAM start offset 0x6400000 download from tftp-server file **openwrt-kirkwood-uImage** to RAM start offset 0x6400000
 <​code>​tftp 0x6400000 openwrt-kirkwood-uImage</​code>​ <​code>​tftp 0x6400000 openwrt-kirkwood-uImage</​code>​
-Bytes transferred = 1266344 (**1352a8** hex) <- this numbers need for nand write+Bytes transferred = 1266344 (**1352a8** hex) <- this number is needed ​for nand write
  
-erease ​nand start from 0x200000 size 0x300000+erase nand start from 0x200000 size 0x300000
 <​code>​nand erase 0x200000 0x300000</​code>​ <​code>​nand erase 0x200000 0x300000</​code>​
 write nand from RAM start offset 0x6400000 to nand start 0x200000 size 0x**1352a8** write nand from RAM start offset 0x6400000 to nand start 0x200000 size 0x**1352a8**
Line 190: Line 190:
 download from tftp-server file **openwrt-kirkwood--jffs2-nand-2048-128k.img** to RAM start offset 0x6400000 download from tftp-server file **openwrt-kirkwood--jffs2-nand-2048-128k.img** to RAM start offset 0x6400000
 <​code>​tftp 0x6400000 openwrt-kirkwood--jffs2-nand-2048-128k.img</​code>​ <​code>​tftp 0x6400000 openwrt-kirkwood--jffs2-nand-2048-128k.img</​code>​
-Bytes transferred = 1837056 (**1c0800** hex) <- this numbers need for nand write+Bytes transferred = 1837056 (**1c0800** hex) <- this number is needed ​for nand write
  
-erease ​nand start from 0x500000 size 0xfb00000+erase nand start from 0x500000 size 0xfb00000
 <​code>​nand erase 0x500000 0xfb00000</​code>​ <​code>​nand erase 0x500000 0xfb00000</​code>​
 write nand from RAM start offset 0x6400000 to nand start 0x500000 size 0x**1c0800** write nand from RAM start offset 0x6400000 to nand start 0x500000 size 0x**1c0800**
Line 198: Line 198:
 reboot device reboot device
 <​code>​reset</​code>​ <​code>​reset</​code>​
-Hit any key to stop autoboot! and set your mac-address from bottom side of the box (if not do this - ethernet wont work) and set other openwrt'​s environment+Hit any key to stop autoboot! and set your mac-address from bottom side of the box (if you don'​t ​do this - ethernet wont work) and set other openwrt'​s environment
 <​code>​ <​code>​
 setenv baudrate '​115200'​ setenv baudrate '​115200'​
Line 219: Line 219:
 </​code>​ </​code>​
  
 +Voilà, we did it! :)
  
-vuala! we did it! :) 
 <​code>​ <​code>​
 U-Boot 2011.12 (Apr 18 2012 - 23:08:20) U-Boot 2011.12 (Apr 18 2012 - 23:08:20)
Line 452: Line 452:
 bootm 0x800000 bootm 0x800000
 </​code>​ </​code>​
 +
 +==== Recovery of a bricked uboot *without* jtag ====
 +Unlike the dockstar, the goflexnet has a newer bootrom which supports
 +serial boot. [http://​forum.doozan.com/​read.php?​3,​7852,​7852]
 +
 +<​code>​
 +wget ftp://​ftp.denx.de/​pub/​u-boot/​u-boot-2013.10.tar.bz2
 +tar jxf u-boot-2013.10.tar.bz2
 +cd u-boot-2013.10/​tools/​
 +gcc -o kwboot kwboot.c
 +./kwboot -b /​tmp/​openwrt-kirkwood-goflexhome-u-boot.kwb -t -p -B 115200 /​dev/​ttyUSB0
 +</​code>​
 +
 +Now the uboot is loaded into ram and executed. You have to flash u-boot into nand. See below how to flash it.
  
 ====RECOVERY BRICKED UBOOT OF GOFLEXNET (BusPirate & Cygwin)==== ====RECOVERY BRICKED UBOOT OF GOFLEXNET (BusPirate & Cygwin)====
toh/seagate/goflexnet.1383579232.txt.bz2 · Last modified: 2013/11/04 16:33 (external edit)