Skip to contentSkip to conversation

Firmware for qcn9274?

DISCUSSION Ben Greear 2 participants 5 messages Nov 29, 2023 – Nov 30, 2023 Qualcomm ATH12K wireless driver

lore
Share & tools
lore

Ben Greear

author
#0 lore raw

Hello,

Where are the ath12k firmware binaries located? I don't see any ath12k tree in linux-firmware, for instance.

]# dmesg|grep ath12

[   55.381104] ath12k_pci 0000:0e:00.0: BAR 0: assigned [mem 0xdf000000-0xdf1fffff 64bit]
[   55.415662] ath12k_pci 0000:0e:00.0: Hardware name: qcn9274 hw2.0
[   55.592167] mhi mhi0: Direct firmware load for ath12k/QCN9274/hw2.0/amss.bin failed with error -2

Thanks,
Ben

Signature · 2 lines
Ben Greear <[email protected]>
Candela Technologies Inc  http://www.candelatech.com
#1 lore raw
Quoted 5 lines · Ben Greear

Hello,

Where are the ath12k firmware binaries located? I don't see any ath12k tree in linux-firmware, for instance.

Quoted 8 lines

]# dmesg|grep ath12

[   55.381104] ath12k_pci 0000:0e:00.0: BAR 0: assigned [mem 0xdf000000-0xdf1fffff 64bit]
[   55.415662] ath12k_pci 0000:0e:00.0: Hardware name: qcn9274 hw2.0
[   55.592167] mhi mhi0: Direct firmware load for ath12k/QCN9274/hw2.0/amss.bin failed with error -2

Thanks,
Ben

See if this helps
https://wireless.wiki.kernel.org/en/users/drivers/ath12k/installation

author
#2 lore raw
Quoted 11 lines · Jeff Johnson
Quoted 10 lines · Ben Greear

Hello,

Where are the ath12k firmware binaries located? I don't see any ath12k tree in linux-firmware, for instance.

]# dmesg|grep ath12

[   55.381104] ath12k_pci 0000:0e:00.0: BAR 0: assigned [mem 0xdf000000-0xdf1fffff 64bit]
[   55.415662] ath12k_pci 0000:0e:00.0: Hardware name: qcn9274 hw2.0
[   55.592167] mhi mhi0: Direct firmware load for ath12k/QCN9274/hw2.0/amss.bin failed with error -2
Quoted 6 lines
Quoted 3 lines

Thanks,
Ben

See if this helps
https://wireless.wiki.kernel.org/en/users/drivers/ath12k/installation

It got me closer, but the ath11k-firmware directory tree has different path than what the driver expects.

[greearb@v-f34-64 firmware]$ find . -name amss.bin -print ./ath12k/QCN9274/hw2.0/WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1/amss.bin ./ath12k/QCN9274/hw2.0/WLAN.WBE.1.0-02903-QCAHKSWPL_SILICONZ-1/amss.bin ./ath12k/WCN7850/hw2.0/WLAN.HMT.1.0-03427-QCAHMTSWPL_V1.0_V2.0_SILICONZ-1.15378.4/amss.bin ./ath11k/QCA6390/hw2.0/amss.bin
./ath11k/WCN6855/hw2.0/amss.bin
./ath11k/QCN9074/hw1.0/amss.bin

Which one of those QCAHKSWPL directories I use?

I'm using 6.7-rc2+ kernel.

Thanks,
Ben

Signature · 2 lines
Ben Greear <[email protected]>
Candela Technologies Inc  http://www.candelatech.com
#3 lore raw
Quoted 30 lines · Ben Greear
Quoted 11 lines · Jeff Johnson
Quoted 10 lines · Ben Greear

Hello,

Where are the ath12k firmware binaries located? I don't see any ath12k tree in linux-firmware, for instance.

]# dmesg|grep ath12

[   55.381104] ath12k_pci 0000:0e:00.0: BAR 0: assigned [mem 0xdf000000-0xdf1fffff 64bit]
[   55.415662] ath12k_pci 0000:0e:00.0: Hardware name: qcn9274 hw2.0
[   55.592167] mhi mhi0: Direct firmware load for ath12k/QCN9274/hw2.0/amss.bin failed with error -2
Quoted 6 lines
Quoted 3 lines

Thanks,
Ben

See if this helps
https://wireless.wiki.kernel.org/en/users/drivers/ath12k/installation

