Difference between revisions of "Using a git driver development tree"

(Created page with '=== Compiling a Git repository === The git driver repositories contain the full Linux kernel tree. So, before working with a driver, a full kernel compilation should be done. Th...')

This is probably the trickiest part. You can, of course, just reboot the machine, but this may take some time, so Mauro Chehab wrote a script that unloads all kernel modules from the memory. There's a [http://linuxtv.org/downloads/git_tools/rmmod.pl rmmod.pl] version that works with git and with all kernels that put the media drivers at the right location.

NOTE: if your kernel version changed, you'll need to re-build the kernel again, with
$ make olconfig
$ make

Removing the already loaded modules

This is probably the trickiest part. You can, of course, just reboot the machine, but this may take some time, so Mauro Chehab wrote a script that unloads all kernel modules from the memory. There's a rmmod.pl version that works with git and with all kernels that put the media drivers at the right location.