Re: Kernel Debugging on the DBAu1500

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2003-03-07 at 12:36, Jeff Baitis wrote:
> Pete wrote wrote:
> > > Take a look at the board and remind me if the second serial port is
> > > actually uart2, where the first is uart0. 
> Pete wrote:
> > Sorry, I meant uart3, which would be a reason why the UART2_ADDR define
> > below wouldn't work.
> 
> Hrm. The DBAu1500 seems to lock up when I execute:
>     echo "please, no freeze" > /dev/ttyS2
> I can't even get SysRq to work after that command.

You're just a troublemaker ;) I'll take a look and fix it. I suspect I
know what the problem is.

> /dev/ttyS3 works fine, though.
> 
> > > I think it might be. If that's
> > > the case, arch/mips/au1000/common/dbg_io.c has this define if kgdb is
> > > defined:
> > > 
> > > #define DEBUG_BASE  UART2_ADDR
> 
> I changed it to:
> #define  DEBUG_BASE  UART3_ADDR
> 
> Debugging seems to work great now! Thanks!

No problem.

Pete



[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux