hikey960: installer: Update flash-all.sh for UEFI flashing
This patch changes the flash-all script to flash the UEFI
binaries.
It first checks whether the partition type is 1MB aligned. If
not, it will upgrade old fastboot bootloader from using 512KB
ptable to using 1MB ptable.
Then, once the 1MB aligned ptable is installed, it upgrades to
ATF/UEFI bootloader.
And to better distinguish echo messages from fastboot command
output, define ${ECHO_PREFIX} and use it with all echo commands.
NOTE: This change depends on the boot.img being created uses a
Image-dtb style kernel, rathern then an Image.gz.
Originally by Guodong Xu
Change-Id: Id9a39c318e3c7d07a3e865d617d2cc4465e581a2
Signed-off-by: Guodong Xu <guodong.xu@linaro.org>
Signed-off-by: John Stultz <john.stultz@linaro.org>
1 file changed