(1) Verify that the Linux system on the board recognizes the SD card via the #fdisk-l command
MP805M board is displayed after inserting the SD card
SD30 slot is without WP
Mmc1:new High speed SD card at address 5bc0
MMCBLK0:MMC1:5BC0 sd02g 1.83 GiB
Mmcblk0:p1
[/]# fdisk-l
Disk/dev/mtdblock0:1 MB, 1179648 bytes
255 heads, sectors/track, 0 cylinders
Units = Cylinders of 16065 * 8225280 bytes
Disk/dev/mtdblock0 doesn ' t contain a valid partition table
disk/dev/mmcblk0: 1967 MB, 1967128576 bytes
Heads, Sectors/track, 1715 cylinders
Units = Cylinders of 2240 * 1146880 bytes
Device Boot Start End Blocks Id System
/DEV/MMCBLK0P1 * 192 1716 1707008 6 FAT16
(2) Ensure/mnt exists
Then Cat/proc/partitions
See if there are any MMC-related partitions.
[/]# cat/proc/partitions
Major Minor #blocks name
0 1152 Mtdblock0
1 768 mtdblock1
2 768 Mtdblock2
3 7040 Mtdblock3
4 121344 Mtdblock4
179 0 1921024 mmcblk0
179 1 1707008 Mmcblk0p1
Without these two partitions, it means that the SD card driver is not successfully ported
Supported in Kernel options
Device deivers-"MMC/SD card support->samsung s3c SD/MMC Card interface support
(3) Mount SD card
Mount/dev/mmcblk0p1/mnt/mmc
Or
Mount-t vfat/dev/mmcblk0p1/mnt/
(4) Uninstalling SD card
Umount/mnt
Note that the current directory cannot be/mnt, otherwise the "Umount can ' t umount/mnt device or resource Busy" error message appears.
(5) How Linux cable on the SD card
Edit the RcS file in the/etc/init.d/directory: Vi/etc/init.d/rcs
Add a line inside: mount-t VFAT/DEV/MMCBLK0P1/MMC
This will automatically mount the SD card to the home Directory's MMC folder after power-up
Linux Mount SD card