From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Updegraff Date: Fri, 04 Nov 2005 08:16:16 -0600 Subject: [U-Boot-Users] slow memory running from flash. Message-ID: <436B6D30.9080405@cray.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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.