summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPraneeth Bajjuri2018-10-23 23:50:34 -0500
committerPraneeth Bajjuri2018-10-29 17:46:10 -0500
commit46c39721d1dbc1d8ec4890acaccdf2d3aef752b8 (patch)
treedf6455dbdcd777761287c6a639f57cf385fd85e3
parent782b8c9e94ccb9a8e0980eb188f86f86764003a4 (diff)
downloaddevice-ti-am65xevm-46c39721d1dbc1d8ec4890acaccdf2d3aef752b8.tar.gz
device-ti-am65xevm-46c39721d1dbc1d8ec4890acaccdf2d3aef752b8.tar.xz
device-ti-am65xevm-46c39721d1dbc1d8ec4890acaccdf2d3aef752b8.zip
am65xevm: fastboot.sh: update flashing bootloader images
update fastboot flash script to include oem format and reboot-bootloader command for updating bootloader images. Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
-rwxr-xr-xfastboot.sh14
1 files changed, 7 insertions, 7 deletions
diff --git a/fastboot.sh b/fastboot.sh
index f90eeba..43fce55 100755
--- a/fastboot.sh
+++ b/fastboot.sh
@@ -109,8 +109,8 @@ if [ ! -e "${bootfitimg}" ] ; then
109 exit -1; 109 exit -1;
110fi 110fi
111 111
112#echo "Create GPT partition table" 112echo "Create GPT partition table"
113#${FASTBOOT} oem format 113${FASTBOOT} oem format
114 114
115sleep 3 115sleep 3
116 116
@@ -122,12 +122,12 @@ sleep 3
122echo " bootloader: ${bootloaderimg}" 122echo " bootloader: ${bootloaderimg}"
123${FASTBOOT} flash bootloader ${bootloaderimg} 123${FASTBOOT} flash bootloader ${bootloaderimg}
124 124
125# echo "Reboot: make sure new bootloader runs..." 125echo "Reboot: make sure new bootloader runs..."
126# ${FASTBOOT} reboot-bootloader 126${FASTBOOT} reboot-bootloader
127# sleep 5 127sleep 5
128 128
129#echo "Re-creating GPT partition table with new bootloader" 129echo "Re-creating GPT partition table with new bootloader"
130#${FASTBOOT} oem format 130${FASTBOOT} oem format
131 131
132echo "Flash android partitions" 132echo "Flash android partitions"
133${FASTBOOT} flash system ${systemimg} 133${FASTBOOT} flash system ${systemimg}