summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Stultz <john.stultz@linaro.org>2018-04-05 17:55:27 -0700
committerDmitry Shmidt <dimitrysh@google.com>2018-04-06 09:06:03 -0700
commit43aeee20d69b0962f109a1f8e3024b5312a62c2b (patch)
tree3c8569f92ceeb734ef64bbefaf3fcd529d4d6b89
parent168e6d6dbb1b53e5213cbbe267f743ebf02b3f08 (diff)
downloadhikey-43aeee20d69b0962f109a1f8e3024b5312a62c2b.tar.gz
hikey960: Update flashall scripts to deal with vendor partitions
Make sure new vendor partition is flashed in flashall scripts Bug: 77684218 Test: Manual Change-Id: I8cebbd506f8810ec2912b2fa5572ecc0df05e64d Signed-off-by: John Stultz <john.stultz@linaro.org>
-rw-r--r--hikey960/README1
-rwxr-xr-xinstaller/hikey960/flash-all.sh1
-rwxr-xr-xinstaller/hikey960/uefi-flash-all.sh1
3 files changed, 3 insertions, 0 deletions
diff --git a/hikey960/README b/hikey960/README
index 8c6b199a..0418d46a 100644
--- a/hikey960/README
+++ b/hikey960/README
@@ -22,6 +22,7 @@ $ ./flash-all.sh
$ fastboot flash boot out/target/product/hikey960/boot.img
$ fastboot flash dts out/target/product/hikey960/dt.img
$ fastboot flash system out/target/product/hikey960/system.img
+$ fastboot flash vendor out/target/product/hikey960/vendor.img
$ fastboot flash cache out/target/product/hikey960/cache.img
$ fastboot flash userdata out/target/product/hikey960/userdata.img
Turn OFF switch 3 and power cycle the board.
diff --git a/installer/hikey960/flash-all.sh b/installer/hikey960/flash-all.sh
index 646e462d..70a95508 100755
--- a/installer/hikey960/flash-all.sh
+++ b/installer/hikey960/flash-all.sh
@@ -25,6 +25,7 @@ fastboot flash trustfirmware "${INSTALLER_DIR}"/hisi-bl31.bin
fastboot flash boot "${ANDROID_PRODUCT_OUT}"/boot.img
fastboot flash dts "${ANDROID_PRODUCT_OUT}"/dt.img
fastboot flash system "${ANDROID_PRODUCT_OUT}"/system.img
+fastboot flash vendor "${ANDROID_PRODUCT_OUT}"/vendor.img
fastboot flash cache "${ANDROID_PRODUCT_OUT}"/cache.img
fastboot flash userdata "${ANDROID_PRODUCT_OUT}"/userdata.img
fastboot reboot
diff --git a/installer/hikey960/uefi-flash-all.sh b/installer/hikey960/uefi-flash-all.sh
index fd4e7acc..fe42486c 100755
--- a/installer/hikey960/uefi-flash-all.sh
+++ b/installer/hikey960/uefi-flash-all.sh
@@ -45,6 +45,7 @@ function flashing_atf_uefi () {
fastboot flash boot "${ANDROID_PRODUCT_OUT}"/boot.img
fastboot flash system "${ANDROID_PRODUCT_OUT}"/system.img
+ fastboot flash vendor "${ANDROID_PRODUCT_OUT}"/vendor.img
fastboot flash cache "${ANDROID_PRODUCT_OUT}"/cache.img
fastboot flash userdata "${ANDROID_PRODUCT_OUT}"/userdata.img
}