使用spi flash,jffs2文件系统,现在要把一个分区mount到文件系统,但是报错
RFH0-0>cat /proc/mtd
dev: size erasesize name
mtd0: 00040000 00002000 "ipl"
mtd1: 02cc0000 00002000 "log"
mtd2: 00080000 00002000 "ini"
mtd3: 02780000 00002000 "ffs"
mtd4: 02800000 00002000 "passive"
mtd5: 00300000 00002000 "crash"
RFH0-0>flash_eraseall -j /dev/mtd2
Erasing 8 Kibyte @ 80000 - 100% complete.Cleanmarker written at 7e000.
RFH0-0>mount -t jffs2 -o rw /dev/mtd2 /ffs
mount: mounting /dev/mtd2 on /ffs failed: Block device required
RFH0-0>mount -t jffs2 -o rw /dev/mtdblock2 /ffs
[ 2433.902278] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000000: 0x1105 instead
|