trouble with mounting ext2/jffs2

Jonathan Kotta jpkotta at gmail.com
Wed May 23 17:23:06 EDT 2007


On 5/23/07, Semih Hazar <semih.hazar at indefia.com> wrote:
> Can you try to mount /dev/mtdblock0 after doing flash_eraseall /dev/mtd0
> (without -j)
> As far as I see jffs2 doesn't like an empty flash with cleanmarkers. But
> it works fine with an all-empty flash. I think cleanmarkers are written
> as data is written.

Omitting the -j works.

> Another (and maybe better ?) way to go is
> * create a jffs2 image with mkfs.jffs2
> * erase the flash with -j so that cleanmarkers are written
> * and then use nandwrite to write your image to mtd.
>

Again, omitting -j works.

Thanks for the nudge.  Now I need to get DataFlash working...

-- 
Thanks,

Jonathan Kotta

Hofstadter's Law:
    It always takes longer than you expect, even
    when you take into account Hofstadter's Law.




More information about the linux-mtd mailing list