public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] Image copy to ram
@ 2011-04-12  8:01 Matthias Weißer
  2011-04-12 16:20 ` Mike Frysinger
  0 siblings, 1 reply; 5+ messages in thread
From: Matthias Weißer @ 2011-04-12  8:01 UTC (permalink / raw)
  To: u-boot

Hi

I looked into the documentation but I can't find a command which copies 
an image from one address to another. This would be extremly useful for 
me as reading from (uncached) flash is way slower then reading from 
cached SDRAM. Currently booting is done by a simple bootm. This requires 
that the image is read from flash twice (once for checksum and once for 
decompression) If the image is copied to DRAM first it has to be read 
from flash only once. Checksum calculation and decompression is done in 
SDRAM which saves me about 500ms on my system. A further optimization 
would be to do the checksum calculation while copying the image to SDRAM 
which would save some more ms.

So, if there is no such command I am willing to implemt 'imcpy'.


Regards,
Matthias

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-04-12 19:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-12  8:01 [U-Boot] Image copy to ram Matthias Weißer
2011-04-12 16:20 ` Mike Frysinger
2011-04-12 18:47   ` Matthias Weisser
2011-04-12 19:12     ` Mike Frysinger
2011-04-12 19:43       ` Matthias Weisser

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