From: Pankaj GOYAL Date: Thu, 19 May 2005 09:19:08 +0530 Subject: [U-Boot-Users] Error in erasing the nand flash Message-ID: <006f01c55c25$b6a725c0$0f10b40a@dlh.st.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de HI, I m using the u-boot for my arm926-ejs processor based board.And I m using the 32MB NAND flash of STMicroelectronics on my board.When I use the "nand erase" command to erase the content of the NAND flash I observe that during the erasing if u-boot is unable to erase one of the block ( the error is genrated by uboot "Error erasing at " )it immidiatly comes out of the while loop and do not try to erase further blocks(Reffering to nand_erase function of the u-boot/common/cmd_nand.c file).Isn't u-boot should mark this block as badblock (Because u-boot is getting error in erasing the block) and instead of going out of the while loop it should try to erase the futher blocks.Please provide ur feedback. Regards Pankaj