I ran into an issue on a platform using a JFFS2 partition where the overlayfs mount was done with tmpfs. After some investigation the issue seemed to happen in the mount_root binary, more specifically during the mtd_volume_identify() function.
The code does the check: if (v->type == UBIVOLUME && deadc0de == 0xffffffff) { return FS_JFFS2; } see http://git.openwrt.org/project/fstools.git?p=project/fstools.git;a=blob;f=libfstools/mtd.c;h=156d166b5a2cc92f124852180782e5c2826be881;hb=HEAD#l215 However, in my case the volume type is NANDFLASH. Adding a v->type == NANDFLASH in this place, makes my system work, but I'm not entirely sure why this deadc0de check was restricted to UBIVOLUME only?! Would a check for NANDFLASH be acceptable here? Regards, Karl
_______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel