summaryrefslogtreecommitdiff
path: root/provision-device
diff options
context:
space:
mode:
Diffstat (limited to 'provision-device')
-rwxr-xr-xprovision-device5
1 files changed, 3 insertions, 2 deletions
diff --git a/provision-device b/provision-device
index cd88314..1081fa4 100755
--- a/provision-device
+++ b/provision-device
@@ -24,8 +24,9 @@ fastboot \
flash rbootloader ${ANDROID_BUILD_TOP}/vendor/bsp/marvell/device/abox_edge/bootloader/u-boot.bin \
flash boot_a ${ANDROID_PRODUCT_OUT}/boot.img \
flash system_a ${ANDROID_PRODUCT_OUT}/system.img \
+ flash boot_b ${ANDROID_PRODUCT_OUT}/boot.img \
+ flash system_b ${ANDROID_PRODUCT_OUT}/system.img \
flash userdata ${ANDROID_PRODUCT_OUT}/userdata.img \
flash cache ${ANDROID_PRODUCT_OUT}/cache.img \
flash recovery ${ANDROID_PRODUCT_OUT}/recovery.img \
- erase boot_b \
- erase system_b "$@"
+ --set-active=_a "$@"