Problem with JFFS2 and Toshiba TC58FVB641 flash chips
Suzuki, Stephanie
Stephanie.Suzuki at cda.canon.com
Wed Jul 31 19:36:48 EDT 2002
I am using the MTD and JFFS2 that came with the 2.4.18 kernel. I have Toshiba's TC58FVB641 Flash chips on my system. For the most part, this has been working well. I have been able to create, boot, and modify a complete root filesystem. However, I have experienced an intermittent problem when I modify the filesystem. If I upload and install an rpm to my system that writes quite a few files (say 50) to my jffs2 partition, then warm boot my system, I will sometimes get the following error upon boot:
Flash device: 1000000 at bf000000
Flash start = bf000000, Flash end = c0000000
CFI: Found no Flash Partition device at location zero
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 2048 bind 4096)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Cannot open root device "mtdblock3" or 1f:03
I then have to do a cold boot to make the problem go away. I read in the archives of this list something about the flash chips getting stuck in a write state. So prior to the warm boot, I did a
/bin/mount / / -o remount,ro
dd if=/dev/mtd3 of=/tmp/duh count=1
/bin/sync
/bin/sync
/sbin/init 6
to try and get it back into a good state. It did not help.
I've also tried to modify my bootloader to send a read/reset command to the flash chip, but that did not work either. Has anyone seen this or have any suggestions?
More information about the linux-mtd
mailing list