找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 61290|回复: 207

发个测试版的 WR941N v7 OpenWrt 固件

 火.. [复制链接]
发表于 2014-9-7 02:45 | 显示全部楼层 |阅读模式
{:soso_e118:}一晚上时间才做出来。。。效率太低了

由于 OpenWrt AR71XX 架构里没有 AR8236 的代码,所以楼主完全是摸黑写的,甚至还调试了几个内核驱动,才弄出来。。。

解决 AR8236 无法被识别、ARP、广播帧无法接收的问题。。。。。

适用机型
QCA9558 + AR8236
TL-WR941N v7
FW450R v1

这个固件只包含了基本功能,也就是 LuCI,其他啥也没有。。。

界面:





内核输出:
  1. [    0.000000] Linux version 3.10.49 (hackpascal@HackPascalPC) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 unknown) ) #2 Sun Sep 7 01:59:35 CST 2014
  2. [    0.000000] MyLoader: sysp=d71d4ed3, boardp=8bb1dfdb, parts=57cdc012
  3. [    0.000000] bootconsole [early0] enabled
  4. [    0.000000] CPU revision is: 00019750 (MIPS 74Kc)
  5. [    0.000000] SoC: Qualcomm Atheros QCA9558 rev 0
  6. [    0.000000] Clocks: CPU:720.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:40.000MHz
  7. [    0.000000] Determined physical RAM map:
  8. [    0.000000]  memory: 04000000 @ 00000000 (usable)
  9. [    0.000000] Initrd not found or empty - disabling initrd
  10. [    0.000000] Zone ranges:
  11. [    0.000000]   Normal   [mem 0x00000000-0x03ffffff]
  12. [    0.000000] Movable zone start for each node
  13. [    0.000000] Early memory node ranges
  14. [    0.000000]   node   0: [mem 0x00000000-0x03ffffff]
  15. [    0.000000] On node 0 totalpages: 16384
  16. [    0.000000] free_area_init_node: node 0, pgdat 803109b0, node_mem_map 81000000
  17. [    0.000000]   Normal zone: 128 pages used for memmap
  18. [    0.000000]   Normal zone: 0 pages reserved
  19. [    0.000000]   Normal zone: 16384 pages, LIFO batch:3
  20. [    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
  21. [    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
  22. [    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
  23. [    0.000000] pcpu-alloc: [0] 0
  24. [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
  25. [    0.000000] Kernel command line:  board=TL-WR941ND-v7 console=ttyS0,115200 rootfstype=squashfs,jffs2 noinitrd
  26. [    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
  27. [    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
  28. [    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
  29. [    0.000000] Writing ErrCtl register=00000000
  30. [    0.000000] Readback ErrCtl register=00000000
  31. [    0.000000] Memory: 61272k/65536k available (2239k kernel code, 4264k reserved, 603k data, 228k init, 0k highmem)
  32. [    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
  33. [    0.000000] NR_IRQS:51
  34. [    0.060000] Calibrating delay loop... 358.80 BogoMIPS (lpj=1794048)
  35. [    0.060000] pid_max: default: 32768 minimum: 301
  36. [    0.060000] Mount-cache hash table entries: 512
  37. [    0.070000] NET: Registered protocol family 16
  38. [    0.080000] MIPS: machine is TP-LINK TL-WR941ND v7
  39. [    0.390000] bio: create slab <bio-0> at 0
  40. [    0.400000] Switching to clocksource MIPS
  41. [    0.410000] NET: Registered protocol family 2
  42. [    0.410000] TCP established hash table entries: 512 (order: 0, 4096 bytes)
  43. [    0.410000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
  44. [    0.420000] TCP: Hash tables configured (established 512 bind 512)
  45. [    0.420000] TCP: reno registered
  46. [    0.430000] UDP hash table entries: 256 (order: 0, 4096 bytes)
  47. [    0.430000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
  48. [    0.440000] NET: Registered protocol family 1
  49. [    0.440000] PCI: CLS 0 bytes, default 32
  50. [    0.460000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
  51. [    0.460000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
  52. [    0.470000] msgmni has been set to 119
  53. [    0.480000] io scheduler noop registered
  54. [    0.480000] io scheduler deadline registered (default)
  55. [    0.490000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
  56. [    0.520000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
  57. [    0.520000] console [ttyS0] enabled, bootconsole disabled
  58. [    0.540000] ath79-spi ath79-spi: master is unqueued, this is deprecated
  59. [    0.540000] m25p80 spi0.0: found s25sl032p, expected m25p80
  60. [    0.550000] m25p80 spi0.0: s25sl032p (4096 Kbytes)
  61. [    0.560000] 5 tp-link partitions found on MTD device spi0.0
  62. [    0.560000] Creating 5 MTD partitions on "spi0.0":
  63. [    0.570000] 0x000000000000-0x000000020000 : "u-boot"
  64. [    0.570000] 0x000000020000-0x00000012225c : "kernel"
  65. [    0.580000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
  66. [    0.590000] 0x00000012225c-0x0000003f0000 : "rootfs"
  67. [    0.600000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
  68. [    0.610000] mtd: device 2 (rootfs) set to be root filesystem
  69. [    0.620000] 1 squashfs-split partitions found on MTD device rootfs
  70. [    0.620000] 0x0000003a0000-0x0000003f0000 : "rootfs_data"
  71. [    0.630000] 0x0000003f0000-0x000000400000 : "art"
  72. [    0.640000] 0x000000020000-0x0000003f0000 : "firmware"
  73. [    0.670000] switch0: Atheros AR8236 rev. 1 switch registered on ag71xx-mdio.0
  74. [    0.700000] libphy: ag71xx_mdio: probed
  75. [    2.400000] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:00 [uid=004dd043, driver=Atheros AR8216/AR8236/AR8316]
  76. [    2.410000] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
  77. [    2.420000] TCP: cubic registered
  78. [    2.420000] NET: Registered protocol family 17
  79. [    2.430000] 8021q: 802.1Q VLAN Support v1.8
  80. [    2.440000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
  81. [    2.450000] Freeing unused kernel memory: 228K (80327000 - 80360000)
  82. [    4.910000] usbcore: registered new interface driver usbfs
  83. [    4.920000] usbcore: registered new interface driver hub
  84. [    4.930000] usbcore: registered new device driver usb
  85. [    4.970000] SCSI subsystem initialized
  86. [    4.980000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
  87. [    4.990000] ehci-platform: EHCI generic platform driver
  88. [    4.990000] ehci-platform ehci-platform.0: EHCI Host Controller
  89. [    5.000000] ehci-platform ehci-platform.0: new USB bus registered, assigned bus number 1
  90. [    5.010000] ehci-platform ehci-platform.0: TX-TX IDP fix enabled
  91. [    5.010000] ehci-platform ehci-platform.0: irq 48, io mem 0x1b000000
  92. [    5.040000] ehci-platform ehci-platform.0: USB 2.0 started, EHCI 1.00
  93. [    5.040000] hub 1-0:1.0: USB hub found
  94. [    5.050000] hub 1-0:1.0: 1 port detected
  95. [    5.050000] ehci-platform ehci-platform.1: EHCI Host Controller
  96. [    5.060000] ehci-platform ehci-platform.1: new USB bus registered, assigned bus number 2
  97. [    5.070000] ehci-platform ehci-platform.1: TX-TX IDP fix enabled
  98. [    5.070000] ehci-platform ehci-platform.1: irq 49, io mem 0x1b400000
  99. [    5.100000] ehci-platform ehci-platform.1: USB 2.0 started, EHCI 1.00
  100. [    5.100000] hub 2-0:1.0: USB hub found
  101. [    5.110000] hub 2-0:1.0: 1 port detected
  102. [    5.110000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
  103. [    5.120000] usbcore: registered new interface driver usb-storage
  104. [    7.440000] eth0: link up (100Mbps/Full duplex)
  105. [    8.720000] eth0: link down
  106. [   10.100000] NET: Registered protocol family 10
  107. [   10.120000] nf_conntrack version 0.5.0 (960 buckets, 3840 max)
  108. [   10.140000] ip6_tables: (C) 2000-2006 Netfilter Core Team
  109. [   10.160000] fuse init (API version 7.22)
  110. [   10.170000] Loading modules backported from Linux version master-2014-05-22-0-gf2032ea
  111. [   10.170000] Backport generated by backports.git backports-20140320-37-g5c33da0
  112. [   10.180000] ip_tables: (C) 2000-2006 Netfilter Core Team
  113. [   10.210000] usbcore: registered new interface driver ums-alauda
  114. [   10.220000] usbcore: registered new interface driver ums-cypress
  115. [   10.230000] usbcore: registered new interface driver ums-datafab
  116. [   10.230000] usbcore: registered new interface driver ums-freecom
  117. [   10.240000] usbcore: registered new interface driver ums-isd200
  118. [   10.250000] usbcore: registered new interface driver ums-jumpshot
  119. [   10.260000] usbcore: registered new interface driver ums-karma
  120. [   10.270000] usbcore: registered new interface driver ums-sddr09
  121. [   10.280000] usbcore: registered new interface driver ums-sddr55
  122. [   10.280000] usbcore: registered new interface driver ums-usbat
  123. [   10.290000] usbcore: registered new interface driver usblp
  124. [   10.320000] xt_time: kernel timezone is -0000
  125. [   10.350000] cfg80211: Calling CRDA to update world regulatory domain
  126. [   10.350000] cfg80211: World regulatory domain updated:
  127. [   10.360000] cfg80211:  DFS Master region: unset
  128. [   10.360000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
  129. [   10.370000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
  130. [   10.380000] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
  131. [   10.390000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
  132. [   10.400000] cfg80211:   (5170000 KHz - 5250000 KHz @ 160000 KHz), (N/A, 2000 mBm), (N/A)
  133. [   10.400000] cfg80211:   (5250000 KHz - 5330000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
  134. [   10.410000] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
  135. [   10.420000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
  136. [   10.430000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
  137. [   10.480000] PPP generic driver version 2.4.2
  138. [   10.490000] NET: Registered protocol family 24
  139. [   10.550000] ath: EEPROM regdomain: 0x0
  140. [   10.550000] ath: EEPROM indicates default country code should be used
  141. [   10.550000] ath: doing EEPROM country->regdmn map search
  142. [   10.550000] ath: country maps to regdmn code: 0x3a
  143. [   10.550000] ath: Country alpha2 being used: US
  144. [   10.550000] ath: Regpair used: 0x3a
  145. [   10.560000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
  146. [   10.570000] cfg80211: Calling CRDA for country: US
  147. [   10.570000] cfg80211: Regulatory domain changed to country: US
  148. [   10.580000] cfg80211:  DFS Master region: FCC
  149. [   10.580000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
  150. [   10.590000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A)
  151. [   10.600000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 1700 mBm), (N/A)
  152. [   10.610000] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz), (N/A, 2300 mBm), (0 s)
  153. [   10.620000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm), (N/A)
  154. [   10.630000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
  155. [   10.640000] ieee80211 phy0: Atheros AR9550 Rev:0 mem=0xb8100000, irq=47
  156. [   17.190000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
  157. [   17.190000] jffs2_build_filesystem(): unlocking the mtd device... done.
  158. [   17.200000] jffs2_build_filesystem(): erasing all blocks after the end marker... done.
  159. [   19.020000] jffs2: notice: (1005) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
  160. [   19.510000] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
  161. [   19.530000] IPv6: ADDRCONF(NETDEV_UP): eth0.1: link is not ready
  162. [   19.530000] device eth0.1 entered promiscuous mode
  163. [   19.540000] device eth0 entered promiscuous mode
  164. [   19.580000] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
  165. [   19.630000] IPv6: ADDRCONF(NETDEV_UP): eth0.2: link is not ready
  166. [   20.550000] eth0: link up (100Mbps/Full duplex)
  167. [   20.590000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
  168. [   20.600000] br-lan: port 1(eth0.1) entered forwarding state
  169. [   20.600000] br-lan: port 1(eth0.1) entered forwarding state
  170. [   20.610000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready
  171. [   20.610000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.2: link becomes ready
  172. [   20.620000] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
  173. [   21.640000] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
  174. [   21.680000] device wlan0 entered promiscuous mode
  175. [   21.710000] br-lan: port 2(wlan0) entered forwarding state
  176. [   21.710000] br-lan: port 2(wlan0) entered forwarding state
  177. [   21.720000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
  178. [   22.600000] br-lan: port 1(eth0.1) entered forwarding state
  179. [   23.710000] br-lan: port 2(wlan0) entered forwarding state
复制代码


下载:








本帖子中包含更多资源

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

×

评分

参与人数 5恩山币 +14 收起 理由
wrslj + 1 土豪,我们做朋友吧!
polly0599 + 1 土豪,我们做朋友吧!
piano30 + 1 赞一个,你是我的呕像!
唯美的风景 + 10 大神啊~~~要是能把9558的USB搞出来速度很爽
scscat + 1 恭喜撸主,搞定ar8236需要一些段位~

查看全部评分

我的恩山、我的无线 The best wifi forum is right here.
发表于 2014-9-7 04:33 | 显示全部楼层

点评

你仔细看帖了吗 那上面说的是改动失败  详情 回复 发表于 2014-9-7 11:59
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2014-9-7 07:46 | 显示全部楼层
大神辛苦了
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2014-9-7 11:10 来自手机 | 显示全部楼层
膜拜大神
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2014-9-7 11:59 | 显示全部楼层
ayaka 发表于 2014-9-7 04:33
https://forum.openwrt.org/viewtopic.php?id=50341
应该是有的才对阿

你仔细看帖了吗
那上面说的是改动失败

点评

有一个寄存器写错了,我看来git log了,新的已经提交了  发表于 2014-9-7 15:08
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2014-9-7 13:40 | 显示全部楼层
QCA9558的性能是否比AR9344要好呢?

点评

显然要好些  发表于 2014-9-7 13:48
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2014-9-11 14:39 | 显示全部楼层
QCA9558+AR8236的组合还是相当有性价比的。110左右的mw450r v1无线带机能力和有线转发都相当不错。可惜在市面上就存在了6个月。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2014-9-11 19:59 | 显示全部楼层
又见一高手!
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2014-9-11 20:13 | 显示全部楼层
本帖最后由 s2005203007 于 2014-9-11 20:15 编辑

求 MAC1200R 的固件, 谢谢

AR9344+QCA9882

貌似跟360一样的硬件;
直接刷360的固件可以不? 用你的不死Uboot?

我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2014-9-11 20:27 | 显示全部楼层
感谢大神分享哈哈~
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2014-9-13 13:38 来自手机 | 显示全部楼层
希望大神能多写编译方面的教程,给我们补补脑
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2014-9-15 13:09 | 显示全部楼层
有没有水星mw450r的啊,硬件和fw450r一样
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2014-9-20 18:56 | 显示全部楼层
源码可否公开,支持捐赠或者购买?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2014-11-3 21:56 | 显示全部楼层
记得QCA9558应该是有百兆switch的吧为啥TP等厂商非要加个8236……
反正我是图样图森破的把4900的OP刷进2041n v2有线挂了
感谢LZ

点评

这个2041刷了之后没发现有啥问题。可以改固件头WEB直刷。  详情 回复 发表于 2015-2-3 12:20
QCA9558不带内置交换机  发表于 2014-11-3 22:21
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2014-11-4 22:33 | 显示全部楼层
求个mw450r的固件啊
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-3-29 23:38

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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

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