From f71640943da5b7b532d976be9aa11d264afecfe7 Mon Sep 17 00:00:00 2001 From: Bernhard Rosenkraenzer Date: Fri, 23 Mar 2012 16:40:50 +0100 Subject: iMX6: Teach vold about possible sdcard partitions iMX6 has 2 SD card slots - both should be made known to vold Signed-off-by: Bernhard Rosenkraenzer --- device.mk | 2 +- vold.fstab | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/device.mk b/device.mk index 6bf7346..d4af2ff 100644 --- a/device.mk +++ b/device.mk @@ -25,7 +25,7 @@ PRODUCT_PACKAGES := \ PRODUCT_PROPERTY_OVERRIDES := \ hwui.render_dirty_regions=false -PRODUCT_CHARACTERISTICS := tablet,nosdcard +PRODUCT_CHARACTERISTICS := tablet #DEVICE_PACKAGE_OVERLAYS := \ device/ti/panda/overlay diff --git a/vold.fstab b/vold.fstab index 65e5a66..4ca8e36 100644 --- a/vold.fstab +++ b/vold.fstab @@ -11,5 +11,10 @@ ## part - Partition # (1 based), or 'auto' for first usable partition. ## - List of sysfs paths to source devices ###################### +# -dev_mount sdcard /mnt/sdcard 1 /devices/platform/sdhci-esdhc-imx53.2/mmc_host/mmc1 +# There's 2 variants that could make sense on iMX6: +# Partition 7 of the SD card we're booting from +dev_mount sdcard /mnt/sdcard 7 /devices/soc.0/2100000.aips-bus/2198000.usdhc/mmc_host/mmc0 +# Any partition on the MicroSD card +dev_mount sdcard /mnt/sdcard/uSD auto /devices/soc.0/2100000.aips-bus/219c000.usdhc/mmc_host/mmc1 -- cgit v1.2.3