Commits
guoyin.chen committed 268a41c579f
MA-12969 Add flash script to use fastboot to flash all imx images To flash all slots in 8qm as: $fastboot_imx_flashall.sh -f imx8qxp To flash only a slots in 8qm as: $fastboot_imx_flashall.sh -a -f imx8qxp linux shell script usage: fastboot_imx_flashall.sh <option> windows batch script usage: fastboot_imx_flashall.bat <option> options: -h displays this help message -f soc_name flash android image file with soc_name -a only flash image to slot_a -b only flash image to slot_b -c card_size optional setting: 7 / 14 / 28 If not set, use partition-table.img (default) If set to 7, use partition-table-7GB.img for 8GB SD card If set to 14, use partition-table-14GB.img for 16GB SD card If set to 28, use partition-table-28GB.img for 32GB SD card Make sure the corresponding file exist for your platform. -m flash m4 image -d dev flash dtbo, vbmeta and recovery image file with dev If not set, use default dtbo, vbmeta and recovery image. -e erase user data after all image files being flashed -l lock the device after all image files being flashed Change-Id: Icd1d82b79b4166994b802ef93823a759b9ed37cf Signed-off-by: guoyin.chen <guoyin.chen@nxp.com> Signed-off-by: faqiang.zhu <faqiang.zhu@nxp.com> Reviewed-on: http://androidsource.ap.freescale.net/project/6129 Reviewed-by: Wang Haoran <elven.wang@nxp.com>