JFFS2 filesystem corrupts immediately (Magic bitmask 0x1985 not found errors)
If you have this error it may be a problem with SPI frequency. [ 99.740000 ] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001d4070: 0xff0a instead [ 99.760000 ] jffs2: Empty flash at 0x001d4074 ends at 0x001d412c [ 99.770000 ] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001d412c: 0xffff instead [ 99.790000 ] jffs2: Empty flash at 0x001d4130 ends at 0x001d4194 [ 99.790000 ] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001d4194: 0xff0a instead Mine was not related to erasesize or image creating. Had to lower my SPI Freq to 30Mhz instead 100Mhz in my dts file. I know, it is confusing but really that was the problem. Hope it helps.