找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 25920|回复: 73

WCR-GN-CH 150M刷dd-wrt教程

 火... [复制链接]
发表于 2012-7-14 22:29 | 显示全部楼层 |阅读模式
本教程成功解决刷机时自动选择3而造成无法完成操作的问题。
先上拆机图,先下掉背面的2个垫脚,改锥取掉螺丝。从侧方或者下方掰开。

首先声明非web方式,必须使用ttl线!具体见图:
使用USB-TTL,插入路由器的主板上的正确的引脚,我是把一个曲别针剪断插进去的,具体见图,方口的那个不用接线,紧靠方口最短的针为GND,黑线长针为RXD,红线中长针为TXD。


使用超级终端无法解决加电自动选3而无法完成刷机,我用的是SecureCRT,默认的选择了RTS/CTS,取掉这个,这一步是解决自动选3的关键。按下图设置:

TFTP服务器
   本地计算机的IP设置为10.10.10.3。运行tftpd32.exe
   在DD网站下载 Buffalo_WCR- GN\ firmware.tftp,更名为 test.bin
下载地址:http://www.dd-wrt.com/site/support/other-downloads如下选择:
/others/eko/BrainSlayer-V24-preSP2/2011/12-20-11-r18024/Buffalo_WCR-GN/

计算机的网卡地址改为:10.10.10.3子网掩码: 255.255.255.0,余不动。
画圈的位置改为你的test.bin 所在文件夹,server interfaces改为:10.10.10.3

给路由器加电,看到SecureCRT有显示时,快速按下“2”,然后按提示输入,
   
System Load Linux Kernel then write to Flash via TFTP.
Warning!! Erase Linux in Flash then burn new one. Are you sure?(Y/N)
Please Input new ones /or Ctrl-C to discard
        Input device IP (10.10.10.123) ==:10.10.10.123
        Input server IP (10.10.10.3) ==:10.10.10.3
        Input Linux Kernel filename () ==:test.bin
稍等几分钟,等到路由器自己重启,把 IP 地址改为 自动获取 或 192.168.1.2
就可以进入 DD 设置页面了


本帖子中包含更多资源

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

×
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
 楼主| 发表于 2012-7-14 22:31 | 显示全部楼层
附上我用超级终端操作时的信息:

U-Boot 1.1.3 (Sep 30 2009 - 21:47:05)

Board: Ralink APSoC DRAM:  16 MB
relocate_code Pointer at: 80fb4000
spi_wait_nsec: 3e
spi deice id: c2 20 16 c2 20 (2016c220)
find flash: mx25l3205d
raspi_read: from:30000 len:1000
*** Warning - bad CRC, using default environment

============================================
Ralink UBoot Version: 3.3
--------------------------------------------
ASIC 3052_MP2 (Port5<->Phy)
DRAM component: 128 Mbits SDR
DRAM bus: 16 bit
Total memory: 16 MBytes
Flash component: SPI Flash
Date:Sep 30 2009  Time:21:47:05
============================================
icache: sets:256, ways:4, linesz:32 ,total:32768
dcache: sets:128, ways:4, linesz:32 ,total:16384

##### The CPU freq = 320 MHZ ####

SDRAM bus set to 16 bit
SDRAM size =16 Mbytes

Please choose the operation:
   1: Load system code to SDRAM via TFTP.
   2: Load system code then write to Flash via TFTP.
   3: Boot system code via Flash (default).
   4: Entr boot command line interface.
   9: Load Boot Loader code then write to Flash via TFTP.

You choosed 3

0

3: System Boot system code via Flash.
## Booting image at bf050000 ...
raspi_read: from:50000 len:40
   Image Name:   Linux Kernel Image
   Created:      2010-12-13   6:41:15 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    3493824 Bytes =  3.3 MB
   Load Address: 80000000
   Entry Point:  8023a000
raspi_read: from:50040 len:354fc0
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 8023a000) ...
## Giving linux memsize in MB, 16

Starting kernel ...


LINUX started...

THIS IS ASIC
Linux version 2.6.21 (jason@CompilerServer.gemtek.com.tw) (gcc version

3.4.2) #5
61 Mon Dec 13 14:40:42 CST 2010

The CPU feqenuce set to 320 MHz
CPU revision is: 0001964c
Determined physical RAM map:
memory: 01000000 @ 00000000 (usable)
Built 1 zonelists.  Total pages: 4064
Kernel command line: console=ttyS1,57600n8 root=1f04
Primary instruction cache 32kB, physically tagged, 4-way, linesize 32

