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:02:14 -0800 [thread overview]
Message-ID: <4AF09A56.5010204@ovro.caltech.edu> (raw)
In-Reply-To: <8a7857840911031245o366f8e2dw9f42dc7f572592c0@mail.gmail.com>
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.
Your flash is 4Mx16 = 8MB, so it decodes in the 8MB window
(a smaller flash would alias within the window, and a larger
flash would not be completely visible).
Your U-Boot image should be placed at FFF0_0000h, since the
reset vector is located 100h into the image. If you look at
the image, it probably has RCWs in it, however, they
do nothing in that location, the RCWs must be located in the
first sector on the Flash.
Cheers,
Dave
next prev parent reply other threads:[~2009-11-03 21:02 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 [this message]
2009-11-03 21:07 ` David Hawkins
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=4AF09A56.5010204@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