Files
agnos-builder/flash_kernel.sh
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

15 lines
284 B
Bash
Executable File

#!/bin/bash
set -e
GREEN="\033[0;32m"
NO_COLOR='\033[0m'
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null && pwd)"
cd $DIR
echo "Flashing kernel..."
tools/edl w boot_a output/boot.img
tools/edl w boot_b output/boot.img
echo -e "${GREEN}Flashed boot_a and boot_b!${NO_COLOR}"