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 on x86 on a 800x600 screen

I'm trying to install android on an IBM 4838-132 anyplace kiosk.
The model I according to ubuntu contains an Intel 82852/855GM integrated 
graphics on a 12" 800x600 screen.

When I try to boot up android on it, I can see log output and see 
ANDROID scroll by before i think it tries to start up graphics. when 
that happens, it's a pixel checkerboard that starts gray and slowly gets 
brighter. I think it's trying a resolution that's not supported or some 
other video setting? Any idea where I can configure that?

-Mike

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

2. Changing display resolution dynamically

As I understand it, Android supports QVGA, HVGA, and WVGA displays;
but this is a static, system wide configuration.  Is it possibile to
change the screen resolution dynamically in the system such that the
applications see this as a configuration change -- similiar to a
portrait to landscape configuration change?

How does the framework (or window manager) know the screen resolution
of the device?  Is there a registration that occurs between the driver
and the framework during power-up?

--~--~---------~--~----~------------~-------~--~----~

3. Android built in Email application can not send attachment which type is not image/* or video/*?

4. How to catch long keydown?

5. Atlanta Android Users Group

6. 2D Double Buffering in Android 1.5 (with Canvas?)

7. Regd. Android Wrapper Classes on top of SKIA Classes