From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Ashley Date: Mon, 8 May 2006 11:46:43 -0700 Subject: [U-Boot-Users] NAND search for bad blocks on startup In-Reply-To: <20060508095055.A315D353A57@atlas.denx.de> Message-ID: <200605081846.k48IkhDL017032@xdr.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de >In message <200605061602.k46G2T6b030445@xdr.com> you wrote: >> The newer NAND system seems to do a bad block search on startup. >> This takes several seconds when the NAND is big, like 256Mbytes. >> How about an #ifndef around this search, like CFG_NAND_NO_BAD_BLOCK_SEARCH >> so it can be turned off? > >Do you think this is a good idea? Hmmm. I guess I don't really understand the reasons why the nand bad was done automatically on startup in the first place. I'm mainly just speaking of during development -- 5-10 seconds additional delay on each iteration of testing out u-boot adds up. So it would be nice to be able to *not* do the nand bad intentionally at startup during development. Maybe the switch could exist, but after final code release always don't activate it so it does the "nand bad" on startup as it does now... -Dave