kernel module dev

Javi Roman javiroman at kernel-labs.org
Fri Aug 22 12:48:21 CEST 2008


On Thu, Aug 21, 2008 at 4:13 PM, Tomasz Czapiewski <xeros at irc.pl> wrote:
> On Thu, 21 Aug 2008, freerunner at newkirk.us wrote:
>
>> I've got a question on kernel development.  I want to try to get some USB
>> webcam support working, which requires gspca plus usb-video and a few other
>> modules, not presently being build.  can someone lead me by the hand to the
>> simplest path to being able to build modules for the 2008.08 kernel?  Until
>> recently gspca has been built outside the kernel source tree, but
>> apparently is merged into the standard kernel source as of 2.6.26 or
>> 2.6.27.  This driver covers perhaps 35% of USB webcams, including much of
>> the Logitech line.
>>

You have to compile your modules against kernel source tree used to
compile the current kernel image running in you FR. In order to do
this you have to build the kernel image using the MokoMakefile (the
OpenMoko framework I mean) and change the kernel image and modules of
your FR.

On the other hand you can download the toolchain
(http://wiki.openmoko.org/wiki/Toolchain) and compile your kernel (see
Advanced Topics) and modules, so you can to change the kernel and
modules of your FR.

The most important thing is to compile usb-video modules against the
kernel tree used for compile your current FR kernel image.

-- 
Javi Roman




More information about the community mailing list