We are using imx28 for a project. We have 4GB MLC NAND and we use UBI fs. We created 6 mtd partitions.
20 MB for linux
256 MB for rootfs
256 MB for backup of rootfs
others are not important
We have encountered ecc problem. Sometimes rootfs becomes readonly, sometimes it couldn't be mounted. We are using Samsung K9LBG08U0D, it has (4K + 218)B blocks and supports 8 bit failure for ecc. But in gpmi_nfc_set_geometry() function (in gpmi-nfc-hal-common.c file), ecc_strength is set to 16 for 218 bytes oob. Is this difference important? Should I set ecc_strength to 8?