Sergei Shtylyov wrote: > Here's the KGDB serial driver for the Alchemy SOC based boards. The baudrate > is > configurable; however, the port number is not, always being designated > DBAU1xx0 > boards' "debug" UART, i.e. UART1 for Au1200 SOC and UART3 on other SOCs. Also, > there is no aynchronous breakpoint support (due to IRQ numbers changing with > each UART :-). > > Signed-off-by: Konstantin Baydarov <[EMAIL PROTECTED]> > Signed-off-by: Sergei Shtylyov <[EMAIL PROTECTED]> > > --- > The patch is against the linux2_6_24_uprev branch. > The driver works for the kernels *before* 2.6.24 -- that version has uncovered > a big issue with MIPS KGDB port due to that continuing from an early > breakpoint > locks the machine up. As a workaround for now, replace cal_r4koff() call with > 'return -1' -- that way at least the late breakpoints work... > > drivers/serial/Makefile | 1 > drivers/serial/au1x00_kgdb.c | 95 > +++++++++++++++++++++++++++++++++++++++++++ > lib/Kconfig.kgdb | 9 +++- > 3 files changed, 104 insertions(+), 1 deletion(-) > This is merged to the 2.6.24 uprev branch.
Jason. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Kgdb-bugreport mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport
