summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVishal Mahaveer2014-08-25 13:24:48 -0500
committerVishal Mahaveer2014-08-25 14:05:07 -0500
commit4e53504c6805212399a5acad0d7a86e9ac9c5289 (patch)
treec63eff4e7698461005ffe9c5dd6f2b9619ea2694
parent76b0af7cce79eed8bbe948546db1dab7e0681a14 (diff)
downloaddevice-ti-jacinto6evm-4e53504c6805212399a5acad0d7a86e9ac9c5289.tar.gz
device-ti-jacinto6evm-4e53504c6805212399a5acad0d7a86e9ac9c5289.tar.xz
device-ti-jacinto6evm-4e53504c6805212399a5acad0d7a86e9ac9c5289.zip
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}'`
66 66
67 67
68# Make EMU = HS 68# Make EMU = HS
69if [ ${cputype} = "EMU" ]; then 69if [ ${cputype} = "EMU" ] || [ ${cputype} = "HS" ]; then
70 cputype="HS" 70 cputype="HS"
71 xloader="${PRODUCT_OUT}${cputype}_QSPI_MLO"
71fi 72fi
73
72# If fastboot does not support getvar default to GP 74# If fastboot does not support getvar default to GP
73if [ ${cputype} = "" ]; then 75if [ ${cputype} = "" ]; then
74 cputype="GP" 76 cputype="GP"
77 xloader="${PRODUCT_OUT}${cputype}_MLO"
75fi 78fi
76 79
77# Based on cpu, decide the dtb to flash, default fall back to J6 80# Based on cpu, decide the dtb to flash, default fall back to J6
@@ -89,7 +92,6 @@ fi
89 92
90# Create the filename 93# Create the filename
91bootimg="${PRODUCT_OUT}boot.img" 94bootimg="${PRODUCT_OUT}boot.img"
92xloader="${PRODUCT_OUT}${cputype}_MLO"
93uboot="${PRODUCT_OUT}u-boot.img" 95uboot="${PRODUCT_OUT}u-boot.img"
94systemimg="${PRODUCT_OUT}system.img" 96systemimg="${PRODUCT_OUT}system.img"
95userdataimg="${PRODUCT_OUT}userdata.img" 97userdataimg="${PRODUCT_OUT}userdata.img"