All of lore.kernel.org
 help / color / mirror / Atom feed
From: Austin Hendrix <legotown@aol.com>
To: ath10k@lists.infradead.org
Subject: Re: First QCA6174 firmware release
Date: Thu, 12 Feb 2015 23:25:11 -0800	[thread overview]
Message-ID: <54DDA6D7.5080007@aol.com> (raw)
In-Reply-To: <CA+BoTQkPYE_BbDf_p1oruKHsXRH+UPE7O_ARW=mVhyYtx_tzLw@mail.gmail.com>

On 02/11/2015 10:31 PM, Michal Kazior wrote:
> On 12 February 2015 at 07:04, Austin Hendrix <namniart@gmail.com> wrote:
>> I consider myself a fairly skilled programmer; if the format is documented
>> somewhere, I have no doubt that I can write a tool to put the firmware into
>> the proper format. Does anyone know where the firmware format is documented,
>> or do I have to go read the source for the driver to figure out the firmware
>> format?
> Take a look at ath10k_core_fetch_firmware_api_n(). You can derive an
> encoder logic from this easily.
>
>
>> The bigger question is, how can I confirm that I'm wrapping the correct
>> firmware?
> If ath10k parses it later and boots then it's correct? :-)
>
>
>> I found a qca61x420.bin file (probably firmware; definitely compiled code)
>> in /Windows/System32/drivers/qca61x420.bin , but the ath10k driver doesn't
>> recognize it as firmware.
> The blob you found is the raw binary that is pushed to the device.
> ath10k expects to find it in a wrapped "FW API" which also contains an
> OTP program. You also need to make sure to setup correct
> fw_features/op_version (you can disassemble the hw3.0 wrapper blob).
>
>
> Michał
>
> _______________________________________________
> ath10k mailing list
> ath10k@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/ath10k

Thanks! I can work with that.

The FW API data structure is pretty simple - I can reproduce it.

Looking at the firmware blob that I have, and comparing it to the 
existing firmware-4 image suggests that it contains several different 
firmware images. I'm going to spend some time trying to chop it up and 
figure out how it's laid out, and then try to re-pack it appropriately 
for linux.

-Austin


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

  reply	other threads:[~2015-02-13  7:22 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-08 13:12 First QCA6174 firmware release Austin Hendrix
2015-02-08 13:17 ` Sebastian Gottschall
2015-02-12  6:04   ` Austin Hendrix
2015-02-12  6:31     ` Michal Kazior
2015-02-13  7:25       ` Austin Hendrix [this message]
2015-02-09 10:14 ` Austin Hendrix
  -- strict thread matches above, loose matches on Subject: below --
2015-02-11 13:44 Olaf Dreyer
2015-04-25 18:22 ` Oscar Rydberg
2015-04-27  5:34   ` Michal Kazior
2015-01-27 13:45 Kalle Valo
2015-02-03 17:04 ` Joris Guisson
     [not found] ` <CAAmLN2Y8L_BZbZBCvUEw_i9OJoWvzaUT6H5UsyBymaozLubcOA@mail.gmail.com>
2015-02-04 12:08   ` Kalle Valo
2015-02-04 18:13     ` Joris Guisson

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=54DDA6D7.5080007@aol.com \
    --to=legotown@aol.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.