Skip to contentSkip to conversation

erase error when I use the Intel E28F128J3C-150 chip

DISCUSSION [email protected] 2 participants 2 messages Jun 2, 2004 – Jun 3, 2004 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

Dear all:

I wrote a flash writer program to download all images to this chip,It's
working. and then, I tryed to use jffs2 & MTD to mount root filesystem.
I mounted this partition as root when I mounted It as a read only filesystem.
But when I mounted it as a writeable filesystem, the system was crashed. I tryed to debug this error, and I found that the problem is erase error in do_erase_oneblock().
The system crashed after erase command.(CFI:0x20,0xD0) in this function.(waiting... and then core dump....)

I can use my flash writer program to erase block,
so I rewrite a simple code like the erase function part of my flash writer porgram to replace the do_erase_oneblock()
but the system crash after the CFI erase commend still, even It working in my flash writer program.

Can you give me some help or advices ?

Thank you!!

Thomas# Chiang

#1 lore raw

On Thu, 03 Jun 2004 00:39:34 +0800, linuxtom wrote

Quoted 7 lines

...
But when I mounted it as a writeable filesystem, the system was crashed. I tryed to debug this error, and I found that the problem is erase error in do_erase_oneblock().
The system crashed after erase command.(CFI:0x20,0xD0) in this function.(waiting... and then core dump....)
...

If you provide a decoded dump error (through ksymoops), your kernel version and patches you applied, as well as the date you got your MTD from CVS (if you did), people can help you a lot easier.

Does this error happen every time, or is it intermittant?

Dan