找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 82222|回复: 188

QCA953x UBOOT with HTTPD,mw300r v9 mw305r v3 wr841n v10,v11

 火... [复制链接]
本帖最后由 200420154 于 2013-12-28 02:06 编辑

1.自动识别flash型号和大小,4M 8M 16M;
2.任意键中断uboot启动
3.判断文件大小,上传512K以上文件更新固件,128K以下文件更新uboot;
4.仅在qca9533上测试,目测qca9531同样支持,成功的可以带个口信;
5.在MW305R+v1测试通过,仅作为测试版本;
6.没flash少于4MB的机型没硬改的请勿使用此u-boot;
7.Build By Linkser < linkser2004@gmail.com >
8.目前已知使用此芯片的机型,欢迎添加:
WR841n v10,WR842n v4 MW305R v3 MW305R+ v1 MW300R v9 FBD300,FW306R FW309R FW316R
WR841n v9_International(4MB flash 32MB RAM 8LEDs)


在S25FL032P (4 MB)  W25Q64(8MB) MX25L6445E(8MB)W25Q128(16MB) 测试通过

S25FL032P(4MB)


w25q64bvsig(8MB)


w25q128bvsig(16MB)

理论支持的flash型号:

4 MiB:

  • Spansion S25FL032P (4 MiB, JEDEC ID: 01 0215)*
  • Atmel AT25DF321 (4 MB, JEDEC ID: 1F 4700)
  • EON EN25Q32 (4 MB, JEDEC ID: 1C 3016)*
  • Micron M25P32 (4 MB, JEDEC ID: 20 2016)
  • Windbond W25Q32 (4 MB, JEDEC ID: EF 4016)
  • Macronix MX25L320 (4 MB, JEDEC ID: C2 2016)

8 MiB:

  • Spansion S25FL064P (8 MB, JEDEC ID: 01 0216)
  • Atmel AT25DF641 (8 MB, JEDEC ID: 1F 4800)
  • EON EN25Q64 (8 MB, JEDEC ID: 1C 3017)*
  • Micron M25P64 (8 MB, JEDEC ID: 20 2017)
  • Windbond W25Q64 (8 MB, JEDEC ID: EF 4017)*
  • Macronix MX25L640 (8 MB, JEDEC ID: C2 2017)

16 MiB:

  • Winbond W25Q128 (16 MB, JEDEC ID: EF 4018)*
  • Macronix MX25L12835F(16MB, JEDEC ID: C22018)


Httpd



MD5:c5cf69aafd1d61ff2961c92adfcccabd


















本帖子中包含更多资源

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

×

评分

参与人数 6恩山币 +14 收起 理由
leto*** + 1 亲,你太牛逼了,走,我请你吃鳇鱼头去~~~
Hugo*** + 1 强大的恩山!(以下重复1万次)
sias*** + 1 土豪,我们做朋友吧!
WeD*** + 3 强大的恩山!(以下重复1万次)
ha*** + 5 强大的恩山!(以下重复1万次)
ZHIZ*** + 3 强大的恩山!(以下重复1万次)

查看全部评分

 楼主| | 显示全部楼层
本帖最后由 200420154 于 2013-12-28 01:48 编辑

目前没有固件可用,可以先刷wr841n v9_en:


wr841n_v9_en

U-Boot 1.1.4 (Build from LSDK-9.5.3.16 at Dec 27 2013 - 23:34:13)

Build By Linkser < linkser2004@gmail.com >

ap143 - Honey Bee 1.1

DRAM:   64 MB
ID read:0x10215
FLASH:  Spansion S25FL032P
SIZE:   4 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ath_gmac_enet_initialize...
ath_gmac_enet_initialize: reset mask:0xc02200
Scorpion ---->S27 PHY*
S27 reg init
GMAC: cfg1 0x800c0000 cfg2 0x7114
eth0: ba:be:fa:ce:08:41
athrs27_phy_setup ATHR_PHY_CONTROL 4:0x1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 4:0x10
eth0 up
Honey Bee ---->  MAC 1 S27 PHY*
S27 reg init
ATHRS27: resetting s27
ATHRS27: s27 reset done
GMAC: cfg1 0x800c0000 cfg2 0x7214
eth1: ba:be:fa:ce:08:41
athrs27_phy_setup ATHR_PHY_CONTROL 0:0x1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 0:0x10
athrs27_phy_setup ATHR_PHY_CONTROL 1:0x1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 1:0x10
athrs27_phy_setup ATHR_PHY_CONTROL 2:0x1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 2:0x10
athrs27_phy_setup ATHR_PHY_CONTROL 3:0x1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 3:0x10
eth1 up
eth0, eth1
Setting 0x181162c0 to 0x64c9a100
Router_Recovery_Mode=0
Hit any key to stop autoboot:  0
## Booting image at 9f020000 ...
   Uncompressing Kernel Image ... OK

