Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
How to build kernel for emulator (release-1.0 branch)?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Bryne McCullough  
View profile  
 More options Jan 30 2009, 7:09 pm
From: Bryne McCullough <bryne.mccullo...@gmail.com>
Date: Fri, 30 Jan 2009 16:09:00 -0800 (PST)
Subject: How to build kernel for emulator (release-1.0 branch)?
Hi Folks,

I got the Android source code (release-1.0 branch). I build and run
the emulator fine. But I have to run using the prebuilt kernel-qemu
image. Calling make from the Android root, doesn't seem to make the
kernel. How do I make my own kernel image for the emulator? Thanks
much.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Grigory F.  
View profile  
 More options Feb 1 2009, 9:55 am
From: "Grigory F." <g.fishilev...@gmail.com>
Date: Sun, 1 Feb 2009 06:55:37 -0800 (PST)
Local: Sun, Feb 1 2009 9:55 am
Subject: Re: How to build kernel for emulator (release-1.0 branch)?
On 31 Jan., 01:09, Bryne McCullough <bryne.mccullo...@gmail.com>
wrote:

> I got the Android source code (release-1.0 branch). I build and run
> the emulator fine. But I have to run using the prebuilt kernel-qemu
> image. Calling make from the Androidroot, doesn't seem to make the
> kernel. How do I make my own kernel image for the emulator? Thanks
> much.

Hi,

try 'make' then 'make sdk'

look at ANDROID_SOURCE_HOME/out/host/YOUR_OS/sdk/android-sdk-BLA/
platforms/android-1.5/images


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bryne McCullough  
View profile  
 More options Feb 2 2009, 2:24 am
From: Bryne McCullough <bryne.mccullo...@gmail.com>
Date: Sun, 1 Feb 2009 23:24:40 -0800 (PST)
Local: Mon, Feb 2 2009 2:24 am
Subject: Re: How to build kernel for emulator (release-1.0 branch)?
Thanks for the suggestion, Grigory. For anyone else interested, here's
what I ended up doing to build the kernel for the release-1.0 branch:

# get the release-1.0 source
$ mkdir android_release-1.0
$ cd android_release-1.0
$ repo init -u git://android.git.kernel.org/platform/manifest.git -b
release-1.0
$ repo sync

# build Android system including emulator (doesn't build the kernel)
$ . build/envsetup.sh
$ lunch 1
$ make

# get the kernel config from the emulator using the prebuilt kernel
$ out/host/linux-x86/bin/emulator -kernel prebuilt/android-arm/kernel/
kernel-qemu -system out/target/product/generic/ &
$ out/host/linux-x86/bin/adb pull /proc/config.gz kernel/
# kill the running emulator

# make the kernel
$ cd kernel
$ gunzip config.gz
$ mv config .config
$ export ARCH=arm
$ export CROSS_COMPILE=arm-eabi-
$ make

# run the emulator using the newly built kernel
$ cd ..
$ out/host/linux-x86/bin/emulator -kernel kernel/arch/arm/boot/zImage -
system out/target/product/generic/ &

On Feb 1, 6:55 am, "Grigory F." <g.fishilev...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
dvp  
View profile  
 More options Feb 19 2009, 9:51 pm
From: dvp <prasad.duggin...@gmail.com>
Date: Thu, 19 Feb 2009 18:51:41 -0800 (PST)
Local: Thurs, Feb 19 2009 9:51 pm
Subject: Re: How to build kernel for emulator (release-1.0 branch)?
hi i am new to android, did android platform build using release 1.0
source, also got the kernel img by making a build using make sdk
emulator -ramdisk ramdisk.img -image system.img -initdata userdata.img
-data userdata.image -kernel (kernelpath)

my emulator does not show menu, can u guys suggest how to resolve the
issue?

On Feb 2, 2:24 am, Bryne McCullough <bryne.mccullo...@gmail.com>
wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »