From: Robert Schwebel <robert@schwebel.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Debugging U-Boot with BDI2000
Date: Thu, 11 Sep 2003 13:55:44 +0200 [thread overview]
Message-ID: <20030911115544.GI8367@pengutronix.de> (raw)
In-Reply-To: <3F604A6E.7030308@gmx.de>
On Thu, Sep 11, 2003 at 12:11:58PM +0200, Glenson Muthedan wrote:
> I'm quite new to U-Boot and trying to get started with the
> Bootloader-Stuff for some weeks now. My Board is similar to Accelent
> IDP or CSB226(PXA250 with 32 MB Strataflash and 32 MB SDRAM).
Did you try using U-Boot + one of my -ptx patches? Should work better on
PXA than vanilla because of the memory layout problems.
> U-Boot seems to crash on my board before it can output something through
> the serial line. So I wanted step through U-Boot right from the very
> first instruction using BDI2000 while booting. The problem is that the
> information the bdi user manual gives, is quite confusing. I tried out
> various configurations for BDI2000, but really don't know what to do
> with the vector table in the "Mini IC" and the debug handler stuff.
I currently use this one:
[TARGET]
CPUTYPE PXA250 ; the target CPU type
JTAGCLOCK 1 ; use 8 MHz JTAG clock
DBGHANDLER 0xFE000800 ;
ENDIAN LITTLE ; memory model (LITTLE | BIG)
BREAKMODE HARD ; SOFT or HARD; HARD does only allow two
; breakpoints, but does work on flash
;VECTOR CATCH 0xDE ; trap all vectors
;VTABLO 0xE59FF014 ; Use fixed vectors "ldr pc, [pc, #14]"
> The situation now is as following: The target is in debug mode right
> from the start and the PC is pointing to 0xffff0004. "go" or "ti"
> doesn't work because of access to an invalid memory address. (My
> configuration file now contains a blank [INIT] section and no vector
> table/debug handler stuff in the [TARGET] part)
I started with the Lubbock config which came with the BDI and it worked
quite fine.
> 1) Is it possible to debug U-Boot with BDI2000 (Linux host) at all?
> (eg. step through the instructions)
Yes, works perfectly.
> 2) Do somebody have a working configuration file for BDI2000 (Linux
> host) to be used with a PXA250-target?
I send you my CSB config with separate mail.
Robert
--
Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
Pengutronix - Linux Solutions for Science and Industry
Handelsregister: Amtsgericht Hildesheim, HRA 2686
Hornemannstra?e 12, 31137 Hildesheim, Germany
Phone: +49-5121-28619-0 | Fax: +49-5121-28619-4
next prev parent reply other threads:[~2003-09-11 11:55 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-11 10:11 [U-Boot-Users] Debugging U-Boot with BDI2000 Glenson Muthedan
2003-09-11 10:45 ` Wolfgang Denk
2003-09-11 11:55 ` Robert Schwebel [this message]
[not found] <200307211005.32005.jbeisert@eurodsn.de>
2003-07-21 8:36 ` [U-Boot-Users] Debugging u-boot " Wolfgang Denk
2003-07-21 9:36 ` Juergen Beisert
-- strict thread matches above, loose matches on Subject: below --
2003-07-18 11:21 Juergen Beisert
2003-07-18 12:05 ` Wolfgang Denk
2003-07-18 12:28 ` Juergen Beisert
2003-07-18 19:08 ` Wolfgang Denk
2003-07-18 12:11 ` Juergen Beisert
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=20030911115544.GI8367@pengutronix.de \
--to=robert@schwebel.de \
--cc=u-boot@lists.denx.de \
/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