This is the mail archive of the ecos-patches@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

next try: failsafe update in redboot


Hi,

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.

Bye
Alex

Attachment: redboot-fis.diff
Description: redboot-fis.diff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]