From dea899234d32ca42dbc857a2ea850d4427833b5f Mon Sep 17 00:00:00 2001 From: John Stultz Date: Thu, 18 Mar 2021 22:19:36 +0000 Subject: 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 Change-Id: Iccb0f3a497011fd523bea4947202c434855c9b9a --- installer/hikey960/flash-all.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3