Changing the ECC method for a running system (UBI seems to use OOB?)
Steffen Kühn
sk at ammonit.com
Thu Apr 11 12:29:44 EDT 2013
Hello everyone,
the problem which I have to solve is to change the type of the used ECC
procedure for a linux system with UBIFS >>after<< the installation. For
this purpose I have modified the first-stage bootloader so, that it
reads all blocks with the old ECC method (software ECC 1-bit) and
re-writes these with the new one (on-die hardware ECC, Micron flash).
The reason for that effort is, that the old method has to be proven as
to bad (to much bit errors). Unfortunately it is not possible to install
the system new with activated on-die ECC, because the hardware is
scattered over the world.
The update procedure works in principle fine, that means, it is possible
to update the blocks for kernel, u-boot, first-stage bootloader and
environment variables. But the rootfs makes problems. Can it be, that
UBIFS uses some bytes of the OOB structures, perhaps indirect?
Have someone any hints for me?
Best regards,
Steffen
More information about the linux-mtd
mailing list