[U-Boot] Image copy to ram

Matthias Weisser weisserm at arcor.de
Tue Apr 12 20:47:46 CEST 2011


Am 12.04.2011 18:20, schrieb Mike Frysinger:
> On Tuesday, April 12, 2011 04:01:18 Matthias Weißer wrote:
>> I looked into the documentation but I can't find a command which copies
>> an image from one address to another.
> 
> you mean 'cp' ?

Well, not exactly. cp doesn't know anything about the size of an image
and is, compared to a simple memcpy or even an optimized version of
memcpy, painfully slow which would eat up my expected performance
improvements. A quick hack showed that a "imcpy" command could save me
some 400ms on boot time which is about 50% of the total time spend in
u-boot.

Regars,
Matthias


More information about the U-Boot mailing list