mirror of
https://github.com/commaai/agnos-builder.git
synced 2026-04-07 07:13:53 +08:00
16 lines
364 B
Bash
Executable File
16 lines
364 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null && pwd)"
|
|
cd $DIR
|
|
|
|
DOWNLOADED="aop abl xbl xbl_config devcfg"
|
|
scripts/download-from-manifest.py --manifest firmware.json
|
|
for part in $DOWNLOADED; do
|
|
tools/edl w ${part}_a $DIR/output/$part.img
|
|
tools/edl w ${part}_b $DIR/output/$part.img
|
|
done
|
|
|
|
./flash_kernel.sh
|
|
./flash_system.sh
|