Hi Ivan, On Tuesday 16 October 2012 11:36 PM, Tony Lindgren wrote:
* Ivan Djelic<ivan.djelic@xxxxxxxxxx> [121010 09:40]:
I ran several mtd regression tests on a Beagle Board on your gpmc-czimage-v2 tag. All BCH error correcting tests passed successfully.
I occasionally had weird read errors though, especially when reading blank pages: the omap driver returned 512-byte sectors containing something like:
I was able to reproduce the problem also on l2-mtd tip, albeit less often. The problem seems to occur quite randomly, it may be a hardware issue on my board...
Things like this typically happen in the GPMC timings are not correct. Maybe add #define DEBUG to top of gpmc.c and compare the timings before and after Afzal's patches?
Latest series for gpmc related cleanup for common zImage removed dependency on minor timing cleanups (this series was dependent on on another series that did minor timing cleanups). A pull request for the new series on gpmc cleanup for common zImage that does not contain timing related changes and without dependency on timing related changes has been sent to Tony (forwarded to you now). He has pulled those changes onto l-o in "omap-for-v3.8/cleanup-headers-gpmc" As there are no changes w.r.t timing's in the new series, behaviour should be same as without.
Anyway, the ECC handling part looks OK to me.
Regards Afzal -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html