i.MX25 NFC with 8 bit ecc strength

Ricard Wanderlof ricard.wanderlof at axis.com
Mon Apr 20 05:19:43 PDT 2015


On Mon, 20 Apr 2015, Baruch Siach wrote:

> Hi Shawn, Sascha, all,
> 
> I'm trying to get nand_ecclayout right on i.MX25 with the Micron 
> MT29F8G08ABABA (page size: 4096, oob size: 224). The large OOB size allows 
> using hardware ecc strength of 8bit per ecc step (512 bytes). The mxc_nand 
> driver code (get_eccsize()) and the reference manual seems to indicate that 
> enabling 8 bit ecc mode requires 26 oob bytes per ecc step.

Note sure if these really is relevant to this thread, but using BCH, 8 bit 
error correction per 512 byte ECC step requires 13 bytes of ECC codes per 
ECC step. (Depending on other factors, this will actually fit nicely even 
in a 64 byte OOB).

/Ricard
-- 
Ricard Wolf Wanderlöf                           ricardw(at)axis.com
Axis Communications AB, Lund, Sweden            www.axis.com
Phone +46 46 272 2016                           Fax +46 46 13 61 30



More information about the linux-mtd mailing list