* how to debug the linux kernel with a BDI2000
@ 2007-08-27 9:51 jxnuxdy
2007-08-30 9:52 ` Detlev Zundel
0 siblings, 1 reply; 2+ messages in thread
From: jxnuxdy @ 2007-08-27 9:51 UTC (permalink / raw)
To: linuxppc-embedded
[-- Attachment #1: Type: text/plain, Size: 356 bytes --]
My kernel hanged in when passed the parameters to it, and I dump nothing from the log_buf, so I guss it is crashed at the very beginning. however I didn't know how to setup the KDB to load the kernel with the BDI2000 ethernet? is there anyone has even loaded and debugged the kernel with the BDI2000 ethernet? if so pls show me how it goes? ,Thanks- Denny
[-- Attachment #2: Type: text/html, Size: 794 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: how to debug the linux kernel with a BDI2000
2007-08-27 9:51 how to debug the linux kernel with a BDI2000 jxnuxdy
@ 2007-08-30 9:52 ` Detlev Zundel
0 siblings, 0 replies; 2+ messages in thread
From: Detlev Zundel @ 2007-08-30 9:52 UTC (permalink / raw)
To: linuxppc-embedded
Hi Denny,
> My kernel hanged in when passed the parameters to it, and I dump nothing from
> the log_buf, so I guss it is crashed at the very beginning.
>
> however I didn't know how to setup the KDB to load the kernel with the BDI2000
> ethernet? is there anyone has even loaded and debugged the kernel with the
> BDI2000 ethernet? if so pls show me how it goes?
You don't need KDB to use the BDI2000 to debug a linux kernel, in fact
you need nothing on the target side. Simply attach the BDI to your
hardware, and use a (cross-)gdb with the "target remote
<ipaddr>:<port>" command. Our DULG shows how to do that with
U-Boot[1]. Debugging (static) Linux is exactly the same...
Cheers
Detlev
[1] http://www.denx.de/wiki/view/DULG/DebuggingUBoot
--
debian is a prototype for a future version of emacs.
-- Thien-Thi Nguyen in <7eekubiffq.fsf@ada2.unipv.it>
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu@denx.de
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-08-30 9:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-27 9:51 how to debug the linux kernel with a BDI2000 jxnuxdy
2007-08-30 9:52 ` Detlev Zundel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox