add installation info to readme

This commit is contained in:
Pavol Rusnak 2017-12-10 23:40:06 +01:00
parent 7cd9945905
commit 8c02b50414
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D
1 changed files with 7 additions and 0 deletions

View File

@ -29,3 +29,10 @@ This creates file `build/bootloader-TAG.bin` and prints its fingerprint and size
3. Compute fingerprint: `tail -c +257 trezor.signed.bin | sha256sum`
Step 3 should produce the same sha256 fingerprint like your local build (for the same version tag). Firmware has a special header (of length 256 bytes) holding signatures themselves, which must be avoided while calculating the fingerprint, that's why tail command has to be used.
## How to install custom built firmware?
**WARNING: This will erase the recovery seed stored on the device! You should never do this on TREZOR that contains coins!**
1. Install python-trezor: `pip install trezor`, (<a href="https://github.com/trezor/python-trezor">more info</a>
2. `trezorctl firmware_update -f build/trezor-TAG.bin`