Hi, I'm trying to load a kernel I built myself in the emulator.  The
kernel is the stock kernel:  I got the config from a running emulator,
and I haven't modified the source in any way with one minor exception:
 I'm building and running on MacOS X, which has no elf.h, so I've
downloaded a copy of it and referred to it from the kernel/scripts/mod
directory.

>From the top-level repo directory, if I run:
out/host/darwin-x86/bin/emulator -kernel kernel/arch/arm/boot/zImage
-system out/target/product/generic/ -show-kernel -verbose

(kernel/arch/arm/boot/zImage is the kernel I built myself.)  When I do
this, I see output from the emulator starting up, stopping at:
emulator: ping program: ./out/host/darwin-x86/bin/ddms
emulator: ping command: ./mydroid/out/host/darwin-x86/bin/ddms ping emulator 1.9

The emulator UI never appears, there's no debug output, nothing
further happens until I kill the emulator.  I can connect to the
emulator with 'telnet localhost 5554' and verify that it's running, or
at least responding on the console, but nothing further.

If, on the other hand, I use the prebuilt kernel, like so:
out/host/darwin-x86/bin/emulator -kernel
prebuilt/android-arm/kernel/kernel-qemu -system
out/target/product/generic/ -show-kernel -verbose

I see the emulator output, and it continues with the kernel starting:
Uncompressing 
Linux.....................................................................................
done, booting the kernel.

and the emulator UI shows, everything's normal.

Any suggestions how to debug this?

Thanks,
--Juan

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

Reply via email to