public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* Erasebug on AMD flashes
@ 2004-03-17 19:51 dkey
  2004-03-17 22:39 ` Shawn Jin
  2004-03-18 10:25 ` David Vrabel
  0 siblings, 2 replies; 6+ messages in thread
From: dkey @ 2004-03-17 19:51 UTC (permalink / raw)
  To: linux-mtd, dvrabel

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

^ permalink raw reply	[flat|nested] 6+ messages in thread
[parent not found: <E1B3wBv-0005HA-9d@pentafluge.infradead.org>]

end of thread, other threads:[~2004-03-22 10:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-17 19:51 Erasebug on AMD flashes dkey
2004-03-17 22:39 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox