aboutsummaryrefslogtreecommitdiffstats
path: root/docs/KERNEL.TXT
diff options
context:
space:
mode:
Diffstat (limited to 'docs/KERNEL.TXT')
-rw-r--r--docs/KERNEL.TXT25
1 files changed, 25 insertions, 0 deletions
diff --git a/docs/KERNEL.TXT b/docs/KERNEL.TXT
new file mode 100644
index 0000000..7387e55
--- /dev/null
+++ b/docs/KERNEL.TXT
@@ -0,0 +1,25 @@
+HOW TO REBUILT THE ANDROID EMULATOR-SPECIFIC KERNEL:
+====================================================
+
+You need to have the Android toolchain in your path
+(i.e. 'arm-eabi-gcc --version' must work)
+
+then:
+
+git clone git://android.git.kernel.org/kernel/common.git kernel-common
+cd kernel-common
+git checkout origin/android-goldfish-2.6.27
+
+export CROSS_COMPILE=arm-eabi-
+export ARCH=arm
+export SUBARCH=arm
+make goldfish_defconfig # configure the kernel
+make -j2 # build it
+
+=> this generates a file named arch/arm/boot/zImage
+
+Now, you can use it with:
+
+ emulator -kernel path/to/your/new/zImage <other-options>
+
+Voila !