Switch to device after failed rpi3 flash 37/181837/1
authorAleksander Mistewicz <a.mistewicz@samsung.com>
Wed, 20 Sep 2017 17:20:01 +0000 (19:20 +0200)
committerAleksander Mistewicz <a.mistewicz@samsung.com>
Mon, 16 Oct 2017 11:21:47 +0000 (13:21 +0200)
Change-Id: I2456816cbbfe24ddcd57651bd4658e98e14289c3

tct/rpi3_prepare_flash_conf.sh

index d82b675..92916d0 100755 (executable)
@@ -64,6 +64,7 @@ cd "${OLDPWD}"
 
 change_uuid "${UUID_FILE}" "${DEV_SDCARD}"
 if [ $RET -ne 0 ]; then
+    switch2device "${SDMUX}"
     die "flash_dd exited with an error" "$RET"
 fi
 switch2device "${SDMUX}"