Michal Kazior <michal.kazior <at> tieto.com> writes:

> 
> https://gist.github.com/kazikcz/c970cbf3a863ebbc4495
> https://gist.github.com/kazikcz/64313b9e2470660faae1
> 
> Here are two simple and crude tools I have to deal with ath10k FW API
> blobs. Use with care.
> 
> You can use the disassemble.py to extract the otp.bin from hw3 ath10k
> FW API blob:
> 
>   python disassemble.py < /lib/firmware/ath10k/QCA6174/hw3.0/firmware-4.bin
> 
> Then you can use the assemble.py to generate hw2.1 ath10k FW ABI blob:
> 
>   mkdir -p /lib/firmware/ath10k/QCA6174/hw2.1/
>   python assemble.py killer1252-testfw 0 path/to/qca61x420.bin
> path/to/otp.bin 4 > /lib/firmware/ath10k/QCA6174/hw2.1/firmware-4.bin
>   cp path/to/eeprom_ar6320_2p1_NFA354xp.bin
> /lib/firmware/ath10k/QCA6174/hw2.1/board.bin
> 
> (mind the email line wrapping)
> 

I'm trying to generate the blob, but I found two big issues.
The first: I have too many board files, which one should I use?
eeprom_ar6320_2p1_NFA324i_5.bin
eeprom_ar6320_2p1_NFA344i.bin
eeprom_ar6320_2p1_NFA344i_highTX.bin
eeprom_ar6320_2p1_NFA345i.bin
eeprom_ar6320_2p1_NFA345i_highTX.bin
eeprom_ar6320_2p1_NFA354xp.bin
eeprom_ar6320_2p1_NFA355i.bin
eeprom_qca9377_1p0_NFA435_olpc.bin

The controller is a
"Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter (rev 20)"
declared as Killer N1525 on Alienware 15.

Whatever, I can try them one by one later.
I picked up the first and built the firmware blob.
But here's the second issue: it wants the calibration data.

[    2.067447] ath10k_pci 0000:03:00.0: enabling device (0000 -> 0002)
[    2.068679] ath10k_pci 0000:03:00.0: pci irq msi-x interrupts 8 irq_mode
0 reset_mode 0
[    2.215280] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/cal-pci-
0000:03:00.0.bin failed with error -2
[    2.924276] ath3k: probe of 1-9:1.0 failed with error -22
[    2.924299] usbcore: registered new interface driver ath3k
[    3.289023] ath10k_pci 0000:03:00.0: unable to write to the device
[    3.289026] ath10k_pci 0000:03:00.0: failed to download normal firmware: -110
[    3.289052] ath10k_pci 0000:03:00.0: could not init core (-110)
[    3.289099] ath10k_pci 0000:03:00.0: could not probe fw (-110)

How can I generate the cal-pci-0000:03:00.0.bin file?
I'm using the 4.0.0-gentoo kernel on x86_64.

Regards,
Gabriele


_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

Reply via email to