|
老外的经验:
I debricked/flashed back to original firmware this way.
If U-boot is good, you don't need to use JTAG. I used MAX3232 - RS232 to TTL module / converter from E-bay. This is serial pinout.
Serial:
1 Tx
2 Vcc
3 NC
4 Vcc
5 NC
6 Ground
7 Rx
8 Ground
9 NC
install Pumpkin TFTP for TFTP server in computer. Place the wnr854t_1_4_38NA.img downloaded from Netgear .
connect serial console to router. check the connection. Use hyperterminal in windows XP. I used COM1. 115200, 8,N,1. connnect and power on. press any key within 3 sec to go to U-boot.
to get default environment:
Marvell>> printenv >>> copy your original environment of the u-boot loader
serverip=192.168.1.55 >>> change your computer IP to 192.168.1.55 when tftpboot request, it will download img from computer's TFTP server
(把台机网卡ip设成192.168.1.55 )
download the image to ram.
Marvell>> tftpboot 0 wnr854t_1_4_38NA.img (自己开个tftp服务器"wnr854t_1_4_38NA.img "文件放在目录下---可以去netgear 下载 )
Using egiga0 device
TFTP from server 192.168.1.55; our IP address is 192.168.1.1
Filename 'WNR854T_V1.4.38NA.img'.
Load address: 0x0
Loading: *[08]#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
###########################################################
done
Bytes transferred = 6291476 (600014 hex)
Marvell>> erase 0xFF800000 0xFFDFFFFF
erase 0xFF800000 0xFFDFFFFF
................................................
Erased 48 sectors
Marvell>> cp.b 0x14 0xFF800000 0x600000
cp.b 0x14 0xFF800000 0x600000
Copy to Flash... done
Marvell>> run standalone
run standalone
这个方法我成功刷回原厂固件 |
|