From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Date: Thu, 15 Sep 2011 17:34:43 -0500 Subject: [U-Boot] environment in NAND In-Reply-To: References: <201109061623.08797.marek.vasut@gmail.com> <20110907070232.GG21272@leila.ping.de> Message-ID: <4E727D83.5050907@freescale.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 09/07/2011 04:34 AM, Arno Steffen wrote: > "# save > Saving Environment to NAND... > Erasing Nand... > Warning: Erase size 0x00002000 smaller than one erase block 0x00020000 > Erasing 0x00020000 instead > Skipping bad block at 0x000c0000 > > Writing to Nand... FAILED!" In newer versions of U-Boot this is a hard failure, not a warning. CONFIG_ENV_RANGE should probably be defaulting to CONFIG_ENV_SECT_SIZE, not CONFIG_ENV_SIZE -- that would eliminate this problem. -Scott