/dev # cat /proc/partitions major minor #blocks name
31 0 128 mtdblock0 31 1 128 mtdblock1 31 2 1024 mtdblock2 31 3 2816 mtdblock3 31 4 4096 mtdblock4 254 0 1006080 mmcblk0 254 1 1005958 mmcblk0p1 dev # ls /dev/mmc* -al brw-r--r-- 1 root root 245, 0 Sep 5 2005 /dev/mmc brw-r--r-- 1 root root 254, 1 Jun 19 2007 /dev/mmc1 brw-r--r-- 1 root root 254, 2 Jun 19 2007 /dev/mmc2 brw-r--r-- 1 root root 254, 3 Jun 19 2007 /dev/mmc3 brw-r--r-- 1 root root 254, 4 Jun 19 2007 /dev/mmc4 /dev # mount -t vfat /dev/mmc1 /mnt mount: Mounting /dev/mmc1 on /mnt failed: No such device /dev # mount -t vfat /dev/mmc /mnt mount: Mounting /dev/mmc on /mnt failed: No such device /dev # fdisk -l /dev/mmc /dev # fdisk -l /dev/mmc1
Disk /dev/mmc1: 1030 MB, 1030101504 bytes 4 heads, 16 sectors/track, 31436 cylinders Units = cylinders of 64 * 512 = 32768 bytes
Device Boot Start End Blocks Id System /dev/mmc1p1 ? 12158374 29994462 570754815+ 72 Unknown Partition 1 does not end on cylinder boundary. /dev/mmc1p2 ? 2635774 32886216 968014120 65 Unknown Partition 2 does not end on cylinder boundary. /dev/mmc1p3 ? 29216898 59467339 968014096 79 Unknown Partition 3 does not end on cylinder boundary. /dev/mmc1p4 ? 1 18446744073699274417 18446744073380681216 d Unknown Partition 4 does not end on cylinder boundary.
实际上,这个SD卡分为sda1分区,这个是sd卡读器读出的。(usb 部分已经调试通过) 谁在arm9下用过读卡器?请帮我看看。 sd卡应该已经驱动起来了,可能是/dev/下的设备名字不对,或者mount不对。
|