Re: [android-kernel] Linux kernel development under emulator

2015-04-27 Thread karthik poduval
the same gcc cross compiler (arm-eabi-gdb) being used to build the kernel ? -- Regards, Karthik Poduval On Tue, Mar 24, 2015 at 6:16 PM, Emeric VIGIER wrote: > Try enabling EARLY_PRINTK for your platform. This may or not may not be > supported. If it is, add the proper command line argum

Re: [android-kernel] link two c files in android kkernel

2015-04-22 Thread karthik poduval
The kernel is a monolithic image so all the built-in's should compile into a single vmlinux binary. Hence you can include the header file that declares the function you wish to call in kernel/sched/fair.c and re-build the kernel image. -- Regards, Karthik Poduval On Fri, Mar 27, 2015 at

Re: [android-kernel] struct proto in /net/ipv4/tcp_ipv4.c

2010-06-07 Thread karthik poduval
Hi, This a different way to initialize a C struct and its only supported by gcc compilers I guess, you will see this very often in the kernel code. -- Regards, Karthik Poduval On Sun, Jun 6, 2010 at 2:00 AM, kernelcoder2 wrote: > Hi, > > I am a kernel newbie. Saw the following

Re: [android-kernel] Re: how to test touchscreen driver

2010-05-12 Thread karthik poduval
I think its called event.c++ (not sure though) somewhere in the Android code. On way to find out would be to grep on /dev/input/ and looks through search results for source code that opens these nodes. Regards, Karthik Poduval On Wed, May 12, 2010 at 1:02 PM, bridgette wrote: > Thanks...

Re: [android-kernel] how to test touchscreen driver

2010-05-12 Thread karthik poduval
Check if there is a registration with input dev subsystem in the driver and see if its passed or failed. There also should be a middle ware process to read these events from the input dev and pass them to the Android framework. Check if this process is running. -- Regards, Karthik Poduval On

Re: [android-kernel] system reboot - How to get the crash dump.

2010-04-29 Thread karthik poduval
Hey, Try ADB Shell over serial port sometimes this lets you know if the kernel has panicked. If kernel has panicked, you should find a panic sump in /data(i think). You can go through this dump and see what is causing the freeze. Regards, Karthik Poduval On Thu, Apr 29, 2010 at 6:04 AM, guru

Re: [android-kernel] Implement Camera Support for Android Emulator using Web Cam

2010-04-17 Thread karthik poduval
will allow for this activity. You need to communicate from a virtualized ARM platform to the native OS video routines(Video for Windows in case of windows). I am really nit sure if its possible through QEMU. Someone more familiar with QEMU could comment on this. Regards, Karthik Poduval On Sat

Re: [android-kernel] Re: Android Kernel Command

2010-03-26 Thread karthik poduval
I think you should first type su(it may ask for password) in the console, then you get the # prompt instead of the $ prompt Then type your command *modprobe USB\ Network\ Controller* Regards, Karthik Poduval On Fri, Mar 26, 2010 at 2:04 AM, Gidiyo wrote: > I am trying to Enable a USB netw

Re: [android-kernel] Android Kernel Command

2010-03-24 Thread karthik poduval
Hi, please try *su*, I think *sudo *command is not present in android's busybox. Regards, Karthik Poduval On Wed, Mar 24, 2010 at 4:58 AM, Gidiyo wrote: > Hi, > > I would like to know what other kernel command could I used for my > ported Android. > Currently, using mini

Re: [android-kernel] Re: Display Kernel Messages

2010-03-24 Thread karthik poduval
Hi, If you want to monitor system calls for an aplication, you could make use of strace command or refer tot its code for your use case. Regards, Karthik Poduval On Tue, Mar 23, 2010 at 10:38 PM, perumal316 wrote: > Hi, > > I have come up with a kernel module doing monitoring of sys

Re: [android-kernel] Need Help

2010-03-23 Thread karthik poduval
Hi Please find replies inline:- Regards, Karthik Poduval On Tue, Mar 23, 2010 at 1:53 PM, Ambuj wrote: > Hi, > > I am a Junior Undergraduate in a University in India, I have been > working with Embedded Systems Programming group of my university. > > Now, for some of th

Re: [android-kernel] System Calls used in SMS and Call functions

2010-03-23 Thread karthik poduval
Hey you could check the RIL(Radio Interface Layer) side logs, they might already be containing it. The RIL logs do not appear straight , u need to give some options to logcat to get them which I unfortunately do not remember at the moment. Regards, Karthik Poduval On Tue, Mar 23, 2010 at 5:52

Re: [android-kernel] Build Source on Windows

2010-01-31 Thread karthik poduval
which did not work on cygwin environment. I think the only way to overcome it is to rebuild them using the mIngw in windoes cygwin environment. Did anyone post you a sucessful cygwin windos compilation story ? If yes plese forward me that mail. Thanks.. Regards, Karthik Poduval On Thu, Jan 28, 2010

Re: [android-kernel] Threading in C languge

2009-12-22 Thread karthik poduval
issue). There are many pthread tutorials available on the net, one of them should serve as useful reference. Regards, Karthik Poduval On Mon, Dec 21, 2009 at 1:12 PM, tarek attia wrote: > Hi all, > > Can I make applications in C language that uses the threads of the bionic > ?? > &

[android-kernel] Re: Can we use system() in android environment?

2009-08-07 Thread karthik poduval
Hi, For commands like ls, pwd and all Android uses busybox so one might not find the excutables in the bin folder. Please try system("ls -l").{without the path} Regards, Karthik Poduval On Thu, Aug 6, 2009 at 7:13 PM, 永振 田 wrote: > > Thans! > I have tried /system/bin/l