5 messages in com.googlegroups.android-internalsRe: Porting Android to older kernel v...
FromSent OnAttachments
Alvin Cao16 Mar 2008 20:23 
kojiran17 Mar 2008 00:28 
Anil Sasidharan17 Mar 2008 01:17 
Alvin Cao17 Mar 2008 20:10 
ruckuus18 Mar 2008 19:52 
Subject:Re: Porting Android to older kernel version?
From:ruckuus (ruck@gmail.com)
Date:03/18/2008 07:52:46 PM
List:com.googlegroups.android-internals

Hi,

i have the same problem. i am using 2.6.19.2 kernel version. i have been doing some patches to upgrade its version then i plan to patch it against android.diff As there are much board related problems to do upgrades, there will take long times to finish it. thank you for inspiring. -ruckuus-

On Mar 18, 10:11 am, Alvin Cao <alvi@gmail.com> wrote:

Thank you, Anil.

Yes, my SDK is m5-rc14. I'm reviewing relevant files(futex.c, process.c, fork.c etc). But I can't guarantee I understand all of them. Is there a working patch against older kernels available? At least it can be used as a reference.

Best Regards, Alvin Cao

On Mar 17, 4:18 pm, "Anil Sasidharan" <anil@gmail.com> wrote:

Hi,

If your trying to port the latest SDK m5-rc14, then drivers/binder is obsolete, the binder module has been moved to drivers/android/binder.c. Also the low-memory-killer is optional.

Essentially you need to port the following modules.

1. Power 2. Alarm 3. Binder 4. Log

Also there are couple of kernel files modified to support Android (like futex.c, process.c, fork.c etc)

Warm Regards, Anil

2008/3/17 kojiran <koji@gmail.com>:

Hi.

You should port low memory killer and Open Binder.

Please refer to the following links. http://d.hatena.ne.jp/bs-android/20080310 This blog shows porting Android to 2.6.18 on Armadillo-500. Patch file
ishttp://brilliant.android.googlepages.com/android4-linux-2.6.18at3.tar... I think that the source of drivers/binder/binder.c drivers/misc/lowmemorykiller/lowmemorykiller.c in this patch serves as a reference.

Best Regards.

On 3月17日, 午後12:23, Alvin Cao <alvi@gmail.com> wrote:

Hi folks,

Some Android specific modules(located in drivers/android) seem to depend on kernel 2.6.23 API's and structs. They won't compile on older kernels. But we have problems running 2.6.23 so I'm trying to port Android to 2.6.21, with which we have no problem. I've heard about a successful bootup of Android on 2.6.14 and 2.6.21. Is there any feasible way to figure out what should be patched to make Android modules compile and function correctly on older kernel? If you are making effort to do the same thing, would you please share your experience? Thank you in advance.

Best Regards,