[U-Boot] [PATCH 0/5] New environment code
Wolfgang Denk
wd at denx.de
Sat Jul 17 23:41:57 CEST 2010
Dear Mike Frysinger,
In message <201007171728.27716.vapier at gentoo.org> you wrote:
>
> i wonder if we could #ifdef the sorting/hashing. i tend to agree with
The sorting does not take much:
-> size lib/qsort.o
text data bss dec hex filename
264 0 0 264 108 lib/qsort.o
The hashing on the other hand might be replacable.
> Reinhard that it is very common for boards to be deployed with a small env, so
> i wonder if the normal runtime experience is actually faster, or if the
> difference is about the same as system noise: boot u-boot, load env with ~20
> entries, read a few env vars, boot OS.
Yes, this is one common use case.
But then, I see also systems that are running pretty complex shell
scripts to implement features like reliable software updates etc., and
there we see an improvment.
Also, speed is just one aspect - for me the capability of having
several "profiles" is much, much more important.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
It is more rational to sacrifice one life than six.
-- Spock, "The Galileo Seven", stardate 2822.3
More information about the U-Boot
mailing list