CFI Extended (Intel P30) problems on an ARM PXA255

Nicolas Pitre nico at cam.org
Wed May 3 22:58:29 EDT 2006


On Wed, 3 May 2006, Dan Merillat wrote:

> I originally sent this to the linux-arm list, but it's looking more
> and more like either a MTD issue, or a hardware issue with our board.
> 
> We have a custom PXA255 board, based on the generic Intel reference
> design.  Nothing very
> complex at all.   RAM, Strataflash (P30), JTAG and a serial port is
> all I have active at this point.
> 
> Everything works correctly, until I try to write to the filesystem. As soon as
> I do, I start getting JFFS corruption notices.  It's fairly
> obvious what's wrong: All reads are returning 0x0080, the 'Ok' status
> bit.   I can break in the jtag, write a reset to the flash, and
> continue, and new reads work properly, until I write again (or the
> original write retries).
> 
> I thought it might be a memory timing issue, but I pulled the timing
> register (MSC0) and applied the faster timings to u-boot, and it can
> still read and write the flash properly.    System speed and memory
> speed are also the same (200mhz/100mhz) for both u-boot and linux.
> 
> I started from the gumstix.org tree, so I'm currently using their
> static-partitions patch until I can patch something better in.  It
> only touches the maps/ directory to create their MTD partition info.
> 
> trimmed dmesg:
> 
> ....
> 
> Write error in obliterating obsoleted node at 0x00102318: -30

-30 is -EROFS.

Did you unlock the flash sectors before mounting JFFS2?


Nicolas




More information about the linux-mtd mailing list