summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVishal Mahaveer <vishalm@ti.com>2014-08-25 13:24:48 -0500
committerVishal Mahaveer <vishalm@ti.com>2014-08-25 14:05:07 -0500
commit4e53504c6805212399a5acad0d7a86e9ac9c5289 (patch)
treec63eff4e7698461005ffe9c5dd6f2b9619ea2694
parent76b0af7cce79eed8bbe948546db1dab7e0681a14 (diff)
downloadjacinto6evm-4e53504c6805212399a5acad0d7a86e9ac9c5289.tar.gz
jacinto6evm: fix fastboot script for HS devices
Use the correct file name for flashing QSPI on HS device EVM Change-Id: Iaefa5cbc524d390b594ef8fffbd4ee6608e000bb Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
-rwxr-xr-xfastboot.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/fastboot.sh b/fastboot.sh
index d1f5946..2908b61 100755
--- a/fastboot.sh
+++ b/fastboot.sh
@@ -66,12 +66,15 @@ cputype=`${FASTBOOT} getvar secure 2>&1 | grep secure | awk '{print$2}'`
# Make EMU = HS
-if [ ${cputype} = "EMU" ]; then
+if [ ${cputype} = "EMU" ] || [ ${cputype} = "HS" ]; then
cputype="HS"
+ xloader="${PRODUCT_OUT}${cputype}_QSPI_MLO"
fi
+
# If fastboot does not support getvar default to GP
if [ ${cputype} = "" ]; then
cputype="GP"
+ xloader="${PRODUCT_OUT}${cputype}_MLO"
fi
# Based on cpu, decide the dtb to flash, default fall back to J6
@@ -89,7 +92,6 @@ fi
# Create the filename
bootimg="${PRODUCT_OUT}boot.img"
-xloader="${PRODUCT_OUT}${cputype}_MLO"
uboot="${PRODUCT_OUT}u-boot.img"
systemimg="${PRODUCT_OUT}system.img"
userdataimg="${PRODUCT_OUT}userdata.img"