bytes.
Primary data cache 16kB, 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
cause = 2080000c, status = 1100ff00
PID hash table entries: 64 (order: 6, 256 bytes)
calculating r4koff... 00138800(1280000)
CPU frequency 320.00 MHz
Using 160.000 MHz high precision timer.
Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
Memory: 13760k/16384k available (2011k kernel code, 2624k reserved,

264k data, 1
08k init, 0k highmem)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
NET: Registered protocol family 2
Time: MIPS clocksource has been installed.
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 512 (order: 0, 4096 bytes)
TCP bind hash table entries: 512 (order: -1, 2048 bytes)
TCP: Hash tables configured (established 512 bind 512)
TCP reno registered
Load Ralink DFS Timer Module
squashfs: version 3.2-r2 (2007/01/15) Phillip Lougher
squashfs: LZMA suppport for slax.org by jro
JFFS2 version 2.2. (NAND) (SUMMARY)  (C) 2001-2006 Red Hat, Inc.
io scheduler noop registered (default)
Ralink gpio driver initialized
HDLC line discipline: version $Revision: 1.1.1.1 $, maxframe=4096
N_HDLC line discipline registered.
Ralink APSoC Hardware Watchdog Timer
Serial: 8250/16550 driver $Revision: 1.3 $ 2 ports, IRQ sharing

disabled
serial8250: ttyS0 at I/O 0xb0000500 (irq = 37) is a 16550A
serial8250: ttyS1 at I/O 0xb0000c00 (irq = 12) is a 16550A
loop: loaded (max 8 devices)
rdm_major = 254
PPP generic driver version 2.4.2
PPP BSD Compression module registered
NET: Registered protocol family 24
flash0: started
block2mtd: version $Revision: 1.1.1.1 $
deice id : c2 20 16 c2 20 (2016c220)
mx25l3205d(c2 20160000) (4096 Kbytes)
mtd .name = raspi, .size = 0x00400000 (4M) .erasesize = 0x00010000

(64K) .numera
seregions = 0
Creating 6 MTD partitions on "raspi":
0x00000000-0x00030000 : "Bootloader"
0x00030000-0x00040000 : "Config"
0x00040000-0x00050000 : "Factory"
0x00050000-0x00140000 : "Kernel"
0x00140000-0x003b0000 : "RootFS"
0x003b0000-0x00400000 : "User_CFG"
nf_conntrack version 0.5.0 (128 buckets, 1024 max)
ip_tables: (C) 2000-2006 Netfilter Core Team, Type=Restricted Cone
TCP cubic 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>
GDMA1_MAC_ADRH -- : 0x00000000
GDMA1_MAC_ADRL -- : 0x00000000
Ralink APSoC Ethernet Driver Initilization. v2.00  256 rx/tx

descriptors allocat
ed, mtu = 1500!
GDMA1_MAC_ADRH -- : 0x0000000c
GDMA1_MAC_ADRL -- : 0x43305277
PROC INIT OK!
VFS: Mounted root (squashfs filesystem) readonly.
Freeing unused kernel memory: 108k freed
init started: BusyBox v1.12.1 (2010-12-13 14:28:34 CST)
starting pid 11, tty '': '/etc_ro/rcS'
Algorithmics/MIPS FPU Emulator v1.5
mount: mounting devpts: called with bogus options
none on /sys failed: No such device
mount: mounting none on /proc/bus/usb failed: No such file or directory
Welcome to
     _______  _______  ___     __  ____   _  _   ___
    |  ___  \|   __  ||   |   |__||    \ | || | /  /
    | |___| ||  |__| ||   |__  __ |     \| || |/  /
    |   _   /|   _   ||      ||  || |\     ||     \
    |__| \__\|__| |__||______||__||_| \____||_|\___\

                     =System Architecture Department=

[check_jffs]80 : JFFS_OK
Set: phy[0].reg[0] = 3100
Set: phy[1].reg[0] = 3100
Set: phy[2].reg[0] = 3100
Set: phy[3].reg[0] = 3100
Set: phy[4].reg[0] = 3100
nvram_init: INFO=>nvram MAC initialized successfully!
==>shm_init()!!
check_shm_hash: Check shm hash value
nvram_init: INFO=>nvram conf initialized successfully!
nvram_init: INFO=> RAM CONF successful created!
nvram_init: INFO=> RC.CONF successful created!
GDMA1_MAC_ADRH -- : 0x0000106f
GDMA1_MAC_ADRL -- : 0x3f422280
switch reg write offset=14, value=405555
switch reg write offset=50, value=2001
switch reg write offset=98, value=7f3f
switch reg write offset=e4, value=3f
switch reg write offset=40, value=1001
switch reg write offset=44, value=1001
switch reg write offset=48, value=1002
switch reg write offset=70, value=ffff506f

phy_tx_ring = 0x00833000, tx_ring = 0xa0833000

phy_rx_ring = 0x00000000, rx_ring = 0x00000000
RT305x_ESW: Link Status Changed
CDMA_CSG_CFG = 81000007
GDMA1_FWD_CFG = 710000
vlan0001: Setting MAC address to  10 6f 3f 42 22 80.
VLAN (vlan0001):  Underlying device (eth2) has same MAC, not checking

promisciou
s mode.
vlan0002: Setting MAC address to  10 6f 3f 42 22 80.
VLAN (vlan0002):  Underlying device (eth2) has same MAC, not checking

promisciou
s mode.
vlan0001: dev_set_promiscuity(master, 1)
device eth2 entered promiscuous mode
device vlan0001 entered promiscuous mode
br0: port 1(vlan0001) entering learning state
Fri Jan  1 00:00:00 GMT 2010
Started WatchDog Timer.
br0: topology change detected, propagating
br0: port 1(vlan0001) entering forwarding state
rt2860v2_ap: module license 'unspecified' taints kernel.


