public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: dkey <dk.dbox2@gmx.net>
To: linux-mtd@lists.infradead.org, dvrabel@arcom.com
Subject: Erasebug on AMD flashes
Date: Wed, 17 Mar 2004 20:51:22 +0100	[thread overview]
Message-ID: <200403172051.22120.dk.dbox2@gmx.net> (raw)

Hi list!

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.
here are some debug infos, tell me if you need more!

when we want to erase the flashes with MEMERASE ioctl, we get these errors:


Erase at 0x00080000 failed immediately: errno -5
MTD do_erase_oneblock(): flash internal timeout
Erase at 0x00060000 failed immediately: errno -5
MTD do_erase_oneblock(): flash internal timeout
Erase at 0x00040000 failed immediately: errno -5
MTD do_erase_oneblock(): flash internal timeout
Erase at 0x00020000 failed immediately: errno -5
MTD do_erase_oneblock(): flash internal timeout
Erase at 0x00000000 failed immediately: errno -5
MTD do_erase_oneblock(): flash internal timeout
Erase at 0x000c0000 failed immediately: errno -5
MTD do_erase_oneblock(): flash internal timeout



when we do erase with "eraseall" binary:


eraseall: /dev/mtd/3: MTD Erase failure: Input/output error
Erasing 128 Kibyte @ 20000 -- 14 % complete.MTD do_erase_oneblock(): flash 
inter
nal timeout

eraseall: /dev/mtd/3: MTD Erase failure: Input/output error
Erasing 128 Kibyte @ 40000 -- 28 % complete.MTD do_erase_oneblock(): flash 
inter
nal timeout

eraseall: /dev/mtd/3: MTD Erase failure: Input/output error
Erasing 128 Kibyte @ 60000 -- 42 % complete.MTD do_erase_oneblock(): flash 
inter
nal timeout

eraseall: /dev/mtd/3: MTD Erase failure: Input/output error
Erasing 128 Kibyte @ 80000 -- 57 % complete.MTD do_erase_oneblock(): flash 
inter
nal timeout

eraseall: /dev/mtd/3: MTD Erase failure: Input/output error
Erasing 128 Kibyte @ a0000 -- 71 % complete.MTD do_erase_oneblock(): flash 
inter
nal timeout

eraseall: /dev/mtd/3: MTD Erase failure: Input/output error
Erasing 128 Kibyte @ c0000 -- 85 % complete.MTD do_erase_oneblock(): flash 
inter
nal timeout


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

greets dkey

             reply	other threads:[~2004-03-17 19:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-17 19:51 dkey [this message]
2004-03-17 22:39 ` Erasebug on AMD flashes Shawn Jin
2004-03-18 10:25 ` David Vrabel
     [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=200403172051.22120.dk.dbox2@gmx.net \
    --to=dk.dbox2@gmx.net \
    --cc=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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox