jffs2 with sync burst mode
Konstantin Kletschke
lists at ku-gbr.de
Thu Mar 10 18:24:02 EST 2005
Am 2005-03-10 13:25 -0600 schrieb Steve Wahl:
> [ I don't actually know what kind of writes and reads the filesystem
> does. I subscribe to this list for the MTD half, not the JFFS
Me neither, I hope the people here will guide me to find out :)
> Since your raw dumps of the flash after the fact appear good(?), I'd
> concentrate on the read operations. (If the dumps were bad, I'd look
> at the writes.)
Yeah.
> If your hardware screws up with unusual alignment, well, it's not all
> that rare of a bug to find.
Well lets see. If you look at my debug outputs, I am actually tracing
the problem down to the memcpy function itself.
I suspect there is something wrong with the data cache.
memcpy misreads the correct the original and puts garbage into the copy,
which is most often a line above the original. I don't suspect burst
wrap mode or such, because too much other things work well in this mode
and both, source and copy of the memcpy function are actually in RAM
already...
Regards, Konsti
--
GPG KeyID EF62FCEF
Fingerprint: 13C9 B16B 9844 EC15 CC2E A080 1E69 3FDA EF62 FCEF
More information about the linux-mtd
mailing list