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. Why is the onCreate called twice When is device booting??

Hi, everybody~

i make 'hello world' app :-) and wrote a Log code in onCreate.

and then give "android.intent.category.DEFAULT" and

this situation appears emulator(1.5, 2.0, 2.1).

but HTC hero(1.5, original htc rom) didn't !!! it just call one time!!

Which is normal?

and If calling twice is normal, why are they call twice???

plz tell me & help me~!!!!

2. Debugging system processes in Eclipse

Hi, these kinds of questions should be on android-porting.  If you look
through there I am pretty sure there have been previous discussions about
doing this.


3. Jumlah Email di Milestone Berapa account email..?

4. SDK Download Issues

5. Android development on Netbeans

6. Android on STB?

7. Failed while creating activity to handle Intent