All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Vrabel <dvrabel@arcom.com>
To: linux-mtd@lists.infradead.org
Subject: Re: Erasebug on AMD flashes
Date: Thu, 18 Mar 2004 10:25:17 +0000	[thread overview]
Message-ID: <4059790D.4020904@arcom.com> (raw)
In-Reply-To: <200403172051.22120.dk.dbox2@gmx.net>

dkey wrote:
> 
> we are using jffs2 on the dbox2 and AMD flash chips, but since rev. 1.96 of 
> cfi_cmdset_0002.c we can't erase the flashes. rev. 1.94 works without 
> problems.

"since 1.96" doesn't make sense.  Any breakage would be from 1.95.

> here are some debug infos, tell me if you need more!

Part numbers of the flash chips and their configuration (interleaved etc.).

> would be please if anybody can take a look over the code or revert revision of 
> cfi_cmdset_0002.c to 1.94.

There's no reason why you can't revert to 1.94 yourself.

FWIW, I'm now of the opinion that chip_status() is definately broken for 
interleaved chips and probably cannot be made to work without ending up 
with a mess.

I would suggest using the data polling algorithm instead (where applicable).

Also, ignoring the internal flash timeout (DQ5 toggling) and instead 
relying on the software timeout might be acceptable.  However, a 
repeatedly suspended erase keeps getting its software timeout extended 
and thus there is a possibility of the software timeout never occuring. 
  Hmmm.  An internal timeout requires a chip reset and thus we can't 
actually suspend an internally timed-out erase so the software timeout 
won't be extended.

David Vrabel
-- 
David Vrabel, Design Engineer

Arcom, Clifton Road           Tel: +44 (0)1223 411200 ext. 3233
Cambridge CB1 7EA, UK         Web: http://www.arcom.com/

  parent reply	other threads:[~2004-03-18 10:25 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-17 19:51 Erasebug on AMD flashes dkey
2004-03-17 22:39 ` Shawn Jin
2004-03-18 10:25 ` David Vrabel [this message]
     [not found] <E1B3wBv-0005HA-9d@pentafluge.infradead.org>
2004-03-18 22:02 ` dkey
2004-03-19 10:20   ` David Vrabel
2004-03-19 12:27     ` Re[2]: " barthezz
2004-03-22 10:41       ` David Vrabel

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=4059790D.4020904@arcom.com \
    --to=dvrabel@arcom.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.