From: Ben Warren <biggerbadderben@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Problems booting without BDI
Date: Thu, 20 Nov 2008 09:51:31 -0800 [thread overview]
Message-ID: <4925A3A3.7080203@gmail.com> (raw)
In-Reply-To: <492597D4.5030804@ovro.caltech.edu>
David Hawkins wrote:
> Hi Alemao,
>
>
>> I made a port of u-boot for my board, with MPC8343.
>>
>> The problem is that when i run u-boot with the BDI2000 (using "reset run"
>> command), u-boot loads normally, but when i take off the BDI nothing
>> appears on serial.
>>
>> BDI is setting the reset configuration word, and is the same word found
>> in u-boot image. I commented the line wich BDI sets the reset word, and
>> tried to read it from the BDI, its seems ok _BUT_, nothing appears on serial.
>>
>> Any ideas about what could be happening?
>>
>
> Perhaps your processor is not being driven with the correct
> pin strapping values to cause it to read configuration reset
> words from Flash.
>
> Check the schematic connections for the configuration reset
> words source pins (they're LGPL pins that do dual duty during
> boot).
>
> The assignments for the 8349 are:
>
> CFG_RS[0:2] = LGPL[0, 1, 3]
> CFG_CLKIN_DIV = LGPL[5]
>
> Look in the reference manual for your processor. Now that you
> know what you are looking for, it should be easy to locate.
>
> The CFG_xx pins need to be driven at reset, they're captured
> by the processing on the rising edge of PRST#. You may find
> that the design has a tri-state buffer being controlled by
> the HRST# pin; when HRST# is low, the signals are driven,
> when high, they're disabled and used as GPIO/LBC signals.
>
> These comments are based on my experience with the 8349,
> but the 8343 should be similar.
>
> Cheers,
> Dave
>
>
>
To somewhat re-phrase what Dave mentioned, one common issue is that at
boot time, the four least-significant local bus address bits are driven
by different signals than the standard local bus address bits (sorry,
don't have the documentation here so don't know the exact names).
Without this you can't red the RCW words from NOR flash. Compare your
schematic to the one for the MPC8349EMDS to make sure you got this right.
regards,
Ben
next prev parent reply other threads:[~2008-11-20 17:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-20 16:02 [U-Boot] Problems booting without BDI Alemao
2008-11-20 17:01 ` David Hawkins
2008-11-20 17:51 ` Ben Warren [this message]
2008-11-20 18:04 ` David Hawkins
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=4925A3A3.7080203@gmail.com \
--to=biggerbadderben@gmail.com \
--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