public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Henrik Bork Steffensen <hbs@rosetechnology.dk>
To: linux-mtd@lists.infradead.org
Subject: Unlocked flash is re-locked by unknow
Date: Tue, 30 May 2006 16:09:42 +0200	[thread overview]
Message-ID: <447C5226.5030800@rosetechnology.dk> (raw)

Hi,
We have this custom arm based board were we ran Linux 2.4 for 3 years,
now we are moving to 2.6 and has problems with our NOR Flash.

After boot the flash is locked which is normal for this chip.
Then we run flash_unlock and mounts the jffs2 fs.
At this point we can create /remove files.
But after a some time (or some actions) we get write errors.
If we re-run flash_unlock, everything works fine again for
some time (or some actions), then it locks again....

We have tried to figure out which action lock's the device without
success...

We have tried kernel 2.6.16.5 and 2.6.17-rc4 with and without
mtd patch (stable and git).

The flash is: AT49BV320 (4MByte, NOR, almost-CFI-compliant)
It is auto discovered by cfi.
The chip claims to be original Intel flash, but it has another
mapping of its capabilities bits (which is soo nice). We have made
an ugly fix to this issue by changing the bitmap which is read
from the device. Removing this code has no effect on the described
problem, just thought you should now :-)

This is not a HW problem since booting 2.4 makes it work again.

Please provide any hint, a simple link to will be fine.

Thanks in advance.

-- 
med venlig hilsen / best regards / Mit freundlichen Grüßen

Henrik Bork Steffensen

RoseTechnology A/S
http://www.rosetechnology.dk

             reply	other threads:[~2006-05-30 14:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-30 14:09 Henrik Bork Steffensen [this message]
2006-05-30 19:37 ` Unlocked flash is re-locked by unknow Nicolas Pitre
2006-05-31  8:12   ` Henrik Bork Steffensen

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=447C5226.5030800@rosetechnology.dk \
    --to=hbs@rosetechnology.dk \
    --cc=linux-mtd@lists.infradead.org \
    /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