summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuodong Xu <guodong.xu@linaro.org>2017-08-15 11:40:20 +0800
committerJohn Stultz <john.stultz@linaro.org>2017-10-03 14:33:10 -0700
commit6eb8215e83320c09718acc971f66ca8b1eb49f38 (patch)
treeb7ae7ae098dfcc62683f8ed499c66e902a384d1b
parentb8c41776fd026f4910eaf96dc6fdc046f1829449 (diff)
downloadhikey-6eb8215e83320c09718acc971f66ca8b1eb49f38.tar.gz
hikey960: generate-factory-images-hikey960.sh: Modify flash-all.sh for ptable change
This is for future ptable change. In that case, need to flash xloader before ptable. And after ptable is flashed, need to reboot board to make it take effect. Change-Id: I55de538f794aa25c7f99d0543558d677df3706c9 Signed-off-by: Guodong Xu <guodong.xu@linaro.org> Signed-off-by: John Stultz <john.stultz@linaro.org>
-rwxr-xr-xfactory-images/generate-factory-images-hikey960.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/factory-images/generate-factory-images-hikey960.sh b/factory-images/generate-factory-images-hikey960.sh
index 9d2b02bc..21f0f2fc 100755
--- a/factory-images/generate-factory-images-hikey960.sh
+++ b/factory-images/generate-factory-images-hikey960.sh
@@ -72,9 +72,10 @@ cat > tmp/$PRODUCT-$VERSION/flash-all.sh << EOF
-fastboot flash ptable ptable.img
fastboot flash xloader sec_xloader.img
+fastboot flash ptable ptable.img
fastboot flash fastboot fastboot.img
+fastboot reboot-bootloader
fastboot flash nvme nvme.img
fastboot flash fw_lpm3 lpm3.img
fastboot flash trustfirmware bl31.bin