1. Get a .config file into kernel directory
Steps to get compile config from emulator
a. start emulator
b. adb pull /proc/config.gz config.gz
c. gunzip config.gz
d. mv this config as .config

2. Compile Command
For kernel version 2.6.25 and later
  make ARCH=arm CROSS_COMPILE=../prebuilt/Linux/toolchain-eabi-4.2.1/
bin/arm-eabi- (where the toolchain is located)
For kernel version 2.6.23
  make CROSS_COMPILE=../prebuilt/Linux/toolchain-eabi-4.2.1/bin/arm-
eabi-

3. Compile output
   arch/arm/boot/zImage

For your specific option, turn this on
CONFIG_MODULES=y

On 2月26日, 下午1时20分, Joe Petruchi <petruchi.dr...@gmail.com> wrote:
> Any info in this regard will be appreciated
>
> Regards
> Joe
>
> ---------- Forwarded message ----------
> From: Joe Petruchi <petruchi.dr...@gmail.com>
> Date: Wed, Feb 25, 2009 at 7:15 PM
> Subject: How to customize Android SDk kernel
> To: android-developers@googlegroups.com
>
> Hi All
>
> I am trying to do insmod hello.ko from the adb shell. But it always gives
> the error Function not implemented.
>
> I googled and found in the net that the Android SDK's kernel  has to be
> built with *dynamic loadable modules. *
> **
> Does anybody knows how can i build the SDK kernel with this particular
> option ??
>
> Thanks in Advance
> Joe
>
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to