On 10/27/2011 10:22 AM, Ivan Nardi wrote: > On 20 October 2011 11:06, Arno Steffen <[email protected]> wrote: >> >> I modified single bits by adding a patch (thanks Scott Wood) to uboot, >> that allows write in raw mode to flash. Single bit error can corrected >> with HW-ECC, not with SW-ECC. > > Hi all, > > I would be very interested in using that patch (it is very useful for > testing ecc algorithms) > In u-boot the command "nand biterr" isn't implemented yet and some > code found in the mailing list is pretty old and never merged (why?) > into mainline (http://www.mail-archive.com/[email protected]/msg22963.html) > > Could you share it? > Thanks a lot
raw read/write was recently added to mainline U-Boot: commit fb3659ac422801ea18f36ef62926df70beeada4c Author: Marek Vasut <[email protected]> Date: Fri Sep 23 15:43:10 2011 +0200 NAND: Add nand read.raw and write.raw commands These commands should work around various "hardware" ECC and BCH methods. Signed-off-by: Marek Vasut <[email protected]> Cc: Scott Wood <[email protected]> Cc: Stefano Babic <[email protected]> Cc: Wolfgang Denk <[email protected]> Cc: Detlev Zundel <[email protected]> [[email protected]: s/write the page/access the page/] Signed-off-by: Scott Wood <[email protected]> As for why the biterr patch wasn't merged, it's because nobody ever resubmitted with a version that fixed the issues raised in review and applies to the current tree. -Scott _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

