From 44b572fbe2c4927f4812ef6a5b017e85ef94f0a3 Mon Sep 17 00:00:00 2001 From: Robert Nelson Date: Thu, 27 Feb 2020 15:55:16 -0600 Subject: [PATCH] mk_mmc.sh: darn imx6 board uses mmcblk3 now too... Signed-off-by: Robert Nelson --- mk_mmc.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/mk_mmc.sh b/mk_mmc.sh index 2e5f713..853fe7e 100755 --- a/mk_mmc.sh +++ b/mk_mmc.sh @@ -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