Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #63097 > unrolled thread

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

Started by- <choeffer@mailbox.org>
First post2019-01-18 11:30 +0100
Last post2019-08-11 15:00 +0200
Articles 7 — 4 participants

Back to article view | Back to linux.debian.kernel


Contents

  Bug#919652: ath10k - QCA6174 - Surface Go - missing board data - fix .bin included extracted form official .msi - <choeffer@mailbox.org> - 2019-01-18 11:30 +0100
    Bug#919652: Acknowledgement (ath10k - QCA6174 - Surface Go - missing board data - fix .bin included extracted form official .msi) wayne wayne <choeffer@mailbox.org> - 2019-01-20 13:50 +0100
    Bug#919652: Info received (Bug#919652: Acknowledgement (ath10k - QCA6174 - Surface Go - missing board data - fix .bin included extracted form official .msi)) - <choeffer@mailbox.org> - 2019-01-20 14:50 +0100
    Bug#919652: Acknowledgement (ath10k - QCA6174 - Surface Go - missing board data - fix .bin included extracted form official .msi) - <choeffer@mailbox.org> - 2019-01-20 23:10 +0100
    Bug#919652: Acknowledgement (ath10k - QCA6174 - Surface Go - missing board data - fix .bin included extracted form official .msi) wayne wayne <choeffer@mailbox.org> - 2019-01-21 17:20 +0100
    Bug#919652: ath10k - QCA6174 - Surface Go - missing board data - fix .bin included extracted form official .msi Ben Hutchings <ben@decadent.org.uk> - 2019-01-21 20:40 +0100
    Bug#919652: ath10k - QCA6174 - Surface Go - missing board data - fix .bin included extracted form official .msi Yao Wei (魏銘廷) <mwei@debian.org> - 2019-08-11 15:00 +0200

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

From- <choeffer@mailbox.org>
Date2019-01-18 11:30 +0100
SubjectBug#919652: ath10k - QCA6174 - Surface Go - missing board data - fix .bin included extracted form official .msi
Message-ID<xhzzr-7XQ-5@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

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


[toc] | [next] | [standalone]


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

Fromwayne wayne <choeffer@mailbox.org>
Date2019-01-20 13:50 +0100
SubjectBug#919652: Acknowledgement (ath10k - QCA6174 - Surface Go - missing board data - fix .bin included extracted form official .msi)
Message-ID<xikI2-39q-7@gated-at.bofh.it>
In reply to#63097
Bug not solved, even in latest firmware which entered unstable.

See here

pink@debian-surface-go:~$ apt show firmware-atheros 
Package: firmware-atheros
Version: 20190114-1
...
APT-Sources: http://deb.debian.org/debian unstable/non-free amd64 Packages
...

and here

pink@debian-surface-go:~$ sudo journalctl | grep ath10k
[sudo] Passwort für pink: 
Jan 20 13:30:49 debian-surface-go kernel: ath10k_pci 0000:01:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
Jan 20 13:30:49 debian-surface-go kernel: ath10k_pci 0000:01:00.0: firmware: failed to load ath10k/pre-cal-pci-0000:01:00.0.bin (-2)
Jan 20 13:30:49 debian-surface-go kernel: ath10k_pci 0000:01:00.0: firmware: failed to load ath10k/cal-pci-0000:01:00.0.bin (-2)
Jan 20 13:30:49 debian-surface-go kernel: ath10k_pci 0000:01:00.0: firmware: direct-loading firmware ath10k/QCA6174/hw3.0/firmware-6.bin
Jan 20 13:30:49 debian-surface-go kernel: ath10k_pci 0000:01:00.0: qca6174 hw3.2 target 0x05030000 chip_id 0x00340aff sub 168c:3370
Jan 20 13:30:49 debian-surface-go kernel: ath10k_pci 0000:01:00.0: kconfig debug 0 debugfs 0 tracing 0 dfs 0 testmode 0
Jan 20 13:30:49 debian-surface-go kernel: ath10k_pci 0000:01:00.0: firmware ver RM.4.4.1.c2-00057-QCARMSWP-1 api 6 features wowlan,ignore-otp,no-4addr-pad,raw-mode crc32 e061250a
Jan 20 13:30:49 debian-surface-go kernel: ath10k_pci 0000:01:00.0: firmware: direct-loading firmware ath10k/QCA6174/hw3.0/board-2.bin
Jan 20 13:30:49 debian-surface-go kernel: 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
Jan 20 13:30:49 debian-surface-go kernel: ath10k_pci 0000:01:00.0: firmware: direct-loading firmware ath10k/QCA6174/hw3.0/board.bin
Jan 20 13:30:49 debian-surface-go kernel: ath10k_pci 0000:01:00.0: board_file api 1 bmi_id N/A crc32 ed5f849a
Jan 20 13:30:50 debian-surface-go kernel: ath10k_pci 0000:01:00.0: Unknown eventid: 118809
Jan 20 13:30:53 debian-surface-go kernel: ath10k_pci 0000:01:00.0: failed to ping firmware: -110
Jan 20 13:30:53 debian-surface-go kernel: ath10k_pci 0000:01:00.0: failed to reset rx filter: -110
Jan 20 13:30:53 debian-surface-go kernel: ath10k_pci 0000:01:00.0: could not init core (-110)
Jan 20 13:30:53 debian-surface-go kernel: ath10k_pci 0000:01:00.0: could not probe fw (-110)

