From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Tue, 6 Sep 2011 16:23:08 +0200 Subject: [U-Boot] environment in NAND In-Reply-To: References: Message-ID: <201109061623.08797.marek.vasut@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tuesday, September 06, 2011 04:16:59 PM Arno Steffen wrote: > NAND is sufferered from Bad blocks and bit errors. Thats why usually > exists a bad block handling and an ECC. Am I wrong, that I miss both > on uboot for it's environment? > Or is my uboot just to old (2010.06) and newer versions handle this? > Is there a special setting necessary to handle this? > I see that environment is CRC protected but this make things even > worse, if not an important bit is toogled. > Best regards > Arno Hi, the mtd subsystem in uboot is based on the one from linux. The ECC handling is there, no problem. The problem you might experience is in case you have a wrongly implemented NAND driver, which ignores ECC. What board/cpu do you use? Also, why so old uboot, use mainline? Cheers > _______________________________________________ > U-Boot mailing list > U-Boot at lists.denx.de > http://lists.denx.de/mailman/listinfo/u-boot