Read only forced on jffs2 by mtd layer?

Josh Boyer jwboyer at gmail.com
Fri Mar 10 10:35:54 EST 2006


On 3/10/06, Nicolas Pitre <nico at cam.org> wrote:
> On Fri, 10 Mar 2006, Adam Ward wrote:
>
> > My jffs2 image will mount as ro.
> > If I do 'mount / -o remount,rw' it appears to be
> > happy, but I soon get told 'Read-only file system' if
> > I try anything too presumptuous!
> >
> > As running mount still declares it as read/write, I am
> > assuming the error is with the mtd block driver
> > refusing to co-operate.
> >
> > Is there anything you guys can suggest that I should
> > pay closer attention to?
>
> Did you unlock the flash partition with the flash_unlock tool?
> Some NOR flash parts initialize themselves with all sectors locked by
> default.

Also, does your JFFS2 filesystem have free space available?  If a
minimum amount of free eraseblocks are not present, JFFS2 will mark
itself as read-only no matter what you do.

josh




More information about the linux-mtd mailing list