Thread (1 message) 1 message, 1 author, 2003-09-30

Re: using bdi2000 to debug ppcboot on mpc7455

From: Wolfgang Denk <hidden>
Date: 2003-09-30 21:32:41

In message [ref] you wrote:
In addition to the issue Mark pointed out, you can't use soft
breakpoints while you are running from ROM which is the common case
for the early init parts of U-Boot.

Also, once U-Boot has relocated itself, you need to identify the new
base address and inform gdb of the new load address.
And not to forget that, in the very  early  startup  code  (like  the
symbol  "boot_cold" mentioned by Q-ha Park), the memory controller is
still running in the reset configuration, i. e.  the  PC  will  still
point  to the reset vector area (0x0000'01xx or 0xFFF0'01xx), and NOT
yet  to  the  addresses  in  the  U-Boot  symbol  table.  Only  after
"in_flash" the symbols are correct.


Best regards,

Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
"A little knowledge is a dangerous thing."                - Doug Gwyn

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help