From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Nelson Date: Tue, 08 May 2012 08:53:09 -0700 Subject: [U-Boot] [PATCH] ext2load: increase read speed In-Reply-To: <20120508154349.GC15711@titan.lakedaemon.net> References: <1332945431-12441-1-git-send-email-u-boot@lakedaemon.net> <4F98A23C.1090401@boundarydevices.com> <20120508154349.GC15711@titan.lakedaemon.net> Message-ID: <4FA94165.6020403@boundarydevices.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 Jason, On 05/08/2012 08:43 AM, Jason Cooper wrote: > On Wed, Apr 25, 2012 at 06:17:48PM -0700, Eric Nelson wrote: >> On 03/28/2012 07:37 AM, Jason Cooper wrote: >>> This patch dramatically drops the amount of time u-boot needs to read a >>> file from an ext2 partition. On a typical 2 to 5 MB file (kernels and >>> initrds) it goes from tens of seconds to a couple seconds. >>> >>> All we are doing here is grouping contiguous blocks into one read. >>> >>> Boot tested on Globalscale Technologies Dreamplug (Kirkwood ARM SoC) >>> with three different files. sha1sums were calculated in Linux >>> userspace, and then confirmed after ext2load. >>> >>> Signed-off-by: Jason Cooper >> >> Tested-by: Eric Nelson > > Thanks for testing! I've copied your results into the commit and will > be doing a pull request shortly. > No problem. Ironically, I'm working with an image this morning that loads the kernel from ext2 and I keep thinking my board is locked up because reads take so long. Regards, Eric