Tool to generate NAN_ECC_SOFT OOB data?
daniel.hobi at schmid-telecom.ch
Tue Mar 8 09:41:17 EST 2011
what is the preferred way to generate ECC data during manufacturing when
using software ECC (NAND_ECC_SOFT)?
Reading "Can I program NAND via JTAG?" on
http://www.linux-mtd.infradead.org/faq/nand.html, I assume some JTAG
tools are capable of generating ECC data during programming. However, I
would prefer to generate the ECC data beforehand and use a "raw"
programming mode (still skipping bad blocks). Ideally the OOB/ECC layout
is defined only once for both the MTD NAND driver and a userspace tool
to generate image files containing OOB data.
mtd-utils.git once contained such a tool called bin2nand which was
removed with commit 94a20240 (ubi-utils: remove old ubi-utils) on
2010-09-28. Does anyone know a replacement tool?
@Frank: a long time ago (2008-02-18), you tried to move bin2nand to the
top-level directory. Do you still use such a tool?
More information about the linux-mtd