From: Kate Alhola <kate@iti.fi>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] u-boot and bdi2000
Date: Sat, 08 May 2004 00:32:03 +0300 [thread overview]
Message-ID: <409C0053.1050306@iti.fi> (raw)
In-Reply-To: <20040507200827.DF22FC109F@atlas.denx.de>
Wolfgang Denk wrote:
>In message <409BE936.4010604@iti.fi> you wrote:
>
>
>>Is there quick hint why u-boot does not start up when bdi2000 is
>>connected to mpc5200 board.
>>
>>
>
>Because you did not enter a "go" command, or used a bad address with
>the "go" ?
>
>
>
Of cource i entered go command and and user right address
>>problem is simple. I load my flash programming code ( rload ) to mpc5200
>>internal sram
>>with bdi2000 and program u-boot to flash. So, loading and running code
>>
>>
>
>Why that? Why don't you just use the BDI2000 to load and program the
>image to flash?
>
>
Few reasons, at first, the board is not Icecube, it is my own and it has
diferent flash etc.
It is easiest to do initial testing to load code to internal sram . With
this code i can
test ethernet, serial, flash and sdram. And it is fast to program flash
directly over ethernet.
>>Then when i reset system and try start u-boot it hangs in initialization
>>code but
>>if i remove bdi2000 it boots u-boot without problems.
>>
>>
>
>What is PC pointing to after reset, and what is your correct entry
>point?
>
>
>
It is pointing reset vector and there is right reset code in this
address. I traced execution
with bdi2000 ti command and it executes something 10 instructions ultill
it hangs
allways in same place.
- Target MBAR is 0xF0000000
- Target XLBA is 0x80000006
BDI> Target CPU : MPC8280/MGT5200 (Zeppo)
Target state : debug mode
Debug entry cause : trace
Current PC : 0xfff00130
Current CR : 0x00000000
Current MSR : 0x00001002
Current LR : 0x00000000
BDI>ti
- Target MBAR is 0xF0000000
- Target XLBA is 0x00000000
BDI> Target CPU : MPC8280/MGT5200 (Zeppo)
Target state : debug mode
Debug entry cause : COP freeze (startup)
Current PC : 0xfff00134
Current CR : 0x00000000
Current MSR : 0x00001002
Current LR : 0x00000000
# Step timeout detected
BDI>
Or, if i just run from reset:
- TARGET: processing target startup passed
BDI>info
Target CPU : MPC8280/MGT5200 (Zeppo)
Target state : debug mode
Debug entry cause : COP freeze (startup)
Current PC : 0xfff00100
Current CR : 0x00000000
Current MSR : 0x00001002
Current LR : 0x00000000
BDI>go
BDI>info
Target CPU : MPC8280/MGT5200 (Zeppo)
Target state : running
BDI>halt
- Target MBAR is 0xF0000000
- Target XLBA is 0x00000000
BDI> Target CPU : MPC8280/MGT5200 (Zeppo)
Target state : debug mode
Debug entry cause : COP freeze (startup)
Current PC : 0xfff03178
Current CR : 0x00000000
Current MSR : 0x00001002
Current LR : 0xfff00138
BDI>ti
- Target MBAR is 0xF0000000
- Target XLBA is 0x00000000
BDI> Target CPU : MPC8280/MGT5200 (Zeppo)
Target state : debug mode
Debug entry cause : COP freeze (startup)
Current PC : 0xfff03178
Current CR : 0x00000000
Current MSR : 0x00001002
Current LR : 0xfff00138
# Step timeout detected
BDI>
In either case nothing appears in to the console. Also, allways the
address is same
and i got the step timeout.
>>The bdi2000 initializtion file is based one from denx ftp server. I
>>just ask, if this
>>is commonly known problem before spending any bit more time for it.
>>
>>
>
>I guess that reading the docs would help. See for example
>"doc/README.IceCube"
>
>
I did not find anything about this issue. The u-boot works, it has right
addresses,
vectors etc. It just things that i already know. The problem is to get
it working
with bdi2000. There is something that i did wrong with bdi2000
configuration
and i try figure out what.
Kate
next prev parent reply other threads:[~2004-05-07 21:32 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-07 19:53 [U-Boot-Users] u-boot and bdi2000 Kate Alhola
2004-05-07 20:08 ` Wolfgang Denk
2004-05-07 21:32 ` Kate Alhola [this message]
2004-05-07 22:06 ` Dan Malek
2004-05-07 22:20 ` Wolfgang Denk
2004-05-08 11:03 ` Kate Alhola
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=409C0053.1050306@iti.fi \
--to=kate@iti.fi \
--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