kgdb for ppc64 now available
Geoff Levand
geoffrey.levand at am.sony.com
Wed Oct 26 11:59:58 EST 2005
Benjamin Herrenschmidt wrote:
> 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.
>
Ok, I see. Is that thing register compatible (or at least close) with a
8250/16550 UART? It seems the udbg.c code treats it that way, but then
pmac_zilog.c seems to have all its own routines for i/o. I'd like to just
hook it up to the existing kgdb 8250 driver code.
-Geoff
More information about the Linuxppc64-dev
mailing list