... does nothing. Card still doesn't work, nothing changes. Running a sysupgrade flash does work and resets the card back to the ct driver and everything works OK.
dmesg leaves this message:
[ 11.632844] ath10k_pci 0000:00:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[ 11.858834] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA9888/hw2.0/firmware-6.bin failed with error -2
[ 11.869931] ath10k_pci 0000:00:00.0: Falling back to user helper
[ 12.133540] firmware ath10k!QCA9888!hw2.0!firmware-6.bin: firmware_loading_store: map pages failed
[ 13.439871] ath10k_pci 0000:00:00.0: qca9888 hw2.0 target 0x01000000 chip_id 0x00000000 sub 0000:0000
[ 13.449441] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 1
[ 13.470514] ath10k_pci 0000:00:00.0: firmware ver 10.4-3.9.0.2-00024 api 5 features no-p2p,mfp,peer-flow-ctrl,allows-mesh-bcast,no-ps crc32 98c840a5
[ 13.807240] ath10k_pci 0000:00:00.0: failed to fetch board data for bus=pci,bmi-chip-id=0,bmi-board-id=20 from ath10k/QCA9888/hw2.0/board-2.bin
[ 13.820901] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA9888/hw2.0/board.bin failed with error -2
[ 13.831546] ath10k_pci 0000:00:00.0: Falling back to user helper
[ 13.924224] firmware ath10k!QCA9888!hw2.0!board.bin: firmware_loading_store: map pages failed
[ 13.933241] ath10k_pci 0000:00:00.0: failed to fetch board-2.bin or board.bin from ath10k/QCA9888/hw2.0
[ 13.942976] ath10k_pci 0000:00:00.0: failed to fetch board file: -11
[ 13.949751] ath10k_pci 0000:00:00.0: could not probe fw (-11)
I must just be doing something wrong here, I don't think there's a bug or anything. How can I correctly install wifi drivers via opkg?
Still no dice. So, this is a Archer c6 v2, and from the stock install, I performed the opkg install procedure from the first post, then did @DjiPi's method to change board-2.bin and firmware-5/bin. Thank you so much for finding the exact URLs for me as well @DjiPi.
dmesg now reports:
[ 12.006667] ath10k_pci 0000:00:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[ 12.239461] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA9888/hw2.0/firmware-6.bin failed with error -2
[ 12.250558] ath10k_pci 0000:00:00.0: Falling back to user helper
[ 12.520337] firmware ath10k!QCA9888!hw2.0!firmware-6.bin: firmware_loading_store: map pages failed
[ 13.909285] ath10k_pci 0000:00:00.0: qca9888 hw2.0 target 0x01000000 chip_id 0x00000000 sub 0000:0000
[ 13.918860] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 1
[ 13.939931] ath10k_pci 0000:00:00.0: firmware ver 10.4-3.9.0.2-00086 api 5 features no-p2p,mfp,peer-flow-ctrl,allows-mesh-bcast,no-ps crc32 5e94c44d
[ 14.300492] ath10k_pci 0000:00:00.0: failed to fetch board data for bus=pci,bmi-chip-id=0,bmi-board-id=20 from ath10k/QCA9888/hw2.0/board-2.bin
[ 14.314174] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA9888/hw2.0/board.bin failed with error -2
[ 14.324822] ath10k_pci 0000:00:00.0: Falling back to user helper
[ 14.422965] firmware ath10k!QCA9888!hw2.0!board.bin: firmware_loading_store: map pages failed
[ 14.431979] ath10k_pci 0000:00:00.0: failed to fetch board-2.bin or board.bin from ath10k/QCA9888/hw2.0
[ 14.441709] ath10k_pci 0000:00:00.0: failed to fetch board file: -11
[ 14.448487] ath10k_pci 0000:00:00.0: could not probe fw (-11
After making these changes, To answer @darksky's question, lib/firmware now looks like:
Someone CMIIW, these are the fallback error messages that are completely normal; it tries to load a bunch of different firmware files and those that are not found produce these messages. When you replace your files, just ensure you give the same names that the ones that were already there originally and it will sweep them in it's "load scan".
I would keep the names that OpenWrt came with originally.
It seems the firmware doesn't load proberly, as the symlink to the custom board information (/lib/firmware/..../hw-2.0/board.bin) gets broken while purging the CT packages and reinstalling the proprietary ath10k packages.
My solution was as simple as creating the symlink to the board.bin manually. From a terminal, type:
@chatziko : Glad to help. Took me some to figure that out, so I'm happy to save you some time in troubleshooting
I also experience the same error in my setup, but -to be honest- I didn't care as wifi 5 works fine and stable. Afair the board-x.bin files that tell the driver which board id has which specific wiring between the micorcontroller and the wifi chip. So, as the C6v2 is not part of the driver-provided "collection" of board files in board-2.bin, the error may result from that. However. as long as the board.bin symlink is loaded afterwards, everything should be fine as it contains the C6v2-specific information for the driver.