next try: failsafe update in redboot

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

next try: failsafe update in redboot

Neundorf, Alexander

maybe you remember, I still have the patches for the redundant FIS for Redboot, VV and filesystem around.
All at once it probably a bit much, smaller parts a maybe easier to get in a shape so that they can be committed.

Attached you can find the patch which adds support for a redundant FIS table to Redboot. Two FIS tables are stored in two blocks of the flash, with each update of the FIS table the active table switches. To find the valid table, it features a version count, which is increased with each update. This version count is stored in the first entry of the FIS table, which has for this prupose a special name (".FisValid"). The remaining bytes are used for a validity flag (2 bytes) and 4 bytes for the version count.

What do you think ? Are there still problems ? Can it be committed as it is ?

The patch is against the latest ecos snapshot.


redboot-fis.diff (36K) Download Attachment