summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuodong Xu <guodong.xu@linaro.org>2017-10-04 17:06:43 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-10-04 17:06:43 +0000
commitbac4983cd84ef1eb83e1b0efde2f10652f8b1f41 (patch)
tree16dcf696b6acfbf0f328fb50cba65ff8321b1fa2
parentb00a75e1f5ede9206dd9bf34b9e230f4ba0eeff4 (diff)
parentb8c41776fd026f4910eaf96dc6fdc046f1829449 (diff)
downloadhikey-bac4983cd84ef1eb83e1b0efde2f10652f8b1f41.tar.gz
hikey960: installer: Prepare for hikey960 ptable change
am: b8c41776fd Change-Id: I1c196f29c62cc29c09eb9474c754f0bf494b93a9
-rwxr-xr-xinstaller/hikey960/flash-all.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/installer/hikey960/flash-all.sh b/installer/hikey960/flash-all.sh
index 7b7db51e..531411eb 100755
--- a/installer/hikey960/flash-all.sh
+++ b/installer/hikey960/flash-all.sh
@@ -15,9 +15,10 @@ fi
echo "android out dir:${ANDROID_PRODUCT_OUT}"
-fastboot flash ptable "${INSTALLER_DIR}"/ptable.img
fastboot flash xloader "${INSTALLER_DIR}"/sec_xloader.img
+fastboot flash ptable "${INSTALLER_DIR}"/ptable.img
fastboot flash fastboot "${INSTALLER_DIR}"/fastboot.img
+fastboot reboot-bootloader
fastboot flash nvme "${INSTALLER_DIR}"/nvme.img
fastboot flash fw_lpm3 "${INSTALLER_DIR}"/lpm3.img
fastboot flash trustfirmware "${INSTALLER_DIR}"/bl31.bin