From: Wolfgang Denk Date: Sun, 11 Jan 2009 22:56:38 +0100 Subject: [U-Boot] NAND bad environment block handling In-Reply-To: <817622.67175.qm@web33604.mail.mud.yahoo.com> References: <817622.67175.qm@web33604.mail.mud.yahoo.com> Message-ID: <20090111215638.3EEEE832E425@gemini.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 Dear Frans Meulenbroeks, In message <817622.67175.qm@web33604.mail.mud.yahoo.com> you wrote: > > > Time to look into UBI, me thinks. > > For u-boot env settings?? Why not? Once the flash is UBI managed, there are virtually no bad blocks any more. > My problem that the designated env blocks can be bad or become bad during the lifetime of the device. Not desirable especially not for expensive devices. As mentioned before, U-Boot supports bad block handling on NAND, so just allocate a few spare blocks to the environment area. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Keep your eyes wide open before marriage, half shut afterwards. -- Benjamin Franklin