|
几个旧的AP,配置是 QCA9531+QCA9887,自带的百兆网口,本着垃圾佬能用不扔的“传统”,想折腾一下放在要求不高的地方凑合着用。原系统是瘦 AP ,别说功能合不合适了,完全没功能可言。。。。所以就想自己折腾一下 Openwrt ,之前也折腾过几个 MTK的MT7628、MT7621 ,都不难,没想到这高通的这么麻烦。特此发贴请教一下,请各位不吝赐教,谢谢。
首先说明,除了5G无法驱动外,其它功能是一切正常的,源码版本为 openwrt-22.03.1
原厂 art :在 0x40000 开始,art 0x0 开始是连续的 LAN 和 WAN 的两个 MAC,0x1000 是 02 02 开头的 2.4G art 数据,长度0x440。0x5000 是 44 08 开头的 5G art数据,长度0x844。
为了刷机时不用挪 art 的位置直接引用原机 art,自定的分区格式 art 部分也是从 0x40000 开始的,长度 0x10000,详见以下DTS:
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
#include "qca953x.dtsi"
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
/ {
compatible = "my,ap95319887", "qca,qca9531";
model = "my,ap95319887";
aliases {
led-boot = &led_system;
led-failsafe = &led_system;
led-running = &led_system;
led-upgrade = &led_system;
};
leds {
compatible = "gpio-leds";
led_system:system {
label = "green:system";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
};
wifi {
label = "green:wlan";
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
};
wan_green {
label = "green:wan";
gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
};
wan_red {
label = "red:wan";
gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
};
lan_green {
label = "green:lan";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
lan_red {
label = "red:lan";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
};
};
keys {
compatible = "gpio-keys";
reset {
label = "Reset button";
linux,code = <KEY_RESTART>;
gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
debounce-interval = <60>;
};
};
};
&pcie0 {
status = "okay";
};
&usb0 {
#address-cells = <1>;
#size-cells = <0>;
status = "okay";
hub_port: port@1 {
reg = <1>;
#trigger-source-cells = <0>;
};
};
&usb_phy {
status = "okay";
};
&spi {
status = "okay";
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <25000000>;
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x000000 0x040000>;
};
art: partition@40000 {
label = "art";
reg = <0x40000 0x010000>;
};
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x050000 0xfb0000>;
};
};
};
};
ð0 {
status = "okay";
phy-handle = <&swphy4>;
nvmem-cells = <&macaddr_art_0>;
nvmem-cell-names = "mac-address";
};
ð1 {
nvmem-cells = <&macaddr_art_6 >;
nvmem-cell-names = "mac-address";
mac-address-increment = <1>;
};
&wmac {
status = "okay";
mtd-cal-data = <&art 0x1000>;
};
&art {
compatible = "nvmem-cells";
#address-cells = <1>;
#size-cells = <1>;
macaddr_art_0: macaddr@0 {
reg = <0x0 0x6>;
};
macaddr_art_6: macaddr@6 {
reg = <0x6 0x6>;
};
};
**********
以下为 target/linux/ath79/generic/base-files/etc/hotplug.d/firmware/11-ath10k-caldata 里添加的内容:
*****因文件太大,前面非关键内容省略
"ath10k/pre-cal-pci-0000:00:00.0.bin")
case $board in
my,ap95319887)
caldata_extract "art" 0x5000 0x844
ath10k_patch_mac $(macaddr_add $(mtd_get_mac_binary art 0x0) 2)
;;
*****因文件太大,后面非关键内容省略
**********
选用的 QCA9887 网卡驱动是 kmod-ath10k ath10k-firmware-qca9887,(kmod-ath10k-ct ath10k-firmware-qca9887-ct 也试过,也是不行),以下 TTL 信息以 kmod-ath10k ath10k-firmware-qca9887 为例:
固件编译后能成功启动,完整启动 TTL 如下:
Starting kernel at 0x80060000...
[ 0.000000] Linux version 5.10.146 (runner@fv-az203-15) (mips-openwrt-linux-musl-gcc (OpenWrt GCC 11.2.0 r19777-2853b6d652) 11.2.0, GNU ld (GNU Binutils) 2.37) #0 Fri Oct 7 23:34:56 2022
[ 0.000000] printk: bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[ 0.000000] MIPS: machine is my,ap95319887
[ 0.000000] SoC: Qualcomm Atheros QCA9533 ver 2 rev 0
[ 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] Built 1 zonelists, mobility grouping on. Total pages: 32480
[ 0.000000] Kernel command line: console=ttyS0,115200n8 rootfstype=squashfs,jffs2
[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[ 0.000000] Writing ErrCtl register=00047664
[ 0.000000] Readback ErrCtl register=00047664
[ 0.000000] mem auto-init: stackff, heap allocff, heap freeff
[ 0.000000] Memory: 121036K/131072K available (5465K kernel code, 603K rwdata, 1200K rodata, 1236K init, 200K bss, 10036K 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] CPU clock: 550.000 MHz
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6950037990 ns
[ 0.000012] sched_clock: 32 bits at 275MHz, resolution 3ns, wraps every 7809031678ns
[ 0.008984] Calibrating delay loop... 366.18 BogoMIPS (lpj=1830912)
[ 0.076047] pid_max: default: 32768 minimum: 301
[ 0.081506] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.089825] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.101611] dyndbg: Ignore empty _ddebug table in a CONFIG_DYNAMIC_DEBUG_CORE build
[ 0.113840] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.125090] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[ 0.132974] pinctrl core: initialized pinctrl subsystem
[ 0.141008] NET: Registered protocol family 16
[ 0.229665] clocksource: Switched to clocksource MIPS
[ 0.236984] NET: Registered protocol family 2
[ 0.242396] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.251556] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.261226] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.269962] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.277983] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.285416] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.292933] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.301325] NET: Registered protocol family 1
[ 0.306331] PCI: CLS 0 bytes, default 32
[ 0.319947] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[ 0.332986] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.339621] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.356582] pinctrl-single 1804002c.pinmux: 576 pins, size 72
[ 0.364495] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[ 0.372742] printk: console [ttyS0] disabled
[ 0.377697] 18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 9, base_baud = 1562500) is a 16550A
[ 0.387593] printk: console [ttyS0] enabled
[ 0.387593] printk: console [ttyS0] enabled
[ 0.396666] printk: bootconsole [early0] disabled
[ 0.396666] printk: bootconsole [early0] disabled
[ 0.422579] spi-nor spi0.0: w25q128 (16384 Kbytes)
[ 0.427644] 5 fixed-partitions partitions found on MTD device spi0.0
[ 0.434371] OF: Bad cell count for /ahb/spi@1f000000/flash@0/partitions
[ 0.441261] OF: Bad cell count for /ahb/spi@1f000000/flash@0/partitions
[ 0.449030] OF: Bad cell count for /ahb/spi@1f000000/flash@0/partitions
[ 0.455965] OF: Bad cell count for /ahb/spi@1f000000/flash@0/partitions
[ 0.463140] Creating 5 MTD partitions on "spi0.0":
[ 0.468109] 0x000000000000-0x000000040000 : "u-boot"
[ 0.480566] 0x000000040000-0x000000050000 : "art"
[ 0.486981] 0x000000050000-0x000000fe0000 : "firmware"
[ 0.496330] 2 uimage-fw partitions found on MTD device firmware
[ 0.502546] Creating 2 MTD partitions on "firmware":
[ 0.507697] 0x000000000000-0x000000230000 : "kernel"
[ 0.514295] 0x000000230000-0x000000f90000 : "rootfs"
[ 0.522944] mtd: device 4 (rootfs) set to be root filesystem
[ 0.528931] 1 squashfs-split partitions found on MTD device rootfs
[ 0.535405] 0x000000770000-0x000000f90000 : "rootfs_data"
[ 0.542508] 0x000000fe0000-0x000000ff0000 : "eeprom"
[ 0.551353] 0x000000ff0000-0x000001000000 : "EEPROM"
[ 0.960787] ag71xx 19000000.eth: Could not connect to PHY device. Deferring probe.
[ 1.654972] switch0: Atheros AR8229 rev. 1 switch registered on mdio.0
[ 1.712408] ag71xx 1a000000.eth: connected to PHY at fixed-0:00 [uid=00000000, driver=Generic PHY]
[ 1.722603] eth0: Atheros AG71xx at 0xba000000, irq 5, mode: gmii
[ 1.729374] i2c /dev entries driver
[ 1.735871] NET: Registered protocol family 10
[ 1.753382] Segment Routing with IPv6
[ 1.757332] NET: Registered protocol family 17
[ 1.762129] 8021q: 802.1Q VLAN Support v1.8
[ 1.767666] PCI host bridge /ahb/pcie-controller@180c0000 ranges:
[ 1.774098] MEM 0x0000000010000000..0x0000000013ffffff
[ 1.779497] IO 0x0000000000000000..0x0000000000000000
[ 1.785204] PCI host bridge to bus 0000:00
[ 1.789465] pci_bus 0000:00: root bus resource [mem 0x10000000-0x13ffffff]
[ 1.796615] pci_bus 0000:00: root bus resource [io 0x0000]
[ 1.802384] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[ 1.809395] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 1.817681] pci 0000:00:00.0: [168c:0050] type 00 class 0x028000
[ 1.823967] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[ 1.831082] pci 0000:00:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[ 1.838093] pci 0000:00:00.0: supports D1
[ 1.842253] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[ 1.849430] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[ 1.856343] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x101fffff 64bit]
[ 1.863947] pci 0000:00:00.0: BAR 6: assigned [mem 0x10200000-0x1020ffff pref]
[ 2.211870] ag71xx 19000000.eth: connected to PHY at mdio.0:1f:04 [uid=004dd042, driver=Generic PHY]
[ 2.222576] eth1: Atheros AG71xx at 0xb9000000, irq 4, mode: mii
[ 2.246319] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[ 2.263675] Freeing unused kernel memory: 1236K
[ 2.268368] This architecture does not have kernel memory protection.
[ 2.275072] Run /sbin/init as init process
[ 3.176920] init: Console is alive
[ 3.181274] init: - watchdog -
[ 4.856781] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 4.926563] usbcore: registered new interface driver usbfs
[ 4.932440] usbcore: registered new interface driver hub
[ 4.938065] usbcore: registered new device driver usb
[ 4.956429] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 4.965891] ehci-fsl: Freescale EHCI Host controller driver
[ 4.975386] ehci-platform: EHCI generic platform driver
[ 4.981380] ehci-platform 1b000000.usb: EHCI Host Controller
[ 4.987320] ehci-platform 1b000000.usb: new USB bus registered, assigned bus number 1
[ 4.995661] ehci-platform 1b000000.usb: irq 3, io mem 0x1b000000
[ 5.029706] ehci-platform 1b000000.usb: USB 2.0 started, EHCI 1.00
[ 5.037414] hub 1-0:1.0: USB hub found
[ 5.042587] hub 1-0:1.0: 1 port detected
[ 5.054119] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 5.072402] init: - preinit -
[ 7.126087] random: jshn: uninitialized urandom read (4 bytes read)
[ 7.727849] random: jshn: uninitialized urandom read (4 bytes read)
[ 7.916899] random: jshn: uninitialized urandom read (4 bytes read)
[ 8.144929] random: jshn: uninitialized urandom read (4 bytes read)
[ 8.226508] random: jshn: uninitialized urandom read (4 bytes read)
[ 8.381654] random: jshn: uninitialized urandom read (4 bytes read)
[ 8.476971] eth0: link up (1000Mbps/Full duplex)
[ 8.489838] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[ 12.993007] jffs2: notice: (503) jffs2_build_xattr_subsystem: complete building xattr subsystem, 8 of xdatum (0 unchecked, 3 orphan) and 9 of xref (3 dead, 0 orphan) found.
[ 13.011616] mount_root: switching to jffs2 overlay
[ 13.019649] overlayfs: upper fs does not support tmpfile.
[ 13.034364] urandom-seed: Seeding with /etc/urandom.seed
[ 13.275149] eth0: link down
[ 13.297212] procd: - early -
[ 13.300840] procd: - watchdog -
[ 14.051361] procd: - watchdog -
[ 14.093158] procd: - ubus -
[ 14.327538] random: ubusd: uninitialized urandom read (4 bytes read)
[ 14.338321] random: ubusd: uninitialized urandom read (4 bytes read)
[ 14.345827] random: ubusd: uninitialized urandom read (4 bytes read)
[ 14.363341] procd: - init -
Please press Enter to activate this console.
[ 15.458483] random: jshn: uninitialized urandom read (4 bytes read)
[ 16.536345] kmodloader: loading kernel modules from /etc/modules.d/*
[ 17.173689] urngd: v1.0.2 started.
[ 17.255410] Loading modules backported from Linux version v5.15.58-0-g7d8048d4e064
[ 17.263360] Backport generated by backports.git v5.15.58-1-0-g42a95ce7
[ 17.908855] PPP generic driver version 2.4.2
[ 17.921358] NET: Registered protocol family 24
[ 18.021602] ath10k_pci 0000:00:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[ 18.035613] random: crng init done
[ 18.039141] random: 24 urandom warning(s) missed due to ratelimiting
[ 20.293184] ath10k_pci 0000:00:00.0: qca9887 hw1.0 target 0x4100016d chip_id 0x004000ff sub 0000:0000
[ 20.302781] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[ 20.316637] ath10k_pci 0000:00:00.0: firmware ver 10.2.4-1.0-00047 api 5 features no-p2p,ignore-otp,skip-clock-init,mfp,allows-mesh-bcast crc32 62f7565f
[ 21.483825] ath10k_pci 0000:00:00.0: board_file api 1 bmi_id N/A crc32 546cca0d
[ 21.600098] ath10k_pci 0000:00:00.0: failed to read device EEPROM at 0000
[ 21.607142] ath10k_pci 0000:00:00.0: failed to read calibration data from EEPROM: -22
[ 22.810133] ath10k_pci 0000:00:00.0: htt-ver 2.1 wmi-op 5 htt-op 2 cal otp max-sta 128 raw 0 hwcrypto 1
[ 22.955033] ath10k_pci 0000:00:00.0: invalid MAC address; choosing random
[ 23.123233] ieee80211 phy1: Atheros AR9531 Rev:2 mem=0xb8100000, irq=13
[ 23.170566] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 48.102139] eth0: link up (1000Mbps/Full duplex)
[ 48.108965] br-lan: port 1(eth0) entered blocking state
[ 48.114492] br-lan: port 1(eth0) entered disabled state
[ 48.120363] device eth0 entered promiscuous mode
[ 48.149906] br-lan: port 1(eth0) entered blocking state
[ 48.155334] br-lan: port 1(eth0) entered forwarding state
[ 49.140392] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 51.382788] eth1: link up (100Mbps/Full duplex)
[ 51.387547] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
**********
2.4G 能成功启用并正常使用。5G 网卡 QCA9887 能正常显示出来,启用后手机能显示 5G 的 SSID,但连不上,并且一会就消失,一会又出现, TTL 上输出大量重复的错误信息:
[ 157.273927] ath10k_pci 0000:00:00.0: failed to read device EEPROM at 0000
[ 157.281025] ath10k_pci 0000:00:00.0: failed to read calibration data from EEPROM: -22
[ 158.468794] ath10k_pci 0000:00:00.0: pdev param 0 not supported by firmware
[ 158.506114] br-lan: port 2(wlan0) entered blocking state
[ 158.511718] br-lan: port 2(wlan0) entered disabled state
[ 158.517669] device wlan0 entered promiscuous mode
[ 158.522859] br-lan: port 2(wlan0) entered blocking state
[ 158.528357] br-lan: port 2(wlan0) entered forwarding state
[ 158.539646] br-lan: port 2(wlan0) entered disabled state
[ 158.932925] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 158.939950] br-lan: port 2(wlan0) entered blocking state
[ 158.945459] br-lan: port 2(wlan0) entered forwarding state
[ 159.441716] ath10k_pci 0000:00:00.0: firmware crashed! (guid n/a)
[ 159.448059] ath10k_pci 0000:00:00.0: qca9887 hw1.0 target 0x4100016d chip_id 0x004000ff sub 0000:0000
[ 159.457642] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[ 159.471519] ath10k_pci 0000:00:00.0: firmware ver 10.2.4-1.0-00047 api 5 features no-p2p,ignore-otp,skip-clock-init,mfp,allows-mesh-bcast crc32 62f7565f
[ 159.485882] ath10k_pci 0000:00:00.0: board_file api 1 bmi_id N/A crc32 546cca0d
[ 159.493474] ath10k_pci 0000:00:00.0: htt-ver 2.1 wmi-op 5 htt-op 2 cal otp max-sta 128 raw 0 hwcrypto 1
[ 159.513648] ath10k_pci 0000:00:00.0: failed to get memcpy hi address for firmware address 4: -16
[ 159.522743] ath10k_pci 0000:00:00.0: failed to read firmware dump area: -16
[ 159.529945] ath10k_pci 0000:00:00.0: Copy Engine register dump:
[ 159.536072] ath10k_pci 0000:00:00.0: [00]: 0x00057400 14 14 3 3
[ 159.542751] ath10k_pci 0000:00:00.0: [01]: 0x00057800 26 26 61 62
[ 159.549410] ath10k_pci 0000:00:00.0: [02]: 0x00057c00 22 22 21 22
[ 159.556093] ath10k_pci 0000:00:00.0: [03]: 0x00058000 24 23 25 23
[ 159.562768] ath10k_pci 0000:00:00.0: [04]: 0x00058400 4 4 44 4
[ 159.569435] ath10k_pci 0000:00:00.0: [05]: 0x00058800 9 9 8 9
[ 159.576113] ath10k_pci 0000:00:00.0: [06]: 0x00058c00 1 1 1 1
[ 159.582789] ath10k_pci 0000:00:00.0: [07]: 0x00059000 1 0 1 0
[ 159.592418] ath10k_pci 0000:00:00.0: failed to read hi_board_data address: -28
[ 159.735115] ieee80211 phy0: Hardware restart was requested
[ 159.882383] ath10k_pci 0000:00:00.0: failed to poke copy engine: -16
[ 160.022200] ath10k_pci 0000:00:00.0: failed to poke copy engine: -16
[ 160.172025] ath10k_pci 0000:00:00.0: failed to poke copy engine: -16
[ 160.281877] ath10k_pci 0000:00:00.0: failed to read device EEPROM at 0000
[ 160.288915] ath10k_pci 0000:00:00.0: failed to read calibration data from EEPROM: -22
[ 161.849442] ath10k_pci 0000:00:00.0: pdev param 0 not supported by firmware
[ 161.888913] ath10k_pci 0000:00:00.0: device successfully recovered
[ 165.956593] ath10k_pci 0000:00:00.0: firmware crashed! (guid n/a)
[ 165.963004] ath10k_pci 0000:00:00.0: qca9887 hw1.0 target 0x4100016d chip_id 0x004000ff sub 0000:0000
[ 165.972561] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[ 165.986384] ath10k_pci 0000:00:00.0: firmware ver 10.2.4-1.0-00047 api 5 features no-p2p,ignore-otp,skip-clock-init,mfp,allows-mesh-bcast crc32 62f7565f
[ 166.000537] ath10k_pci 0000:00:00.0: board_file api 1 bmi_id N/A crc32 546cca0d
[ 166.008099] ath10k_pci 0000:00:00.0: htt-ver 2.1 wmi-op 5 htt-op 2 cal otp max-sta 128 raw 0 hwcrypto 1
[ 166.028254] ath10k_pci 0000:00:00.0: failed to get memcpy hi address for firmware address 4: -16
[ 166.037346] ath10k_pci 0000:00:00.0: failed to read firmware dump area: -16
[ 166.044553] ath10k_pci 0000:00:00.0: Copy Engine register dump:
[ 166.050691] ath10k_pci 0000:00:00.0: [00]: 0x00057400 14 14 3 3
[ 166.057355] ath10k_pci 0000:00:00.0: [01]: 0x00057800 31 31 98 99
[ 166.064036] ath10k_pci 0000:00:00.0: [02]: 0x00057c00 25 25 24 25
[ 166.070706] ath10k_pci 0000:00:00.0: [03]: 0x00058000 29 28 30 28
[ 166.077370] ath10k_pci 0000:00:00.0: [04]: 0x00058400 3 3 43 3
[ 166.084044] ath10k_pci 0000:00:00.0: [05]: 0x00058800 6 6 5 6
[ 166.090713] ath10k_pci 0000:00:00.0: [06]: 0x00058c00 1 1 1 1
[ 166.097378] ath10k_pci 0000:00:00.0: [07]: 0x00059000 0 1 0 1
[ 166.260347] ath10k_pci 0000:00:00.0: failed to read hi_board_data address: -28
[ 166.402844] ieee80211 phy0: Hardware restart was requested
[ 166.552366] ath10k_pci 0000:00:00.0: failed to poke copy engine: -16
[ 166.692080] ath10k_pci 0000:00:00.0: failed to poke copy engine: -16
[ 166.832649] ath10k_pci 0000:00:00.0: failed to poke copy engine: -16
[ 166.942499] ath10k_pci 0000:00:00.0: failed to read device EEPROM at 0000
[ 166.949549] ath10k_pci 0000:00:00.0: failed to read calibration data from EEPROM: -22
[ 168.047674] ath10k_pci 0000:00:00.0: pdev param 0 not supported by firmware
[ 168.078997] ath10k_pci 0000:00:00.0: device successfully recovered
[ 168.736211] ath10k_pci 0000:00:00.0: firmware crashed! (guid n/a)
[ 168.742636] ath10k_pci 0000:00:00.0: qca9887 hw1.0 target 0x4100016d chip_id 0x004000ff sub 0000:0000
[ 168.752202] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[ 168.766045] ath10k_pci 0000:00:00.0: firmware ver 10.2.4-1.0-00047 api 5 features no-p2p,ignore-otp,skip-clock-init,mfp,allows-mesh-bcast crc32 62f7565f
[ 168.780198] ath10k_pci 0000:00:00.0: board_file api 1 bmi_id N/A crc32 546cca0d
[ 168.787760] ath10k_pci 0000:00:00.0: htt-ver 2.1 wmi-op 5 htt-op 2 cal otp max-sta 128 raw 0 hwcrypto 1
[ 168.807905] ath10k_pci 0000:00:00.0: failed to get memcpy hi address for firmware address 4: -16
[ 168.817180] ath10k_pci 0000:00:00.0: failed to read firmware dump area: -16
[ 168.824422] ath10k_pci 0000:00:00.0: Copy Engine register dump:
[ 168.830566] ath10k_pci 0000:00:00.0: [00]: 0x00057400 14 14 3 3
[ 168.837230] ath10k_pci 0000:00:00.0: [01]: 0x00057800 24 24 59 60
[ 168.843905] ath10k_pci 0000:00:00.0: [02]: 0x00057c00 11 11 10 11
[ 168.850587] ath10k_pci 0000:00:00.0: [03]: 0x00058000 22 21 23 21
[ 168.857247] ath10k_pci 0000:00:00.0: [04]: 0x00058400 3 3 43 3
[ 168.863920] ath10k_pci 0000:00:00.0: [05]: 0x00058800 6 6 5 6
[ 168.870589] ath10k_pci 0000:00:00.0: [06]: 0x00058c00 1 1 1 1
[ 168.877254] ath10k_pci 0000:00:00.0: [07]: 0x00059000 0 1 0 1
[ 168.887462] ath10k_pci 0000:00:00.0: failed to read hi_board_data address: -28
[ 169.025064] ieee80211 phy0: Hardware restart was requested
[ 169.172050] ath10k_pci 0000:00:00.0: failed to poke copy engine: -16
[ 169.561926] ath10k_pci 0000:00:00.0: failed to read device EEPROM at 0000
[ 170.688274] ath10k_pci 0000:00:00.0: device successfully recovered
[ 175.721984] device wlan0 left promiscuous mode
[ 175.726802] br-lan: port 2(wlan0) entered disabled state
[ 175.776494] ath10k_pci 0000:00:00.0: firmware crashed! (guid n/a)
[ 175.782903] ath10k_pci 0000:00:00.0: qca9887 hw1.0 target 0x4100016d chip_id 0x004000ff sub 0000:0000
[ 175.792610] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[ 175.806478] ath10k_pci 0000:00:00.0: firmware ver 10.2.4-1.0-00047 api 5 features no-p2p,ignore-otp,skip-clock-init,mfp,allows-mesh-bcast crc32 62f7565f
[ 175.820635] ath10k_pci 0000:00:00.0: board_file api 1 bmi_id N/A crc32 546cca0d
[ 175.828196] ath10k_pci 0000:00:00.0: htt-ver 2.1 wmi-op 5 htt-op 2 cal otp max-sta 128 raw 0 hwcrypto 1
[ 175.848345] ath10k_warn: 4 callbacks suppressed
[ 175.848357] ath10k_pci 0000:00:00.0: failed to get memcpy hi address for firmware address 4: -16
[ 175.862133] ath10k_pci 0000:00:00.0: failed to read firmware dump area: -16
[ 175.869324] ath10k_pci 0000:00:00.0: Copy Engine register dump:
[ 175.875462] ath10k_pci 0000:00:00.0: [00]: 0x00057400 14 14 3 3
[ 175.882138] ath10k_pci 0000:00:00.0: [01]: 0x00057800 7 7 138 139
[ 175.888804] ath10k_pci 0000:00:00.0: [02]: 0x00057c00 7 7 70 71
[ 175.895477] ath10k_pci 0000:00:00.0: [03]: 0x00058000 6 4 6 4
[ 175.902146] ath10k_pci 0000:00:00.0: [04]: 0x00058400 3 3 43 3
[ 175.908811] ath10k_pci 0000:00:00.0: [05]: 0x00058800 8 8 7 8
[ 175.915484] ath10k_pci 0000:00:00.0: [06]: 0x00058c00 5 5 5 5
[ 175.922153] ath10k_pci 0000:00:00.0: [07]: 0x00059000 0 1 0 1
[ 176.216006] ath10k_pci 0000:00:00.0: failed to read hi_board_data address: -28
[ 176.356396] ieee80211 phy0: Hardware restart was requested
[ 176.362268] ath10k_pci 0000:00:00.0: failed to down vdev_id 0: -143
[ 176.368763] ath10k_pci 0000:00:00.0: failed to stop WMI vdev 0: -143
[ 176.375398] ath10k_pci 0000:00:00.0: failed to stop vdev 0: -143
[ 176.381649] ath10k_pci 0000:00:00.0: failed to flush transmit queue (skip 1 ar-state 2): 500
[ 176.532279] ath10k_pci 0000:00:00.0: failed to poke copy engine: -16
[ 176.672264] ath10k_pci 0000:00:00.0: failed to poke copy engine: -16
[ 176.812329] ath10k_pci 0000:00:00.0: failed to poke copy engine: -16
[ 176.921893] ath10k_pci 0000:00:00.0: failed to read device EEPROM at 0000
[ 176.928936] ath10k_pci 0000:00:00.0: failed to read calibration data from EEPROM: -22
[ 178.049221] ath10k_pci 0000:00:00.0: device successfully recovered
已折腾一个多星期,网上搜遍了,看了仅有的一些文章,也是没有解决问题,所以只好发贴请教如何“破解”
请各位高手不吝赐教,谢谢。
|
|