[android-kernel] Re: Loadable Kernel Module

2009-10-29 Thread Chew Esmero
No problem. Happy coding. =) On Oct 30, 12:45 pm, Chew Esmero wrote: > Oh, sorry. Didn't get it right. > > Terminal emulator in Android has no root privileges unfortunately. May > I ask why would you do it in terminal emulator when you can do it in > adb (already root)? > > On Oct 30, 12:30 pm,

[android-kernel] Re: How to compile a module to Android Dev Phone 1

2009-10-29 Thread Chew Esmero
Hi, Errors like that would go down to the reason that your module was not built using the kernel currently running on you dev phone. Though I was only able to do such things with 2.6.27 and 2.6.29 kernel, I still think it would apply to 2.6.25. Did you replace the kernel in your phone with your d

[android-kernel] Re: Compiling Android Kernel

2009-10-29 Thread Chew Esmero
Of course you can. If your planning to play with the real device (i.e. ADP1), you can download the android-msm-2.6.29 kernel source. If only in emulator, you can download the android-goldfish-2.6.29 kernel source. On Oct 25, 8:35 pm, looking for a flat to live in wrote: > Hi all, > > I need to k

[android-kernel] Re: Loadable Kernel Module

2009-10-29 Thread Chew Esmero
Oh, sorry. Didn't get it right. Terminal emulator in Android has no root privileges unfortunately. May I ask why would you do it in terminal emulator when you can do it in adb (already root)? On Oct 30, 12:30 pm, perumal316 wrote: > Hi Mr Chew, > > I have built the module against the goldfish k

[android-kernel] Re: USB Function Driver Documentation.

2009-10-29 Thread Chew Esmero
Hi, This is unfortunate news. We are currently working on a project based on the function framework (2.6.29). Detailed designs are already in place. Will function framework be totally removed in future kernels? On Oct 30, 12:22 pm, Mike Lockwood wrote: > There is no documentation other than the

[android-kernel] Re: Loadable Kernel Module

2009-10-29 Thread perumal316
Hi Mr Chew, I have built the module against the goldfish kernel. Then I start the emulator then in a terminal (adb shell) then insmod it and it is working. But within the emulator there is a terminal emulator. If I insmod there the module is not loaded ("Operation Not Permitted"). Since it is wor

[android-kernel] Re: USB Function Driver Documentation.

2009-10-29 Thread Mike Lockwood
There is no documentation other than the code itself. The function framework was a temporary solution that ended up staying around longer than it should have. We are in the process of transitioning to gadget and do not plan on porting the USB function code to 2.6.31, so I would recommend avoidin

[android-kernel] Re: Loadable Kernel Module

2009-10-29 Thread Chew Esmero
Hi Perumal, I'm confused when you say that it's already working in shell but not in emulator. Working in shell meaning you insmod the hello.ko to your host? If so, then the module was not properly built. If module is properly built against the goldfish kernel, output module would be for ARM archi

[android-kernel] Re: Loadable Kernel Module

2009-10-29 Thread perumal316
Hi, I also faced similar problem, your MakeFile may need changes, below is the makefile i used: ifeq ($(KERNELRELEASE),) KERNELDIR ?= /goldfish/kernel PWD := $(shell pwd) .PHONY: build clean build: $(MAKE) -C $(KERNELDIR) M=$(PWD) modules clean: rm -rf *.o *~ core .depend .*.

[android-kernel] How to compile a module to Android Dev Phone 1

2009-10-29 Thread Jeffrey Liu
I tried to compile a module to Android Dev Phone 1. I tested it with a sample hello module. I used the kernel source 2.6.25 and cross compile toolchain arm-eabi-4.2.1. Such as: CROSS_COMPILE=.../prebult/linux-x86/toolchain/arm-eabi-4.2.1/bin/arm- eabi- I added the additional string to the extrav

[android-kernel] USB Function Driver Documentation.

2009-10-29 Thread Pico
I have searched high and low for documentation on the function driver framework and came up empty. Could someone please point me to some documentation? Specifically, I am interested in how it differs from the gadget driver framework. --~--~-~--~~~---~--~~ unsubsc

