aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu J. Poirier <mathieu.poirier@linaro.org>2011-08-19 08:20:39 -0600
committerMathieu J. Poirier <mathieu.poirier@linaro.org>2011-08-19 08:20:39 -0600
commitd04a69b76d5a2a22437eeddbb81e41d30a91b3a3 (patch)
tree623041a417e51e1fb24d448125f3c4057427379e
parent728ad57a53d42b25253643d3277b58e6abb0c362 (diff)
downloadsnowball-d04a69b76d5a2a22437eeddbb81e41d30a91b3a3.tar.gz
Temporary fix to bypass mmc card discovery problem
The current 3.0 Snowball Android kernel has problem discovering the mmc card - the probing process seems overly long. Disabling the emmc and probing the mmc earlier in the boot process seems to help yielding a booting system. This should be reverted when the real solution is found. Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
-rw-r--r--init.rc13
1 files changed, 10 insertions, 3 deletions
diff --git a/init.rc b/init.rc
index 78f7eee..c8925ae 100644
--- a/init.rc
+++ b/init.rc
@@ -91,9 +91,16 @@ loglevel 3
on fs
# mount mmc partitions
- mount ext4 /dev/block/mmcblk1p2 /system ro
- mount ext4 /dev/block/mmcblk1p3 /cache
- mount ext4 /dev/block/mmcblk1p5 /data
+
+# ! Snowall Hack Alert !
+# The current 3.0 kernel has problems mounting the mmc card.
+# Disabling the emmc and allowing more time for the mmc
+# card to be probed seems to help. This should be reverted
+# back to 'mmcblk1pX' but for now, it yields a bootable system.
+
+ mount ext4 /dev/block/mmcblk0p2 /system ro
+ mount ext4 /dev/block/mmcblk0p3 /cache
+ mount ext4 /dev/block/mmcblk0p5 /data
on post-fs
# once everything is setup, no need to modify /