This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
fis corruption
- From: Sumit Chauhan <sumitchauhan79 at gmail dot com>
- To: ecos-discuss at sources dot redhat dot com
- Date: Mon, 7 Mar 2005 05:10:16 -0500
- Subject: [ECOS] fis corruption
- Reply-to: Sumit Chauhan <sumitchauhan79 at gmail dot com>
Hi,
we are writting to fis from redboot as well as linux .
and trying to circumvent the possibility of corruption of fis, in case
fis was being written from linux side.
Is it good enough if we put a new dummy fis entry at the end of fis
structure as our magic bit mask and read it for verification from both
sides to maintain sanity ?
Will this be fool proof ? I dont know flash writting internals but
will data be consecutively byte by byte in same flash block ? and so
data at end if there verifies sanity of data ?
(we are doing a erase followed by write from linux kernel side )
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