On 10/27/2011 10:22 AM, Ivan Nardi wrote: > On 20 October 2011 11:06, Arno Steffen <arno.stef...@googlemail.com> 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/u-boot@lists.denx.de/msg22963.html) > > Could you share it? > Thanks a lot
raw read/write was recently added to mainline U-Boot: commit fb3659ac422801ea18f36ef62926df70beeada4c Author: Marek Vasut <marek.va...@gmail.com> 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 <marek.va...@gmail.com> Cc: Scott Wood <scottw...@freescale.com> Cc: Stefano Babic <sba...@denx.de> Cc: Wolfgang Denk <w...@denx.de> Cc: Detlev Zundel <d...@denx.de> [scottw...@freescale.com: s/write the page/access the page/] Signed-off-by: Scott Wood <scottw...@freescale.com> 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 U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot