mirror of
https://github.com/commaai/agnos-builder.git
synced 2026-06-08 02:54:40 +08:00
19 lines
438 B
Bash
Executable File
19 lines
438 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null && pwd)"
|
|
cd $DIR
|
|
|
|
scripts/mdma.py --missing-ok reboot-qdl
|
|
|
|
for part in aop abl xbl xbl_config devcfg; do
|
|
tools/qdl flash ${part}_a $DIR/firmware/$part.img
|
|
tools/qdl flash ${part}_b $DIR/firmware/$part.img
|
|
done
|
|
|
|
tools/qdl flash boot $DIR/output/boot.img
|
|
tools/qdl flash system $DIR/output/system.img
|
|
tools/qdl reset
|
|
|
|
scripts/mdma.py --missing-ok reboot
|