Starting kernel ...

Booting QCA953x
Linux version 2.6.31 (tplink@localhost.localdomain) (gcc version 4.3.3 (GCC) ) #23 Fri Nov 29 10:49:50 CST 2013
flash_size passed from bootloader = 4
Ram size passed from bootloader =67108864
CPU revision is: 00019374 (MIPS 24Kc)
ath_sys_frequency: cpu apb ddr apb cpu 550 ddr 396 ahb 198
Determined physical RAM map:
memory: 04000000 @ 00000000 (usable)
Zone PFN ranges:
  Normal   0x00000000 -> 0x00004000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0: 0x00000000 -> 0x00004000
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line: console=ttyS0,115200 root=31:2 rootfstype=squashfs init=/sbin/init mtdparts=ath-nor0:128k(u-boot),1024k(kernel),2816k(rootfs),64k(config),64k(art) mem=32M
PID hash table entries: 256 (order: 8, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
Writing ErrCtl register=00000000
Readback ErrCtl register=00000000
Memory: 56616k/65536k available (1558k kernel code, 8848k reserved, 379k data, 108k init, 0k highmem)
NR_IRQS:128
plat_time_init: plat time init done
Calibrating delay loop... 365.56 BogoMIPS (lpj=731136)
Mount-cache hash table entries: 512

****************ALLOC***********************
Packet mem: 80211220 (0x600000 bytes)
********************************************

NET: Registered protocol family 16
bio: create slab <bio-0> at 0
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
NET: Registered protocol family 1
ATH GPIOC major 0
squashfs: version 4.0 (2009/01/31) Phillip Lougher
msgmni has been set to 110
io scheduler noop registered
io scheduler deadline registered (default)
Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0xb8020000 (irq = 19) is a 16550A
console [ttyS0] enabled
PPP generic driver version 2.4.2
NET: Registered protocol family 24
5 cmdlinepart partitions found on MTD device ath-nor0
Creating 5 MTD partitions on "ath-nor0":
0x000000000000-0x000000020000 : "u-boot"
0x000000020000-0x000000120000 : "kernel"
0x000000120000-0x0000003e0000 : "rootfs"
0x0000003e0000-0x0000003f0000 : "config"
0x0000003f0000-0x000000400000 : "art"
->Oops: flash id 0x10215 .
Ooops, why the devices couldn't been initialed?
TCP cubic registered
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>
athwdt_init: Registering WDT success
VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
Freeing unused kernel memory: 108k freed
init started:  BusyBox v1.01 (2013.11.29-02:54+0000) multi-call binary
This Board use 2.6.31
xt_time: kernel timezone is -0000
nf_conntrack version 0.5.0 (1024 buckets, 5120 max)
ip_tables: (C) 2000-2006 Netfilter Core Team
insmod: cannot open module `/lib/modules/2.6.31/kernel/iptable_raw.ko': No such file or directory
insmod: cannot open module `/lib/modules/2.6.31/kernel/flashid.ko': No such file or directory
PPPoL2TP kernel driver, V1.0
PPTP driver version 0.8.3
insmod: cannot open module `/lib/modules/2.6.31/kernel/harmony.ko': No such file or directory
insmod: cannot open module `/lib/modules/2.6.31/kernel/af_key.ko': No such file or directory
insmod: cannot open module `/lib/modules/2.6.31/kernel/xfrm_user.ko': No such file or directory
insmod: cannot open module `/lib/modules/2.6.31/kernel/xt_mark.ko': No such file or directory
/proc/sys/vfs_Now flash open!
Now flash open!
qca955x_GMAC: Length per segment 1536
953x_GMAC: qca953x_gmac_attach
Link Int Enabled
qca953x_set_gmac_caps  CHECK DMA STATUS
mac:1 Registering S27....
qca955x_GMAC: RX TASKLET - Pkts per Intr:32
qca955x_GMAC: Max segments per packet :   1
qca955x_GMAC: Max tx descriptor count :   512
qca955x_GMAC: Max rx descriptor count :   128
qca955x_GMAC: Mac capability flags    :   2D81
953x_GMAC: qca953x_gmac_attach
Link Int Enabled
qca953x_set_gmac_caps  CHECK DMA STATUS
mac:0 Registering S27....
qca955x_GMAC: RX TASKLET - Pkts per Intr:32
qca955x_GMAC: Max segments per packet :   1
qca955x_GMAC: Max tx descriptor count :   512
qca955x_GMAC: Max rx descriptor count :   128
qca955x_GMAC: Mac capability flags    :   2581

(none) mips #23 Fri Nov 29 10:49:50 CST 2013 (none)
(none) login: athr_gmac_ring_alloc Allocated 8192 at 0x838ca000
athr_gmac_ring_alloc Allocated 2048 at 0x838ad000
HONEYBEE ----> S27 PHY MDIO
ATHRS27: resetting s27
ATHRS27: s27 reset done
++++ athrs27_igmp_setup once
port0 vid is 0xb000b
port1 vid is 0x30003
port2 vid is 0x50005
port3 vid is 0x70007
port4 vid is 0x90009
++ PVID: 0x0000000b, bitmap: 0x0000001f
++ PVID: 0x00000003, bitmap: 0x0000001f
++ PVID: 0x00000005, bitmap: 0x0000001f
++ PVID: 0x00000007, bitmap: 0x0000001f
++ PVID: 0x00000009, bitmap: 0x0000001f
vtable vid: 0x00000002, bitmap 0x00000003
vtable vid: 0x00000004, bitmap 0x00000005
vtable vid: 0x00000006, bitmap 0x00000007
vtable vid: 0x00000008, bitmap 0x00000009
vtable vid: 0x0000000a, bitmap 0x0000000b
vtable vid: 0x0000000c, bitmap 0x0000000d
vtable vid: 0x0000000e, bitmap 0x0000000f
vtable vid: 0x00000010, bitmap 0x00000011
vtable vid: 0x00000012, bitmap 0x00000013
vtable vid: 0x00000014, bitmap 0x00000015
vtable vid: 0x00000016, bitmap 0x00000017
vtable vid: 0x00000018, bitmap 0x00000019
vtable vid: 0x0000001a, bitmap 0x0000001b
vtable vid: 0x0000001c, bitmap 0x0000001d
vtable vid: 0x0000001e, bitmap 0x0000001f
vtable vid: 0x00000020, bitmap 0x00000021
Setting Drop CRC Errors, Pause Frames and Length Error frames
Setting PHY...
athr_gmac_ring_alloc Allocated 8192 at 0x83854000
athr_gmac_ring_alloc Allocated 2048 at 0x83a29000
HONEYBEE ----> S27 PHY MDIO
Setting Drop CRC Errors, Pause Frames and Length Error frames
Setting PHY...
device eth0 entered promiscuous mode
athr_gmac_ring_free Freeing at 0x83854000
athr_gmac_ring_free Freeing at 0x83a29000
athr_gmac_ring_alloc Allocated 8192 at 0x83864000
athr_gmac_ring_alloc Allocated 2048 at 0x83a29000
HONEYBEE ----> S27 PHY MDIO
Setting Drop CRC Errors, Pause Frames and Length Error frames
Setting PHY...
Now flash open!
athr_gmac_ring_free Freeing at 0x838ca000
athr_gmac_ring_free Freeing at 0x838ad000
athr_gmac_ring_alloc Allocated 8192 at 0x838d0000
athr_gmac_ring_alloc Allocated 2048 at 0x838ad000
HONEYBEE ----> S27 PHY MDIO
Setting Drop CRC Errors, Pause Frames and Length Error frames
Setting PHY...
nf_conntrack_rtsp v0.6.21 loading
nf_nat_rtsp v0.6.21 loading
adf: module license 'Proprietary' taints kernel.
Disabling lock debugging due to kernel taint
ath_hal: 0.9.17.1 (AR5416, AR9380, REGOPS_FUNC, WRITE_EEPROM, 11D)
ath_rate_atheros: Copyright (c) 2001-2005 Atheros Communications, Inc, All Rights Reserved
ath_dev: Copyright (c) 2001-2007 Atheros Communications, Inc, All Rights Reserved
ath_ahb: 9.5.3.16 (Atheros/multi-bss)
Enterprise mode: 0x03fc0000
Restoring Cal data from Flash
ath_get_caps[5856] rx chainmask mismatch actual 3 sc_chainmak 0
ath_get_caps[5831] tx chainmask mismatch actual 3 sc_chainmak 0
wifi0: Atheros ???: mem=0xb8100000, irq=2
ath_pci: 9.5.3.16 (Atheros/multi-bss)
VAP device ath0 created
        DCS for CW interference mitigation:   0
        DCS for WLAN interference mitigation: 0

DES SSID SET=TP-LINK_137B00
ieee80211_ioctl_siwmode: imr.ifm_active=131712, new mode=3, valid=1
athr_gmac_ring_free Freeing at 0x838d0000
athr_gmac_ring_free Freeing at 0x838ad000
br0: port 1(eth0) entering disabled state
athr_gmac_ring_alloc Allocated 8192 at 0x83b68000
athr_gmac_ring_alloc Allocated 2048 at 0x838ad000
HONEYBEE ----> S27 PHY MDIO
Setting Drop CRC Errors, Pause Frames and Length Error frames
Setting PHY...
device ath0 entered promiscuous mode
br0: port 2(ath0) entering forwarding state
ieee80211_ioctl_siwmode: imr.ifm_active=918144, new mode=3, valid=1
br0: port 2(ath0) entering disabled state

DES SSID SET=TP-LINK_137B00
br0: port 2(ath0) entering forwarding state
qca955x_GMAC: GE0 RX DMA ENABLE
blockWps_proc_write 802: write value = 0





提供ART分区文件:





本帖子中包含更多资源

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

×

评分

参与人数 1恩山币 +3 收起 理由
ZHIZ*** + 3 强大的恩山!(以下重复1万次)

查看全部评分

回复

使用道具 举报

来自手机 | 显示全部楼层
又有的玩了,先收藏!
回复

使用道具 举报

楼主搞一下qca95xx的op估计很瘦喜爱
回复

使用道具 举报

支持了,新的低端路由有得玩了
回复

使用道具 举报

这个uboot中,怎么修改MAC地址?
回复

使用道具 举报

支持了,我是一外行。
回复

使用道具 举报

膜拜大神
回复

使用道具 举报

意思是买来的机器里面就是这个UBOOT?还是你的不同?
回复

使用道具 举报

屌丝  牛逼的大师 疯狂顶 这下有的玩了 疯狂支持
回复

使用道具 举报

WR842n v4    qca9531   mx25l3205   4m   ,32m  能用但是,无线不能用。求解
回复

使用道具 举报

瓯海 发表于 2014-1-22 10:09
WR842n v4    qca9531   mx25l3205   4m   ,32m  能用但是,无线不能用。求解

无线参数放到什么地方了 3f000出?
是么
回复

使用道具 举报

mark一下,年后再吧家中的mw305r v3拿出来整一下
回复

使用道具 举报

 楼主| | 显示全部楼层
瓯海 发表于 2014-1-22 10:09
WR842n v4    qca9531   mx25l3205   4m   ,32m  能用但是,无线不能用。求解

可以尝试使用原厂的art数据。
回复

使用道具 举报

共享一下自己整理的编程器文件,方便后者直接写上,先要感谢楼主放出的资料。OPENWRT不远了,841NV9可以直接支持8M芯片,有条件的可以直接上8M,16M没时间测试。
http://pan.baidu.com/share/link? ... 2&uk=4211530862
回复

使用道具 举报

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

本版积分规则

关闭

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

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

GMT+8, 2024-5-17 21:11

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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

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