summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Stultz <john.stultz@linaro.org>2021-03-02 21:55:15 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-03-02 21:55:15 +0000
commit44bd0107db4b53af45cf2310cedd6548b907e819 (patch)
tree6fc16163ed80129d22b379386663ddfe4bbd1e9e
parent5bac971f10fcb0fff4ce866126274ee1edbe8595 (diff)
parent0186a1e3b034c1d1fe394d3523f4073316eecf7b (diff)
downloadhikey-44bd0107db4b53af45cf2310cedd6548b907e819.tar.gz
hikey960: flash-all: Make sure to format cache partition am: 980b130852 am: e35a6766f5 am: 0186a1e3b0
Original change: https://android-review.googlesource.com/c/device/linaro/hikey/+/1595517 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I9b844e91da14a0189c43ea95f77b97704fb63eea
-rwxr-xr-xinstaller/hikey960/flash-all.sh1
-rwxr-xr-xinstaller/hikey960/uefi-flash-all.sh1
2 files changed, 2 insertions, 0 deletions
diff --git a/installer/hikey960/flash-all.sh b/installer/hikey960/flash-all.sh
index 2828089a..a2c97a0c 100755
--- a/installer/hikey960/flash-all.sh
+++ b/installer/hikey960/flash-all.sh
@@ -26,4 +26,5 @@ fastboot flash boot "${ANDROID_PRODUCT_OUT}"/boot.img
fastboot flash dts "${ANDROID_PRODUCT_OUT}"/dt.img
fastboot flash super "${ANDROID_PRODUCT_OUT}"/super.img
fastboot flash userdata "${ANDROID_PRODUCT_OUT}"/userdata.img
+fastboot format cache
fastboot reboot
diff --git a/installer/hikey960/uefi-flash-all.sh b/installer/hikey960/uefi-flash-all.sh
index 9c7301dc..c2f06aff 100755
--- a/installer/hikey960/uefi-flash-all.sh
+++ b/installer/hikey960/uefi-flash-all.sh
@@ -46,6 +46,7 @@ function flashing_atf_uefi () {
fastboot flash boot "${ANDROID_PRODUCT_OUT}"/boot.img
fastboot flash super "${ANDROID_PRODUCT_OUT}"/super.img
fastboot flash userdata "${ANDROID_PRODUCT_OUT}"/userdata.img
+ fastboot format cache
}
function upgrading_ptable_1mb_aligned () {