Help: Error on mounting JFFS2
dvrabel at arcom.com
Thu Feb 19 05:30:55 EST 2004
>>> cfi_cmdset_0002: Disabling fast programming due to code
>> What MTD version you are using? I recommend to get the latest code
>> from CVS, since there was another bug in the cmdset2. You should
>> in fact get two "Disabled X due to bugs" messages.
> The version of cfi_cmdset_0002.c is 1.94, which is almost up-to-date
> without David Vrabel's patches. I have some questions on the
> debugging messages shown below. [...] MTD do_write_oneword(): WRITE
> 0x00780000(0xc03bdd84) MTD do_write_oneword(): Check 0xffffffff
> 0xffffffff MTD do_write_oneword(): Check 0xffffffff 0xffffffff
This looks like you're not write-enabling the flash device or the
sectors are write protected so nothing ever gets written. I'm a bit
surprised the write didn't fail with an error though. The datasheet I
have here for the AM29LV128M doesn't say what the chip is supposed to do
when you try to erase/program protected sectors.
The reason the latest CVS appears to work better is because it no longer
checks the flash to see if the data actually got written -- it assumes
the status reported by the chip is correct.
David Vrabel, Design Engineer
Arcom, Clifton Road Tel: +44 (0)1223 411200 ext. 3233
Cambridge CB1 7EA, UK Web: http://www.arcom.com/
More information about the linux-mtd