Files
agnos-builder/flash_bootloader.sh
T
Hoang Bui f67000022c Fastboot -> QDL flashing (#201)
* edl

* only edl

* cleaner

* restore DIR

* better name

* export

* edl setup in extract_tools

* back to root dir

* update + wait for edl merge

* good

* fix

* fix

* update checkpoint

* edl_flash.sh

* edl command setup script

* remove edl_flash

* remove edl json

* simple wrapper

* fix set slot

* bump edl

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2024-04-24 13:39:33 -07:00

14 lines
278 B
Bash
Executable File

#!/bin/bash -e
GREEN="\033[0;32m"
NO_COLOR='\033[0m'
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null && pwd)"
cd $DIR
echo "Flashing bootloader..."
tools/edl w abl_a output/abl.elf
tools/edl w abl_b output/abl.elf
echo -e "${GREEN}Flashed abl_a and abl_b!${NO_COLOR}"