找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 18950|回复: 13

TP-Link WR941n v4.1 TTL 修复指南!已更新下载链接

[复制链接]
本帖最后由 sk_2 于 2012-10-26 22:09 编辑

作为一个新人 千心万苦 找资料 ,找恩山的邀请码!最后还是给我找到希望 在这里

更新,新的 下载 方法+软件+驱动

http://vdisk.weibo.com/s/gCoCX  


前言:该路由由于刷DD后不稳定 刷回原版估计的时候失败重启后导致 。。。。

http://www.wifi.com.cn/forum/vie ... 42066&highlight=ttl 找了很久根据这个帖的指导 死马当活马救 谁知道成了。貌似修好了!

由于准备思考单片机的资料顺便买了一个ttl的下载线 顺便有坏了的路由 就顺便试下修复路由。顺便根据高人的指点写一个教程!希望那个兄弟看到不要怪我没有提前打招呼


选用的设备usb转ttl 2303芯片 !价格10元不到 taobao自己找
一般店家都提供驱动的

准备工作

装好驱动连好线后。打开连接,开启路由器,
比特率调到115200

安装SECURECRT ( 软件就自己google了 ) 根据你的系统版本选择32位还是64位 我的是64位系统
安装 tftpd 根据你的系统版本选择32位还是64位 我的是64位系统
将你下载好的tplink的估计 更名位941.bin
其实4.1需要短路一个电容c279才能 正常进入系统
[localimg=180,135]1[/localimg]

Autobooting in 1 seconds       #等待用户按"tpl"三个小写字母,阻止引导内核过程。其实,从插电源时就可以按了。

正是开始工作:

第1步 :

ar7240>printenv                            #显示引导环境
bootargs=console=ttyS0,115200 root=31:02 rootfstype=jffs2 init=/sbin/init mtdparts=ar7240-nor0:256k(u-boot),64k(u-boot-env),2752k(rootfs),896k(uImage),64k(NVRAM),64k(ART)
bootcmd=bootm 0x9f020000
bootdelay=1
baudrate=115200
ethaddr=0x00:0xaa:0xbb:0xcc:0xdd:0xee
ipaddr=192.168.1.123              # 路由的ip地址
serverip=192.168.1.100            之后要用到的tftpd的地址 也就是你电脑需要设置的成的ip地址
stdin=serial
stdout=serial
stderr=serial
ethact=eth0

Environment size: 359/65532 bytes


第2步:
打开TFTPD32程序,即开TFTP服务,设置好固件所在当前目录。

ar7240>  tftpboot 0x80000000 941.bin  #将本机的固件941.BIN加载到路由器的内存上,使用了TFTP服务。0x中0是数字,x是小写字母。
以下是过程:
Using eth1 device
TFTP from server 192.168.1.10; our IP address is 192.168.1.2
Filename '941.bin'.
Load address: 0x80000000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ######################################################
done


ar7240> erase 0x9f020000 +0x3c0000     #擦除从0x9f020000地址开始的0x3c0000个路由器闪存数据
以下是过程:

First 0x2 last 0x3d sector size 0x10000
  61
Erased 60 sectors


ar7240> cp.b 0x80000000 0x9f020000 0x3c0000
Copy to Flash... write addr: 9f020000
done
#以位为单位,复制从0x80000000地址开始的0x3c0000个路由器内存数据,到0x9f020000地址开始的0x3c0000个闪存数据
#0x3c0000是16进制数字,合3,932,160 字节,即3。75M,固件的大小。


ar7240> bootm 0x9f020000    #从 0x9f020000 内核开始地址引导程序,继续引导路由器启动过程。实际没有重启。

下面是引导过程:

## Booting image at 9f020000 ...
   Uncompressing Kernel Image ... OK

Starting kernel ...

Booting AR7240(Python)...
Linux version 2.6.15--LSDK-7.3.0.300 gcc version 3.4.4 #1 Mon May 31 09:58:33 CST 2010
flash_size passed from bootloader = 4
CPU revision is: 00019374
Determined physical RAM map:
memory: 02000000 @ 00000000 (usable)
User-defined physical RAM map:
memory: 02000000 @ 00000000 (usable)
Built 1 zonelists
Kernel command line: console=ttyS0,115200 root=/dev/mtdblock2 rootfstype=squashfs init=/sbin/init mtdparts=ar7100-nor0:128k(u-boot),1024k(kernel),2816k(rootfs),64k(config),64k(art) mem=32M
Primary instruction cache 64kB, physically tagged, 4-way, linesize 32 bytes.
Primary data cache 32kB, 4-way, linesize 32 bytes.
Synthesized TLB refill handler (20 instructions).
Synthesized TLB load handler fastpath (32 instructions).
Synthesized TLB store handler fastpath (32 instructions).
Synthesized TLB modify handler fastpath (31 instructions).
Cache parity protection disabled
PID hash table entries: 256 (order: 8, 4096 bytes)
Using 200.000 MHz high precision timer.
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 30532k/32768k available (1382k kernel code, 2220k reserved, 293k data, 128k init, 0k highmem)
Mount-cache hash table entries: 512
Checking for 'wait' instruction...  available.
NET: Registered protocol family 16
Returning IRQ 48
AR7240 GPIOC major 0
squashfs: version 3.3 (2007/10/31) Phillip Lougher
squashfs: LZMA suppport for slax.org by jro
Initializing Cryptographic API
io scheduler noop registered
io scheduler deadline registered
HDLC line discipline: version $Revision: #1 $, maxframe=4096
N_HDLC line discipline registered.
Serial: 8250/16550 driver $Revision: #1 $ 1 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0x0 (irq = 19) is a 16550A
RAMDISK driver initialized: 1 RAM disks of 8192K size 1024 blocksize
PPP generic driver version 2.4.2
NET: Registered protocol family 24
cmdlinepart partition parsing not available
Searching for RedBoot partition table
5 RedBoot partitions found on MTD device ar7240-nor0
Creating 5 MTD partitions on "ar7240-nor0":
0x00000000-0x00020000 : "boot"
0x00020000-0x00120000 : "kernel"
0x00120000-0x003e0000 : "rootfs"
0x003e0000-0x003f0000 : "config"
0x003f0000-0x00400000 : "art"
->Oops: flash id 0xef3016 .
NET: Registered protocol family 2
IP route cache hash table entries: 512 (order: -1, 2048 bytes)
TCP established hash table entries: 2048 (order: 1, 8192 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
VFS: Mounted root (squashfs filesystem) readonly.
Freeing unused kernel memory: 128k freed
init started:  BusyBox v1.01 (2010.05.31-02:04+0000) multi-call binary
Algorithmics/MIPS FPU Emulator v1.5
ip_conntrack version 2.4 (256 buckets, 5120 max) - 244 bytes per conntrack
insmod: cannot open module `/lib/modules/2.6.15/kernel/flashid.ko': No such file or directory
insmod: cannot open module `/lib/modules/2.6.15/kernel/harmony.ko': No such file or directory
Now flash open!
Now flash open!
Now flash open!
Now flash open!
Now flash open!
Erase from 0X3E0000 to 0X3EC0B4:.
Program from 0X3E0000 to 0X3EC0B4:
write successfully



附 115 下载 方法+软件+驱动!
http://115.com/file/aqvxwz0q






本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×

评分

参与人数 1恩山币 +1 收起 理由
suns*** + 1 我手抖了下,加分变扣分了!

查看全部评分

做为一个中国人,连中文字都写不到,全是错别字,真是难以读懂,还学单片机……
回复

使用道具 举报

我的5.1按啥键都停步下来。
想看你关键的一张,c279是不是和我5.1一样,竟然没图。
回复

使用道具 举报

我悲剧啦  Retry count exceeded; starting again  一直显示这个
回复

使用道具 举报

变砖留名。。。回头思考下
回复

使用道具 举报

威武,按楼主的步骤搞定941n v5砖头
回复

使用道具 举报

~煎饼果子 发表于 2012-7-4 18:00
威武,按楼主的步骤搞定941n v5砖头

我的按tpl没反映,时间比较短,要咋的按才有效呀。 
回复

使用道具 举报

再留个名。。。。
回复

使用道具 举报

我的941N V4.1砖了 TTL接头上焊TX RX俩插针,从屏蔽罩上引跟GND,三根线连上USB TTL模块,输出无乱码,已经修复成功 感谢楼主!
回复

使用道具 举报

谢谢分享!
回复

使用道具 举报

本帖最后由 ZHIZAI100 于 2013-1-15 00:12 编辑

可以下载,谢谢楼主
回复

使用道具 举报

来自手机 | 显示全部楼层
davi1989 发表于 2013-1-4 22:02
我的941N V4.1砖了 TTL接头上焊TX RX俩插针,从屏蔽罩上引跟GND,三根线连上USB TTL模块,输出无乱码,已经修复 ...

求具体接法或者图片吧 有点弄不清楚
回复

使用道具 举报

顶一下,马上看
回复

使用道具 举报

可以下载,谢谢楼主
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

欢迎大家光临恩山无线论坛上一条 /1 下一条

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-5-23 16:14

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表