added jffs2 support