|
楼主 |
发表于 2018-7-21 15:02
|
显示全部楼层
本帖最后由 mht 于 2020-6-21 16:26 编辑
【更新】2019/12: 前几天本论坛的一位朋友帮忙测试了此固件,有如下结论:(我的路由器早已吃灰,没动力再进行测试了,所以以下结论我未进行确认)
1. WDR8500 v1可以使用此固件,但v2在安装breed之后,网卡无法使用,也无法继续下一步操作。
2. 经其测试2.4G和5G的速度与稳定性都比原厂固件要差不少!!!
3. 据说firmware选择ah10k-firmware-qca9984-ct比我现在用的ah10k-firmware-qca9984速度要快一些。
4. art使用原厂提取和我合成的对速度影响不大。
因此除了自己玩,不推荐刷这个固件。后面提供了源码,有能力的请自行修改。
----------------
这段时间很忙,这个周末终于有时间来搞OpenWrt,以救活已经挂掉多时的路由。
非常感谢网友@效之,提供的R7800的ART,得以从中提取到QCA9884的ART数据。
由于这个版本是我把原有的固件全部搞没掉后重头搞起来的,完全不参照原有的内存布局,所以不可能支持在简单的刷机。基本上也不适用于其他人。
代码是抄的WDR6500跟WR1043等等拼凑而来,如果有人需要可以私信我。
贴几张图:
无线,上面就是QCA9884,连了几个小时,信号挺稳定的。
下面那行是2.4G的无线,信号可以,猜测我组合的ART文件是可以用的。
“交换机” 选项。
CPU : Port 0 WAN: Port 1 LAN1-4 : Port 2-5
LED方面,除Turbo键和灯没用(可正常点亮,被我命名成tp-link:green:wps了)。其他LED灯都工作正常。
附件为我组合出来的ART(如果有人提取出WDR8500的ART欢迎提供一下)。
QCA9563的ART在0x1000 开始的 1072 字节
QCA9984的ART在0x5000 开始的 12064 字节
WDR8500原厂提取的ART:
最后附一个内核日志:
- [ 0.000000] Linux version 4.9.110 (optest@openwrttest) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r7376-09b6755946) ) #0 Tue Jul 3 09:18:39 2018
- [ 0.000000] MyLoader: sysp=00000000, boardp=00000000, parts=00000000
- [ 0.000000] bootconsole [early0] enabled
- [ 0.000000] CPU0 revision is: 00019750 (MIPS 74Kc)
- [ 0.000000] SoC: Qualcomm Atheros QCA956X ver 1 rev 0
- [ 0.000000] Determined physical RAM map:
- [ 0.000000] memory: 08000000 [url=home.php?mod=space&uid=162986]@[/url] 00000000 (usable)
- [ 0.000000] Initrd not found or empty - disabling initrd
- [ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
- [ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
- [ 0.000000] Zone ranges:
- [ 0.000000] Normal [mem 0x0000000000000000-0x0000000007ffffff]
- [ 0.000000] Movable zone start for each node
- [ 0.000000] Early memory node ranges
- [ 0.000000] node 0: [mem 0x0000000000000000-0x0000000007ffffff]
- [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
- [ 0.000000] On node 0 totalpages: 32768
- [ 0.000000] free_area_init_node: node 0, pgdat 80466264, node_mem_map 81000020
- [ 0.000000] Normal zone: 256 pages used for memmap
- [ 0.000000] Normal zone: 0 pages reserved
- [ 0.000000] Normal zone: 32768 pages, LIFO batch:7
- [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
- [ 0.000000] pcpu-alloc: [0] 0
- [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
- [ 0.000000] Kernel command line: board=TL-WDR8500-v1 console=ttyS0,115200 rootfstype=squashfs noinitrd
- [ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
- [ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
- [ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
- [ 0.000000] Writing ErrCtl register=00000000
- [ 0.000000] Readback ErrCtl register=00000000
- [ 0.000000] Memory: 124872K/131072K available (3156K kernel code, 171K rwdata, 796K rodata, 284K init, 213K bss, 6200K reserved, 0K cma-reserved)
- [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
- [ 0.000000] NR_IRQS:51
- [ 0.000000] Clocks: CPU:750.000MHz, DDR:650.000MHz, AHB:250.000MHz, Ref:25.000MHz
- [ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 5096694524 ns
- [ 0.000007] sched_clock: 32 bits at 375MHz, resolution 2ns, wraps every 5726622718ns
- [ 0.008847] Calibrating delay loop... 373.55 BogoMIPS (lpj=1867776)
- [ 0.071953] pid_max: default: 32768 minimum: 301
- [ 0.077281] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
- [ 0.084788] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
- [ 0.094983] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
- [ 0.106163] futex hash table entries: 256 (order: -1, 3072 bytes)
- [ 0.113579] NET: Registered protocol family 16
- [ 0.119910] MIPS: machine is TP-LINK TL-WDR8500 v1
- [ 0.128020] registering PCI controller with io_map_base unset
- [ 0.385580] PCI host bridge to bus 0000:00
- [ 0.390233] pci_bus 0000:00: root bus resource [mem 0x12000000-0x13ffffff]
- [ 0.398069] pci_bus 0000:00: root bus resource [io 0x0001]
- [ 0.404390] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
- [ 0.412097] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
- [ 0.421108] pci 0000:00:00.0: [168c:0046] type 00 class 0x028000
- [ 0.421149] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
- [ 0.421265] pci 0000:00:00.0: PME# supported from D0 D3hot D3cold
- [ 0.421443] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
- [ 0.421466] pci 0000:00:00.0: BAR 0: assigned [mem 0x12000000-0x121fffff 64bit]
- [ 0.429805] pci 0000:00:00.0: using irq 40 for pin 1
- [ 0.436015] clocksource: Switched to clocksource MIPS
- [ 0.442687] NET: Registered protocol family 2
- [ 0.448333] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
- [ 0.456292] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
- [ 0.463513] TCP: Hash tables configured (established 1024 bind 1024)
- [ 0.470824] UDP hash table entries: 256 (order: 0, 4096 bytes)
- [ 0.477492] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
- [ 0.484834] NET: Registered protocol family 1
- [ 0.489841] PCI: CLS 0 bytes, default 32
- [ 0.493431] Crashlog allocated RAM at address 0x3f00000
- [ 0.500206] workingset: timestamp_bits=30 max_order=15 bucket_order=0
- [ 0.513210] squashfs: version 4.0 (2009/01/31) Phillip Lougher
- [ 0.519865] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
- [ 0.537946] io scheduler noop registered
- [ 0.542398] io scheduler deadline registered (default)
- [ 0.548524] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
- [ 0.556104] console [ttyS0] disabled
- [ 0.580223] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 1562500) is a 16550A
- [ 0.590021] console [ttyS0] enabled
- [ 0.597570] bootconsole [early0] disabled
- [ 0.608985] m25p80 spi0.0: found s25fl064k, expected m25p80
- [ 0.626460] m25p80 spi0.0: s25fl064k (8192 Kbytes)
- [ 0.631803] 5 tp-link partitions found on MTD device spi0.0
- [ 0.637591] Creating 5 MTD partitions on "spi0.0":
- [ 0.642547] 0x000000000000-0x000000020000 : "u-boot"
- [ 0.648889] 0x000000020000-0x00000017364c : "kernel"
- [ 0.655341] 0x00000017364c-0x0000007f0000 : "rootfs"
- [ 0.661815] mtd: device 2 (rootfs) set to be root filesystem
- [ 0.667745] 1 squashfs-split partitions found on MTD device rootfs
- [ 0.674132] 0x000000440000-0x0000007f0000 : "rootfs_data"
- [ 0.681056] 0x0000007f0000-0x000000800000 : "art"
- [ 0.687296] 0x000000020000-0x0000007f0000 : "firmware"
- [ 0.694717] libphy: Fixed MDIO Bus: probed
- [ 0.710820] switch0: Atheros AR8337 rev. 2 switch registered on ag71xx-mdio.0
- [ 1.403384] libphy: ag71xx_mdio: probed
- [ 1.418511] libphy: ag71xx_mdio: probed
- [ 2.047474] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:00 [uid=004dd036, driver=Atheros AR8216/AR8236/AR8316]
- [ 2.059055] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:SGMII
- [ 2.066672] NET: Registered protocol family 10
- [ 2.073861] NET: Registered protocol family 17
- [ 2.078649] 8021q: 802.1Q VLAN Support v1.8
- [ 2.090113] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
- [ 2.098980] Freeing unused kernel memory: 284K
- [ 2.103566] This architecture does not have kernel memory protection.
- [ 2.566025] random: fast init done
- [ 2.715863] init: Console is alive
- [ 2.719629] init: - watchdog -
- [ 3.598105] kmodloader: loading kernel modules from /etc/modules-boot.d/*
- [ 3.656713] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
- [ 3.665456] init: - preinit -
- [ 4.434791] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
- [ 4.458133] random: procd: uninitialized urandom read (4 bytes read)
- [ 5.477420] eth0: link up (1000Mbps/Full duplex)
- [ 5.482313] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
- [ 7.727767] jffs2: notice: (390) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
- [ 7.745735] mount_root: switching to jffs2 overlay
- [ 7.774026] urandom-seed: Seeding with /etc/urandom.seed
- [ 7.878364] eth0: link down
- [ 7.891459] procd: - early -
- [ 7.894515] procd: - watchdog -
- [ 8.484187] procd: - watchdog -
- [ 8.488060] procd: - ubus -
- [ 8.595391] random: ubusd: uninitialized urandom read (4 bytes read)
- [ 8.603595] random: ubusd: uninitialized urandom read (4 bytes read)
- [ 8.610623] random: ubusd: uninitialized urandom read (4 bytes read)
- [ 8.618050] procd: - init -
- [ 8.982049] kmodloader: loading kernel modules from /etc/modules.d/*
- [ 9.022476] ip6_tables: (C) 2000-2006 Netfilter Core Team
- [ 9.037827] Loading modules backported from Linux version wt-2017-11-01-0-gfe248fc2c180
- [ 9.046149] Backport generated by backports.git v4.14-rc2-1-31-g86cf0e5d
- [ 9.055777] ip_tables: (C) 2000-2006 Netfilter Core Team
- [ 9.068157] nf_conntrack version 0.5.0 (2048 buckets, 8192 max)
- [ 9.118566] xt_time: kernel timezone is -0000
- [ 9.170391] PPP generic driver version 2.4.2
- [ 9.176917] NET: Registered protocol family 24
- [ 9.202339] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
- [ 9.208498] ath10k_pci 0000:00:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
- [ 9.410956] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA9984/hw1.0/firmware-6.bin failed with error -2
- [ 9.422054] ath10k_pci 0000:00:00.0: Falling back to user helper
- [ 9.532638] firmware ath10k!QCA9984!hw1.0!firmware-6.bin: firmware_loading_store: map pages failed
- [ 10.149770] ath10k_pci 0000:00:00.0: qca9984/qca9994 hw1.0 target 0x01000000 chip_id 0x00000000 sub 168c:cafe
- [ 10.160053] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 1
- [ 10.180762] ath10k_pci 0000:00:00.0: firmware ver 10.4-3.5.3-00053 api 5 features no-p2p,mfp,peer-flow-ctrl,btcoex-param,allows-mesh-bcast,no-ps crc32 4c56a386
- [ 12.476904] ath10k_pci 0000:00:00.0: board_file api 2 bmi_id 0:1 crc32 dd6d039c
- [ 18.393487] ath10k_pci 0000:00:00.0: htt-ver 2.2 wmi-op 6 htt-op 4 cal pre-cal-file max-sta 512 raw 0 hwcrypto 1
- [ 18.507303] ath: EEPROM regdomain: 0x0
- [ 18.507310] ath: EEPROM indicates default country code should be used
- [ 18.507313] ath: doing EEPROM country->regdmn map search
- [ 18.507324] ath: country maps to regdmn code: 0x3a
- [ 18.507328] ath: Country alpha2 being used: US
- [ 18.507331] ath: Regpair used: 0x3a
- [ 18.565038] ath: EEPROM regdomain: 0x0
- [ 18.565046] ath: EEPROM indicates default country code should be used
- [ 18.565049] ath: doing EEPROM country->regdmn map search
- [ 18.565061] ath: country maps to regdmn code: 0x3a
- [ 18.565066] ath: Country alpha2 being used: US
- [ 18.565069] ath: Regpair used: 0x3a
- [ 18.575537] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
- [ 18.579230] ieee80211 phy1: Atheros AR9561 Rev:0 mem=0xb8100000, irq=47
- [ 18.654919] kmodloader: done loading kernel modules from /etc/modules.d/*
- [ 19.789344] urandom_read: 5 callbacks suppressed
- [ 19.789351] random: jshn: uninitialized urandom read (4 bytes read)
- [ 27.382193] br-lan: port 1(eth0) entered blocking state
- [ 27.387644] br-lan: port 1(eth0) entered disabled state
- [ 27.393345] device eth0 entered promiscuous mode
- [ 27.438111] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
- [ 27.727197] IPv6: ADDRCONF(NETDEV_UP): br-wwan: link is not ready
- [ 28.526325] eth0: link up (1000Mbps/Full duplex)
- [ 28.659393] br-lan: port 1(eth0) entered blocking state
- [ 28.664802] br-lan: port 1(eth0) entered forwarding state
- [ 28.776130] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
- [ 35.994423] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
复制代码 源码:
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?立即注册
×
|