Linux MIPS Architecture development
 help / color / mirror / Atom feed
* Kernel Debugging on the DBAu1500
@ 2003-03-07  2:53 Jeff Baitis
  2003-03-07 12:02 ` Juan Quintela
  2003-03-07 13:23 ` Pete Popov
  0 siblings, 2 replies; 10+ messages in thread
From: Jeff Baitis @ 2003-03-07  2:53 UTC (permalink / raw)
  To: linux-mips

Hi all:

I've been trying to get a kernel debugger running on my AMD DBAu1500.  It boots
up over a serial console. I enable "Remote GDB kernel debugging," and "Console
output to GDB."

Here's what I tell YAMON to do:

    go . gdb gdbttyS=0 gdbbaud=115200

And on my x86 machine, I:

    stty ispeed 115200 ospeed 115200 < /dev/ttyS1

    /opt/hardhat/devkit/mips/fp_le/bin/mips_fp_le-gdb vmlinux
    (gdb) target remote /dev/ttyS1 

GDB seems not to communicate. Here's what it says:

    Ignoring packet error, continuing...
    Ignoring packet error, continuing...
    Ignoring packet error, continuing...
    Couldn't establish connection to remote target
    Malformed response to offset query, timeout

Suggestions?

Thanks in advance!

-Jeff

-- 
         Jeffrey Baitis - Associate Software Engineer

                    Evolution Robotics, Inc.
                     130 West Union Street
                       Pasadena CA 91103

 tel: 626.535.2776  |  fax: 626.535.2777  |  baitisj@evolution.com 

^ permalink raw reply	[flat|nested] 10+ messages in thread
* RE: Kernel Debugging on the DBAu1500
@ 2003-03-07 12:11 Dhananjay R. Deshpande
  2003-03-07 12:11 ` Dhananjay R. Deshpande
  0 siblings, 1 reply; 10+ messages in thread
From: Dhananjay R. Deshpande @ 2003-03-07 12:11 UTC (permalink / raw)
  To: Juan Quintela, baitisj; +Cc: linux-mips

Hi,

Try 
(gdb) set remotebaud 115200

before 

(gdb) target remote /dev/ttyS1 


- Dhananjay

> -----Original Message-----
> From: Juan Quintela [mailto:quintela@mandrakesoft.com]
> Sent: Friday, March 07, 2003 5:33 PM
> To: baitisj@evolution.com
> Cc: linux-mips@linux-mips.org
> Subject: Re: Kernel Debugging on the DBAu1500
> 
> 
> >>>>> "jeff" == Jeff Baitis <baitisj@evolution.com> writes:
> 
> Hi
>         perhaps don't help, but try using 57600 bauds.  Some
>         chipsets don't like 115200 bauds.
> 
> I have never used gdb on MIPS, but at least on intel, you need run a
> program in your MIPS board (in intel it is gdbstart called).
> 
> Later, Juan.
> 
> jeff> Hi all:
> jeff> I've been trying to get a kernel debugger running on my 
> AMD DBAu1500.  It boots
> jeff> up over a serial console. I enable "Remote GDB kernel 
> debugging," and "Console
> jeff> output to GDB."
> 
> jeff> Here's what I tell YAMON to do:
> 
> jeff> go . gdb gdbttyS=0 gdbbaud=115200
> 
> jeff> And on my x86 machine, I:
> 
> jeff> stty ispeed 115200 ospeed 115200 < /dev/ttyS1
> 
> jeff> /opt/hardhat/devkit/mips/fp_le/bin/mips_fp_le-gdb vmlinux
> jeff> (gdb) target remote /dev/ttyS1 
> 
> jeff> GDB seems not to communicate. Here's what it says:
> 
> jeff> Ignoring packet error, continuing...
> jeff> Ignoring packet error, continuing...
> jeff> Ignoring packet error, continuing...
> jeff> Couldn't establish connection to remote target
> jeff> Malformed response to offset query, timeout
> 
> jeff> Suggestions?
> 
> jeff> Thanks in advance!
> 
> 
> 
> 
> -- 
> In theory, practice and theory are the same, but in practice they 
> are different -- Larry McVoy
> 
> 

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2003-03-08  4:43 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-07  2:53 Kernel Debugging on the DBAu1500 Jeff Baitis
2003-03-07 12:02 ` Juan Quintela
2003-03-07 13:23 ` Pete Popov
2003-03-07 13:27   ` Pete Popov
2003-03-07 20:36     ` Jeff Baitis
2003-03-07 20:39       ` Pete Popov
2003-03-08  0:27         ` Jeff Baitis
2003-03-08  4:43           ` Daniel Jacobowitz
  -- strict thread matches above, loose matches on Subject: below --
2003-03-07 12:11 Dhananjay R. Deshpande
2003-03-07 12:11 ` Dhananjay R. Deshpande

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox