Skip to content

Commit

Permalink
add panda bootstubs to release files (#29163)
Browse files Browse the repository at this point in the history
* add panda bootstubs to release files

* Update release/build_release.sh
old-commit-hash: fa310d9
  • Loading branch information
adeebshihadeh authored Jul 27, 2023
1 parent 2ed1f8f commit 68aba7c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions release/build_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ git commit -a -m "openpilot v$VERSION release"
# Build panda firmware
pushd panda/
CERT=/data/pandaextra/certs/release RELEASE=1 scons -u .
mv board/obj/panda.bin.signed /tmp/panda.bin.signed
mv board/obj/panda_h7.bin.signed /tmp/panda_h7.bin.signed
mkdir /tmp/panda_obj/
mv board/obj/panda.bin.signed board/obj/panda_h7.bin.signed board/obj/bootstub.panda.bin board/obj/bootstub.panda_h7.bin /tmp/panda_obj/
popd

# Build
Expand Down Expand Up @@ -84,8 +84,7 @@ rm selfdrive/modeld/models/supercombo.onnx

# Move back signed panda fw
mkdir -p panda/board/obj
mv /tmp/panda.bin.signed panda/board/obj/panda.bin.signed
mv /tmp/panda_h7.bin.signed panda/board/obj/panda_h7.bin.signed
mv /tmp/panda_obj/* panda/board/obj/

# Restore third_party
git checkout third_party/
Expand Down

0 comments on commit 68aba7c

Please sign in to comment.