Last active
February 14, 2025 02:00
-
-
Save johnshearing/65bd02ae63cdc3113a65626df140d7b6 to your computer and use it in GitHub Desktop.
Building and Verifying Keystone3 Firmware
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Machine Setup | |
| sudo apt-get update | |
| sudo apt-get install cmake | |
| sudo apt install gcc-arm-none-eabi | |
| curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh | |
| rustup install nightly-2024-07-01 | |
| source $HOME/.cargo/env | |
| Building the firmware | |
| cd .. # Move up one directory from keystone3-firmware | |
| rm -rf keystone3-firmware | |
| git clone https://github.com/KeystoneHQ/keystone3-firmware | |
| cd keystone3-firmware | |
| git checkout tags/v1.8.2 | |
| git -c submodule.keystone3-firmware-release.update=none submodule update --init --recursive | |
| cargo install cbindgen | |
| rustup target add thumbv7em-none-eabihf | |
| Restart the terminal | |
| python3 build.py | |
| sha256sum mh1903.bin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment