[maemo-developers] N900 kernel module recompile

From: Nils Faerber nils.faerber at kernelconcepts.de
Date: Thu Feb 18 20:40:35 EET 2010
Thomas Tanner schrieb:
> On 18.02.10 18:18, Nils Faerber wrote:
>> I would like to hack on some drivers on the N900, so I need to be able
>> to recompile kernel modules. Ideally I would like only to replace
>> modules, not the whole kernel+modules package.
>>
>> So what I did was I installed the Maemo5 SDK first in order to get the
>> proper toolchain.
>> Then I took a vanilla 2.6.28 Linux kernel archive and applied the kernel
>> patch from
> 
> "apt-get source kernel" would be easier

That is inside scratchbox having selected the armel target?
I can try that, sure!

> Do you plan to provide the extra modules as a package
> in extras-devel or just as individual files?

I would like to later redistribute the changed driver (it is a change in
an existing driver I am planning). A package would be great so that
users can seamlessly upgrade.

> You could disable building and packaging of the kernel
> in the debian/rules and control file and only generate a modules
> package. Please make sure to also rename the source package and the
> generate packages to avoid conflict with the stock kernel.
> 
> For indidivual files just extracting the output of the first solution
> could be the simplest approach.

OK, I will try - never compiled a kernel using the debian build system :)

Many thanks!

Cheers
  nils

-- 
kernel concepts GbR        Tel: +49-271-771091-12
Sieghuetter Hauptweg 48    Fax: +49-271-771091-19
D-57072 Siegen             Mob: +49-176-21024535
http://www.kernelconcepts.de
More information about the maemo-developers mailing list