behavior of JFFS2 and old data in flash
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).