我是用32M doc,想使用jffs2,我运行了
flash_eraseall /dev/mtd0 ;
mkfs.jffs2 -r xxx -o xxx -e=0x4000 -b
dd if=xxx of=/dev/mtd0 bs=16k
mount -t jffs2 /dev/mtdblock0 /mnt 出错
查看dmesg如下:
[root@localhost root]# dmesg
n_eraseblock(): Magic bitmask 0x1985 not found at 0x00648008: 0x60f0 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0064800c: 0x8519 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00648014: 0xf89a instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00648028: 0x0500 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0064802c: 0x5a3e instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00648030: 0x5a3e instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00648034: 0x5a3e instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00648038: 0x0400 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00648044: 0x0006 instead
Further such events for this erase block will not be printed
JFFS2: Erase block at 0x00648000 is not formatted. It will be erased
....
类似上面的
.....
Cowardly refusing to erase blocks on filesystem with no valid JFFS2 nodes