lauv-aux: improved eMMC detection.

This commit is contained in:
Ricardo Martins 2015-02-12 15:10:35 +00:00
parent caef675567
commit 4b2daa4ef8
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ mount -t sysfs sysfs /sys
mount -t devtmpfs devtmpfs /dev
while [ 1 ]; do
dev="$(ls /sys/class/mmc_host/mmc?/mmc?:0001/block 2> /dev/null)"
dev="$(ls /sys/devices/ocp.3/481d8000.mmc/mmc_host/mmc?/mmc?:*/block 2> /dev/null)"
if [ -n "$dev" ]; then
mount -o ro -t ext2,relatime "/dev/${dev}p2" /mnt && break