[linux-dvb] [PATCH] firmware: convert av7110 driver to request_firmware()
user.vdr at gmail.com
Sun Apr 19 22:40:43 CEST 2009
On Sun, Apr 19, 2009 at 12:47 PM, David Woodhouse <dwmw2 at infradead.org> wrote:
> When the kernel complains that it cannot find a certain item of firmware
> that is required for a driver to work, you need to place that firmware
> into the /lib/firmware directory, so that it can be found on demand.
So the files expected location is /lib/firmware/av7110/bootcode.bin
then. Fair enough, however you might want to consider that many users
aren't familiar with what the kernel expects and have installed their
Linux dvb system according to howto's. Unfortunately, I guess, those
likely aren't updated in sync with the most recent changes. This is
usually not a problem, although clearly is in this case.
> A recent development is that we're starting to collect those firmware
> images into a central repository, so that you don't have to go hunting
> all over the place for them. That repository is at
I guess that's a good thing. I've never had to use git so I'm not
familiar with it but hopefully users won't have to download the entire
repository and then delete everything they don't need. I only need
firmware for use with my nexus-s dvb card, it would be nice to be able
to download only that -- only what I actually need.
> We've also started to fix up some of the older drivers which used to
> have firmware built directly into the kernel instead of using the
> request_firmware() API to fetch it only when it's needed. Firmware for
> _those_ drivers, which includes av7110, is actually included directly in
> the kernel source tree for now, but cleanly separated from the drivers.
> It can be included in the kernel if you build the driver in and set the
> CONFIG_FIRMWARE_IN_KERNEL option, or otherwise it'll be automatically
> installed for you when you run 'make modules_install', if you build the
> driver as a module.
I, like many others, don't build the dvb drivers in/from the kernel at
all. I download the v4l tree from http://linuxtv.org/hg/v4l-dvb and
select my drivers using menuconfig. Which by the way, didn't present
me with an option to compile this av7110 bootcode into the driver.
More information about the linux-dvb