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]

fis corruption


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


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