[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#919652: ath10k - QCA6174 - Surface Go - missing board data - fix .bin included extracted form official .msi



Package: firmware-atheros
Version: 20180825+dfsg-1
Severity: important

Device: Surface Go

Debian Version: Buster with latest updates

On a fresh installed Debian Buster output of dmesg contains:

[ 4.308059] ath10k_pci 0000:01:00.0: failed to fetch board data for
bus=pci,vendor=168c,device=003e,subsystem-vendor=168c,subsystem-
device=3370 from ath10k/QCA6174/hw3.0/board-2.bin

which means the device is not added to the board-2.bin.

After downloading the .msi from https://www.microsoft.com/en-us/downloa
d/details.aspx?id=57439 I was able to extract the needed .bin file.

In file netathr10x.inf from the folder
/SurfacePlatformInstaller/Drivers/Network/WiFi I found the
corresponding subsystem-device=3370 ID where ATHR_DEV_OS63_988x_TX8.ndi
is linked to.

With the help of that .ndi I was able to find

[ATHR_DEV_OS63_988x_TX8.ndi.NTamd64]
Characteristics = 0x84
BusType         = 5
AddReg          = atheros_os63.reg, atheros11n.reg, smpsDynamic.reg,
qca_utf.reg, D0PC.reg, roam.reg, wmmac.reg, FW_3X.reg, BD_TX8.reg,
enableTxbfee.reg, wowEnable.reg, ForceWowSleep.reg, fastDlBinary.reg,
enableSmbios.reg, Ch1213_options_SingleSKU.reg   
CopyFiles       = atheros.CopyFiles, atheros_FW_3X.CopyFiles,
atheros_BD_TX8.CopyFiles, service.CopyFiles
*IfType         = 71        ; IF_TYPE_IEEE80211
*MediaType      = 16        ; NdisMediumNative802_11
*PhysicalMediaType = 9      ; NdisPhysicalMediumNative802_11
Include         = machine.inf, netvwifibus.inf
Needs           = VWiFiBus.CopyFiles

which has an entry 

CopyFiles       = atheros.CopyFiles, atheros_FW_3X.CopyFiles,
atheros_BD_TX8.CopyFiles, service.CopyFiles

In the folder is just one file containing "tx8" which is file 

eeprom_ar6320_3p0_TX8_clpc.bin .

After installing package firmware-atheros I just had to remove the
board-2.bin and board-bin from /lib/firmware/ath10k/QCA6174/hw3.0 and
then copy over eeprom_ar6320_3p0_TX8_clpc.bin as board.bin the wifi was
working properly.

md5sum of eeprom_ar6320_3p0_TX8_clpc.bin
fcbc54a33a3ee462d862fe4f62854410

best regards

Christian Höffer


Attachment: eeprom_ar6320_3p0_TX8_clpc.bin
Description: Binary data


Reply to: