Skip to content

Commit

Permalink
temporary(emu): bake in arm emulator for T3T1
Browse files Browse the repository at this point in the history
It is not yet available dynamically from Gitlab CI --- the pipeline needs to succeed
  • Loading branch information
grdddj committed Apr 9, 2024
1 parent 6500e98 commit 242ebf3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ __pycache__
src/binaries/firmware/bin/*
!src/binaries/firmware/bin/download.sh
!src/binaries/firmware/bin/download_latest_gh.py
!src/binaries/firmware/bin/arm
!src/binaries/trezord-go/bin/download.sh
emulator.img
.vscode
Expand Down
Binary file not shown.
8 changes: 5 additions & 3 deletions src/binaries/firmware/bin/download.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,11 @@ elif [[ $SYSTEM_ARCH == aarch64* ]]; then
unzip -o -q trezor-emu-core-R-arm-main.zip -d arm/
mv arm/core/build/unix/trezor-emu-core-arm ../trezor-emu-core-R-v2-main-arm

wget --no-config -O trezor-emu-core-T3T1-arm-main.zip "$T3T1_LATEST_BUILD"
unzip -o -q trezor-emu-core-T3T1-arm-main.zip -d arm/
mv arm/core/build/unix/trezor-emu-core-arm ../trezor-emu-core-T3T1-v2-main-arm
# TEMPORARILY replaced by baking the emulators into the image
# wget --no-config -O trezor-emu-core-T3T1-arm-main.zip "$T3T1_LATEST_BUILD"
# unzip -o -q trezor-emu-core-T3T1-arm-main.zip -d arm/
# mv arm/core/build/unix/trezor-emu-core-arm ../trezor-emu-core-T3T1-v2-main-arm
mv ../arm/trezor-emu-core-T3T1-v2-main-arm ../trezor-emu-core-T3T1-v2-main-arm

wget --no-config -O trezor-emu-legacy-arm-main.zip "$LEGACY_LATEST_BUILD"
unzip -o -q trezor-emu-legacy-arm-main.zip -d arm/
Expand Down

0 comments on commit 242ebf3

Please sign in to comment.