diff options
author | Dmitry Shmidt <dimitrysh@google.com> | 2018-05-07 15:55:52 -0700 |
---|---|---|
committer | Dmitry Shmidt <dimitrysh@google.com> | 2018-05-07 16:05:56 -0700 |
commit | fd5e31aba957ca5dc321f0cd0d5bea936403b5f8 (patch) | |
tree | 279c25e2ac0ac5ea21b9b42cedc75d4f11f1713e /installer | |
parent | b7b7ecdb84a5e720e537ca0bce56ce5eb7971e31 (diff) | |
download | hikey-fd5e31aba957ca5dc321f0cd0d5bea936403b5f8.tar.gz |
hikey: Fix bootloader update from ver 0.4 to ver 0.7
Sending ./l-loader.bin ...
Done
Sending 'ptable' (17 KB) FAILED (remote: invalid partition)
(Credit for this patch goes to ghackmann@google.com)
Bug: 79375331
Test: Manual
Change-Id: I2ea91234d6dde6197cf983ca589c2f3a717227bf
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Diffstat (limited to 'installer')
-rwxr-xr-x | installer/hikey/flash-all.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/installer/hikey/flash-all.sh b/installer/hikey/flash-all.sh index a4170dd9..be909fe6 100755 --- a/installer/hikey/flash-all.sh +++ b/installer/hikey/flash-all.sh @@ -71,6 +71,7 @@ else fastboot oem serialno fi fi +fastboot getvar partition-size:ptable fastboot flash ptable "${INSTALLER_DIR}"/"${PTABLE}" fastboot flash fastboot "${FIRMWARE_DIR}"/fip.bin fastboot flash nvme "${INSTALLER_DIR}"/nvme.img |