上尉
- 注册时间
- 2012-2-20
- 金币
- 1392 个
- 威望
- 4 个
- 荣誉
- 0 个
累计签到:7 天 连续签到:0 天 [LV.20]漫游旅程
|
发表于 2014-6-12 07:20
有两太路由器,不小心刷错固件了,把wrt400n的固件刷成wrt610的了,开机电源闪烁,不能启动,开机全程ping不通,ttl有u-boot的启动信息。翻找了好些资料终于在ddwrt官方论坛上找到了,与大家分享一下。
电脑设置固定ip地址192.168.1.88网关192.168.1.1,稍后需要建立ftp服务器通过Tftpd32这个软件
ttl链接路由器路由上面标的很清楚了,tx对应usb-ttl的rx,rx对应usb-ttl的tx,然后直接3根就可以。
SecureCRT_CN软件链接端口对应电脑上显示的ttl端口波特率115200。流程控制需要注意的是第一项和第二项不要选,只勾选第三项,否则无法终止。
AP94 (ar7100) U-boot 0.0.12
DRAM: b8050000: 0xc0140180
32 MB
Top of RAM usable for U-Boot at: 82000000
Reserving 4308k for U-Boot at: 81bc8000
Reserving 192k for malloc() at: 81b98000
Reserving 44 Bytes for Board Info at: 81b97fd4
Reserving 36 Bytes for Global Data at: 81b97fb0
Reserving 128k for boot params() at: 81b77fb0
Stack Pointer at: 81b77f98
Now running in RAM - U-Boot at: 81bc8000
id read 0x100000ff
flash size 8MB, sector count = 128
Flash: 8 MB
In: serial
Out: serial
Err: serial
Net: ag7100_enet_initialize...
No valid address in Flash. Using fixed address
eth0: 00:03:7f:09:0b:ad
eth0 up
No valid address in Flash. Using fixed address
eth1: 00:03:7f:09:0b:ad
eth1 up
eth0, eth1
Press CTRL+C to stop autoboot: 0
按CTRL+C键终止启动
然后开始救砖了,把openwrt-to-dd-wrt.bin文件放到你创建的ftp文件夹中。
然后电脑有线连接路由器lan
输入命令tftpboot 0x80010000 openwrt-to-dd-wrt.bin
上传成功后运行erase 0xbf040000 +0x600000
运行完后运行cp.b 0x80010000 0xbf040000 0x600000
ar7100> tftpboot 0x80010000 openwrt-to-dd-wrt.bin
Using eth0 device
TFTP from server 192.168.1.88; our IP address is 192.168.1.1
Filename 'openwrt-to-dd-wrt.bin'.
Load address: 0x80010000
Loading: checksum bad
checksum bad
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
##################checksum bad
##############################################checksum bad
#
########################################################checksum bad
#########
#################################################################
#################################################################
#######################################################checksum bad
checksum bad
##########
###################################################
done
Bytes transferred = 6246400 (5f5000 hex)
ar7100> erase 0xbf040000 +0x600000
Erase Flash from 0xbf040000 to 0xbf63ffff in Bank # 1
First 0x4 last 0x63 sector size 0x10000
99
Erased 96 sectors
ar7100> cp.b 0x80010000 0xbf040000 0x600000
Copy to Flash... write addr: bf040000
done
运行结束后,救砖成功,重启后,wrt400n正常开机了。相关附件:
Tftpd32:
openwrt-to-dd-wrt.bin:
SecureCRT_CN:
原网址http://www.dd-wrt.com/phpBB2/vie ... 8bfe1436dcf5506fe4a
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?注册
x
|