I have a running kernel now. Thanks for the help!
2011/1/31 raja pavan <[email protected]> > You can even pull the .config of the kernel running in the emulator > > adb pull /proc/config.gz > > Then make whatever changes you would like to the kernel configuration and > use this kernel on emulator. > > This makes sense ? > > Raja > > > On Mon, Jan 31, 2011 at 7:16 PM, raja pavan <[email protected]> wrote: > >> that may not be the exact link but keywords are >> http://android.git.kernel.org/ >> projects <http://android.git.kernel.org/> / >> kernel/common.git<http://android.git.kernel.org/?p=kernel/common.git;a=summary> >> (2.6.29, goldfish) >> snapshot >> >> I was able to download and start the build. need to test the same on >> emulator. >> >> On Mon, Jan 31, 2011 at 7:02 PM, Peerke <[email protected]> wrote: >> >>> Somehow the link that you provided doesn't work. I get a '404 - No >>> such project ' message. >>> >>> >>> On Jan 31, 2:29 pm, raja pavan <[email protected]> wrote: >>> > (1) >>> http://android.git.kernel.org/?p=kernel/common.git;a=tree;h=b0d93fb04... >>> > >>> > 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> >>> > > <android-kernel%2Bunsubscribe@go oglegroups.com> >>> > > > > website:http://groups.google.com/group/android-kernel >>> > >>> > > -- >>> > > 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]<android-kernel%[email protected]> > website: http://groups.google.com/group/android-kernel > -- unsubscribe: [email protected] website: http://groups.google.com/group/android-kernel
