public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Setting strataflash lock bit accidentally
Date: Fri, 21 Jul 2006 13:45:32 +0200	[thread overview]
Message-ID: <20060721114532.18523353B57@atlas.denx.de> (raw)
In-Reply-To: Your message of "Fri, 21 Jul 2006 13:22:20 +0200." <44C0B8EC.8090405@dave-tech.it>

In message <44C0B8EC.8090405@dave-tech.it> you wrote:
>
> > Use MTD tools under Linux to unlock the flash?
> 
> Indeed this is a possible solution but I'm looking for a general one 
> implemented in u-boot. In fact it must work with any operating system 
> and I must assume o.s. might not provide MTD or similar tools.

It is easy to postulate  requirements.  But  seriously,  if  you  are
careless  enough  to  use  flash chips which can change modes or even
lose data by just writing random data to  sequential  addresses  then
you  must  also  accept  the  consequences.  Either  provide adequate
recovery mechanisms in Linux or your OS of choice or in U-Boot.

I have to admit that I fail to understand what exactly  your  problem
is:  if  you  want  to use the hardware protection features in U-Boot
(including the unlocking of locked sectors)  then  just  enable  this
feature in U-Boot.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Nobody goes to that restaurant anymore. It's too crowded.

      reply	other threads:[~2006-07-21 11:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-21 10:19 [U-Boot-Users] Setting strataflash lock bit accidentally llandre
2006-07-21 11:02 ` Wolfgang Denk
2006-07-21 11:22   ` llandre
2006-07-21 11:45     ` Wolfgang Denk [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=20060721114532.18523353B57@atlas.denx.de \
    --to=wd@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox