Platform: s5pc110
System: android2.3
Kernel: linux2.6.35
1, android2.3.4 _ kernel_2.6.35_t34h \ arch \ Arm \ mach-s5pv210 \ kconfig
Select initi_dev_hsmmc
Select s3_dev_hsmmc1 if! S5pv210_sd_ch0_8bit
Select initi_dev_hsmmc2 if! S5pv210_sd_ch1_8bit
Select initi_dev_hsmmc3 if! S5pv210_sd_ch2_8bit
After adding the preceding information to the kernel, you can see the following:
There is a scanned card.
[2, 73.852104] MMC e_removed
[2, 74.058867] mmc_rescan mmc2, search for sdio
[2, 74.063104] mmc_rescan mmc2, search for SD
[74.157214] mmc2: New High Speed SD card at address dda5
[74.171162] mmcblk1: mmc2: dda5 sd02g 1.83 Gib
[2, 74.180370] mmcblk1: p1
[2, 75.149051] MMC e_inserted
[2, 75.350940] mmc2: Card dda5 removed
[2, 75.607378] MMC e_removed
2,ModifySystem startup information
(1) Init. RC
Android2.3.4 _ gb_t34h \ device \ Samsung \ smdkc110 \ Inti. RC:
..................
# Export external_storage/mnt/sdcard
Export external_storage/sdcard
Export external_sdcard_storage/sdcard/SD
..................
# Create mountpoints
Mkdir/ MNT 0775 Root System
Mkdir/mnt/sdcard 0000 System
Mkdir/sdcard 0000 System
(2), vold. fstab
Android2.3.4 _ gb_t34h \ device \ Samsung \ smdkc110 \ vold. fstab:
# Vold 2.0 generic fstab
#-San mehat (san@android.com)
##
#######################
# Regular device Mount
##
# Format: dev_mount <label> <mount_point> <part> <sysfs_path1...>
# Label-label for the volume
# Mount_point-where the volume will be mounted
# Part-partition #(1 based), or 'auto' for first usable partition.
# <Sysfs_path>-List of sysfs paths to source Devices
######################
# Dev_mount sdcard/mnt/sdcard Auto/devices/platforms/s3c-sdhci.0/mmc_host/mmc0
Dev_mount sdcard/sdcard 1/devices/platform/s3c-sdhci.0/mmc_host/mmc0
Dev_mount sdcard2/sdcard/SD Auto/devices/platform/s3c-sdhci.2/mmc_host/mmc2
3. After completing the kernel and system configurations, you can mount the SD card, as shown in.
/Sdcard/SD is the SD card to be mounted.