hi Juan Lang,

Thanks for the reply. I will just try this and let you know. and also
i just want to know one thing. I am behind the proxy so I am not able
to sync with the repo. is there any possible way to get the goldfish
kernel through http.


thanks
raj


On Aug 13, 1:05 am, Juan Lang <juan.l...@gmail.com> wrote:
> The kernel in the android source dir isn't of much use.  You'll want
> to check out the kernel tree separately.  I did the following:
>
> $ git clone git://android.git.kernel.org/kernel/common.git
> $ git checkout -t origin/android-goldfish-2.6.27 -b goldfish
> $ cd common # the kernel source is now in here
> $ make goldfish_defconfig
>
> Then build it and run it.
>
> If that doesn't work for you, you may need to get the config from a
> running kernel, rather than using the goldfish_defconfig.  Use
> something like 'adp pull /proc/config.gz', decompress config.gz, and
> rename it .config in the kernel source directory.  Then build and run
> it.
>
> Good luck,
> --Juan
>
>
>
> On Wed, Aug 12, 2009 at 5:48 AM, rk<raj.10...@gmail.com> wrote:
>
> > HI,
>
> > I am trying to build the custom kernel from the kernel source which is
> > inside the Android source dir. To build the kernel I just followed the
> > steps given in the following thread
>
> >http://groups.google.com/group/android-platform/browse_thread/thread/...
>
> > In that they mentioned that we can start the emulator with the
> > following command.
>
> > out/host/linux-x86/bin/emulator -kernel kernel/arch/arm/boot/zImage -
> > system out/target/product/generic/ &
>
> > But when I try to boot upi with that I got few errors. at the end I
> > end up with the following command to start the ematulor with the
> > prebuilt kernel,
>
> > $ ~/android_cupcake_old/out/host/linux-x86/bin/emulator -ramdisk
> > ramdisk.img -sysdir . -system system.img -initdata userdata.img -data
> > userdata.image -kernel ~/android_cupcake_old/prebuilt/android-arm/
> > kernel/kernel-qemu
>
> > So now the above command launching the emulator fine with the pre-
> > built the kernel.
>
> > So now I changed the command to launch the emulator with the new built
> > kernel. Here is the command.
>
> > $ ~/android_cupcake_old/out/host/linux-x86/bin/emulator -ramdisk
> > ramdisk.img -sysdir . -system system.img -initdata userdata.img -data
> > userdata.image -kernel ~/android_cupcake_old/kernel/arch/arm/boot/
> > zImage
>
> > So here I am not able to see anything. The terminal looks like it's
> > booting the emulator. But there is nothing coming up. and also there
> > is no messages.
>
> > Please give me some pointers and suggestions to make my own build of
> > the kernel and launch the emulator using the custom kernel  not with
> > the prebuilt.
>
> > Thanks
> > Raj- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel
-~----------~----~----~----~------~----~------~--~---

Reply via email to