[android-kernel] Re: How to build lodable kernel module in android?

2011-07-13 Thread alexyu
Hi, It is a standard kernel module development & I think it has nothing related to android. Command 'make modules" could simply work. If not try the following steps. 1. Only configure your module from “=y” to “=m”. 2. Build the driver in your kernel directory: make drivers/xxx.ko 3

Re: [android-kernel] How to build lodable kernel module in android?

2011-07-13 Thread fox liu
Hi, I mean I have already followed the step on http://source.android.com/source/initializing.html Now I want to write a LKM, then compile it , and push it to device, and insmod it. but I do not know how to compile it, do I make my self clear? 2011/7/13 J Freyensee > > > On Wed, Jul 1

Re: [android-kernel] How to build lodable kernel module in android?

2011-07-13 Thread J Freyensee
On Wed, Jul 13, 2011 at 8:51 AM, fox liu wrote: > Hi, my Question is how to build lodable kernel module in android? > > I have a little LKM exp. in PC, now I would like to try LKM in > android . > And I have followed the instruction of source.android.com, the repo > sync, and make -j4 are all don

[android-kernel] [/proc//maps] getRuntime().exec() can not read

2011-07-13 Thread Zhao Wang
Hi Folks, I know this is the kernel group and my question is somehow connected with Java, but I just would like to get enlightened from the kernel respective of what's going on here. So I have a self-built from scratch 2.3.4 running on my Nexus S. I'm trying to extract memory mapping information

Re: [android-kernel] about last_kmsg and tombstone files

2011-07-13 Thread Alexander Golec
last_kmsg is a dump of the printk statements from the kernel before the operating system itself crashed. Tombstones are miniature core dumps generated by the operating system when a userspace Android application crashes. I suggest you look into the panic() function in an LXR for the second ques

[android-kernel] Re: Modify reference-ril.c. Implement new RIL-Command. (How to?)

2011-07-13 Thread felixad
Thank you Manish and Mike! On 12 Jul., 22:14, Mike Martin wrote: > Do what manish suggested or reflash the system partition with the android > version that you built.  The lib that you are replacing is not in the boot > partition. -- unsubscribe: android-kernel+unsubscr...@googlegroups.com web

[android-kernel] about last_kmsg and tombstone files

2011-07-13 Thread claire
hello i'm writing this letter because i have some questions about kernel log. 1. The difference between last_kmsg and tombstones? i heard last_kmsg is created by kernel panic but i also heard tombstones is created in same case. but when kernel panic happened, i just only got last_kmsg ... so

[android-kernel] How to build lodable kernel module in android?

2011-07-13 Thread fox liu
Hi, my Question is how to build lodable kernel module in android? I have a little LKM exp. in PC, now I would like to try LKM in android . And I have followed the instruction of source.android.com, the repo sync, and make -j4 are all done succesfully. What about next step? Can I start writing LKM