public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Scott Wood <scottwood@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] environment in NAND
Date: Thu, 15 Sep 2011 17:34:43 -0500	[thread overview]
Message-ID: <4E727D83.5050907@freescale.com> (raw)
In-Reply-To: <CAACX+R0ZH+q3RuDCXSZrNac5oNP9MZDUexobKkGijezZqEjMcQ@mail.gmail.com>

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

      parent reply	other threads:[~2011-09-15 22:34 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-06 14:16 [U-Boot] environment in NAND Arno Steffen
2011-09-06 14:22 ` Wolfgang Wegner
2011-09-06 14:23 ` Marek Vasut
2011-09-07  6:20   ` Arno Steffen
2011-09-07  7:02     ` Wolfgang Wegner
2011-09-07  9:34       ` Arno Steffen
2011-09-07  9:35         ` Wolfgang Wegner
2011-09-07 10:20           ` Arno Steffen
2011-09-07 11:07             ` Wolfgang Wegner
2011-09-15 22:34         ` Scott Wood [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E727D83.5050907@freescale.com \
    --to=scottwood@freescale.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox