[U-Boot] [RFC PATCH] Implementation of non-blocking flash write/erase/status check functions.

Wolfgang Wegner wolfgang at leila.ping.de
Fri Oct 30 16:02:52 CET 2009


Hi list,

sorry, there should have been more description on top, but somehow I
messed up the commit log message and did not realize it until now. :-(

 Implementation of non-blocking flash write/erase/status check functions.
 Enable with CONFIG_SYS_FLASH_CFI_NONBLOCK
 These can be useful to erase flash/write data during a serial data
 transfer for software updates.

In reference to the comments of Wolfgang Denk:
The update protocol is surely not perfect (although I probably have
other things in mind I do not like about it than you), but the update
is normally done from the application. When this update fails due to
power loss or whatever reason, the bootloader shall be able to update
the software on its own. The advantage of this rather crude approach
is that it needs less flash space and there is no check necessary to
see which image in flash is the most current one.

Regards,
Wolfgang



More information about the U-Boot mailing list