找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 2307|回复: 5

分享TP-Link WDR8500v2添加OpenWrt驱动的补钉

[复制链接]
发表于 2020-11-10 10:24 | 显示全部楼层 |阅读模式
有了rtlhq大佬的指点终于完成了TP-LINK WDR8500v2 OpenWrt 驱动的支持。
由于路由器的uboot有添加RSA的保护所以必须更换原有的bootloader,写入hackpascal大佬的支持RTL8367s交换机芯片的BREED bootloader。
过程必须使用EXTERNAL SPI Programmer 写入。
复制OpenWrt官方源码后git apply *.patch,然后make menuconfig,选择TP-LINK WDR8500v2,然后make就完了。
以下链接是补钉和BREED固件。
https://github.com/gwlim/openwrt-tplink-wdr8500v2
启动后dmesg
  1. [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32480
  2. [    0.000000] Kernel command line: console=ttyS0,115200n8 rootfstype=squashfs,jffs2
  3. [    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
  4. [    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
  5. [    0.000000] Writing ErrCtl register=00000000
  6. [    0.000000] Readback ErrCtl register=00000000
  7. [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
  8. [    0.000000] Memory: 121976K/131072K available (5129K kernel code, 175K rwdata, 1184K rodata, 1184K init, 95K bss, 9096K reserved, 0K cma-reserved)
  9. [    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
  10. [    0.000000] NR_IRQS: 51
  11. [    0.000000] random: get_random_bytes called from start_kernel+0x330/0x520 with crng_init=0
  12. [    0.000000] CPU clock: 1000.000 MHz
  13. [    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 3822520893 ns
  14. [    0.000006] sched_clock: 32 bits at 500MHz, resolution 2ns, wraps every 4294967295ns
  15. [    0.008857] Calibrating delay loop... 497.66 BogoMIPS (lpj=995328)
  16. [    0.047831] pid_max: default: 32768 minimum: 301
  17. [    0.053183] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
  18. [    0.061485] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
  19. [    0.073593] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
  20. [    0.084695] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
  21. [    0.092526] pinctrl core: initialized pinctrl subsystem
  22. [    0.100664] NET: Registered protocol family 16
  23. [    0.128992] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512
  24. [    0.143059] clocksource: Switched to clocksource MIPS
  25. [    0.149808] NET: Registered protocol family 2
  26. [    0.155539] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
  27. [    0.165082] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
  28. [    0.173789] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
  29. [    0.181804] TCP: Hash tables configured (established 1024 bind 1024)
  30. [    0.189140] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
  31. [    0.196602] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
  32. [    0.204786] NET: Registered protocol family 1
  33. [    0.209773] PCI: CLS 0 bytes, default 32
  34. [    0.217506] workingset: timestamp_bits=14 max_order=15 bucket_order=1
  35. [    0.229970] squashfs: version 4.0 (2009/01/31) Phillip Lougher
  36. [    0.236626] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
  37. [    0.259466] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
  38. [    0.270871] pinctrl-single 1804002c.pinmux: 544 pins, size 68
  39. [    0.278314] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
  40. [    0.287353] printk: console [ttyS0] disabled
  41. [    0.292274] 18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 9, base_baud = 1562500) is a 16550A
  42. [    0.302071] printk: console [ttyS0] enabled
  43. [    0.311129] printk: bootconsole [early0] disabled
  44. [    0.338598] spi-nor spi0.0: w25q128 (16384 Kbytes)
  45. [    0.343608] 4 fixed-partitions partitions found on MTD device spi0.0
  46. [    0.350179] Creating 4 MTD partitions on "spi0.0":
  47. [    0.355151] 0x000000000000-0x00000001b800 : "factory_boot"
  48. [    0.361597] 0x00000001b800-0x00000001c000 : "factory_info"
  49. [    0.368032] 0x00000001c000-0x000000020000 : "art"
  50. [    0.373662] 0x000000020000-0x000001000000 : "firmware"
  51. [    0.382896] 2 tplink-fw partitions found on MTD device firmware
  52. [    0.389059] Creating 2 MTD partitions on "firmware":
  53. [    0.394199] 0x000000000000-0x000000211e30 : "kernel"
  54. [    0.400095] 0x000000211e30-0x000000fe0000 : "rootfs"
  55. [    0.405949] mtd: device 5 (rootfs) set to be root filesystem
  56. [    0.413407] 1 squashfs-split partitions found on MTD device rootfs
  57. [    0.419849] 0x000000770000-0x000000fe0000 : "rootfs_data"
  58. [    0.426841] rtl8367b rtl8367b: cannot find mdio bus from bus handle (yet)
  59. [    0.434201] libphy: GPIO Bitbanged MDIO: probed
  60. [    0.439354] libphy: Fixed MDIO Bus: probed
  61. [    1.079413] libphy: ag71xx_mdio: probed
  62. [    1.083529] mdio_bus mdio.0: MDIO device at address 29 is missing.
  63. [    1.090808] ag71xx 19000000.eth: connected to PHY at fixed-0:00 [uid=00000000, driver=Generic PHY]
  64. [    1.100599] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode: sgmii
  65. [    1.107215] i2c /dev entries driver
  66. [    1.110960] ath79-wdt 18060008.wdt: timeout value must be 0 < timeout < 12, using 12
  67. [    1.120593] NET: Registered protocol family 10
  68. [    1.129799] Segment Routing with IPv6
  69. [    1.133717] NET: Registered protocol family 17
  70. [    1.138378] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
  71. [    1.151769] 8021q: 802.1Q VLAN Support v1.8
  72. [    1.156794] PCI host bridge /ahb/pcie-controller@18250000 ranges:
  73. [    1.163152]  MEM 0x0000000012000000..0x0000000013ffffff
  74. [    1.168562]   IO 0x0000000000000000..0x0000000000000000
  75. [    1.174112] PCI host bridge to bus 0000:00
  76. [    1.178376] pci_bus 0000:00: root bus resource [mem 0x12000000-0x13ffffff]
  77. [    1.185484] pci_bus 0000:00: root bus resource [io  0x0000]
  78. [    1.191243] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
  79. [    1.198258] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
  80. [    1.206470] pci 0000:00:00.0: [168c:0046] type 00 class 0x028000
  81. [    1.212728] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
  82. [    1.219742] random: fast init done
  83. [    1.223374] pci 0000:00:00.0: PME# supported from D0 D3hot D3cold
  84. [    1.229699] pci 0000:00:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s x1 link at 0000:00:00.0 (capable of 4.000 Gb/s with 5 GT/s x1 link)
  85. [    1.244659] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
  86. [    1.251532] pci 0000:00:00.0: BAR 0: assigned [mem 0x12000000-0x121fffff 64bit]
  87. [    1.259399] rtl8367b rtl8367b: using MDIO bus 'ag71xx_mdio'
  88. [    1.266708] rtl8367b rtl8367b: found chip num:6367 ver:00a0, mode:00a0
  89. [    1.273454] rtl8367b rtl8367b: RTL8367S chip found
  90. [    3.296658] libphy: rtl8367b: probed
  91. [    3.305941] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
  92. [    3.319734] Freeing unused kernel memory: 1184K
  93. [    3.324434] This architecture does not have kernel memory protection.
  94. [    3.331086] Run /sbin/init as init process
  95. [    3.804722] init: Console is alive
  96. [    3.808520] init: - watchdog -
  97. [    5.153144] kmodloader: loading kernel modules from /etc/modules-boot.d/*
  98. [    5.240659] usbcore: registered new interface driver usbfs
  99. [    5.246435] usbcore: registered new interface driver hub
  100. [    5.252030] usbcore: registered new device driver usb
  101. [    5.262927] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
  102. [    5.271219] ehci-fsl: Freescale EHCI Host controller driver
  103. [    5.278489] ehci-platform: EHCI generic platform driver
  104. [    5.286115] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
  105. [    5.304565] init: - preinit -
  106. [    6.123880] random: jshn: uninitialized urandom read (4 bytes read)
  107. [    6.186488] random: jshn: uninitialized urandom read (4 bytes read)
  108. [    6.280362] random: jshn: uninitialized urandom read (4 bytes read)
  109. [    7.938556] eth0: link up (1000Mbps/Full duplex)
  110. [    7.947130] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
  111. [    7.962145] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready
  112. [    7.994174] urandom_read: 4 callbacks suppressed
  113. [    7.994179] random: procd: uninitialized urandom read (4 bytes read)
  114. [   12.166452] jffs2: notice: (495) jffs2_build_xattr_subsystem: complete building xattr subsystem, 12 of xdatum (0 unchecked, 12 orphan) and 17 of xref (1 dead, 16 orphan) found.
  115. [   12.184040] mount_root: overlay filesystem has not been fully initialized yet
  116. [   12.192388] mount_root: switching to jffs2 overlay
  117. [   12.199360] overlayfs: upper fs does not support tmpfile.
  118. [   12.207492] urandom-seed: Seed file not found (/etc/urandom.seed)
  119. [   12.276166] eth0: link down
  120. [   12.294802] procd: - early -
  121. [   12.297914] procd: - watchdog -
  122. [   12.909427] procd: - watchdog -
  123. [   12.912953] procd: - ubus -
  124. [   12.974198] random: ubusd: uninitialized urandom read (4 bytes read)
  125. [   12.981798] random: ubusd: uninitialized urandom read (4 bytes read)
  126. [   12.989565] procd: - init -
  127. [   13.604447] kmodloader: loading kernel modules from /etc/modules.d/*
  128. [   13.634838] NET: Registered protocol family 38
  129. [   13.663137] tun: Universal TUN/TAP device driver, 1.6
  130. [   13.687229] l2tp_core: L2TP core driver, V2.0
  131. [   13.695132] l2tp_netlink: L2TP netlink interface
  132. [   13.710040] gre: GRE over IPv4 demultiplexor driver
  133. [   13.724931] ip_gre: GRE over IPv4 tunneling driver
  134. [   13.793450] urngd: v1.0.2 started.
  135. [   13.983235] cryptodev: driver 1.10 loaded.
  136. [   14.007144] Mirror/redirect action on
  137. [   14.032708] u32 classifier
  138. [   14.035552]     input device check on
  139. [   14.039342]     Actions configured
  140. [   14.066194] random: crng init done
  141. [   14.070019] Loading modules backported from Linux version v5.8-0-gbcf876870b95
  142. [   14.077524] Backport generated by backports.git v5.8-1-0-g79400d9e
  143. [   14.161081] wireguard: WireGuard 1.0.20200908 loaded. See www.wireguard.com for information.
  144. [   14.169839] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
  145. [   14.292460] xt_time: kernel timezone is -0000
  146. [   14.539136] PPP generic driver version 2.4.2
  147. [   14.552549] PPP MPPE Compression module registered
  148. [   14.564507] NET: Registered protocol family 24
  149. [   14.580509] p p t p driver version 0.8.5
  150. [   14.670317] ath10k 5.4 driver, optimized for CT firmware, probing pci device: 0x46.
  151. [   14.678397] ath10k_mac_create, priv_size: 804  hw: 166799a1  hw->priv: 91474309
  152. [   14.707716] ath10k_pci 0000:00:00.0: enabling device (0000 -> 0002)
  153. [   14.714506] ath10k_pci 0000:00:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
  154. [   15.874835] ath10k_pci 0000:00:00.0: qca9984/qca9994 hw1.0 target 0x01000000 chip_id 0x00000000 sub 168c:cafe
  155. [   15.885115] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
  156. [   15.898535] ath10k_pci 0000:00:00.0: firmware ver 10.4b-ct-9984-fH-13-795874169 api 5 features mfp,peer-flow-ctrl,txstatus-noack,wmi-10.x-CT,ratemask-CT,regdump-CT,txrate-CT,flush-all-CT,pingpong-CT,ch-regs-CT,nop-CT,htt-mgt-CT,set-special-CT,tx-rc-CT,cust-stats-CT,txrate2-CT,beacon-cb-CT,wmi-block-ack-CT,wmi-bcn-rc-CT crc32 123549a3
  157. [   18.435764] ath10k_pci 0000:00:00.0: board_file api 1 bmi_id 0:1 crc32 ecdefe21
  158. [   24.519649] ath10k_pci 0000:00:00.0: unsupported HTC service id: 1536
  159. [   24.530514] ath10k_pci 0000:00:00.0: 10.4 wmi init: vdevs: 16  peers: 48  tid: 96
  160. [   24.538284] ath10k_pci 0000:00:00.0: msdu-desc: 2500  skid: 32
  161. [   24.616684] ath10k_pci 0000:00:00.0: wmi print 'P 48/48 V 16 K 144 PH 176 T 186  msdu-desc: 2500  sw-crypt: 0 ct-sta: 0'
  162. [   24.627987] ath10k_pci 0000:00:00.0: wmi print 'free: 84936 iram: 13572 sram: 11224'
  163. [   24.907885] ath10k_pci 0000:00:00.0: htt-ver 2.2 wmi-op 6 htt-op 4 cal pre-cal-file max-sta 32 raw 0 hwcrypto 1
  164. [   24.991824] ath: EEPROM regdomain sanitized
  165. [   24.991834] ath: EEPROM regdomain: 0x64
  166. [   24.991836] ath: EEPROM indicates we should expect a direct regpair map
  167. [   24.991852] ath: Country alpha2 being used: 00
  168. [   24.991854] ath: Regpair used: 0x64
  169. [   25.048392] l2tp_ppp: PPPoL2TP kernel driver, V2.0
  170. [   25.118840] ath: EEPROM regdomain sanitized
  171. [   25.118850] ath: EEPROM regdomain: 0x64
  172. [   25.118852] ath: EEPROM indicates we should expect a direct regpair map
  173. [   25.118869] ath: Country alpha2 being used: 00
  174. [   25.118872] ath: Regpair used: 0x64
  175. [   25.130540] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
  176. [   25.132227] ieee80211 phy1: Atheros AR9561 Rev:0 mem=0xb8100000, irq=2
  177. [   25.155537] kmodloader: done loading kernel modules from /etc/modules.d/*
  178. [   46.814631] eth0: link up (1000Mbps/Full duplex)
  179. [   46.828647] br-lan: port 1(eth0.1) entered blocking state
  180. [   46.834275] br-lan: port 1(eth0.1) entered disabled state
  181. [   46.840118] device eth0.1 entered promiscuous mode
  182. [   46.845107] device eth0 entered promiscuous mode
  183. [   46.911194] br-lan: port 1(eth0.1) entered blocking state
  184. [   46.916801] br-lan: port 1(eth0.1) entered forwarding state
  185. [   47.827161] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
  186. [   47.834163] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
  187. [   50.370405] br-lan: port 2(wlan1) entered blocking state
  188. [   50.375942] br-lan: port 2(wlan1) entered disabled state
  189. [   50.381785] device wlan1 entered promiscuous mode
  190. [   50.507477] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
  191. [   50.514337] br-lan: port 2(wlan1) entered blocking state
  192. [   50.519881] br-lan: port 2(wlan1) entered forwarding state
  193. [   56.786483] ath10k_pci 0000:00:00.0: unsupported HTC service id: 1536
  194. [   56.793610] ath10k_pci 0000:00:00.0: 10.4 wmi init: vdevs: 16  peers: 48  tid: 96
  195. [   56.801410] ath10k_pci 0000:00:00.0: msdu-desc: 2500  skid: 32
  196. [   56.879654] ath10k_pci 0000:00:00.0: wmi print 'P 48/48 V 16 K 144 PH 176 T 186  msdu-desc: 2500  sw-crypt: 0 ct-sta: 0'
  197. [   56.890978] ath10k_pci 0000:00:00.0: wmi print 'free: 84936 iram: 13572 sram: 11224'
  198. [   57.262085] ath10k_pci 0000:00:00.0: Firmware lacks feature flag indicating a retry limit of > 2 is OK, requested limit: 4
  199. [   57.293063] br-lan: port 3(wlan0) entered blocking state
  200. [   57.298630] br-lan: port 3(wlan0) entered disabled state
  201. [   57.304414] device wlan0 entered promiscuous mode
  202. [   57.469870] ath10k_pci 0000:00:00.0: NOTE:  Firmware DBGLOG output disabled in debug_mask: 0x10000000
  203. [   57.893660] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
  204. [   57.900552] br-lan: port 3(wlan0) entered blocking state
  205. [   57.906083] br-lan: port 3(wlan0) entered forwarding state
复制代码




我的恩山、我的无线 The best wifi forum is right here.
发表于 2020-11-10 10:27 | 显示全部楼层
能帮忙写个RTL8676s的op吗?有偿服务
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-11-10 11:52 | 显示全部楼层
如何联系这位rtlhq大佬?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-11-17 11:03 | 显示全部楼层
不错,大力支持!
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2020-11-22 21:08 | 显示全部楼层
发现我的WDR8500v2无线传输坏了。发送信号很弱,刷回tplink固件还是一样。
应该是在测试TX调太高,损坏了硬件,真少兴不玩了。还持有这款路由器的朋友可以拿补丁继续玩吧。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-11-23 08:15 | 显示全部楼层
大佬有没有备份原厂固件?如果有的话可不可以给一份,拜谢!71932756@qq.com
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-4-19 04:36

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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

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