* behavior of JFFS2 and old data in flash
@ 2006-04-03 14:41 Holger Schurig
0 siblings, 0 replies; only message in thread
From: Holger Schurig @ 2006-04-03 14:41 UTC (permalink / raw)
To: linux-mtd
Is the following statement correct?
When I have an JFFS2 file system which was used for some time
at a customer and now I want to re-flash it, then I have to
erase the whole flash (e.g. all of the 64 MB), even when my
image is only 2.5 MB. Otherwise at the next mount JFFS2 might
intermix sectors from the old image in unerase sectors and
from the new image".
Now, what if I use sumtool? AFAIK sumtool stores the erase sectors
inside an the image. Now JFFS2 knows where erased sectors are located
and doesn't scan the whole image. Therefore the old garbage in the
not-erased-sectors should't make a problem.
If this statement is true as well, then I could omit the
tediuous/time-consuming blockwise erase (my chips don't have a
erase-the-whole-chip function).
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-04-03 15:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-03 14:41 behavior of JFFS2 and old data in flash Holger Schurig
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox