help me:Compile the android kernel for the Emulator

by nature » Mon, 28 Sep 2009 09:37:47 GMT

Sponsored Links
 My platform:   CentOS 5.3
compilor:       arm-2009q1-203-arm-none-linux-gnueabi-i686-pc-linux-
android sdk 1.5  jdk1.6
elipse 3.4
 /home/nature/Software/arm-2009q1(untar the packege directory)

1,  get the kernel:  git clone git://
3, yum update
2, I check the tools according the kernel/Documentation/Changes
install the missed software.
3, $emulator -avd myavd1.5(my avd name is myavd1.5)   //running the
   $cd /home/nature/Program/common
   $adb pull /proc/config.gz .
   $gunzip config.gz
  $mv config  .config
  $gedit Makefile

  change two points:

1>   CROSS_COMPILE = /home/nature/Software/arm-2009q1/arm-none-linux-

#LDFLAGS_BUILD_ID = $(patsubst -Wl$(comma)%,%,\
#                             $(call ld-option, -Wl$(comma)--build-id,))

exit the gedit back in the old terminal.
$export PATH=$PATH:/home/nature/Software/arm-2009q1/bin
$export ARCH=arm
$make oldconfig
List some options. All are default.
Produce the zImage in the common/arch/arm/boot/
In the compile, no error output.
$emulator @myavd1.5 -kernel /home/nature/Program/common/arch/arm/boot/

Nothing output.

In the another terminal
#ps -a
  PID TTY          TIME CMD
 5242 pts/1    00:00:00 su
 5246 pts/1    00:00:00 bash
20676 pts/2    00:00:04 emulator
20681 pts/2    00:00:00 java <defunct>
20697 pts/1    00:00:00 ps

I don't know why is it?
who can help me?


help me:Compile the android kernel for the Emulator

by nature » Mon, 28 Sep 2009 09:55:50 GMT

 "1>   CROSS_COMPILE = /home/nature/Software/arm-2009q1/arm-none-linux-
is wrong.It should be "1>   CROSS_COMPILE = /home/nature/Software/
arm-2009q1/bin/arm-none-linux-gnueabi-" .But the question also
exists.Nothing outputs.



Sponsored Links

help me:Compile the android kernel for the Emulator

by Sudheesh J » Sat, 03 Oct 2009 00:53:35 GMT

 I have not personally tried it, but please see if this is helpful: 



Other Threads

1. Which Eclipse?

This page
"f you need to install Eclipse, you can download it from this

But that location has many different versions - which one is the right


2. Ensure GPS has fix before proceeding..

Hello -

I am creating an app that uses GPS coodinates. Can anyone help me with
the following?

1) I want to ensure I am using a current 'fixed' location and not a
previously stored one, so I am trying to avoid using
getLastKnownLocation, but cannot seem to figure out the alternate to

2) What is the best way to display a "please wait" message or
something along those lines while the GPS service is attempting to get
a fix (and ideally periodically allow the user to cancel out)?



3. airplane mode on

4. Some confusion on resource IDs

5. Problem Installing app

6. two programming questions about 'twitter for android' app

7. Reducing List sizes