Flash corrupted after a single running session
I have managed to build a kernel and suitable flash drivers to run on a system using an MCS8144, and S25FL512S flash memory chips.
On power up I can load u boot, linux version 220.127.116.11, and file system into flash, and then run. When Linux boots I get numerous error messages such as:
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00d80120: 0xf018 instead
Further such events for this erase block will not be printed
Empty flash at 0x00da12c4 ends at 0x00da12cc
Old JFFS2 bitmask found at 0x00e2a6d8
You cannot use older JFFS2 filesystems with newer kernels
Eventually the Linux command prompt appears and I can navigate through directores, run apps etc, although I do still get errors such as those shown above, and like the ones below:
JFFS2 error: (282) __jffs2_dbg_dump_node: wrong common header CRC.
Error garbage collecting node at 030bbe64!
When I reboot the system it fails to start, the only way to recover is to enable iBoot in the MCS8144, and start again.
Does anyone have any Idea what is causing this problem and how it can be fixed please