diff options
author | Yongqin Liu <yongqin.liu@linaro.org> | 2021-12-17 01:12:58 +0800 |
---|---|---|
committer | Yongqin Liu <yongqin.liu@linaro.org> | 2021-12-17 01:12:58 +0800 |
commit | 872049afefdca5683887aa19cedaf5b1ec301d5c (patch) | |
tree | 7d2caa450f49c74ffc4250eb5de5dbe0b91c6adb | |
parent | ec951643c04147807d3668da42a42fa5936ca784 (diff) |
x15 flash.sh: add some notes about the dtbo image
we could not deploy it for the moment, otherwise we
need to erash and reflash the emmc
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
Change-Id: I39d8efd937907d6c2cbe1365fff8b387c7817e88
-rwxr-xr-x | android-tools/x15/flash.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/android-tools/x15/flash.sh b/android-tools/x15/flash.sh index d9da5b2..9156f1c 100755 --- a/android-tools/x15/flash.sh +++ b/android-tools/x15/flash.sh @@ -45,6 +45,8 @@ function flash_image(){ #flash_image boot ${img_dir}/boot.img flash_image boot_a ${img_dir}/boot.img flash_image boot_b ${img_dir}/boot.img +## NOTE: falsh of the dtbo_a/b partitions would cause the board failed to boot +## and need to reflash the u-boot to recover #flash_image dtbo_a ${img_dir}/dtbo.img #flash_image dtbo_b ${img_dir}/dtbo.img flash_image vbmeta_a ${img_dir}/vbmeta.img @@ -91,8 +93,8 @@ fastboot flash vbmeta_b vbmeta.img fastboot flash recovery recovery.img fastboot flash super super.img fastboot flash userdata userdata.img -fastboot format metadata -fastboot format misc +fastboot erase metadata +fastboot erase misc fastboot reboot # "card voltage select 0" usually means loose connection |