This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Failsafe Firmware Updates
- From: Stewart Heitmann <stewart at heitmann dot id dot au>
- To: ecos-discuss at ecos dot sourceware dot org
- Date: Tue, 16 May 2006 10:40:21 +1000
- Subject: [ECOS] Failsafe Firmware Updates
Can Redboot be setup to boot a second linux image
in case the first one fails to boot?
I want to be able to upgrade my firware in the field,
and if the new firmware fails to boot then I would
like Redboot to revert to a factory-default firmware
image as a fallback position (on the next power-up).
So how can Redboot tell if the previous boot failed?
And if it can tell, how does it then change its own
config settings? The boot scripts don't appear to
support conditional statements of any kind.
Any ideas?
--
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