3 issues. A separate post for each in this thread.
EDIT: I've stripped down my (diff) config, made a change to the r7500v2 makefile dep to workaround the ath10k-ct issue, and that works around these issues.
Thanks to @slh for the example minimal diffconfig on irc (and for confirming the change to target/linux/ipq806x/image/Makefile).
compiling for ath10k-firmware-qca99x0-ct-htt installed in image and ath10k-firmware-qca99x0-ct as module.
and my .config looks like:
cat .confing | grep ath10k
CONFIG_MODULE_DEFAULT_ath10k-firmware-qca988x-ct=y
CONFIG_MODULE_DEFAULT_ath10k-firmware-qca9984-ct=y
CONFIG_MODULE_DEFAULT_ath10k-firmware-qca99x0-ct=y
CONFIG_DEFAULT_kmod-ath10k-ct=y
CONFIG_MODULE_DEFAULT_kmod-ath10k-ct=y
# ath10k Board-Specific Overrides
# CONFIG_PACKAGE_ath10k-firmware-qca4019 is not set
# CONFIG_PACKAGE_ath10k-firmware-qca4019-ct is not set
# CONFIG_PACKAGE_ath10k-firmware-qca4019-ct-htt is not set
# CONFIG_PACKAGE_ath10k-firmware-qca6174 is not set
# CONFIG_PACKAGE_ath10k-firmware-qca9887 is not set
# CONFIG_PACKAGE_ath10k-firmware-qca9887-ct is not set
# CONFIG_PACKAGE_ath10k-firmware-qca9887-ct-htt is not set
# CONFIG_PACKAGE_ath10k-firmware-qca9888 is not set
# CONFIG_PACKAGE_ath10k-firmware-qca9888-ct is not set
# CONFIG_PACKAGE_ath10k-firmware-qca9888-ct-htt is not set
# CONFIG_PACKAGE_ath10k-firmware-qca988x is not set
CONFIG_PACKAGE_ath10k-firmware-qca988x-ct=m
# CONFIG_PACKAGE_ath10k-firmware-qca988x-ct-htt is not set
# CONFIG_PACKAGE_ath10k-firmware-qca9984 is not set
CONFIG_PACKAGE_ath10k-firmware-qca9984-ct=m
# CONFIG_PACKAGE_ath10k-firmware-qca9984-ct-htt is not set
# CONFIG_PACKAGE_ath10k-firmware-qca99x0 is not set
CONFIG_PACKAGE_ath10k-firmware-qca99x0-ct=m
CONFIG_PACKAGE_ath10k-firmware-qca99x0-ct-htt=y
CONFIG_PACKAGE_kmod-ath10k=m
CONFIG_PACKAGE_kmod-ath10k-ct=y
I (now) get the error:
Collected errors:
* check_data_file_clashes: Package ath10k-firmware-qca99x0-ct wants to install\
file /home/n/openwrt/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linu\
x-ipq806x_generic/target-dir-261ef631/lib/firmware/ath10k/QCA99X0/hw2.0/board-2\
.bin
But that file is already provided by package * ath10k-firmware-qca99x0\
-ct-htt
* check_data_file_clashes: Package ath10k-firmware-qca99x0-ct wants to install\
file /home/n/openwrt/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linu\
x-ipq806x_generic/target-dir-261ef631/lib/firmware/ath10k/QCA99X0/hw2.0/board.b\
in
But that file is already provided by package * ath10k-firmware-qca99x0\
-ct-htt
* opkg_install_cmd: Cannot install package ath10k-firmware-qca99x0-ct.
Installing ath10k-firmware-qca99x0-ct (2019-06-28-7651f5bb-1) to root...
/home/n/openwrt/include/image.mk:344: recipe for target 'target-dir-261ef631' f\
ailed
make[5]: *** [target-dir-261ef631] Error 255
make[5]: *** Waiting for unfinished jobs....
Installing ath10k-firmware-qca988x-ct (2019-06-28-7651f5bb-1) to root...
Configuring ath10k-firmware-qca988x-ct.
did something change?
EDIT 2:
If the maintainer happens to see this... please remove the dependency on ath10k-firmware-qca988x-ct as there is no hardware on the r7500v2 that uses this firmware - I've been running both 2.4 and 5 GHz off the 99x0 firmware without issue for over a year now.