No subject
Fri Jan 23 11:48:37 CET 2009
mainline.
First, U-Boot is by design single-threaded. There are no such things
as "background tasks" running, and adding these seems little
attractive to me. If you need such complicated things or protocols
you should be using an OS instead.
Second, I recommend not to implement such an update scheme. It suffers
from the problem that you first have to erase valid data (without
backup), before you know if you will get a replacement for these.
Normally I recommend never to start erasing the flash before the
download of the new image has been completed, and the image has been
checked for consistency. This makes reliable update procedures much
easier. Agin, quite often it makes sense to implement this not in
U-Boot, but in an OS instead.
Third, your decription makes it clear that the use of this new
feature depends on a proprietary download protocol, which nobody else
uses (and probably nobody ever will use), i. e. you are the only user
of this feature.
On the other hand, our rul for accepting code is that it should be
useful at least to some, as long as it doesn't hurt others. So before
making a definitive statement I think we should be able to have a
look at the code first.
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
"Confound these ancestors.... They've stolen our best ideas!"
- Ben Jonson
More information about the U-Boot
mailing list