[android-kernel] Compiling Android Kernel

2009-10-29 Thread looking for a flat to live in
Hi all, I need to know if i can play with the android kernel source code, compile it and download it on a real phone that support Android OS. --~--~-~--~~~---~--~~ unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/group/and

[android-kernel] Newbie

2009-10-29 Thread Niamathullah sharief
Hello i am new to this community. I want to learn the android kernel in details. So what will be the best thing to learn that. I have already experience in device drivers. --~--~-~--~~~---~--~~ unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http:/

[android-kernel] Power Management on Android

2009-10-29 Thread Kaiwan
I'm grappling with this: if one has a device driver that's to be "ported" to Android, are there any specific steps / guidelines that need to be followed to be "Android-compliant"? Or is it just the "usual" Linux driver stuff? I would imagine some callbacks for PM can/should be hooked into...I fou

[android-kernel] Building kernel for ADP1

2009-10-29 Thread Kevin
Hello group moderator, I apologize in advance if my question is without merit. I am trying to rebuild the kernel for an ADP1. I want to port a touchscreen driver. I am cross developing on a linux-x86 platform running Ubuntu. I downloaded and built the latest android platform using the instruct

[android-kernel] Re: gdbserver android patch

2009-10-29 Thread muni anda
I might have posted this to a wrong group. Posting to the kernel group. With some hacking, I could able to get the gdbserver to the link with bionic libraries and run on my target (armv7) platform. But, I see that the gdbserver can only trace ARM code not thumb code. Then I looked at the ptrace c

[android-kernel] linux kernel programming!.

2009-10-29 Thread 11Aspirin11
hi hello im a mobile phone beginner programmer in korea company (it is very big company. you may know this compnay's name.L~) (but im not this company's employee. im a this company's corporation company's employee.) frankly speaking, i wanted to be a linux programmer. after i graduated universi

[android-kernel] Re: [Commercial]:Training on Advance C and Linux System Programming from Experts

2009-10-29 Thread Disconnect
First, you can put a space in your urls.. Second, why are you spamming? On Wed, Oct 21, 2009 at 4:55 AM, meetseemar...@gmail.com wrote: > > Hello All, > > With a growing demand for Linux System Professionals, we are pleased > to announce a new weekend batch of "Advance C" and "Linux System > Pr

[android-kernel] Re: Loadable Kernel Module

2009-10-29 Thread Eduardo Acker
Hi Chew, I'm a newbie in linux/android and Im having some problems to compile the my module. i dowloaded the android-goldfish-2.6.29 snapshot and the android plataform. Compiled the kernel with your instructions to ARCH and CROSS_COMPILE and have no problem, but when i try to compile the module it

[android-kernel] Re: Real time kernel support in Android

2009-10-29 Thread Michael Trimarchi
Hi, Greg KH wrote: > On Mon, Oct 19, 2009 at 10:54 PM, ranjith vk wrote: > >>> No, not at all. A real-time system is slower performance than a >>> non-realtime >>> one. Please read the documentation for what a real-time kernel means >>> for details on this. >>> >>> Running the rt kernels w

[android-kernel] Re: Loadable Kernel Module

2009-10-29 Thread Chew Esmero
By the way, I'm using SDK 1.5 and android-goldfish-2.6.27. I also tested android-goldfish-2.6.29 and still ok. Haven't tried the with 1.6 but I think it's still applicable. On Oct 29, 4:16 pm, Chew Esmero wrote: > Only "Enable loadable module support". I think you really need to > build your dri

[android-kernel] Re: Loadable Kernel Module

2009-10-29 Thread Chew Esmero
Only "Enable loadable module support". I think you really need to build your driver with KERNEL_DIR pointing to your goldfish kernel directory and using the cross-compiler provided with Android source. If not, your driver will be built using your host's kernel headers. The output module is not rec

[android-kernel] Re: Loadable Kernel Module

2009-10-29 Thread perumal316
Hi, I tried enabling the module support and boot the emulator using that kernel but still getting the same error when insmod a module from the terminal in emulator. I also changing the Make file as specified and make the program but get a long list of errors like "undeclared identifier" and cann