Android Kernel Vs Linux Kernel.

113 views
Skip to first unread message

padmapriyak

unread,
Jul 5, 2010, 2:49:39 AM7/5/10
to
Hi,
        I want  to port Android Fryo(linux version 2.6.32) on  platform  which is  also using modified version of linux kernel(2.6.32).
        I compared 2.6.32.9 kernel and android kernel(modified kernel 2.6.32). and found changes.Some of the changes includes
             1.Support of Numeric and alpha numeric password.
             2.YAFFS support.
             3.Power Management
             4.Memory Management to enhance shared memory
             5.Touchscreen.
My query is,

Is there anything that is specific to android in kernel level. (i.e)any android specific code.If so,tell me what are all the changes mandate to bring android kernel?If not,then how android kernel differs from Linux Kernel?

Note:

  Many post says "Compare linux kernel and bring android specific change.What does that "android specific change" mean?".


Regards,
Padma.





sanjeev sharma

unread,
Jul 7, 2010, 8:57:53 AM7/7/10
to padma...@tataelxsi.co.in, android...@googlegroups.com
Hi,

Let me tell you that to run Android on Linux kernel you need Android specific driver to Linux kernel like.

Belows is feature of an Android based kernel.

01). GoldFish : Qemutrace , FB Driver/RTC/Power/Nand/MMC/Events/tty/
audio for godlfish
02). pmem : Android pmem allocator
03). yaffs : mtdif2
04). kernel debugger
05). android USB : USB Gadget driver for android.
06). HAL : TI Wifi Control Functions , Bluetooth (RFCOMM-L2CAP Socket)
07). Android Shared Memory (ASHMEM)
08). Paranoid  Network
09). Binder: mmap fix , more offset validation
10). Power : User Wake Lock , Wake Lock , Early Suspend , FB
Eearlysuspend
11). Logger Subsystem
12). Low Memory Killer: /sys/module/lowmemorykiller/parameters/adj and
minfree
11). Etc : Timed GPIO / Timed Output

Above is an difference between Normal Linux kernel and Android Kernel.Above Driver need to integrate to run Android on Linux kernel.


Sanjeev sharma

David Turner

unread,
Jul 7, 2010, 5:30:10 PM7/7/10
to sanjeevs...@gmail.com, padma...@tataelxsi.co.in, android...@googlegroups.com
On Wed, Jul 7, 2010 at 5:57 AM, sanjeev sharma <sanjeevs...@gmail.com> wrote:
Hi,

Let me tell you that to run Android on Linux kernel you need Android specific driver to Linux kernel like.

Belows is feature of an Android based kernel.

01). GoldFish : Qemutrace , FB Driver/RTC/Power/Nand/MMC/Events/tty/
audio for godlfish

For the record, "Goldfish" is the name of the virtual ARM board that is emulated by the Android emulator.
You don't need any goldfish-specific stuff to run on a real device.

Hope this helsp.

sanjeev sharma

unread,
Jul 8, 2010, 1:41:57 AM7/8/10
to David Turner, padma...@tataelxsi.co.in, android...@googlegroups.com
On Thu, Jul 8, 2010 at 6:30 AM, David Turner <di...@android.com> wrote:


On Wed, Jul 7, 2010 at 5:57 AM, sanjeev sharma <sanjeevs...@gmail.com> wrote:
Hi,

Let me tell you that to run Android on Linux kernel you need Android specific driver to Linux kernel like.

Belows is feature of an Android based kernel.

01). GoldFish : Qemutrace , FB Driver/RTC/Power/Nand/MMC/Events/tty/
audio for godlfish

For the record, "Goldfish" is the name of the virtual ARM board that is emulated by the Android emulator.
You don't need any goldfish-specific stuff to run on a real device.

   You r right..this is used in  emulator only.

Thanks
 

Retti

unread,
Jul 12, 2010, 3:48:43 AM7/12/10
to android-porting
Hi,

where can I get this Android specific drivers and how to integrate in
kernel?
I've get the kernel 2.6.33 from android.git.kernel.org/kernel/
kernel-2.6.git but in kernel configuration I can't find any Android
entry.
What's the mistake?

Thanks
Reply all
Reply to author
Forward
0 new messages