• Home
  • Help
  • Search
  • Login
  • Register
Pages: [1]
Author Topic: How to mount SD card  (Read 3341 times)
mail4asim
Newbie
*

Karma: 0
Posts: 39



View Profile
« on: July 22, 2009, 03:09:49 AM »

How do I mount the SD card ?   When I try to mount it, I get an error message asking to specify filesystem. When I do that, I get an error message saying invalid filesystem.

Here is some info about my card.
cat  /proc/partitions
major minor  #blocks  name

  31     0       4096 mtdblock0
  31     1     519168 mtdblock1
 179     0     995328 mmcblk0
 179     1     995274 mmcblk0p1
---------------
dmesg shows..

mmc0: host does not support reading read-only switch. assuming write-enable.
mmc0: new high speed SD card at address 0007
mmcblk0: mmc0:0007 SD01G 995328KiB
 mmcblk0: p1
IP-Config: Complete:
      device=eth0, addr=10.4.50.4, mask=255.255.255.0, gw=10.4.50.5,
     host=DB88FXX81, domain=, nis-domain=(none),
     bootserver=10.4.50.5, rootserver=10.4.50.5, rootpath=
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
eth0: link up, full duplex, speed 100 Mbps
Empty flash at 0x0573ec00 ends at 0x0573f000
jffs2_scan_dirent_node(): Name CRC failed on node at 0x129aafd8: Read 0x857ae9f6, calculated 0x44660075
Empty flash at 0x129ab008 ends at 0x129ab800
jffs2_scan_inode_node(): CRC failed on node at 0x14994fdc: Read 0xffffffff, calculated 0xb031b82d
Empty flash at 0x14995020 ends at 0x14995800
VFS: Mounted root (jffs2 filesystem).
Freeing init memory: 104K
FAT: bogus number of reserved sectors
VFS: Can't find a valid FAT filesystem on dev mmcblk0.
MTD: Attempt to mount non-MTD device "/dev/mmcblk0"
FAT: bogus number of reserved sectors
VFS: Can't find a valid FAT filesystem on dev mmcblk0.

-------------------------


Logged

mail4asim
Newbie
*

Karma: 0
Posts: 39



View Profile
« Reply #1 on: July 23, 2009, 09:02:22 AM »

Got it working  Grin
Apparently there are two devices in /dev.  I  was using mmcblk0, but it's mmcbk0p1. Once I mounted that, it worked like a charm.

this is the command I used.

mount -t vfat /dev/mmcblk0p1  /mnt/SD

** created a mount point SD in the /mnt.
Logged

Pages: [1]
Print
Jump to: