linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* debugging using bdi2000, unable to proceed.
@ 2003-04-17 13:10 Omanakuttan
  2003-04-17 13:45 ` Wolfgang Denk
  0 siblings, 1 reply; 10+ messages in thread
From: Omanakuttan @ 2003-04-17 13:10 UTC (permalink / raw)
  To: 'linuxppc-embedded@lists.linuxppc.org'


We are using bdi200 for debugging linux kernel (2.4.1 and 2.4.17).
our target board is mpc8260ADS, with ppcboot 2.0.0

we are using http://www.ultsol.com/PDFS/Tool%20Talk%2002-001a.pdf as a
refernce to get bdi 2000 setup running.
Connections are made as per the document.
bdisetup is run from the host. Using the configuration file.
We used format IMAGE and file zImage and the image file  loaded to
0x400000 using bdi2000.
run ppc_82xx-gdb from the host.

Output from gdb
GNU gdb 5.1.1
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "--host=i386-redhat-linux --target=ppc-linux"...
(gdb) target remote 10.1.40.176:2001
Remote debugging using 10.1.40.176:2001
0x00404480 in ?? ()
(gdb) continue
Continuing.

Program received signal SIGSTOP, Stopped (signal).
0x00404478 in ?? ()
(gdb) pwd
Working directory /root.
(gdb) b start_here
Breakpoint 1 at 0xc0003694
(gdb) b startk\b \b_kernel
Breakpoint 2 at 0xc013e618: file init/main.c, line 527.
(gdb) continue
Continuing.

Program received signal SIGSTOP, Stopped (signal).
0x00404474 in ?? ()
(gdb) until start_kernel

Program received signal SIGSTOP, Stopped (signal).
0x00404470 in ?? ()
(gdb) until start_here

Program received signal SIGSTOP, Stopped (signal).
0x0040446c in ?? ()

</end of gdb output>

The documnetation (above referneced) says that one should connect
minicom (any serial communication
program). But when we connect the BDI JTag interface, we get the message
on BDI Telnet,

004000c0 : 3863fffc 3884fffc 38000000 94030004  8c..8...8.......
004000d0 : 7c032000 4082fff8 7c290b78 3c200040  |. .@...|).x< .@
004000e0 : 60217148 38212000 3821ff00 3840000f  `!qH8! .8!..8@..
004000f0 : 7c211078 4800012d 7d034378 7ce43b78  |!.xH..-}.Cx|.;x
- TARGET: target has entered debug mode
- TARGET: target has entered debug mode

The target is in debug mode and we cannot enter any command from
minicom/kermit.

We are struck at this point. Is there any funcamental error we are
commiting?

Any idea/poiters will be appreciated.
Thanks.
Om.


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

end of thread, other threads:[~2003-04-18 23:24 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20030418160238.8EB5BC58B9@atlas.denx.de>
2003-04-18 10:49 ` debugging using bdi2000, unable to proceed Jeff H Zhong
2003-04-18 22:22   ` Wolfgang Denk
2003-04-18 15:59     ` Jeff H Zhong
2003-04-18 23:23       ` Wolfgang Denk
2003-04-18 16:12     ` Jeff H Zhong
2003-04-18 23:24       ` Wolfgang Denk
2003-04-17 13:10 Omanakuttan
2003-04-17 13:45 ` Wolfgang Denk
2003-04-18 11:43   ` Omanakuttan
2003-04-18 14:51     ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).