oob_free->offset = 570
oob_free->length = 174
Which means we do have 174 bytes free OOB area can be used by file system. After a few days tracing and debugging I've found out the GPMI driver method gpmi_ecc_write_page actually does not write oob data(the 174 bytes area) to NAND flash at all? The flags "oob_required" never been used in the method.
Did anybody else use GPMI with OOB data read/write before? Did it work fine or Am I missing something?
Best regards,
Youxin
Hi Youxin
FSL supports only ubifs on i.MX6 BSPs, for gpmi with yaffs2 one can look below
Can the NAND be mounted with the format of Yaff... | Freescale Community
NAND EDO patches
https://community.freescale.com/docs/DOC-95061
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------