All of lore.kernel.org
 help / color / mirror / Atom feed
From: "benszau@googlemail.com" <benszau@googlemail.com>
To: linux-mtd@lists.infradead.org
Subject: problem writing to flash
Date: Wed, 25 Jul 2007 11:59:41 +0200	[thread overview]
Message-ID: <46A71F0D.5070001@googlemail.com> (raw)

Hi,

I have a problem, writing to my flash device (Intel StrataFlash - 28F128J3).
Background: I'm using a phyCORE-MPC5200B-tiny module (a PPC embedded board)
Now I want to write to the onboard flash. First I tryed to use the MTD
package provided by the OpenWRT porject. Compiling was no problem but
when I tried to unlock (erase/write) the flash memory, I got an error:
"phys_mapped_flash: block unlock error: (status timeout)".
Then I tried to access my flash using the mtd-tools (provided by
http://www.linux-mtd.infradead.org) and I got the same error
"phys_mapped_flash: block unlock error: (status timeout)" when I tried
to unlock /dev/mtd2.
Now the mysterious part: I examined the code, I found "mtdLockInfo.start
= 0" and changed it to "mtdLockInfo.start = 1" and then it worked!!!
So, my question is: Why???
Is this a bug or am I doing something wrong?


I'm thankful for every hint.

Simon

                 reply	other threads:[~2007-07-25  9:59 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=46A71F0D.5070001@googlemail.com \
    --to=benszau@googlemail.com \
    --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 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.