OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Android => Topic started by: ZDevil on March 06, 2008, 04:13:06 am

Title: What Are The Needed Modules For Android?
Post by: ZDevil on March 06, 2008, 04:13:06 am
I was going through the exciting material about Android, and somewhere I read that the binderdev cannot be built under kernel 2.6.24.
My 3200 is now running kernel-2.6.24-yonggun.
What can we do to make this working? Where can I get the source and how to proceed (just like compiling a kernel module or what)?
I haven't found relevant information yet. Pointers are greatly appreciated.
Thanks!
Title: What Are The Needed Modules For Android?
Post by: jpmatrix on March 06, 2008, 05:15:51 am
Quote from: ZDevil
I was going through the exciting material about Android, and somewhere I read that the binderdev cannot be built under kernel 2.6.24.
My 3200 is now running kernel-2.6.24-yonggun.
What can we do to make this working? Where can I get the source and how to proceed (just like compiling a kernel module or what)?
I haven't found relevant information yet. Pointers are greatly appreciated.
Thanks!

apparently kernel needs google patch :
https://www.oesf.org/forum/index.php?showto...st&p=174640 (https://www.oesf.org/forum/index.php?showtopic=25517&view=findpost&p=174640)

but are there any for the 2.6.24 kernel ?
Title: What Are The Needed Modules For Android?
Post by: cortez on March 06, 2008, 09:54:06 am
First, I don't know if the the kernel-2.6.24-yonggun specific patches are available. Second, if so, I don't know if the Google patches can be applied to the 2.6.24 kernel, since Android uses 2.6.23 currently in the emulator. I guess this could lead to problems, but maybe this could be worth trying. androidzaurus has reported that compiling the binderdev code as a kernel module (at least in 2.6.23) didn't work, so I didn't bother to try  

After I cleaned up the patches a bit I will upload them so everyone interested can use them. The patches are the result of a diff between a vanilla 2.6.23 and the Android 2.6.23 code. No code left out, so 100% is used. In addition to that, the panning functionality was added to the framebuffer code. I've added the patches to the Linux package in OpenEmbedded (locally), so it's actually quite easy to build a kernel (no fiddling with options and copying of files, just bitbake poky-image-minimal)

Oh, and by the way, if you want to go through all the trouble creating the patches yourself you need the Android kernel sources (http://android.googlecode.com/files/linux-2.6.23-android-m5-rc14.tar.gz)