public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: David Hawkins <dwh@ovro.caltech.edu>
To: u-boot@lists.denx.de
Subject: [U-Boot] MPC8349E-MDS questions
Date: Tue, 03 Nov 2009 13:07:30 -0800	[thread overview]
Message-ID: <4AF09B92.6020800@ovro.caltech.edu> (raw)
In-Reply-To: <4AF09A56.5010204@ovro.caltech.edu>

David Hawkins wrote:
> Hi Mit Matelske,
> 
>> I believe I made the changes to our FPGA that the eval's CPLD did when
>> the FCFG gets switched to 1 (bringing up flash enable at reset).
>> Since we have a smaller flash, I am putting the u-boot.bin at
>> 0xFFE00000 (0xFFF00000 for the original Freescale u-boot), the base
>> address for our flash.  But I'm still not having any luck.
> 
> Look at p33 for a logic analyzer power-on reset trace:
> http://www.ovro.caltech.edu/~dwh/carma_board/powerpc_mpc8349e.pdf
> 
> When your board boots, assuming you have the configuration
> reset words pin strapping set to read from the local bus,
> the processor will read the RCWs starting from 'address zero'
> on CS#0, i.e., from the beginning of your flash.
> 
> If you have BMS = 0, then the reset vector will be 100h.
> 
> If you have BMS = 1, then the reset vector will be FFF0_0100h.
> 
> The default memory window during boot is setup 8MB from
> the end of flash, i.e., starting at FF80_0000h.

Sorry, that should say high-boot (BMS = 1).

For low-boot (BMS = 0), the 8MB window starts at address 0
on CS#0.

In that case the U-Boot reset vector starts in the same sector
as the RCWs, with the RCWs at 0, and the reset vectors at 100h.
Thats why you also see the RCWs in the high-boot image (well,
you used to, not sure if you do now).

Cheers,
Dave

  reply	other threads:[~2009-11-03 21:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-03 20:45 [U-Boot] MPC8349E-MDS questions Mit Matelske
2009-11-03 21:02 ` David Hawkins
2009-11-03 21:07   ` David Hawkins [this message]
2009-11-11 19:37     ` Mit Matelske

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=4AF09B92.6020800@ovro.caltech.edu \
    --to=dwh@ovro.caltech.edu \
    --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