(1)
http://android.git.kernel.org/?p=kernel/common.git;a=tree;h=b0d93fb0426911d0329f861f22c59f1c72cff815;hb=b0d93fb0426911d0329f861f22c59f1c72cff815

Open this link and click on snapshot, this will download the *latest version
of 2.6.29 goldfish kernel*.
(2) make menuconfig and select gold fish as your target [I did not check
these step, but I am almost sure these are the steps]

You can chose the desired config for your kernel-qemu at this step.

If you need to build for ARM , make ARCH=arm
CROSS_COMPILE=/usr/local/arm/arm-gcc/bin/gnu-arm-  Image(please use
sppropriate name to your gcc cross compiler)

(3) Rename Image (arch/arm/boot) to kernel-qemu

(4) Use it with emulator [steps from Previous Mail]

(5) You can create a sophisticated qemu using goldfish, I rely on this even
for learning arm assembly.


On Mon, Jan 31, 2011 at 6:50 PM, Peerke <[email protected]> wrote:

> Thanks for your fast response!
>
> I have 2 questions:
>
> * How do I download the goldfish kernel from the android git? I
> downloaded a kernel with 'git clone git://
> android.git.kernel.org/kernel/common.git',
> but this doesn't give me a goldfish_defconfig. So I guess I need to
> download something else.
>
> * How to build a goldfish kernel? That works in the same way as any
> other linux kernel? (Starting from the goldfish_defconfig?)
>
>
>
> On Jan 31, 1:24 pm, raja pavan <[email protected]> wrote:
> > - Download the goldfish kernel from android git.
> > - Install android sdk on your machine
> > - /home/raja/Downloads/android-sdk-linux_86/platforms will have a folder
> > each for avd api versions
> > - Create avd for api of your choice
> > - Build goldfish kernel for you ur choice of kernel configuration and
> place
> > in folder corresponding to avd's api
> > - /home/raja/Downloads/android-sdk-linux_86/platforms/android-9/images
> will
> > have kernel-qemu, replace with your kernel.
> >
> >
> >
> >
> >
> >
> >
> > On Mon, Jan 31, 2011 at 5:31 PM, Peerke <[email protected]> wrote:
> > > Hi,
> >
> > > I like to build my own custom kernel to use with the Android Emulator.
> > > I know how to build my own Android Emulator image and how to set the
> > > kernel that you want use when booting the emulator. But I have no idea
> > > how to build a custom kernel for the emulator and what should be in
> > > there to keep the emulator working.
> >
> > > Does anyone has some starting point for me or some documentation?
> >
> > > --
> > > unsubscribe: 
> > > [email protected]<android-kernel%[email protected]>
> <android-kernel%2Bunsubscribe@go oglegroups.com>
> > > website:http://groups.google.com/group/android-kernel
>
> --
>  unsubscribe: 
> [email protected]<android-kernel%[email protected]>
> website: http://groups.google.com/group/android-kernel
>

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-kernel

Reply via email to