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

Re: Failsafe Firmware Updates


> Actually, there is kind of support for conditional actions. If the
> load fails, the exec will do nothing. So you build a chain
> 
> load -m file /boot/vmlinuz
> exec
> load -m file /boot/vmlinuz.old
> exec
> 

Nice idea, but as you say, it only covers failure to load an image
not failure to boot, start, and successfully find tetris (which is what I want).

At some point after my new linux image is up and running I want it to set some
kind of flag in flash that informs Redboot that the image should be regarded as
suitable for booting in future.
If Redboot sees that flag is not set then it will fallback to booting the
second linux image.
-- 
Stewart Heitmann


-- 
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]