linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: "Q-ha Park" <qha@infoeq.com>
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: using bdi2000 to debug ppcboot on mpc7455
Date: Wed, 01 Oct 2003 12:29:05 +0200	[thread overview]
Message-ID: <20031001102910.9DE4DC59E4@atlas.denx.de> (raw)
In-Reply-To: Your message of "Wed, 01 Oct 2003 15:57:45 +0900." <000501c387e9$52901590$2a21a8c0@qha>


In message <000501c387e9$52901590$2a21a8c0@qha> you wrote:
>
> Soft breakpoints just don't work for me. I have two BDI tools, and they
> behave the same. Not only that, "next", "step", and other commands just
> don't work properly.
>
> Here's what I get:
> (gdb) add-symbol-file ppcboot 0x1ffc0000
> add symbol table from file "ppcboot" at
>         .text_addr = 0x1ffc0000

Are you sure  that  0x1ffc0000  is  a  correct  address  of  for  the
relocated image? Do you really have 512 MB of RAM on your system? And
does your U-Boot image really require exactly 256 kB of space?

I think these numbers might be wrong...

> Error accessing memory address 0xfff00100: Unknown error 4294967295.
> (gdb)
>
> And now I get this. Did anyone go thru something like this?

Sounds like you are using bogus addresses.

#define DEBUG when compiling lib_ppc/board.c and check the output.



BTW: this discussion if off-topic in linuxppc-embedded;  please  post
any follow-ups to u-boot-users instead.


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
It is your destiny.                                     - Darth Vader

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

  reply	other threads:[~2003-10-01 10:29 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-25  0:56 using bdi2000 to debug ppcboot on mpc7455 Q-ha Park
2003-09-25  2:33 ` Mark A. Greer
2003-09-25 14:25   ` bradbosch
2003-09-25 18:27     ` Mark A. Greer
2003-09-26  5:52     ` Q-ha Park
2003-09-30 21:35       ` Wolfgang Denk
2003-09-30 21:32     ` Wolfgang Denk
2003-10-01  6:57     ` Q-ha Park
2003-10-01 10:29       ` Wolfgang Denk [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-09-30 22:39 Rod Boyce
2003-09-30 23:38 ` Wolfgang Denk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20031001102910.9DE4DC59E4@atlas.denx.de \
    --to=wd@denx.de \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    --cc=qha@infoeq.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).