Informations from Internet
UBIFS - UBI File-System
http://www.linux-mtd.infradead.org/doc/ubifs.html
mtd:gpmi patch for Deal with bitflips in erased regions
--> Already tested this patch, seems not work in our device.
http://lists.infradead.org/pipermail/linux-mtd/2013-December/050794.html
The BCH block typically used with a i.MX28 and GPMI block is only
able to correct bitflips on data actually streamed through the block.
When erasing a block the data does not stream through the BCH block
and therefore not ECC data is written to the NAND chip. This causes
gpmi_ecc_read_page to return failure as soon as a single non-1-bit is
found in an erased page. Typically causing problems at higher levels
(ubifs corrupted empty space warnings).
This patch configures the BCH block to mark a block as 'erased' if
no more than ecc_strength bitflips are found.