This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
corrupt fis detection
- From: Sumit Chauhan <sumitchauhan79 at gmail dot com>
- To: ecos-discuss at sources dot redhat dot com
- Date: Sun, 6 Mar 2005 22:32:38 -0500
- Subject: [ECOS] corrupt fis detection
- Reply-to: Sumit Chauhan <sumitchauhan79 at gmail dot com>
Hi,
we are erasing the fis block from linux kernel and rewritting it with
new information every time on a successfull boot up.
In case of power failure, this I realise opens up a window of error.
Between erase and final write if power reset happens.
Can we be sure that fis will detect that its an unprogrammed fis and act ?
how does redboot detect that fis is blank, some magic number etc ?
Can we be sure that redboot will atleast not get screwed in reading
half cooked information ?
any other way to do this ?
Cheers,
Sumit
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss