blob: 619277a5ed8330c5ed5d3513946157ae634ef917 [file] [log] [blame]
#!/bin/sh
OS=${ANDROID_PROVISION_OS_PARTITIONS:-${ANDROID_PRODUCT_OUT}}
VENDOR=${ANDROID_PROVISION_VENDOR_PARTITIONS:-${ANDROID_BUILD_TOP}/vendor/bsp/freescale/picoimx/}
fastboot \
flash bootloader ${VENDOR}/uboot/u-boot.imx \
flash boot_a ${OS}/boot.img \
flash system_a ${OS}/system.img \
flash boot_b ${OS}/boot.img \
flash system_b ${OS}/system.img \
flash misc ${OS}/misc.img \
flash userdata ${OS}/userdata.img \
set_active _b \
set_active _a "$@"