How to compile a kernel module to Andr oid Linux Kernel 锛
by Neo » Tue, 04 Aug 2009 10:10:07 GMT
Sponsored Links
Why do you have to write a Makefile for the compiling the kernel, it
is already there in kernel sources. So go there and just do a "make"
after setting the cross-compiler option.
--~--~---------~--~----~------------~-------~--~----~
-~----------~----~----~----~------~----~------~--~---
How to compile a kernel module to Andr oid Linux Kernel 锛
by lei » Wed, 05 Aug 2009 08:37:34 GMT
ARCH=ARM
--~--~---------~--~----~------------~-------~--~----~
-~----------~----~----~----~------~----~------~--~---
Sponsored Links
How to compile a kernel module to Andr oid Linux Kernel 锛
by basteon » Wed, 05 Aug 2009 14:40:02 GMT
se it...
may be very helpful add this script to android kernel building how-to ;)
#!/bin/sh
#######
#Actually, I getting it by this way...
#cd android
#repo init -u git://android.git.kernel.org/platform/manifest.git
#repo sync
#######
#But, if you want to get only tools, you must try this...
# git clone git://android.git.kernel.org/platform/prebuilt.git
#where your android tools
export CROSSTOOLS=/usr/src/android/prebuilt/linux-x86/toolchain/arm-eabi-4.3.1
export PATH=$CROSSTOOLS/bin:$PATH
export CROSS_TARGET=arm-eabi
export CC="${CROSS_TARGET}-gcc"
export CXX="${CROSS_TARGET}-g++"
export AR="${CROSS_TARGET}-ar"
export AS="${CROSS_TARGET}-as"
export LD="${CROSS_TARGET}-ld"
export RANLIB="${CROSS_TARGET}-ranlib"
export READELF="${CROSS_TARGET}-readelf"
export STRIP="${CROSS_TARGET}-strip"
On 05/08/2009, lei <lei.g...@gmail.com> wrote:
--~--~---------~--~----~------------~-------~--~----~
-~----------~----~----~----~------~----~------~--~---
How to compile a kernel module to Andr oid Linux Kernel 锛
by 姘告尟 鐢 » Thu, 06 Aug 2009 08:14:57 GMT
hanks,guys!
With your help,the problem was solved.
And here is the steps:
Without writing a Makefile for the module.
You just need to :
#cp $(YOUR_MODULE_FILES) $(YOUR_ANDROID_DIR)/kernel/drivers/char/
next,you should:
## set kernel config
#make ARCH=arm CROSS_COMPILE=arm-eabi- qsd8650_defconfig
#make -j4 ARCH=arm CROSS_COMPILE=arm-eabi- modules
then ,you get the result!
On 8 109 basteon <bast...@gmail.com> wrote:
--~--~---------~--~----~------------~-------~--~----~
-~----------~----~----~----~------~----~------~--~---
How to compile a kernel module to Andr oid Linux Kernel 锛
by rk » Thu, 20 Aug 2009 07:22:37 GMT
i Guys,
I am not able to compile the kernel which I have with the source code/
downloaded from the git repo. Here is my problem thread. Can some one
help me
http://groups.google.com/group/android-kernel/browse_thread/thread/9b0975d78a28112
Thanks
Rk
On Aug 6, 1:14pm, <neu...@gmail.com> wrote:
--~--~---------~--~----~------------~-------~--~----~
-~----------~----~----~----~------~----~------~--~---
How to compile a kernel module to Andr oid Linux Kernel 锛
by Harish » Fri, 04 Sep 2009 19:16:12 GMT
o write a kernel module which placed external to core kernel
please go through the below website
http://tldp.org/LDP/lkmpg/2.6/html/x181.html
Regards
Harish
On Aug 20, 12:22pm, rk <raj.10...@gmail.com> wrote:
--~--~---------~--~----~------------~-------~--~----~
-~----------~----~----~----~------~----~------~--~---
Other Threads
1. android 1.5r2 manifest fixed
We recently noticed a bug we've had in the android_1.5r2 manifest
where it was using the latest version of cupcake instead of one
specific version.
I've just deployed a corrected version of that manifest so that it
permanently matches the android_1.5r2 code. If you've been working
from android_1.5r2 and synced your client from the Android Open-Source
Project since early July, you should sync again to get back to the
proper version.
Apologies about the inconvenience. I'll be changing our process in the
future to avoid such situations.
JBQ
(PS: the android-1.5r2 tag on the manifest is currently incorrect,
I'll try to make it point to the right commit. The tags on the
individual projects are correct).
--
Jean-Baptiste M. "JBQ" Queru
Software Engineer, Android Open-Source Project, Google.
Questions sent directly to me that have no reason for being private
will likely get ignored or forwarded to a public forum with no further
warning.
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website:
2. Unable to unlock using keyboard in Android in the desktop screen
You need to have a key map file that describes which key generates the menu
key code, so you can press it to unlock. Or modify the keyguard (the phone
policy in frameworks/policies/base) to do something more appropriate for
your hardware.
--
Dianne Hackborn
Android framework engineer
hack...@android.com
Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails. All such
questions should be posted on public forums, where I and others can see and
answer them.
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website:
3. Silent install on first boot
4. ListView: invisible dividers still take up space. Is it a bug or a feature?
5. how to implement OTA service ?
6. Multicast receive broken in Android 1.5?
7. ListView: invisible dividers still take up space. Is it a bug or a feature?