This is the mail archive of the ecos-discuss@sources.redhat.com 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]

Re: [Proposal & Patch] enhancing redboot/fis for failsafe flash updates


On Friday 08 October 2004 16:49, Gary Thomas wrote:
> On Fri, 2004-10-08 at 08:29, Neundorf, Alexander wrote:
> > Hi,
> >
> > we need to be able to perform safe updates of the firmware, safe
> > regarding power loss at any point in time. Since redboot comes with FIS,
> > we'd like to use fis. In order to update the firmware a new firmware
> > image has to be placed on the flash and the fis directory has to be
> > updated. When updating the fis directory, the directory is erased and
> > afterwards written with the new contents. Now if the power goes down
> > directly after erasing the directory redboot can't start the firmware
> > image anymore since it can't read the directory.
>
> ....
>
> I plan on looking at this next week (today I'm moving house).  However,
> before we can consider such massive changes, 

Well, actually the patch to redboot is quite small I'd say and should be 
compatible to redboot without the patch.
(fisfs.h and fisfs.cpp are not ment to be applied as they are now, and they 
are not meant to be added to redboot, they are intended for the application. 
I just attached them to show that we have working code).

> we'll need copyright assignment for this work.  Have you applied for this
> already?  If not, please visit our website for the details.

I don't think this will be a problem.

Bye
Alex
-- 
Work: alexander.neundorf@jenoptik.com - http://www.jenoptik-los.de
Home: neundorf@kde.org                - http://www.kde.org
      alex@neundorf.net               - http://www.neundorf.net


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


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