Thanks Niklas,
I'm having a holiday now,I will try it later ,thks a lot.
Steven
2009/1/1 Niklas Hallqvist
>
>
> I do it all the time.
>
> Here's a paste of how I start the emulator. If this does no work you
> are basing it of a different tree than I (do you use cupcake? maybe it's
> changed t
I do it all the time.
Here's a paste of how I start the emulator. If this does no work you
are basing it of a different tree than I (do you use cupcake? maybe it's
changed there?)
/home/projects/android/mydroid/out/host/openbsd-x86_64/bin/emulator
-system out/target/product/generic -kernel kern
Hi all:
Does anyone debug android kernel in qemu successful?,I have tried ,but
failed ,emulator told me that it does not support the qemu option.does
anyone add the qemu option to the android emulator?
steven
2008/12/22 Niklas Hallqvist
>
>
> OK, I checked my from memory instructions up, and
OK, I checked my from memory instructions up, and you
cannot issue the target remote command in gdb, before
you have started qemu from the monitor: so add a quick
(qemu) cont
(qemu) stop
thing in there. Of course that might mean you're missing real early
init, if so, and you need to debug that, y
Well, it isn't very hard to debug the kernel in the emulator.
Configure the kernel by hand to include debugging symbols:
cd kernel
make menuconfig
Select Kernel hacking or whatever it is called and select the item
which says to compile the kernel with debugging info.
make
cd ..
When starting the e
You probably want kgdb for the goldfish platform, you may have to port kgdb
to the goldfish platform. The patches my apply pretty cleanly though.
So for now, your best bet is printk's. If you do port kgdb to the goldfish
platform please send your patches back to us.
On Fri, Nov 28, 2008 at 8:47 P
hi Mike
so far i just need to trace it by emulator on my PC
since i dont have a msm borad
and i just want to know how to easy-tracing Android kernel
for example , its initialization (before Zygote is initialized)
i think it will be efficient if i have a debugger
rather than just seeing print
Perhaps you are referring to the msm_serial debugger? Which allows one to
debug (limited) the kernel over serial on the msm arch.
CONFIG_MSM_SERIAL_DEBUGGER
On Thu, Nov 20, 2008 at 7:03 PM, allstars <[EMAIL PROTECTED]> wrote:
>
>
> http://source.android.com/release-features
>
> i think the sour
http://source.android.com/release-features
i think the source for kernel debugger is located in /mydroid/system/
core/adb/kdbg.c
and some other files
i just dont know how to use it yet
On Nov 21, 12:31 am, Frank Maker <[EMAIL PROTECTED]> wrote:
> Where did you see their announcement for enha
Where did you see their announcement for enhancing support for kernel
debugging?
I am also very interested in the best way to do kernel debugging.
--
Frank Maker
Graduate Student Researcher
University of California, Davis
Micropower Circuits and Systems Group (MCSG)
[EMAIL PROTECTED]
allstar
10 matches
Mail list logo