=== pAd = c0072000, size = 494272 ===

<-- RTMPAllocAdapterBlock, Status=0
RX DESC a0adf000  size = 2048
<-- RTMPAllocTxRxRingMemory, Status=0
1. Phy Mode = 9
2. Phy Mode = 9
3. Phy Mode = 9
MCS Set = ff 00 00 00 00
RT305x_ESW: Link Status Changed
RT305x_ESW: Link Status Changed
Main bssid = 10:6f:3f:42:22:80
<==== rt28xx_init, Status=0
0x1300 = 00064380
device ra4 entered promiscuous mode
br0: port 2(ra4) entering learning state
device ra0 entered promiscuous mode
br0: port 3(ra0) entering learning state
brctl setwlanforward br0 15
ipv6 pass through init OK
libupnp: using UDP SSDP_PORT = 1900
ipv6_passthru_disable
ipv6_passthru_disable
br0: topology change detected, propagating
br0: port 2(ra4) entering forwarding state
br0: topology change detected, propagating
br0: port 3(ra0) entering forwarding state
/usr/shell/dnsmasq.sh stop ok
/usr/shell/dnsmasq.sh start ok
dnsmasq: using nameserver 168.95.1.1#53
/usr/shell/udhcpd.sh config ok
/usr/shell/udhcpd.sh start ok

***** g_wl_interface = ra0 ******

MAX_NUM_SESSIONS : 5; NUM_SEES: 64
starting pid 773, tty '/dev/ttyS1': '/bin/sh'


BusyBox v1.12.1 (2010-12-13 14:28:34 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
 楼主| 发表于 2012-7-14 22:39 | 显示全部楼层
再附上SecureCRT操作时的部分信息,可能不全

本帖子中包含更多资源

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

×
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
发表于 2012-7-15 00:21 | 显示全部楼层
与 WCR- GN 的方法差不多,你把关键步骤说出来了,

支持一下,辛苦了!!!
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
 楼主| 发表于 2012-7-15 00:32 | 显示全部楼层
主要是参考楼上61888008的帖子的,谢谢你了!可惜无线有问题!哎!
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
发表于 2012-7-15 21:29 | 显示全部楼层
我就是刷了不成功
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
发表于 2012-7-15 21:35 | 显示全部楼层
看看,多谢楼主提供
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
发表于 2012-7-15 21:59 | 显示全部楼层
yxwangyujing 发表于 2012-7-14 22:39
再附上SecureCRT操作时的部分信息,可能不全

/bin/sh: can't create /proc/sys/net/bridge/bridge-nf-call-arptables: nonexistent directory
/bin/sh: can't create /proc/sys/net/bridge/bridge-nf-call-ip6tables: nonexistent directory
/bin/sh: can't create /proc/sys/net/bridge/bridge-nf-call-iptables: nonexistent directory

我刷就死在这一步了...
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
 楼主| 发表于 2012-7-16 19:51 | 显示全部楼层
楼上的开不了机了吗?
我的可以啊!
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
发表于 2012-7-16 23:29 | 显示全部楼层
这个刷了DD 无线信号很差的说 HP不能开启高功率 因为是给WCR-gn设计的
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
发表于 2012-7-17 11:08 | 显示全部楼层
  1. U-Boot 1.1.3 (Sep 30 2009 - 21:47:05)

  2. Board: Ralink APSoC DRAM:  16 MB
  3. relocate_code Pointer at: 80fb4000
  4. spi_wait_nsec: 3e
  5. spi deice id: c2 20 16 c2 20 (2016c220)
  6. find flash: mx25l3205d
  7. raspi_read: from:30000 len:1000
  8. *** Warning - bad CRC, using default environment

  9. ============================================
  10. Ralink UBoot Version: 3.3
  11. --------------------------------------------
  12. ASIC 3052_MP2 (Port5<->Phy)
  13. DRAM component: 128 Mbits SDR
  14. DRAM bus: 16 bit
  15. Total memory: 16 MBytes
  16. Flash component: SPI Flash
  17. Date:Sep 30 2009  Time:21:47:05
  18. ============================================
  19. icache: sets:256, ways:4, linesz:32 ,total:32768
  20. dcache: sets:128, ways:4, linesz:32 ,total:16384

  21. ##### The CPU freq = 320 MHZ ####

  22. SDRAM bus set to 16 bit
  23. SDRAM size =16 Mbytes
复制代码
TTL信息跟我的WCR-GN一样,不过我刷之后WAN/LAN都不稳定,只有无线稳定...
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
发表于 2012-7-18 22:53 | 显示全部楼层
看看,感谢楼主分享!
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
发表于 2012-7-18 23:35 | 显示全部楼层
感谢楼主分享
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
发表于 2012-7-21 03:24 | 显示全部楼层
努力研究中,哈哈
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
发表于 2012-7-22 11:40 | 显示全部楼层
这款也能刷???惊!!
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

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

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

GMT+8, 2024-10-9 17:08

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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

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