From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Thu, 8 Feb 2007 07:06:48 +0100 Subject: [U-Boot-Users] AT91 NAND om AT91SAM9260EK In-Reply-To: <03d701c74b14$07ec1510$c58e11d4@atmel.com> References: <03d701c74b14$07ec1510$c58e11d4@atmel.com> Message-ID: <200702080706.48809.sr@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thursday 08 February 2007 00:17, Ulf Samuelsson wrote: > > Has anyone used the at91_nand driver on the AT91SAM9260EK? > > > > I get bad erase blocks on every block that contaions data (written to > > nand flash with SAM-BA). Seems like the read_oob (read out of bounds > > area) function is returning data from the in bounds area. > > > > U-boot configs the nand flash to use hw ecc (syndrome) whereas the > > at91_nand seems to be setup to use soft ecc. > > According to recent conversations on U-Boot mailing list > U-boot can do a raw copy of a flash file system, but nothing more. > (Correct me if I have misunderstood) Yes. But this copy is bad block aware. > This means that if there are faulty pages in the NAND flash, you are dead. No. Bad blocks are handled correctly. Best regards, Stefan ===================================================================== DENX Software Engineering GmbH, HRB 165235 Munich, CEO: Wolfgang Denk Office: Kirchenstr. 5, D-82194 Groebenzell, Germany =====================================================================