Hello,
I'm trying to update one of my boards equipped with a QCA9531 and QCA9887. It's currently running OpenWRT version 12, which was preinstalled on the board. I managed to upgrade it to version 18 using the ap147-010-squashfs-sysupgrade.bin image. However, since then, the 5 GHz radio is no longer detected β even after installing the ath10k and ath10k-firmware-qca9887 packages. I've also tried other firmware variants (CT, qca988x, etc.) but nothing worked.
I found this device on the OpenWRT wiki (QXWLAN E600GAC: https://openwrt.org/toh/qxwlan/e600gac), which uses the same chipsets as mine. Unfortunately, when I tried to force the upgrade through SSH based on that info, I ended up bricking the board. Thankfully, I was able to recover it via TFTP, but it's still stuck on version 18 with the same 5 GHz issue.
I'm not necessarily looking for the most recent version β although if there's one that works, I'd definitely consider it. Mostly, I'm looking for help understanding what's going wrong, and ideally learning how to upgrade these boards myself without breaking things.
For reference, I still have another identical board running version 12, where the 5 GHz radio works fine.
Any help or guidance would be greatly appreciated!
Thanks in advance.
root@OpenWrt:/# dmesg | grep ath
[ 10.054113] ath10k_pci 0000:00:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[ 10.327649] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:00:00.0.bin failed with error -2
[ 10.338759] ath10k_pci 0000:00:00.0: Falling back to user helper
[ 10.517923] firmware ath10k!pre-cal-pci-0000:00:00.0.bin: firmware_loading_store: map pages failed
[ 10.527498] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/cal-pci-0000:00:00.0.bin failed with error -2
[ 10.538218] ath10k_pci 0000:00:00.0: Falling back to user helper
[ 10.685910] firmware ath10k!cal-pci-0000:00:00.0.bin: firmware_loading_store: map pages failed
[ 10.695534] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA9887/hw1.0/firmware-6.bin failed with error -2
[ 10.706631] ath10k_pci 0000:00:00.0: Falling back to user helper
[ 10.854874] firmware ath10k!QCA9887!hw1.0!firmware-6.bin: firmware_loading_store: map pages failed
[ 11.140084] ath10k_pci 0000:00:00.0: qca9887 hw1.0 target 0x4100016d chip_id 0x004000ff sub 0000:0000
[ 11.149667] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 1
[ 11.163590] ath10k_pci 0000:00:00.0: firmware ver 10.2.4-1.0-00033 api 5 features no-p2p,ignore-otp,skip-clock-init,mfp,allows-mesh-bcast crc32 c232a0c3
[ 11.210489] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA9887/hw1.0/board-2.bin failed with error -2
[ 11.221309] ath10k_pci 0000:00:00.0: Falling back to user helper
[ 11.298598] firmware ath10k!QCA9887!hw1.0!board-2.bin: firmware_loading_store: map pages failed
[ 11.308793] ath10k_pci 0000:00:00.0: board_file api 1 bmi_id N/A crc32 546cca0d
[ 11.323822] ath10k_pci 0000:00:00.0: failed to read device EEPROM at 0000
[ 11.330844] ath10k_pci 0000:00:00.0: failed to read calibration data from EEPROM: -22
[ 12.441698] 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
[ 12.584934] ath: EEPROM regdomain: 0x0
[ 12.584943] ath: EEPROM indicates default country code should be used
[ 12.584946] ath: doing EEPROM country->regdmn map search
[ 12.584957] ath: country maps to regdmn code: 0x3a
[ 12.584962] ath: Country alpha2 being used: US
[ 12.584965] ath: Regpair used: 0x3a
[ 12.649397] ath: EEPROM regdomain: 0x0
[ 12.649407] ath: EEPROM indicates default country code should be used
[ 12.649410] ath: doing EEPROM country->regdmn map search
[ 12.649425] ath: country maps to regdmn code: 0x3a
[ 12.649430] ath: Country alpha2 being used: US
[ 12.649434] ath: Regpair used: 0x3a
root@OpenWrt:/# lsmod | grep ath
ath 16832 4 ath9k,ath9k_common,ath9k_hw,ath10k_core
ath10k_core 253968 1 ath10k_pci
ath10k_pci 29968 0
ath9k 90992 0
ath9k_common 10880 1 ath9k
ath9k_hw 331808 2 ath9k,ath9k_common
cfg80211 200592 5 ath9k,ath9k_common,ath10k_core,ath,mac80211
compat 4704 5 ath9k,ath9k_common,ath10k_pci,mac80211,cfg80211
mac80211 393472 2 ath9k,ath10k_core
root@OpenWrt:/# dmesg | grep pci
[ 0.620567] pci_bus 0000:00: root bus resource [mem 0x10000000-0x11ffffff]
[ 0.627822] pci_bus 0000:00: root bus resource [io 0x0000]
[ 0.633694] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[ 0.640848] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 0.649222] pci 0000:00:00.0: [168c:0050] type 00 class 0x028000
[ 0.649264] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[ 0.649317] pci 0000:00:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[ 0.649387] pci 0000:00:00.0: supports D1
[ 0.649396] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[ 0.649599] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[ 0.649629] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x101fffff 64bit]
[ 0.657381] pci 0000:00:00.0: BAR 6: assigned [mem 0x10200000-0x1020ffff pref]
[ 0.665004] pci 0000:00:00.0: using irq 40 for pin 1
[ 10.054033] ath10k_pci 0000:00:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[ 10.327673] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:00:00.0.bin failed with error -2
...
...
...
root@OpenWrt:/# find /lib/firmware -type f -exec ls -lh {} \;
-rw-r--r-- 1 root root 3.5K Nov 11 2020 /lib/firmware/regulatory.db
-rw-r--r-- 1 root root 1.0K Nov 24 2020 /lib/firmware/ath10k/QCA9887/hw1.0/board.bin
-rw-r--r-- 1 root root 230.6K Nov 24 2020 /lib/firmware/ath10k/QCA9887/hw1.0/firmware-5.bin