Request for help with adding a driver to build os852
mavrothal at yahoo.com
Wed Sep 29 18:08:09 EDT 2010
if you driver does not compile agains the od852 kernel, you must change the kernel!
Get the os852 kernel srpm, patch it, compile the kernel rpms (should be the same kernel as the os852 but with corrected kerneel-devel) install it, build your driver against this kernel and then see if this driver will work with the original os852 kernel. You may need to force it but it should, I think.
I did not come across the include/trace problem so I do not know if the patch fixes it.
--- On Wed, 9/29/10, Mikus Grinbergs <mikus at bga.com> wrote:
> From: Mikus Grinbergs <mikus at bga.com>
> Subject: Re: Request for help with adding a driver to build os852
> To: "Yioryos Asprobounitis" <mavrothal at yahoo.com>
> Cc: "Chris Ball" <cjb at laptop.org>, "OLPC Devel" <devel at lists.laptop.org>, "fedora-olpc-list" <fedora-olpc-list at redhat.com>
> Date: Wednesday, September 29, 2010, 2:50 PM
> > Mikus
> > did you apply the patch in http://dev.laptop.org/ticket/10297 in the
> > kernel_xo1.spec? It solves the asm issue. Patch,
> recompile the kernel
> > install it (including headers and devel) and recompile
> your driver.
> Mavrothal - my point was that I did not want to have to
> learn all about
> git, or all about the mechanics of building the olpc kernel
> - I figured
> it would take me weeks to get up to speed with all that.
> If I can possibly avoid it, I'd prefer to not touch the
> myself. Does the #10297 patch fix the missing
> 'include/trace' as well ?
> p.s. Note that my problem concerns adding two drivers
> to os852. If I
> install my own kernel, how do I "backport" the drivers from
> my kernel to
> os852 ?
More information about the Devel