|
将yaffs编译进内核下,下载到板子上,运行起来运行cat命令
bash-2.05b# cat /proc/filesystems
nodev rootfs
nodev bdev
nodev proc
nodev sockfs
nodev tmpfs
nodev shm
nodev pipefs
ext2
cramfs
nodev ramfs
msdos
vfat
iso9660
nodev nfs
ntfs
jffs2
nodev devpts
xfs
yaffs
nodev usbdevfs
nodev usbfs
bash-2.05b#
已经找到yaffs
bash-2.05b# ls -al
crw-r--r-- 1 root root 90, 0 Jul 28 2005 mtd0
crw-r--r-- 1 root root 90, 2 Jul 28 2005 mtd1
crw-r--r-- 1 root root 90, 4 Jul 28 2005 mtd2
crw-r--r-- 1 root root 90, 6 Jul 28 2005 mtd3
crw-r--r-- 1 root root 90, 8 Nov 25 2005 mtd4
crw-r--r-- 1 root root 90, 10 Nov 25 2005 mtd5
crw-r--r-- 1 root root 90, 12 Jul 28 2005 mtd6
brw-r--r-- 1 root root 31, 0 Jul 28 2005 mtdblock0
brw-r--r-- 1 root root 31, 1 Jul 28 2005 mtdblock1
brw-r--r-- 1 root root 31, 2 Jul 28 2005 mtdblock2
crw-r--r-- 1 root root 31, 3 Nov 25 2005 mtdblock4
crw-r--r-- 1 root root 31, 4 Nov 25 2005 mtdblock5
brw-r--r-- 1 root root 31, 6 Jul 28 2005 mtdblock6
但在mount -t yaffs /dev/mtdblock0 /mnt/flash0
出现以下错误:
bash-2.05b# mount -t yaffs /dev/mtdblock0 /mnt/flash0
yaffs: Attempting MTD mount on 31.0, "1f:00"
yaffs: MTD device is not NAND it's type 3
mount: Mounting /dev/mtdblock0 on /mnt/flash0 failed: Invalid argument
请问这是什么原因?是我的yaffs文件系统没做好吗?DX指点一下 |
|