mk_mmc.sh: darn imx6 board uses mmcblk3 now too...

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
master
Robert Nelson 5 years ago
parent 8e864fc560
commit 44b572fbe2

@ -679,6 +679,18 @@ finish_installing_device () {
fi
fi
if [ ! \${got_boot_drive} ] ; then
if [ -b /dev/mmcblk3p1 ] ; then
mount /dev/mmcblk3p1 /target/boot/uboot
if [ -f /target/boot/uboot/SOC.sh ] ; then
got_boot_drive=1
echo "/dev/mmcblk3" > /target/boot/uboot/bootdrive
else
umount /target/boot/uboot
fi
fi
fi
if [ -d /lib/firmware/ ] ; then
cp -rf /lib/firmware/ /target/lib/ || true
fi

Loading…
Cancel
Save