Re: [android-kernel] Re: Android Kernel Internals & HAL

2011-06-23 Thread raja pavan
(1) Android kernel has an additional set of drivers that support android runtime. (ashmem , binder, logger are necessary) These drivers are modular, so they need minimal changes to vanila android kernel. But starting point can be the linux kernel that runs on your board. Then incorporate these d

Re: [android-kernel] Why we need library files like gpio_lib.c,hdmi_lib.c etc

2011-06-23 Thread raja pavan
(1) start on ubuntu sudo apt-get install kernel-source go to /usr/src.linux-source (this is the kernel source for ubuntu machine) (2) you can even work on virtual box for learning kernel programming. Once you cross this step, ping me I will be able to tell you the next step (3) We can even run

[android-kernel] I/O tracing (ideally on Xoom)

2011-06-23 Thread why2jjj
Hello: I was wondering if someone knows how to get I/O tracing working in Android (gb, honeycomb)? Ideally on a Xoom? I have a college struggling to turn it on. It is for to measure/view things like read/ write behavior on the storage device. Thanks! -- unsubscribe: android-kernel+unsubscr..

Re: [android-kernel] Why we need library files like gpio_lib.c,hdmi_lib.c etc

2011-06-23 Thread sribash biswas
i want to modify the kernel in order to learning and practicing kernel programming On Wed, Jun 22, 2011 at 8:28 PM, Linux Box Solutions < linuxboxsoluti...@gmail.com> wrote: > They are kernel drivers > > www.YouTube.com/user/linuxboxsolution > www.Krzyview.com > www.Email-Marketers.com > > > On J

[android-kernel] Add Modules Loading Support for Goldfish Emulator

2011-06-23 Thread Zova
Hi all, I wrote a driver to give support for ARM TCM(Tightly Coupled Memory, a on-chip SRAM). I know Goldfish is based on ARM926EJ-S processor, which does contain TCM. So, I modified code of goldfish, added driver support code, configed CONFIG_MODULES=y and successfully compiled the kernel and ko

[android-kernel] uid_stat_tcp_rcv causes kernel bug

2011-06-23 Thread sbranden
The following kernel bug is observed due to Android patches to the linux kernel adding UID_STAT support. kernel: BUG: sleeping function called from invalid context at /srv/ users/mattp/gingerbread/linux-gingerbread/projects/android/build- output /linux-2.6.36.3/mm/slub.c:1701 kernel: in_atomic():

Re: [android-kernel] Re: Android Kernel Internals & HAL

2011-06-23 Thread 崔英云
>From my experience ,you should read google android reference code ; You can download source code from android git server or OEM developer website like HTC,MOTO. 2011/6/17 Nandu Ahmed > Yes, > > If someone found any doc or related material, that would be great > Cheers to everyone > > On Jun 15