Hi,
I have a yaffs2 image on (Linux host) PC and like to extract the
directory content of it. If I understand it correctly this is the
reverse of what mkyaffs2image is doing. Or something similiar what
http://wiki.buici.com/wiki/Mounting_JFFS2_Filesystem_in_RAM
describes for JFFS2.
Any hint for this?
Seems that mkyaffs2image can't extract the files it writes itself. And
above method with mtdram doesn't work cause yaffs2 doesn't like
anything else like NAND:
/* Check it's NAND */
if (mtd->type != MTD_NANDFLASH) {
T(YAFFS_TRACE_ALWAYS,
("yaffs: MTD device is not NAND it's type %d\n", mtd->type));
return NULL;
}
Many thanks,
Dirk