public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] debug u-boot using bdi2000
@ 2006-10-13 17:41 Reeve Yang
  2006-10-13 18:05 ` Ben Warren
  0 siblings, 1 reply; 9+ messages in thread
From: Reeve Yang @ 2006-10-13 17:41 UTC (permalink / raw)
  To: u-boot

I'm trying to use bdi2000+gdb to debug u-boot. The image is ROM image on
flash, whenever I connect gdb to bdi, I saw execution stops at:

_start: /* time t 0 */
    li    r21, BOOTFLAG_COLD  /* Normal Power-On: Boot from FLASH*/ ===>here
    nop
    b    boot_cold

Then though I can set break point, e.g. cpu_init_f, but when continue
running break point never stops execution and u-boot just runs by itself.

Does it mean I can only debug ram image? does anyone has experience on this
could shed some lights?

Thanks.

- Reeve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20061013/8bd18da5/attachment.htm 

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

end of thread, other threads:[~2006-10-13 18:52 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-13 17:41 [U-Boot-Users] debug u-boot using bdi2000 Reeve Yang
2006-10-13 18:05 ` Ben Warren
2006-10-13 18:12   ` Reeve Yang
2006-10-13 18:23     ` Reeve Yang
2006-10-13 18:44       ` Ben Warren
2006-10-13 18:34     ` Ben Warren
2006-10-13 18:38       ` Timur Tabi
2006-10-13 18:48         ` Ben Warren
2006-10-13 18:52           ` Brent Cook

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