[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1266664247.11514.0.camel@jlt3.sipsolutions.net>
Date: Sat, 20 Feb 2010 12:10:47 +0100
From: Johannes Berg <johannes@...solutions.net>
To: David Woodhouse <dwmw2@...radead.org>
Cc: "Luis R. Rodriguez" <mcgrof@...il.com>,
linux-kernel@...r.kernel.org,
linux-wireless <linux-wireless@...r.kernel.org>,
Marcel Holtmann <marcel@...tmann.org>,
Vipin Mehta <Vipin.Mehta@...eros.com>
Subject: Re: Firmware versioning best practices II
On Sat, 2010-02-20 at 11:09 +0000, David Woodhouse wrote:
> On Sat, 2010-02-20 at 12:00 +0100, Johannes Berg wrote:
> > That doesn't make much sense anyway. If the firmware filename is
> > foo-$APIVER-$CODEVER every code change would need a corresponding
> driver
> > change. If it is just foo-$APIVER then the $CODEVER can be embedded
> in
> > the firmware file and printed so you know which code you're using,
> but
> > if it doesn't influence the API I don't see why it should be part of
> the
> > filename?
>
> The idea is that just like with shared libraries, you have a symlink
> from the 'soname' foo-3.fw to the actual file foo-3-1.4.1.fw.
Ah ok. I indeed do that manually with iwlwifi firmware :)
> For shared libraries, it's easy to create those symlinks automatically
> using ldconfig. For firmware that doesn't really work though -- since
> the soname isn't encoded in the file like it is in ELF libraries.
Right. Though I guess we could come up with a unified firmware wrapper
format that the firmware loader can unwrap.
johannes
Download attachment "signature.asc" of type "application/pgp-signature" (802 bytes)
Powered by blists - more mailing lists