[toc] | [prev] | [next] | [standalone]


#63129 — Bug#919652: Info received (Bug#919652: Acknowledgement (ath10k - QCA6174 - Surface Go - missing board data - fix .bin included extracted form official .msi))

From- <choeffer@mailbox.org>
Date2019-01-20 14:50 +0100
SubjectBug#919652: Info received (Bug#919652: Acknowledgement (ath10k - QCA6174 - Surface Go - missing board data - fix .bin included extracted form official .msi))
Message-ID<xilE5-3IO-1@gated-at.bofh.it>
In reply to#63097

[Multipart message — attachments visible in raw view] — view raw

Microsoft released an updated version:

https://www.microsoft.com/en-us/download/details.aspx?id=57439

Same es above applies, but in netathr10x.inf 

DriverVer   = 08/24/2018,12.0.0.722 
(new one SurfaceGo_Win10_17134_1803010_WiFi_0.msi)

instead of 

DriverVer   = 06/04/2018,12.0.0.709 
(old one SurfaceGo_Win10_17134_1802010_6.msi)

is listed.

Also the md5sum of the .bins have changed, see:

old one:

pink@debian-470t:~/Dokumente/surface_go_wifi/extracted_msi/SurfacePlatf
ormInstaller17134_1802010_6/Drivers/Network/WiFi$ md5sum
eeprom_ar6320_3p0_TX8_clpc.bin
fcbc54a33a3ee462d862fe4f62854410  eeprom_ar6320_3p0_TX8_clpc.bin

new one:

pink@debian-t470:~/Dokumente/surface_go_wifi/extracted_msi/SurfacePlatf
ormInstaller_17134_1803010/SurfaceUpdate/Drivers/Network/WiFi$ md5sum
eeprom_ar6320_3p0_TX8_clpc.bin
bc52aa5640b27fa50f9d4d144f81e169  eeprom_ar6320_3p0_TX8_clpc.bin

So the driver should be extracted now from
SurfaceGo_Win10_17134_1803010_WiFi_0.msi I think.

I will attach the new one here which should now be used instead to add
to board-2.bin

Also one with lte in the name is listed:

pink@debian-t470:~/Dokumente/surface_go_wifi/extracted_msi/SurfacePlatf
ormInstaller_17134_1803010/SurfaceUpdate/Drivers/Network/WiFi$ md5sum
eeprom_ar6320_3p0_TX8_lte_clpc.bin 
8f2895dd63a0c8f11e2d051f0ed4e0a8  eeprom_ar6320_3p0_TX8_lte_clpc.bin

I will also at this one, but I can not confirm, that it is for the LTE
version because I just own the wifi one so I can not check the IDs, but
maybe others can do.

[toc] | [prev] | [next] | [standalone]


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

From- <choeffer@mailbox.org>
Date2019-01-20 23:10 +0100
SubjectBug#919652: Acknowledgement (ath10k - QCA6174 - Surface Go - missing board data - fix .bin included extracted form official .msi)
Message-ID<xitrY-xU-23@gated-at.bofh.it>
In reply to#63097
In the Surface Go update history https://support.microsoft.com/en-us/he
lp/4455978/surface-go-update-history the update of the QCA6174 to
version 12.0.0.722 is listed, so we would be in line with the recent
version if adding the latest eeprom_ar6320_3p0_TX8_clpc.bin to board-2-
bin .

[toc] | [prev] | [next] | [standalone]


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

