[U-Boot] incremental environment updating
Mike Frysinger
vapier at gentoo.org
Mon Apr 13 12:09:07 CEST 2009
currently the env code will erase the entire env storage before writing back
out the current env, even if the env storage has enough empty space to store
the current env. for example, if CONFIG_ENV_SIZE is declared as 0x2000 but
the current env only takes up ~0x300 bytes, the whole 0x2000 is erased and
then the ~0x300 gets written out. seems like we can get a pretty good return
for fairly low effort if we appended env updates rather than erasing/writing
every time ? it'd certainly be faster. while systems with a dedicated sector
this isnt so bad, but for people who have to embed the env in the middle of a
large sector, this would be much faster most of the time.
has there been previous discussion along these lines that i havent seen ?
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20090413/88540c1f/attachment.pgp
More information about the U-Boot
mailing list