Re: [android-kernel] Re: How to hook up Linux Device Driver in Android Framework?

2011-01-31 Thread Greg KH
On Mon, Jan 31, 2011 at 1:44 PM, Aditya wrote: > Can you give me some reference materials on writing drivers for video > capture devices. I am fairly new to writing drivers. All i know is c, C++ > and some very basic file systems hacking on minx from school. Please see the linux-media mailing lis

Re: [android-kernel] Re: How to hook up Linux Device Driver in Android Framework?

2011-01-31 Thread Aditya
Can you give me some reference materials on writing drivers for video capture devices. I am fairly new to writing drivers. All i know is c, C++ and some very basic file systems hacking on minx from school. Thanks in Advance -Aditya On Mon, Jan 31, 2011 at 12:28 PM, raja pavan wrote: > So please

Re: [android-kernel] Re: How to hook up Linux Device Driver in Android Framework?

2011-01-31 Thread raja pavan
So please specify your requirement. What do you want in the android kernel about drivers. Android drivers is the common thing, so what else do you want? On Mon, Jan 31, 2011 at 9:02 PM, Chris Stratton wrote: > > grep "open_binder", "/dev/ashmem" in the android source code . This will > > provi

Re: [android-kernel] Re: Custom Kernel developement for Android Emulator

2011-01-31 Thread raja pavan
Most Welcome Is it possible to share the reason why you have built a new kernel for emulator? If possible share the .config Thanks Raja On Mon, Jan 31, 2011 at 9:45 PM, Peter Fortuin wrote: > I have a running kernel now. > Thanks for the help! > > > 2011/1/31 raja pavan > >> You can even pull

Re: [android-kernel] Re: Custom Kernel developement for Android Emulator

2011-01-31 Thread Peter Fortuin
I have a running kernel now. Thanks for the help! 2011/1/31 raja pavan > You can even pull the .config of the kernel running in the emulator > > adb pull /proc/config.gz > > Then make whatever changes you would like to the kernel configuration and > use this kernel on emulator. > > This makes s

[android-kernel] Re: How to hook up Linux Device Driver in Android Framework?

2011-01-31 Thread Chris Stratton
> grep "open_binder", "/dev/ashmem" in the android source code . This will > provide you clue on how android utilizes the drivers. While binder is a kernel driver, it's used primarily for communication between userspace components, not between the userspace components and functionality in the kern

Re: [android-kernel] Re: Custom Kernel developement for Android Emulator

2011-01-31 Thread raja pavan
You can even pull the .config of the kernel running in the emulator adb pull /proc/config.gz Then make whatever changes you would like to the kernel configuration and use this kernel on emulator. This makes sense ? Raja On Mon, Jan 31, 2011 at 7:16 PM, raja pavan wrote: > that may not be the

Re: [android-kernel] complie samsung kernel error

2011-01-31 Thread 杨竹
I get the same problem , need answer. 2011/1/31 Mark Brown : > On Thu, Jan 27, 2011 at 10:51:02PM +0800, wrote: >> I'm git clone get the android samsung kernel 2.6.35 ,build the >> s3c6400config but get the error: > > Only the Nexus S is going to have been tested with that kernel. > > -- > un

Re: [android-kernel] Re: Custom Kernel developement for Android Emulator

2011-01-31 Thread raja pavan
that may not be the exact link but keywords are http://android.git.kernel.org/ projects / kernel/common.git (2.6.29, goldfish) snapshot I was able to download and start the build. need to test the same o

[android-kernel] Re: Custom Kernel developement for Android Emulator

2011-01-31 Thread Peerke
Somehow the link that you provided doesn't work. I get a '404 - No such project ' message. On Jan 31, 2:29 pm, raja pavan wrote: > (1)http://android.git.kernel.org/?p=kernel/common.git;a=tree;h=b0d93fb04... > > Open this link and click on snapshot, this will download the *latest version > of 2.6

Re: [android-kernel] Re: Custom Kernel developement for Android Emulator

2011-01-31 Thread raja pavan
(1) http://android.git.kernel.org/?p=kernel/common.git;a=tree;h=b0d93fb0426911d0329f861f22c59f1c72cff815;hb=b0d93fb0426911d0329f861f22c59f1c72cff815 Open this link and click on snapshot, this will download the *latest version of 2.6.29 goldfish kernel*. (2) make menuconfig and select gold fish as

Re: [android-kernel] complie samsung kernel error

2011-01-31 Thread Mark Brown
On Thu, Jan 27, 2011 at 10:51:02PM +0800, wrote: > I'm git clone get the android samsung kernel 2.6.35 ,build the > s3c6400config but get the error: Only the Nexus S is going to have been tested with that kernel. -- unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://gr

[android-kernel] Re: Custom Kernel developement for Android Emulator

2011-01-31 Thread Peerke
Thanks for your fast response! I have 2 questions: * How do I download the goldfish kernel from the android git? I downloaded a kernel with 'git clone git://android.git.kernel.org/kernel/common.git', but this doesn't give me a goldfish_defconfig. So I guess I need to download something else. *

Re: [android-kernel] Custom Kernel developement for Android Emulator

2011-01-31 Thread raja pavan
- Download the goldfish kernel from android git. - Install android sdk on your machine - /home/raja/Downloads/android-sdk-linux_86/platforms will have a folder each for avd api versions - Create avd for api of your choice - Build goldfish kernel for you ur choice of kernel configuration and place i

[android-kernel] Custom Kernel developement for Android Emulator

2011-01-31 Thread Peerke
Hi, I like to build my own custom kernel to use with the Android Emulator. I know how to build my own Android Emulator image and how to set the kernel that you want use when booting the emulator. But I have no idea how to build a custom kernel for the emulator and what should be in there to keep t

Re: [android-kernel] How to hook up Linux Device Driver in Android Framework?

2011-01-31 Thread raja pavan
Hi Parth Drivers added by android to the vanila linux kernel can be downloaded, from android kernel.git. (snapshot mode) Download android linux kernel , cd drivers/staging/android and you will see all the android drivers in the folder. (binder, ashmem, alarm, power, apanic, etc) Also download a