1#!/usr/bin/env bash 2 3# Copyright 2018 The Fuchsia Authors 4# 5# Use of this source code is governed by a MIT-style 6# license that can be found in the LICENSE file or at 7# https://opensource.org/licenses/MIT 8 9DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" 10BUILD_DIR="${DIR}/../build-arm64" 11 12BOOT_IMG=${BUILD_DIR}/mt8167s_ref-boot.img 13VBMETA_IMG=${BUILD_DIR}/mt8167s_ref-vbmeta.img 14 15fastboot flash boot_a ${BOOT_IMG} && fastboot flash vbmeta_a ${VBMETA_IMG} && fastboot reboot 16