Fromwayne wayne <choeffer@mailbox.org>
Date2019-01-21 17:20 +0100
SubjectBug#919652: Acknowledgement (ath10k - QCA6174 - Surface Go - missing board data - fix .bin included extracted form official .msi)
Message-ID<xiKsN-2IE-5@gated-at.bofh.it>
In reply to#63097
Output of "sudo journalctl | grep ath10k" after getting version 20190114-1 via packetmanager into Buster.

Jan 21 16:59:19 debian-surface-go kernel: ath10k_pci 0000:01:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
Jan 21 16:59:19 debian-surface-go kernel: ath10k_pci 0000:01:00.0: firmware: failed to load ath10k/pre-cal-pci-0000:01:00.0.bin (-2)
Jan 21 16:59:19 debian-surface-go kernel: ath10k_pci 0000:01:00.0: firmware: failed to load ath10k/cal-pci-0000:01:00.0.bin (-2)
Jan 21 16:59:19 debian-surface-go kernel: ath10k_pci 0000:01:00.0: firmware: direct-loading firmware ath10k/QCA6174/hw3.0/firmware-6.bin
Jan 21 16:59:19 debian-surface-go kernel: ath10k_pci 0000:01:00.0: qca6174 hw3.2 target 0x05030000 chip_id 0x00340aff sub 168c:3370
Jan 21 16:59:19 debian-surface-go kernel: ath10k_pci 0000:01:00.0: kconfig debug 0 debugfs 0 tracing 0 dfs 0 testmode 0
Jan 21 16:59:19 debian-surface-go kernel: ath10k_pci 0000:01:00.0: firmware ver RM.4.4.1.c2-00057-QCARMSWP-1 api 6 features wowlan,ignore-otp,no-4addr-pad,raw-mode crc32 e061250a
Jan 21 16:59:19 debian-surface-go kernel: ath10k_pci 0000:01:00.0: firmware: direct-loading firmware ath10k/QCA6174/hw3.0/board-2.bin
Jan 21 16:59:19 debian-surface-go kernel: 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
Jan 21 16:59:19 debian-surface-go kernel: ath10k_pci 0000:01:00.0: firmware: direct-loading firmware ath10k/QCA6174/hw3.0/board.bin
Jan 21 16:59:19 debian-surface-go kernel: ath10k_pci 0000:01:00.0: board_file api 1 bmi_id N/A crc32 ed5f849a
Jan 21 16:59:20 debian-surface-go kernel: ath10k_pci 0000:01:00.0: Unknown eventid: 118809
Jan 21 16:59:20 debian-surface-go kernel: ath10k_pci 0000:01:00.0: htt-ver 3.56 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1
Jan 21 16:59:20 debian-surface-go NetworkManager[466]: <info>  [1548086360.8720] rfkill1: found Wi
...

Version 12.0.0.722 of eeprom_ar6320_3p0_TX8_clpc.bin fixed the issue again.

best regards

[toc] | [prev] | [next] | [standalone]


#63145

FromBen Hutchings <ben@decadent.org.uk>
Date2019-01-21 20:40 +0100
Message-ID<xiNAl-4yE-5@gated-at.bofh.it>
In reply to#63097

[Multipart message — attachments visible in raw view] — view raw

Do not send firmware files to the bug tracking system, as this may be a
copyright infringement.

All additions to the firmware packages need to come with a clear
license from the copyright holder that allows us to redistribute them.

Ben.

-- 
Ben Hutchings
Klipstein's 4th Law of Prototyping and Production:
                               A fail-safe circuit will destroy others.


[toc] | [prev] | [next] | [standalone]


#64741

FromYao Wei (魏銘廷) <mwei@debian.org>
Date2019-08-11 15:00 +0200
Message-ID<ytVC3-6W6-1@gated-at.bofh.it>
In reply to#63097

[Multipart message — attachments visible in raw view] — view raw

Package: firmware-atheros
Version: 20190717-1
Followup-For: Bug #919652

Hi,

One Reddit post suggests that Surface Go can work with board.bin
supplied by Killer Networking for Killer 1535.

https://www.reddit.com/r/SurfaceLinux/comments/9t53gq/wifi_fixed_on_surface_go_ubuntu_1810/

The related KB from Killer Networking:

https://support.killernetworking.com/knowledge-base/installing-the-killer-wireless-ac-1535-in-steamos/

If we simply replace the firmware, could other devices using QCA6174
being affected?

Also, there's no indication whether the file is redistributable or not.
I think we can contact Killer Network to resolve their issue on the KB
article.

Thanks,
Yao Wei

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web