<div dir="ltr"><div><div><div>Hello,<br><br>It turned out that mtk_nand driver uses some sophisticated accounting and a general nand code must be patched. <br><br>This patch adds required read and erase calls to a general nand code. I used a  code  for re6500 released by Linksys as a reference.<br><br>All required operations (erase, write and read) are usable. However I found that jffs2 filesystem can be created only on top of a ubi volume. I tried  to create jffs2 directly on mtd device but pages with clean markers are became uncorrectable.<br><br>This patch also includes changes that I sent earlier.<br><br></div>Best regards,<br></div>Kirill.<br><br></div>Signed-off-by: Kirill Berezin (<a href="mailto:fyiwdt@gmail.com">fyiwdt@gmail.com</a>)<br><div><br><div><div><br><br></div></div></div></div>