compat-wireless-2014-05-22 breaks ath10k in an Archer C7 v2

Sven Schnelle svens at stackframe.org
Sat Jun 7 13:37:48 PDT 2014


Hi Michal,

Am 05.06.2014 14:20, schrieb Michal Kazior:
> This seems to confirm otp fails to load with error code 2. The assert 
> stack trace points to copy engine in ROM image. Wierd. Anyway, I've 
> extracted firmware files from TP-Link Archer C7 original rootfs. Can 
> you give it a try, please? See the OpenWRT ticket: 
> https://dev.openwrt.org/ticket/16589 

i tried, but the result doesn't look better:

[    9.640000] ath10k: pci irq legacy irq_mode 0 reset_mode 0
[    9.730000] ath10k: otp calibration failed: 2
[   10.540000] ath10k: UART prints enabled
[   10.600000] ath10k: qca988x hw2.0 (0x4100016c, 0x043202ff) fw 
10.1.467-tplink-a-c7 api 2 htt 2.1

I removed the error return in ath10k, that's why the firmware starts 
even with the otp error. I don't see the Assertion failure with this otp 
firmware:

CLI>build_version=0x11, rom_version=0x41020000, ram_version=0x11, 
stack_size=6348
reset reason=0x5

Image startup of Normal mode
Mac address is : 00:03:7f:4f:00:16
alloc rem: 197492
**WMI Service Ready **
NUM_DEV=16
TGT_VER: 4100016C
RegDomain: 0, CfgCtl: 224 - 224
ar_wal_peer_attach: num_peer_entries 145, num_tid_entries 443
allocated 64 tids at 0x439a28 (each 96 bytes)
allocated 379 tids in IRAM at 0x9baf34 (each 96 bytes)
allocated 64 stateless tids at 0x43b250 (each 40 bytes)
### turn on Tx completion index tracking ###
**WMI Ready **

Just to be sure, here are the md5sums of the firmware files i'm using:

root at OpenWrt:/# md5sum /lib/firmware/ath10k/QCA988X/hw2.0/*
710fb9b582eda3d23728dee757d9ff85 
/lib/firmware/ath10k/QCA988X/hw2.0/board.bin
13385cef5d83c3fa96dfaaeb69c155d9 
/lib/firmware/ath10k/QCA988X/hw2.0/firmware-2.bin
3c2251c94974367c170e90030ca04f99 /lib/firmware/ath10k/QCA988X/hw2.0/utf.bin

Sven



More information about the ath10k mailing list