It got me closer, but the ath11k-firmware directory tree has different path than what the driver expects.

[greearb@v-f34-64 firmware]$ find . -name amss.bin -print ./ath12k/QCN9274/hw2.0/WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1/amss.bin ./ath12k/QCN9274/hw2.0/WLAN.WBE.1.0-02903-QCAHKSWPL_SILICONZ-1/amss.bin ./ath12k/WCN7850/hw2.0/WLAN.HMT.1.0-03427-QCAHMTSWPL_V1.0_V2.0_SILICONZ-1.15378.4/amss.bin ./ath11k/QCA6390/hw2.0/amss.bin
./ath11k/WCN6855/hw2.0/amss.bin
./ath11k/QCN9074/hw1.0/amss.bin

Quoted 1 line

Which one of those QCAHKSWPL directories I use?

use WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1

author
#4 lore raw
Quoted 31 lines · Jeff Johnson
Quoted 30 lines · Ben Greear
Quoted 11 lines · Jeff Johnson
Quoted 10 lines · Ben Greear

Hello,

Where are the ath12k firmware binaries located? I don't see any ath12k tree in linux-firmware, for instance.

]# dmesg|grep ath12

[   55.381104] ath12k_pci 0000:0e:00.0: BAR 0: assigned [mem 0xdf000000-0xdf1fffff 64bit]
[   55.415662] ath12k_pci 0000:0e:00.0: Hardware name: qcn9274 hw2.0
[   55.592167] mhi mhi0: Direct firmware load for ath12k/QCN9274/hw2.0/amss.bin failed with error -2
Quoted 6 lines
Quoted 3 lines

Thanks,
Ben

See if this helps
https://wireless.wiki.kernel.org/en/users/drivers/ath12k/installation

It got me closer, but the ath11k-firmware directory tree has different path than what the driver expects.

[greearb@v-f34-64 firmware]$ find . -name amss.bin -print ./ath12k/QCN9274/hw2.0/WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1/amss.bin ./ath12k/QCN9274/hw2.0/WLAN.WBE.1.0-02903-QCAHKSWPL_SILICONZ-1/amss.bin ./ath12k/WCN7850/hw2.0/WLAN.HMT.1.0-03427-QCAHMTSWPL_V1.0_V2.0_SILICONZ-1.15378.4/amss.bin ./ath11k/QCA6390/hw2.0/amss.bin
./ath11k/WCN6855/hw2.0/amss.bin
./ath11k/QCN9074/hw1.0/amss.bin

Quoted 3 lines
Quoted 1 line

Which one of those QCAHKSWPL directories I use?

use WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1

Ok, that gets me a bit further. This is a Compex radio, do I need to get a board file from them?

# dmesg|grep ath12

[   11.190894] ath12k_pci 0000:0e:00.0: BAR 0: assigned [mem 0xdf000000-0xdf1fffff 64bit]
[   11.191078] ath12k_pci 0000:0e:00.0: Hardware name: qcn9274 hw2.0
[   11.974230] ath12k_pci 0000:0e:00.0: memory type 10 not supported
[   11.978913] ath12k_pci 0000:0e:00.0: chip_id 0x0 chip_family 0xb board_id 0xff soc_id 0x401a2200
[   11.978916] ath12k_pci 0000:0e:00.0: fw_version 0x1011001d fw_build_timestamp 2022-12-02 01:16 fw_build_id QC_IMAGE_VERSION_STRING=WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1
[   11.986273] ath12k_pci 0000:0e:00.0: failed to fetch board data for bus=pci,qmi-chip-id=0,qmi-board-id=255 from ath12k/QCN9274/hw2.0/board-2.bin
[   11.998017] ath12k_pci 0000:0e:00.0: failed to fetch board-2.bin or board.bin from QCN9274/hw2.0
[   12.005582] ath12k_pci 0000:0e:00.0: qmi failed to load bdf:
[   12.005584] ath12k_pci 0000:0e:00.0: qmi failed to load board data file:-2
# md5sum /lib/firmware/ath12k/QCN9274/hw2.0/board-2.bin
a989bef1f212b8b4246d4e325000778e  /lib/firmware/ath12k/QCN9274/hw2.0/board-2.bin

And should I be concerned that the firmware build date is a full year old?

Thanks,
Ben

Signature · 2 lines
Ben Greear <[email protected]>
Candela Technologies Inc  http://www.candelatech.com