From 310f6fe4a09e95b219645ba31b475d7073291bdd Mon Sep 17 00:00:00 2001 From: Alex Kaplan Date: Thu, 1 Oct 2015 16:44:31 -0700 Subject: [PATCH] removed erase-bb from chip-update-firmware.sh --- chip-fel-fastboot.sh | 2 +- chip-update-firmware.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/chip-fel-fastboot.sh b/chip-fel-fastboot.sh index ab35269..ffeafb6 100755 --- a/chip-fel-fastboot.sh +++ b/chip-fel-fastboot.sh @@ -124,7 +124,7 @@ ${FEL} exe $UBOOT_MEM_ADDR echo == waiting for fastboot == if wait_for_fastboot; then - fastboot -u flash UBI ${BUILDROOT_OUTPUT_DIR}/images/rootfs.ubi + fastboot -S 0 -u flash UBI ${BUILDROOT_OUTPUT_DIR}/images/rootfs.ubi fastboot continue else rm -rf ${TMPDIR} diff --git a/chip-update-firmware.sh b/chip-update-firmware.sh index 2bef441..06ad8fc 100755 --- a/chip-update-firmware.sh +++ b/chip-update-firmware.sh @@ -69,5 +69,5 @@ cache_download "${FW_IMAGE_DIR}" uboot-env.bin cache_download "${FW_IMAGE_DIR}" zImage cache_download "${FW_IMAGE_DIR}" u-boot-dtb.bin -BUILDROOT_OUTPUT_DIR="${FW_DIR}" ${FLASH_SCRIPT} erase-bb +BUILDROOT_OUTPUT_DIR="${FW_DIR}" ${FLASH_SCRIPT} exit $?