Some time back I was looking at froyo and what I could find on android.git.kernel.org suggested it might be using kernel version .35 while others were using kernel version .32 So how to know what kernel version to use for which android version?
On Fri, Sep 24, 2010 at 12:48 AM, Dianne Hackborn <[email protected]> wrote: > We develop each version of Android against a specific version of the kernel, > and make little to no attempt to see if it works on earlier versions of the > kernel. It seems like more often than not if we try to run a newer version > of the platform with the kernel from a previous version that there is one or > another kind of problem, due to subtle differences between them in /proc or > various other things besides sys calls. > If you are going to use an older version of the kernel than what a > particular version of the platform targets, you just need to expect that > there may be things here and there you need to fix. > > On Wed, Sep 22, 2010 at 6:59 PM, markgross <[email protected]> wrote: >> >> Glibc has a dependency on the 2.6 kenrel tree too, but that doesn't >> mean there is a dependency between on 2.6 kernel and another for >> propper user mode support. >> >> Yes I have seen those files. They define the sys call ABI that bionic >> uses. There is nothing magic or tightly coupled to the specific >> kernel version other than you need a newer kernel than 2.4 to satisfy >> the assupmtions therein. >> >> All thats important is the kernel expose the kernel ABI assumed by the >> user mode. So far that is only: >> 2.6 erra sys_calls for the android libc (bionic) >> binder >> wake lock >> ashmem >> early (consol) suspend >> logger >> >> (i think thats all, asside from stuff thats already in the upstream >> kernel tree like frame buffer, audio, network, input, and a few other >> things you need to be sure to have enabled in your kernel config.) >> >> >> --mark >> >> On Sep 22, 10:38 am, Vikram <[email protected]> wrote: >> > hi Mark >> > >> > Why do you say there is no relationship between userspace and the >> > kernel version? >> > >> > Did you check: >> > Kernel: >> > include/linux/.... >> > >> > and >> > >> > Android 2.2: >> > bionic/libc/kernel/common/linux/..... >> > >> > There are same header files shared between kernel and the filesystem. >> > thus introducing a dependency between filesystem and the kernel >> > version. >> > >> > Some script is run on kernel headers to generate the filesystem >> > headers and i think Android team must be doing it once every pastry >> > release. >> > >> > See example >> > header:http://android.git.kernel.org/?p=platform/bionic.git;a=blob;f=libc/ke... >> > 1 / >> > >> > **************************************************************************** >> > 2 >> > >> > **************************************************************************** >> > 3 *** >> > 4 *** This header was automatically generated from a Linux >> > kernel header >> > 5 *** of the same name, to make information necessary for >> > userspace to >> > 6 *** call into the kernel available to libc. It contains only >> > constants, >> > 7 *** structures, and macros generated from the original header, >> > and thus, >> > 8 *** contains no copyrightable information. >> > 9 *** >> > 10 >> > >> > **************************************************************************** >> > 11 >> > >> > ****************************************************************************/ >> > >> > On Aug 6, 8:03 am, markgross <[email protected]> wrote:> I am booting >> > Froyo (and Eclair) on a 2.6.31 and 2.6.34 kernels today, >> > > I would bet money you could boot them on a 2.6.29 kernel as well. >> > >> > > You just need the critical kenrel patches for it to work. i.e. >> > > binder, asmem, wakelocks, logger, and one or two more, you can easily >> > > rebase out of the refrence kernel trees google puts up. >> > >> > > --mgross >> > >> > > On Aug 4, 3:17 pm, hedwin <[email protected]> wrote: >> > >> > > > Hi, >> > >> > > > Which kernel version do I need to use for Froyo? >> > > > I tried the same version as used for Eclair (2.6.32) but that does >> > > > work for Froyo. >> > >> > > > Hedwin >> >> -- >> unsubscribe: [email protected] >> website: http://groups.google.com/group/android-kernel > > > > -- > Dianne Hackborn > Android framework engineer > [email protected] > > Note: please don't send private questions to me, as I don't have time to > provide private support, and so won't reply to such e-mails. All such > questions should be posted on public forums, where I and others can see and > answer them. > > -- > unsubscribe: [email protected] > website: http://groups.google.com/group/android-kernel -- unsubscribe: [email protected] website: http://groups.google.com/group/android-kernel
