breakpointing with bdi2000

Wolfgang Denk wd at denx.de
Fri Aug 24 08:41:45 EST 2001


In message <200108232122.QAA24130 at lists.linuxppc.org> you wrote:
>
> 1. Power on the box and let ppcboot load my vmlinux file via tftp

You missed Step 0: RTFM.

> 2. start up gdb and do the following:

> (gdb) target remote bdi:2001
> Remote debugging using bdi:2001
> 0x1fd3540 in ?? ()
> (gdb) add-sym vmlinux 0xc0000000
> add symbol table from file "vmlinux" at
> 	.text_addr = 0xc0000000
> Reading symbols from vmlinux...done.
> (gdb) break mem_init
> Breakpoint 1 at 0xc014c424: file init.c, line 861.
> (gdb) c
> Continuing.
>
> 3. Pop back over to ppcboot and then type:
> bootm 00100000
>
> The kernel starts but never stops at mem_init. If I pop over to the telnet
> window for the bdi and manually stop the box I can step, but it won't break.

See the BDI2000 manual, especially section 3.3.4 Embedded  Linux  MMU
Support.

Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
I have made mistakes, but have never made the mistake of  claiming  I
never made one.                                     - James G. Bennet

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





More information about the Linuxppc-embedded mailing list