All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Erase error on dual P30 (CFI) flash chips
Date: Fri, 15 Jun 2007 15:48:47 +0200	[thread overview]
Message-ID: <200706151548.47448.sr@denx.de> (raw)
In-Reply-To: <46729BC8.17849.9930C@w.wegner.astro-kom.de>

On Friday 15 June 2007, w.wegner at astro-kom.de wrote:
> > Flash erase error at address ffd80000
> > Block Erase Error.
> > Block locked.
> >  done
> > Erased 1 sectors
>
> if I am not mistaken, you have to also set:
>
> #define CFG_FLASH_PROTECTION 1

And you will have to set the environment variable "unlock" to "yes". This will 
unlock all non U-Boot special sectors by default upon powerup.

=> setenv unlock yes
=> saveenv

Best regards,
Stefan

=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================

  reply	other threads:[~2007-06-15 13:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-15 11:55 [U-Boot-Users] Erase error on dual P30 (CFI) flash chips Floris Lambrechts
2007-06-15 12:01 ` w.wegner at astro-kom.de
2007-06-15 13:48   ` Stefan Roese [this message]
2007-06-15 14:15     ` Tolunay Orkun

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=200706151548.47448.sr@denx.de \
    --to=sr@denx.de \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.