linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: "Shenrong" <rshen@udtech.com.cn>
To: <linuxppc-embedded@lists.linuxppc.org>
Subject: MTD problem for Intel Flash
Date: Wed, 26 Feb 2003 21:12:00 +0800	[thread overview]
Message-ID: <000b01c2dd98$a7811fa0$11f196d3@justin> (raw)


Hi,

I met a problem when using JFFS2/MTD with Intel CFI Flash.I mount
JFFS2 fs on a MTD partition and copy a file to JFFS2 fs, then umount
the JFFS2 fs and reboot the system. The bootloader(PPCBoot) crashes
around the first instruction. I check the Flash with BDI, and find the Flash
in
the Status state(i.e. 0x00800080). The Intel CFI Flash is supported in file
cfi_cmdset_0001.c. After the read/write/erase operations, the Flash is not
reset to Ready state(what I think is for increasing the performance). This
doesn't
happen with AMD CFI Flash(impled in cfi_cmdset_0002.c). Even the umount
operation(with cfi_intelext_sync() called ) won't reset the Flash to Ready
state.
So run from Flash after reboot won't success except Hard reset.

I think the Flash should be reset to Ready state at least in
cfi_intelext_sync(), which
will be called whenever the MTD partition is closed. Maybe I have missed
sth.
Any ideas? Thanks.

Shenrong


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

             reply	other threads:[~2003-02-26 13:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-26 13:12 Shenrong [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-02-26 13:29 MTD problem for Intel Flash Jaap-Jan Boor

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='000b01c2dd98$a7811fa0$11f196d3@justin' \
    --to=rshen@udtech.com.cn \
    --cc=linuxppc-embedded@lists.linuxppc.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;
as well as URLs for NNTP newsgroup(s).