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] Nand: Uboot-Environment at bad block
Date: Thu, 4 Aug 2011 13:02:47 -0500	[thread overview]
Message-ID: <4E3ADEC7.30802@freescale.com> (raw)
In-Reply-To: <4E3A6F44.5000808@esd.eu>

On 08/04/2011 05:07 AM, Daniel Gorsulowski wrote:
> Arno Steffen wrote:
>> In one of my devices, uboot-environment is located at a bad block.
>> "save
>> Saving Environment to NAND...
>> Erasing Nand...
>> Skipping bad block at  0x000c0000
>>
>> Writing to Nand... FAILED!"
>>
>> In my memory mapping I have already reseverd 2blocks.
>> How can I setup uboot in a way, that it will look at c0000 or (in case
>> of bad block) at the next block e0000?

Use CONFIG_ENV_RANGE.

-Scott

      reply	other threads:[~2011-08-04 18:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-20 14:10 [U-Boot] Nand: Uboot-Environment at bad block Arno Steffen
2011-06-20 14:33 ` Wolfgang Denk
2011-06-20 14:49   ` Arno Steffen
2011-06-20 14:58     ` Wolfgang Denk
2011-08-04 10:07 ` Daniel Gorsulowski
2011-08-04 18:02   ` 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=4E3ADEC7.30802@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