summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Stultz <john.stultz@linaro.org>2021-03-18 22:19:36 +0000
committerJohn Stultz <john.stultz@linaro.org>2021-03-18 22:21:22 +0000
commitdea899234d32ca42dbc857a2ea850d4427833b5f (patch)
tree12ea846e9b3a34ff3802cdbb0dd6ad23da0fcaec
parent697f4e2416dbc592a6cb31ddb517060188d52b28 (diff)
downloadhikey-dea899234d32ca42dbc857a2ea850d4427833b5f.tar.gz
hikey960: Fixup the hisi-bootloader flashall script
I realized in some cases the cache partition in the hisi-bootloader doesn't play well with the fastboot format command, so add explicit format/size to get it to work more reliably. Signed-off-by: John Stultz <john.stultz@linaro.org> Change-Id: Iccb0f3a497011fd523bea4947202c434855c9b9a
-rwxr-xr-xinstaller/hikey960/flash-all.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/installer/hikey960/flash-all.sh b/installer/hikey960/flash-all.sh
index a2c97a0c..3f8bf9b4 100755
--- a/installer/hikey960/flash-all.sh
+++ b/installer/hikey960/flash-all.sh
@@ -26,5 +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 format:ext4:10000000 cache
fastboot reboot