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

15 lines
306 B
Bash
Executable File

#!/bin/bash
set -e
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null && pwd)"
cd $DIR
for part in aop xbl xbl_config devcfg; do
tools/edl w ${part}_a $DIR/agnos-firmware/$part.bin
tools/edl w ${part}_b $DIR/agnos-firmware/$part.bin
done
./flash_bootloader.sh
./flash_kernel.sh
./flash_system.sh