[android-porting] Understanding goldfish frame buffer driver in Android Goldfish kernel

2010-09-06 Thread tungsys
Hi all, I dun understand how the interrupt is registered in goldfishfb ? I see the request_irq in the goldfishfb driver but i dun know how the interrupt is declared in the hardware architecture ? I try to look in the arch/goldfish but can not find any define for goldfish irq there ? Pls help me o

[android-porting] Re: Porting an existing Linux device driver to the Android platform

2010-07-09 Thread tungsys
Hi, I have a bit confuse about what you are doing : port an i2c driver to Android platform ? Android kernel is based on Linux kernel, so there is nothing difference with the driver layer . I thought you need do the driver for Linux kernel first and then apply the Android patch to your kernel . Tu

[android-porting] question about the Android Git source tree Category

2010-07-08 Thread tungsys
Hi all, I have question about the Android Git source tree Category ( http://android.git.kernel.org/ ) The Category has 4 branch: Device, Kernel, Platform, Tools . What is the purpose of each branch ? And if i want to get the Android source code from the Git, what git link should i use ? ( is it