Skip to content
Snippets Groups Projects
Commit 436da3cd authored by u-boot@lakedaemon.net's avatar u-boot@lakedaemon.net Committed by Wolfgang Denk
Browse files

ext2load: increase read speed


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: default avatarJason Cooper <u-boot@lakedaemon.net>
Tested-by: default avatarEric Nelson <eric.nelson@boundarydevices.com>
Tested-by: default avatarThierry Reding <thierry.reding@avionic-design.de>
parent 669df7e4
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment