"Read-only file system" error while writing

David Woodhouse dwmw2 at infradead.org
Thu Aug 1 06:31:40 EDT 2002


gromit1463 at mailworks.org said:
>  they all call do_write_buffer().  I was looking at the specsheet for
> my STMicro chips, and I didn't see any mention of Write-to-Buffer
> (command 0xE0) which is in the Intel command set, and issued by
> do_write_buffer().  Is this command supported on the STMicro chips?
> Could non-support contribute to my problem? 

We should be checking the CFI table for buffer-write support and not trying 
to use it if it's not present. Can you check the datasheet for the chip 
agrees with the built-in CFI table?

--
dwmw2






More information about the linux-mtd mailing list