Hope these will help you in starting: * If your using the emulator for testing, download the goldfish kernel (this is the kernel used in emulator build). You can do the ARCH=arm make goldfish_defconfig for its .config. I suggest you enable the "Enable Loadable Module Support" config since you need this when you "insmod" your custom driver via adb. * If you are using the ADP1, kernel/msm is the kernel branch for you. version 2.6.29 already enabled the "Enable Loadable Module Support" so you can "insmod" your device via adb. * For the driver itself, sample codes for linux driver development are a good start for you. Just be sure to build your modules against the kernel you're using. (goldfish or msm).
On Oct 15, 8:48 pm, Shankar Ganesh <[email protected]> wrote: > On 10/15/09, Rajesh N <[email protected]> wrote: > > > Hi, > > > I would like to if there is any documentation on implementing device driver > > http://kernelnewbies.org/http://free-electrons.com/docs/http://lwn.net/Kernel/LDD3/ > > > > > for Android devices, I don't see much information regarding this. I > > understand there is User abstraction layer and Hardware abstraction layer > > for making any devices work by which no Linux device driver cannot be ported > > directly over the BSP. > > > Can anyone here provide me some pointers and information regarding this ? I > > will appreciate your kind help > > > -- > > Best Regards, > > Rajesh N --~--~---------~--~----~------------~-------~--~----~ unsubscribe: [email protected] website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---
