[linux-dvb] [PATCH] firmware: convert av7110 driver to request_firmware()

Mauro Carvalho Chehab mchehab at infradead.org
Mon Apr 20 13:56:28 CEST 2009


On Sun, 19 Apr 2009 23:41:58 +0200
Román <roman.pena.perez at gmail.com> wrote:

> 2009/4/19 David Woodhouse <dwmw2 at infradead.org>:
> > On Sun, 2009-04-19 at 13:40 -0700, VDR User wrote:
> >>
> >> To be absolutely clear; users compiling dvb drivers outside of the
> >> kernel should copy v4l-dvb/linux/firmware/av7110/bootcode.bin.ihex to
> >> /lib/firmware/av7110/bootcode.bin correct?
> >
> > Run 'objcopy -Iihex -Obinary bootcode.bin.ihex bootcode.bin' first, then
> > copy the resulting bootcode.bin file to /lib/firmware/av7110/
> >
> 
> That doesn't seem very *obvious* to me, actually.

If you see INSTALL file at v4l-dvb tree, you'll see:

...
Firmware rules:

firmware        - Create the firmware files that are enclosed at the
                  tree.
                  Notice: Only a very few firmwares are currently here

firmware_install- Install firmware files under /lib/firmware
...

So, all you would need to do to install firmwares with -hg is to run:
	make firmware_install

Anyway, since firmware install is very fast, and in order to avoid such issues,
I've just committed a patch that will run firmware_install when you do a "make
install".



Cheers,
Mauro



More information about the linux-dvb mailing list