Ath10k WiFi crashes every 30 seconds (Debian)

I just flashed the latest Debian (21.03 / #478 / 5.10.7) on the DB845c. It boots and most things work, but the WiFi crashes exactly every 30 seconds. This is the first error from dmesg; similar errors repeat every 30 seconds.

[   46.063149] ath10k_snoc 18800000.wifi: failed to fetch board data for bus=snoc,qmi-board-id=0 from ath10k/WCN3990/hw1.0/board-2.bin
[   46.075524] ath10k_snoc 18800000.wifi: failed to find board file fw entry
[   46.082682] ath10k_snoc 18800000.wifi: failed to fetch board-2.bin or board.bin from ath10k/WCN3990/hw1.0
[   46.092641] qcom_scm firmware:scm: Assign memory protection call failed -22
[   46.099881] ath10k_snoc 18800000.wifi: failed to unmap msa permissions: -22
[   46.107153] qcom_scm firmware:scm: Assign memory protection call failed -22
[   46.114385] ath10k_snoc 18800000.wifi: failed to unmap msa permissions: -22
[   46.121712] ath10k_snoc 18800000.wifi: firmware crashed! (guid eb7851a6-1e73-4644-b5cc-e0722020bc73)
[   46.130972] ath10k_snoc 18800000.wifi: (null) target 0x00000000 chip_id 0x00000000 sub 0000:0000
[   46.139872] ath10k_snoc 18800000.wifi: kconfig debug 0 debugfs 0 tracing 0 dfs 0 testmode 0
[   46.148372] ath10k_snoc 18800000.wifi: firmware ver  api 0 features  crc32 00000000
[   46.139872] ath10k_snoc 18800000.wifi: kconfig debug 0 debugfs 0 tracing 0 dfs 0 testmode 0
[   46.148372] ath10k_snoc 18800000.wifi: firmware ver  api 0 features  crc32 00000000
[   46.156122] ath10k_snoc 18800000.wifi: board_file api 1 bmi_id N/A crc32 00000000
[   46.163699] ath10k_snoc 18800000.wifi: htt-ver 0.0 wmi-op 0 htt-op 0 cal file max-sta 0 raw 0 hwcrypto 1
[   46.556509] qcom-q6v5-mss 4080000.remoteproc: fatal error received: err_qdi.c:456:EF:wlan_process:1:ccpm_hw_clk.c:680:CCPM: SRPLL lock failed
[   46.570256] remoteproc remoteproc2: crash detected in 4080000.remoteproc: type fatal error
[   46.579533] remoteproc remoteproc2: handling crash #2 in 4080000.remoteproc
[   46.586693] remoteproc remoteproc2: recovering 4080000.remoteproc
[   48.457879] qcom-q6v5-mss 4080000.remoteproc: port failed halt
[   48.466726] remoteproc remoteproc2: stopped remote processor 4080000.remoteproc
[   48.526078] qcom-q6v5-mss 4080000.remoteproc: MBA booted without debug policy, loading mpss
[   48.980248] remoteproc remoteproc2: remote processor 4080000.remoteproc is now up

The file mentioned in the error, /lib/firmware/ath10k/WCN3990/hw1.0/board-2.bin, exists and has read permissions for everyone.

I don’t need WiFi at the moment, as I have wired Ethernet, but I will in the future. Also, it is difficult to use the board as the serial console is spammed by these errors every 30 seconds.

Any ideas for how to debug this?

Have you also updated the firmware/bootloader as described?

I flashed the bootloader (sudo ./flashall), the kernel image, and the rootfs image. I did not do any separate firmware flashing step; if this is necessary, could you point me to the documentation explaining how to do that?

Ok, if you got it from Linaro Releases, then it should be fine, @alimon, anything missing fro WiFi?

@Loic No, should be all needed, only flash the latest bootloader and the firmware is available in the Debian 21.03 release.