Erasebug on AMD flashes
dkey
dk.dbox2 at gmx.net
Wed Mar 17 14:51:22 EST 2004
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
More information about the linux-mtd
mailing list