找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 13757|回复: 30

wr941 8M的flash用不了DD

[复制链接]
发表于 2010-8-9 23:28 | 显示全部楼层 |阅读模式
我给WR941N换了一个8M的flash,刷了DD后找不到无线,打印信息如下:
U-Boot 1.1.4 (Jul 17 2010 - 00:26:05)

AP81 (ar7100) U-boot
DRAM:  
sri
32 MB
id read 0x100000ff
flash size 8MB, sector count = 128
Flash:  8 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ag7100_enet_initialize...
Fetching MAC Address from 0x81fef070
eth0: 8f:bc:00:10:8f:bf
eth0 up
eth0
Hit any key to stop autoboot:  0
## Booting image at bf020000 ...
   Uncompressing Kernel Image ... OK

Starting kernel ...

Linux version 2.6.24.111 (root@dd-wrt) (gcc version 4.3.3 (GCC) ) #2659 Sat Jun 12 08:17:10 CEST 2010
flash_size passed from bootloader = 8
CPU revision is: 00019374
booting platform Atheros AR9132 rev 2 (0xb9)
Determined physical RAM map:
memory: 02000000 @ 00000000 (usable)
Built 1 zonelists in Zone order.  Total pages: 8128
Kernel command line: console=ttyS0,115200 root=1f02 rootfstype=squashfs noinitrd  init=/sbin/init
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: 128 (order: 7, 512 bytes)
Using 200.000 MHz high precision timer.
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 29660k/32768k available (1962k kernel code, 3108k reserved, 329k data, 120k init, 0k highmem)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
Generic PHY: Registered new driver
SCSI subsystem initialized
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: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP reno registered
gpio_proc: module loaded and /proc/gpio/ created
AR7100 GPIOC major 0
devfs: 2004-01-31 Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
squashfs: version 3.0 (2006/03/15) Phillip Lougher
io scheduler noop registered
io scheduler deadline registered (default)
Serial: 8250/16550 driver $Revision: 1.90 $ 1 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0x0 (irq = 19) is a 16550A
console [ttyS0] enabled
Marvell 88E6060/88E6061: Registered new driver
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
PPP BSD Compression module registered
MPPE/MPPC encryption/compression module registered
NET: Registered protocol family 24
PPPoL2TP kernel driver, V1.0
IMQ starting with 2 devices...
IMQ driver loaded successfully.
        Hooking IMQ before NAT on PREROUTING.
        Hooking IMQ after NAT on POSTROUTING.
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
guessed flashsize = 8M
scanning for root partition
tplink uboot detected
bootloader size = 20000

found squashfs at 160000
Creating 8 MTD partitions on "ar7100-nor0":
0x00000000-0x00020000 : "RedBoot"
0x00020000-0x007e0000 : "linux"
0x00160000-0x003e0000 : "rootfs"
0x003e0000-0x007e0000 : "ddwrt"
0x007e0000-0x007f0000 : "nvram"
0x007f0000-0x00800000 : "FIS directory"
0x007f0000-0x00800000 : "board_config"
0x00000000-0x00800000 : "fullflash"
Software Watchdog Timer: 0.07 initialized. soft_noboot=0 soft_margin=60 sec (nowayout= 0)
GACT probability on
Mirror/redirect action on
Simple TC action Loaded
u32 classifier
    Actions configured
Netfilter messages via NETLINK v0.30.
nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
ctnetlink v0.93: registering with nfnetlink.
IPv4 over IPv4 tunneling driver
GRE over IPv4 tunneling driver
ip_tables: (C) 2000-2006 Netfilter Core Team
IPP2P v0.8.2 loading
ClusterIP Version 0.8 loaded successfully
TCP bic registered
TCP cubic registered
TCP westwood registered
TCP highspeed registered
TCP hybla registered
TCP htcp registered
TCP vegas registered
TCP scalable registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Welcome to PF_RING 3.2.1
(C) 2004-06 L.Deri <deri@ntop.org>
NET: Registered protocol family 27
PF_RING: bucket length    128 bytes
PF_RING: ring slots       4096
PF_RING: sample rate      1 [1=no sampling]
PF_RING: capture TX       No [RX only]
PF_RING: transparent mode Yes
PF_RING initialized correctly.
PF_RING: registered /proc/net/pf_ring/
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
decode 1f02
VFS: Mounted root (squashfs filesystem) readonly.
Mounted devfs on /dev
Freeing unused kernel memory: 120k freed
start service
starting Architecture code for ap83
load ATH Ethernet Driver
ag7100_mod: module license 'unspecified' taints kernel.
AG7100: Length per segment 1536
AG7100: Max segments per packet 1
AG7100: Max tx descriptor count    100
AG7100: Max rx descriptor count    252
AG7100: fifo cfg 3 00780008
AG7100CHH: Mac address for unit 0
AG7100CHH: 8f:bf:00:3c:02:40
ag7100_mii: probed
eth0: Marvell 88E6060 PHY driver attached.
configure eth0 to 00:23:cd:3f:d8:00
ag7100_ring_alloc Allocated 1600 at 0x81389800
ag7100_ring_alloc Allocated 4032 at 0x811c7000
AG7100: cfg1 0x2f cfg2 0x7014
AG7100: unit 0 phy is up...RMii 100Mbps full duplex
AG7100: pll reg 0x18050014: 0x13000a44  AG7100: CPU PhaseLockLoop      : 0x81050
AG7100: Secondary PhaseLockLoop: 0x1032
AG7100: Ethernet Internal Clock Control: 0x0
AG7100: mii: 0x13
AG7100: cfg1: 0x2f
AG7100: cfg2: 0x7135
AG7100: fcfg_0: 0x1d1f00
AG7100: fcfg_1: 0x7ff0000
AG7100: fcfg_2: 0xfff
AG7100: fcfg_3: 0x780008
AG7100: fcfg_4: 0xffff
AG7100: fcfg_5: 0x7efef
AG7100: done cfg2 0x7135 ifctl 0x10000 miictrl 0x13
AG7100: LAN Rx Hang Detected 1 times!
Writing 4
configure vlan0 to 00:23:cd:3f:d8:00
configure vlan1 to 00:23:CD:3F8:01
load ATH 802.11 a/b/g Driver
load ATH 802.11n Driver
ath_mimo_hal: 0.9.17.1 (AR5416, REGOPS_FUNC)
ath_ahb: 0.9.4.5 (Atheros/multi-bss)
ath_dfs: Version 2.0.0
Copyright (c) 2005-2006 Atheros Communications, Inc. All Rights Reserved
wlan: 0.8.4.2 (Atheros/multi-bss)
wlan: mac acl policy registered
ath_rate_atheros: Version 2.0.1
Copyright (c) 2001-2004 Atheros Communications, Inc, All Rights Reserved
ar5416CheckEepromDef: Read Magic = 0x8FBC
EEPROM being read from flash @0xbfff1000
need_swap = False.
Bad EEPROM checksum 0xd758 or revision 0x0003
wifi%d: unable to attach hardware; HAL status 7
ath_ahb: No devices found, driver not installed.
configure wifi0 to 00:23:CD:3F8:00
ifconfig: SIOCSIFHWADDR: No such device
sh: can't create /proc/sys/dev/wifi0/ledpin: nonexistent directory
sh: can't create /proc/sys/dev/wifi0/softled: nonexistent directory

清NVRAM也不管用,换回原厂就有无线了,哪位兄弟有经验的,望不吝赐教
我的恩山、我的无线 The best wifi forum is right here.
发表于 2010-8-10 01:02 | 显示全部楼层
楼主是怎么换的Flash, 如何刷的固件没讲清楚,不方便高手判断。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2010-8-10 03:34 | 显示全部楼层
EEPROM being read from flash @0xbfff1000
need_swap = False.
Bad EEPROM checksum 0xd758 or revision 0x0003
wifi%d: unable to attach hardware; HAL status 7
ath_ahb: No devices found, driver not installed.
这就是出错信息 对比下你现在的固件和以前4m dd的正常信息 就会知道问题出在哪里了
看楼主固件通刷 应该不难搞的 如果还不知道 睡醒了告诉你 呵呵 顺便向楼主讨个从dd刷回原厂的固件 编程器的不要...

点评

www.rrksw.com/book/0/16/ 神印王座  发表于 2014-9-30 19:33
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2010-8-10 13:54 | 显示全部楼层
刷回原厂固件很简单,原厂的固件有两种,一种带U-boot,一种不带,大小不一样,选不带U-boot的就行,用U-boot的命令,写到0xbf020000就可以了,DD用的是factory-to-ddwrt.bin,也是用同样的方法操作
EEPROM being read from flash @0xbfff1000
need_swap = False.
Bad EEPROM checksum 0xd758 or revision 0x0003
wifi%d: unable to attach hardware; HAL status 7
ath_ahb: No devices found, driver not installed
这个我也发现地址不对,可是不知道怎么改对呀,我也不想换回4M的看正确信息了,等等官方出941N V1板的DD吧,我觉得是官方的固件不判断FLASH大小,还是按4M用的,DD按8M用的就出问题了,可能还是某些配置存放地址不对造成的
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2010-8-10 23:15 | 显示全部楼层
不知LZ换上8M flash后 固件是怎么刷的  难道是用编程器写入4M的固件?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2010-8-10 23:31 | 显示全部楼层
哦 原来如此 从没注意官方固件的大小 也懒得区分了 反正也用不上的说
关于解决没有无线 你把4M里面的eeprom提取出来
刷到8M的0x007f0000-0x00800000 : "board_config"
这个位置就行了 4M里面是叫eeprom还是其它的什么我忘记了 反正就是这样可以解决问题
你试试 等dd出941N v1的固件 那wip没个谱的...
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2010-8-11 09:19 | 显示全部楼层
自己做了一个编程器,串口的,115200的波特率,有点慢,只是把把U-BOOT写进FLASH,然后用U-BOOT写入固件的。
0x00000000-0x00020000 : "u-boot"
0x00020000-0x00120000 : "kernel"
0x00120000-0x003e0000 : "rootfs"
0x003e0000-0x003f0000 : "config"
0x003f0000-0x00400000 : "art"
原厂固件好像这样分区的,我试过把从0x003e0000-0x00400000的内容都复制到0x007e0000-0x00800000,不管用
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2010-8-15 22:14 | 显示全部楼层
我也换了8m也没没有无线了
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2010-8-17 08:21 | 显示全部楼层
自己顶上去,等高手来回答
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2010-8-17 14:54 | 显示全部楼层
晕  上面不是早告诉你答案了吗 不是从原厂固件里面提取config 而是要从4Mflash的dd固件里面提取
自己不动手换的话就只有继续望天了...
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2010-8-17 21:15 | 显示全部楼层
楼上的兄弟,感谢你的回答,我在发到论坛之前就试过了,这样不行,我是从DD编程器固件里面提取的,这个固件在4M的FLASH上工作正常,我是想问问还有没有别的办法
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2010-8-18 21:37 | 显示全部楼层
刚看到这个帖子, 我今天分别换了8M和16M的Flash,都没有无线,看来各个版本的Kernal并不能自动认识8M和16MFlash ,就是认到了也有很多问题。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2010-8-19 17:14 | 显示全部楼层
之前我是用U-BOOT命令直接从8M FLASH(事先写入了4M的DD编程器固件)的0x003f0000-0x00400000读出到内存再写入0x007f0000-0x00800000位置,没成功。昨天又试了一下,直接把4M的DD编程器固件的0x003f0000-0x00400000内容提取出来,用U-BOOT命令写入到8M FLASH的0x007f0000-0x00800000位置,重启,终于有无线了。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2010-8-20 10:26 | 显示全部楼层
之前我是用U-BOOT命令直接从8M FLASH(事先写入了4M的DD编程器固件)的0x003f0000-0x00400000读出到内存再写入0x007f0000-0x00800000位置,没成功。昨天又试了一下,直接把4M的DD编程器固件的0x003f0000-0x00400000内 ...
terminator1983 发表于 2010-8-19 17:14


不知道你那里原厂固件和Openwrt固件是什么状况,把你NVram的备份文件发上来共享一下吧,看起来DD没有无线只是因为没拿到nvram的东西,看起来16MFlash也可以如法炮制一下,能把你8MFlash的df命令情况发上来看看么? DD好象没法用USB吧。期待完美941的固件出现,现在Openwrt那边的无线性能还是很滥。


guessed flashsize = 16M
scanning for root partition
tplink uboot detected
bootloader size = 20000

found squashfs at 160000
Creating 8 MTD partitions on "ar7100-nor0":
0x00000000-0x00020000 : "RedBoot"
0x00020000-0x00fe0000 : "linux"
0x00160000-0x003e0000 : "rootfs"
0x003e0000-0x00fe0000 : "ddwrt"
0x00fe0000-0x00ff0000 : "nvram"
0x00ff0000-0x01000000 : "FIS directory"
0x00ff0000-0x01000000 : "board_config"
0x00000000-0x01000000 : "fullflash"

root@DD-WRT:~# df
Filesystem           1K-blocks      Used Available Use% Mounted ondf
/dev/root                 2560      2560         0 100% /
root@DD-WRT:~#


guessed flashsize = 8M
scanning for root partition
tplink uboot detected
bootloader size = 20000

found squashfs at 160000
Creating 8 MTD partitions on "ar7100-nor0":
0x00000000-0x00020000 : "RedBoot"
0x00020000-0x007e0000 : "linux"
0x00160000-0x003e0000 : "rootfs"
0x003e0000-0x007e0000 : "ddwrt"
0x007e0000-0x007f0000 : "nvram"
0x007f0000-0x00800000 : "FIS directory"
0x007f0000-0x00800000 : "board_config"
0x00000000-0x00800000 : "fullflash"
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2010-8-20 10:33 | 显示全部楼层
你们的941是哪一版的?v2还是v4的?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-4-21 00:30

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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

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