[linux-dvb] How to compile the firmware into the driver?
Klaus.Schmidinger at cadsoft.de
Sun Dec 4 17:08:14 CET 2005
Oliver Endriss wrote:
> Klaus Schmidinger wrote:
>>Klaus Schmidinger wrote:
>>>I have downloaded the latest driver snapshot from
>>>and the latest firmware from
>>>and expanded the driver source into
>>>What is the simplest method to build this driver and have
>>>it compile the firmware into it?
>>>I tried writing
>>>into /usr/src/linux/.config and create a symlink in
>>>-rw-r--r-- 1 kls users 239956 Dec 4 13:13 dvb-ttpci-01.fw-2622
>>>lrwxrwxrwx 1 kls users 20 Dec 4 13:13 dvb-ttpci-01.fw ->
>>>but apparently that doesn't impress the make process.
>>>Is there a simple trick to do this?
>>Ok, so I think I've managed to do this, by editing some source files.
>>I'm still hoping there is a clean way to do this, though.
> With current v4l/Makefile it does not work.
It would really be great if this would work again.
I always compile the firmware into the driver, so that I can be
absolutely sure that a given driver directory contains a matching
>>So now I have all the *.ko files in /home/kls/vdr/DVB-v4l-dvb.2005-12-02/v4l,
>>but I can't seen to find out how to properly load them. There used to
>>be an 'insmod.sh' script before the v4l/dvb merge, but that's no
>>Does anybody know how to properly load the *.ko files?
>>Note that I do _not_ want to do "make install", because I
>>want to be able to have several driver versions in their
>>own directories, and want to switch between these by simply
>>placing a symlink. Therefore I need a way to load and unload
>>the modules from a given driver directory, without copying anything
> The old insmod.sh script from the dvb-kernel/build-2.6 still works.
> (I just commented out all modules which are not needed.)
Yes, apparently that script sill works.
More information about the linux-dvb