Mounting MMC card

Midhun Agnihotram agnimidhun at gmail.com
Tue Jun 26 14:46:00 EDT 2007


Hi All,

   I am using Cogent CSB535FS board. The kernel has got MMC card
support. So when I insert the card, it says :

# imx-mmc imx-mmc.0: card inserted

   So, the kernel has identified that MMC has been inserted. I have
the following dev entries for mmc:

brwxrwxrwx    1 0        0        254,   0 Jun 26  2007 mmcblk0
brwxrwxrwx    1 0        0        254,   1 Jun 26  2007 mmcblk0p0
brwxrwxrwx    1 0        0        254,   2 Jun 26  2007 mmcblk0p1
brwxrwxrwx    1 0        0        254,   3 Jun 26  2007 mmcblk0p2
brwxrwxrwx    1 0        0        254,   4 Jun 26  2007 mmcblk0p3

    How do I access the MMC card data now? If I try to mount it,
busybox doesnot mount it.

# mount /dev/mmcblk0p0 /mnt
mount: mounting /dev/mmcblk0p0 on /mnt failed

  How do I access the contents of MMC card? Is there any thing missing
in my settings?

Thanks,
Midhun.



More information about the linux-mtd mailing list