From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthias Weisser Date: Tue, 12 Apr 2011 20:47:46 +0200 Subject: [U-Boot] Image copy to ram In-Reply-To: <201104121220.20472.vapier@gentoo.org> References: <4DA406CE.1050200@arcor.de> <201104121220.20472.vapier@gentoo.org> Message-ID: <4DA49E52.3040605@arcor.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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