This link has a good summary of Android-specific features in the kernel: http://elinux.org/Android_Kernel_Features It is not authoritative, nor specific about versions, but could still be helpful to understanding dependencies.
I'm not familiar with building the kernel from source, so can't address the other questions. On Dec 29 2010, 7:03 am, Olivier Guilyardi <[email protected]> wrote: > Hello Glenn, > > thank you for your answer. > > Actually, for now my question is mostly about the kernel modules, and > especially > binder which is apparently used for IPC between libmedia and audioflinger. > > I did found kernel/common.git/drivers/staging/android and tried to compile > binder as a kernel module, but it uses some unexported symbols, so I guess > that > I need to recompile the whole kernel. > > Is there a standalone kernel patch? > > Any advice to include support for binder in a mainstream kernel? > > Thanks > > Olivier > > On 12/28/2010 11:44 PM, Glenn Kasten wrote: > > > Some important audio directories include: > > frameworks/base/services/audioflinger/ > > frameworks/base/include/media/ > > frameworks/base/media/libmedia/ > > frameworks/base/media/mediaserver/ > > This is not a complete list, but it should provide some material to > > get started. To find the dependencies, take a look at the Android.mk > > files to see what other components are referenced as includes or > > libraries. > > Note that most Android OS components, including AudioFlinger (the > > system mixer), were not designed to run independently of the rest of > > the system. So it may be difficult to extract out just the parts > > you're interested in. > > > On Dec 27, 10:17 am, Olivier Guilyardi <[email protected]> wrote: > >> Hi, > > >> I am currently studying the Android audio stack, and in order to > >> experiment with > >> it, I would like to build and run on it on a plain Linux x86 system. > > >> I mainly want to try and build libmedia, audioflinger, and the alsa > >> backend. I > >> do not necessarily want Bionic. I may first experiment with the GNU libc. > > >> The most tricky part seems binder and the related kernel module. > > >> Is binder available as a standalone patch? > > >> Is there any other module which is needed by the audio stack? > > >> Any other tip? > > >> TIA > > >> -- > >> Olivier -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
