]> www.infradead.org Git - mtd-utils.git/commit
ubi-utils: nand2bin had ECC calculation problems
authorFrank Haverkamp <haver@vnet.ibm.com>
Sat, 24 Nov 2007 10:04:51 +0000 (11:04 +0100)
committerFrank Haverkamp <haver@vnet.ibm.com>
Sat, 24 Nov 2007 10:04:51 +0000 (11:04 +0100)
commitec50ff6d648dee1f3024e1cbd23f1d1cec4944dc
treef1a9fcefd8a87025b781c835d7de09f88b6dc28d
parent636524b9c8fa81d0c07f1f0bbf3ac9e5f6287247
ubi-utils: nand2bin had ECC calculation problems

Fixed a problem when ECC was checked. The correction was not properly
done by subpage. Added more output for the moment to be able to figure
out more potential problems.

Added testcase: bin2nand2bin.sh and biterror inject program inject_biterror.pl

Interface
  o ECC correction disabled by default. Switch to turn it
    explicitly on. The user must specify what he wants to be done.

Signed-off-by: Frank Haverkamp <haver@vnet.ibm.com>
ubi-utils/scripts/bin2nand2bin_test.sh [new file with mode: 0644]
ubi-utils/scripts/inject_biterror.pl [new file with mode: 0644]
ubi-utils/src/nand2bin.c
ubi-utils/src/nandcorr.c
ubi-utils/src/nandecc.h