kgdb for ppc64 now available

Benjamin Herrenschmidt benh at kernel.crashing.org
Wed Oct 26 08:32:14 EST 2005


On Tue, 2005-10-25 at 15:34 -0700, Geoff Levand wrote:
> Benjamin Herrenschmidt wrote:
> > On Thu, 2005-09-29 at 10:22 -0700, Geoff Levand wrote:
> > 
> >>For those interested, kgdb now supports ppc64 SMP.  On powermac 
> >>only an Ethernet connection is supported currently, but generic 
> >>8250 UART PCI cards will be supported soon.
> > 
> > 
> > It should be fairly trivial to support the SCC of the powermacs. You can
> > access it with a serial port adapter from www.geethree.com, it's handy
> > as it also works with OF.
> > 
> 
> I am starting to look into this.  I got the geethree hardware, but I see 
> there is some code in pmac_zilog.c and some in udbg.c.  Do both these use this 
> port, or are they using different H/W?  First step is to just get some char's out.
> How do I get the kernel configured to use this port?

They both use the same HW. udbg is "low level" stuff, pmac_zilog is a
proper driver for it. The pmac kernel automatically enables udbg to the
SCC if booted with "sccdbg" on the command line.

Ben.





More information about the Linuxppc64-dev mailing list