All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Updegraff <dave@cray.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] slow memory running from flash.
Date: Fri, 04 Nov 2005 08:16:16 -0600	[thread overview]
Message-ID: <436B6D30.9080405@cray.com> (raw)

Hi.

I have an MPC8343 that runs its memory _VERY_ slowly when I run code
from flash.  Identical u-boot code loaded into RAM and run from there is
fine, and 10x or more faster for memcopy and dma_xfer.  I.e. the IMMBAR
setup registers for memory are identical.  Eg. the 'relocate_code()'
routine takes 5 seconds if i am running from flash, but negligible time
if running from RAM.

The only difference in u-boot code is that when running from ram, the
remap_flash_by_XYZ games in start.S are not played.  All dcache issues
are the same either way.

I wonder if anyone has a clue for me about why this might be?

-dbu.

                 reply	other threads:[~2005-11-04 14:16 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=436B6D30.9080405@cray.com \
    --to=dave@cray.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.