public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] slow memory running from flash.
@ 2005-11-04 14:16 David Updegraff
  0 siblings, 0 replies; only message in thread
From: David Updegraff @ 2005-11-04 14:16 UTC (permalink / raw)
  To: u-boot

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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-11-04 14:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-04 14:16 [U-Boot-Users] slow memory running from flash David Updegraff

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox