summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>2012-03-23 16:40:50 +0100
committerBernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>2012-03-23 16:40:50 +0100
commitf71640943da5b7b532d976be9aa11d264afecfe7 (patch)
tree039b9bf982c6fb18a8c2e177636bd49fdaf7cc0d
parent649953ed1069fe3ba08443059c224abf801cce0d (diff)
downloadimx6-f71640943da5b7b532d976be9aa11d264afecfe7.tar.gz
iMX6: Teach vold about possible sdcard partitionslinaro_android_4.0.3
iMX6 has 2 SD card slots - both should be made known to vold Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
-rw-r--r--device.mk2
-rw-r--r--vold.fstab7
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.
## <sysfs_path> - 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