ATH10K Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Gabriele Martino <g.martino@gmx.com>
To: ath10k@lists.infradead.org
Subject: Re: QCA6174 hw2.1?
Date: Sat, 25 Apr 2015 01:15:48 +0000 (UTC)	[thread overview]
Message-ID: <loom.20150425T025815-684@post.gmane.org> (raw)
In-Reply-To: CA+BoTQnKJE0w0SZrh-p2KaKe62t4=cRLnjeKu+t9aeE+LFce-w@mail.gmail.com

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	other threads:[~2015-04-25  1:20 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-13  3:39 QCA6174 hw2.1? jhihn
2015-03-13  6:26 ` Michal Kazior
2015-03-13 15:28   ` Jason H
2015-03-16  9:05     ` Michal Kazior
2015-04-25  1:15       ` Gabriele Martino [this message]
2015-04-25  3:47         ` Corin Lawson
     [not found]           ` <553B8F89.4040908@gmx.com>
2015-04-26  3:51             ` Corin Lawson
2015-04-26 14:10               ` Gabriele Martino
2015-04-27  0:21                 ` Gabriele Martino
2015-04-27 14:00                   ` Moritz Morawietz
2015-04-27 15:04                     ` Gabriele Martino
     [not found]                       ` <CAJAVYN2WGEwrajUKFOpYPC7YWnovSs3pmQfjmP74hfwW-epJ2Q@mail.gmail.com>
2015-04-28 11:55                         ` Moritz Morawietz
2015-04-30  0:07                           ` Gabriele Martino
2015-04-30 13:03                             ` Moritz Morawietz
2015-05-20 15:17                               ` Jason H
2015-05-21  5:29                                 ` Anton Romanov
2015-05-21 10:28                                   ` Gabriele Martino

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=loom.20150425T025815-684@post.gmane.org \
    --to=g.martino@gmx.com \
    --cc=ath10k@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox