From: Karl Relton <karllinuxtest.relton@ntlworld.com>
To: David Woodhouse <dwmw2@infradead.org>
Cc: "Luis R. Rodriguez" <mcgrof@gmail.com>, linux-wireless@vger.kernel.org
Subject: Re: [PATCH] Add prism 2/3 usb adaptor firmware for use with staging/wlan-ng driver.
Date: Thu, 02 Jul 2009 17:59:32 +0100 [thread overview]
Message-ID: <1246553972.4328.11.camel@localhost> (raw)
In-Reply-To: <1246477614.3681.2103.camel@macbook.infradead.org>
On Wed, 2009-07-01 at 20:46 +0100, David Woodhouse wrote:
> On Wed, 2009-07-01 at 17:16 +0100, Karl Relton wrote:
> > On Tue, 2009-06-30 at 14:58 -0700, Luis R. Rodriguez wrote:
> > > On Tue, Jun 30, 2009 at 2:09 PM, Karl
> > > Relton<karllinuxtest.relton@ntlworld.com> wrote:
> > > > On Tue, 2009-06-30 at 12:17 -0700, Luis R. Rodriguez wrote:
> > > >> On Tue, Jun 30, 2009 at 12:05 PM, Karl
> > > >> Relton<karllinuxtest.relton@ntlworld.com> wrote:
> > > >> > Signed-Off-By: Karl Relton
> > > >> > Signed-Off-By: Mark S. Mathews
> > > >>
> > > >> The commit log is empty. Where is this driver? Is it in staging at
> > > >> least? If so does this get users of the driver a usable firmware? What
> > > >> is the future of the driver BTW?
> > > >>
> > > >
> > > > Oops - put text in wrong part of patch documentation. I can move this up
> > > > to the 'commit log' part.
> > > >
> > > > The driver is under 'staging' - maintained by Greg Koah-Hartman
> > > >
> > > > The firmware blob in 'srec' format for prism 2/3 usb adaptors.
> > > > The driver will read the srec file using a standard request_firmware()
> > > > call, and will convert it into the appropriate binary format and upload to
> > > > the adaptor. Note the processing is left to the driver (rather than
> > > > pre-compiling) because the driver needs to insert runtime data obtained from
> > > > the adaptor into the blob. The appropriate insertion locations are conveyed
> > > > by the srec format.
> > >
> > > Why all the srec->binary conversion? Doesn't this waste space on
> > > people's firmware directories?
> > >
> > Yes, technically it does. The srec file is ~185KB, a binary image would
> > be ~64KB.
> >
> > The reason it was left is that the driver has to do some runtime
> > plugging of data into the image, so pre-compilation would have meant
> > inventing both a compiler tool and an intermediate format for the driver
> > to read and process. Putting all the srec processing in the driver was
> > more expedient (just meant porting existing userspace code into driver
> > space).
>
> The kernel has support for a binary form of srec files (well, of ihex
> files, which are fairly much the same thing).
>
> See include/linux/ihex.h and firmware/ihex2fw.c.
>
Hi David
Thanks for this info.
Assuming the necessary work was done to suitably pre-process srec to a
binary, would the firmware image (with its currently somewhat ambiguous
license statement) be allowed into linux-firmware anyway, or would it
simply not pass the criteria you need to apply?
Karl
next prev parent reply other threads:[~2009-07-02 16:59 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-30 19:05 [PATCH] Add prism 2/3 usb adaptor firmware for use with staging/wlan-ng driver Karl Relton
2009-06-30 19:17 ` Luis R. Rodriguez
2009-06-30 21:09 ` Karl Relton
2009-06-30 21:58 ` Luis R. Rodriguez
2009-07-01 16:16 ` Karl Relton
2009-07-01 17:14 ` Luis R. Rodriguez
2009-07-01 17:22 ` Pavel Roskin
2009-07-01 17:51 ` Dave
2009-07-01 18:12 ` Luis R. Rodriguez
2009-07-01 18:35 ` Dan Williams
2009-07-01 19:36 ` Insist on cfg80211 for new drivers? John W. Linville
2009-07-01 19:49 ` Luis R. Rodriguez
2009-07-01 19:53 ` Johannes Berg
2009-07-01 20:40 ` Kalle Valo
2009-07-01 21:52 ` Marcel Holtmann
2009-07-01 21:56 ` Luis R. Rodriguez
2009-07-01 22:08 ` Marcel Holtmann
2009-07-01 22:13 ` Greg KH
2009-07-01 22:18 ` Marcel Holtmann
2009-07-01 22:42 ` Greg KH
2009-07-02 11:07 ` Bartlomiej Zolnierkiewicz
2009-07-02 12:44 ` Dan Williams
2009-07-02 9:19 ` Christoph Hellwig
2009-07-06 12:52 ` Johannes Berg
2009-07-06 14:23 ` John W. Linville
2009-07-06 14:45 ` Larry Finger
2009-07-06 14:57 ` Johannes Berg
2009-07-06 15:05 ` Nick Kossifidis
2009-07-01 19:46 ` [PATCH] Add prism 2/3 usb adaptor firmware for use with staging/wlan-ng driver David Woodhouse
2009-07-02 16:59 ` Karl Relton [this message]
2009-06-30 19:39 ` John W. Linville
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=1246553972.4328.11.camel@localhost \
--to=karllinuxtest.relton@ntlworld.com \
--cc=dwmw2@infradead.org \
--cc=linux-wireless@vger.kernel.org \
--cc=mcgrof@gmail.com \
/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;
as well as URLs for NNTP newsgroup(s).