summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHongmei Gou2018-07-09 19:18:28 -0500
committerPraneeth Bajjuri2018-07-10 15:16:59 -0500
commit72c277cbf6c878d79b0800d1c423ee70a02cb3ef (patch)
tree527a2cc519ddd0d7f13c624b1341143895d6da75
parent2682fad86ada87708d9a56bd12d3bf6c56f823f2 (diff)
downloaddevice-ti-am57xevm-d-oreo-mr1-psdk-release.tar.gz
device-ti-am57xevm-d-oreo-mr1-psdk-release.tar.xz
device-ti-am57xevm-d-oreo-mr1-psdk-release.zip
fastboot.sh: update scripts to flash fit imaged-oreo-mr1-psdk-release
Signed-off-by: Hongmei Gou <a0271529@ti.com> Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org>
-rwxr-xr-xfastboot.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/fastboot.sh b/fastboot.sh
index 49556f7..7cc73bf 100755
--- a/fastboot.sh
+++ b/fastboot.sh
@@ -89,6 +89,7 @@ userdataimg="${PRODUCT_OUT}userdata.img"
89cacheimg="${PRODUCT_OUT}cache.img" 89cacheimg="${PRODUCT_OUT}cache.img"
90recoveryimg="${PRODUCT_OUT}recovery.img" 90recoveryimg="${PRODUCT_OUT}recovery.img"
91vendorimg="${PRODUCT_OUT}vendor.img" 91vendorimg="${PRODUCT_OUT}vendor.img"
92bootfitimg="${PRODUCT_OUT}boot_fit.img"
92 93
93# Verify that all the files required for the fastboot flash 94# Verify that all the files required for the fastboot flash
94# process are available 95# process are available
@@ -125,6 +126,10 @@ if [ ! -e "${vendorimg}" ] ; then
125 echo "Missing ${vendorimg}" 126 echo "Missing ${vendorimg}"
126 exit -1; 127 exit -1;
127fi 128fi
129if [ ! -e "${bootfitimg}" ] ; then
130 echo "Missing ${bootfitimg}"
131 exit -1;
132fi
128 133
129 134
130echo "Create GPT partition table" 135echo "Create GPT partition table"
@@ -154,7 +159,7 @@ ${FASTBOOT} flash system ${systemimg}
154${FASTBOOT} flash vendor ${vendorimg} 159${FASTBOOT} flash vendor ${vendorimg}
155 160
156echo "Flashing FIT Boot Image" 161echo "Flashing FIT Boot Image"
157${FASTBOOT} flash boot boot_fit.img 162${FASTBOOT} flash boot ${bootfitimg}
158 163
159 164
160userdataimg_orig="${userdataimg}.orig" 165userdataimg_orig="${userdataimg}.orig"