Perhaps you need the -system argument to the emulator. So after building Android and the kernel tree, I do something like this:
$ out/host/linux-x86/bin/emulator -kernel kernel/arch/arm/boot/zImage - system out/target/product/generic/ On Feb 4, 2:37 pm, mshah <meelaps...@gmail.com> wrote: > Hello, > > I've checked out the goldfish branch and have built using the arch/arm/ > configs/goldfish_defconfig .config file, the prebuilt arm-eabi > toolchain, and ARCH set to arm. However, running the emulator with > the custom kernel does not work: > > $ emulator -kernel arch/arm/boot/zImage > > The emulator remains at the "Android..." screen. For about a minute > after launching the emulator, "adb devices" returns "emulator-5554 > offline" after which adb does not find any devices. I would > appreciate any help regarding what I should do to get the emulator to > boot a custom kernel. > > Thank you. > > On Feb 4, 10:38 am, Greg KH <gre...@gmail.com> wrote: > > > On Wed, Feb 4, 2009 at 6:32 AM, Leon <astroli.l...@gmail.com> wrote: > > > > Hi, > > > I am not familiar with git. > > > There are _many_ tutorials on the web which will help you resolve this > > problem. Have you tried reading them? > > > > I do not know to how to switch from refs/heads/android-2.6.27 to refs/ > > > heads/android-goldfish-2.6.27. > > > Could you tell me how to use git command to get android- > > > goldfish-2.6.27 ? > > > Just checkout the remote android-goldfish-2.6.27 branch. This can be > > done in a variety of different ways, but the most common would be: > > > git checkout -t origin/android-goldfish-2.6.27 -b goldfish > > > which would create a local branch called goldfish and check it out and > > cause it to track the upstream goldfish branch. > > > good luck, > > > greg k-h --~--~---------~--~----~------------~-------~--~----~ unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-kernel -~----------~----~----~----~------~----~------~--~---