1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-22 15:38:11 +00:00
Go to file
Jochen Hoenicke e0fd890661 Implemented vendor header.
Header is generated with

    ./tools/build_vendorheader 'key1,key2,key3' 2 1.1 SatoshiLabs assets/satoshilabs.png micropython/firmware/vendorheader.bin

where

- keyN is a 64 character hex string encoding the public key
- 2 encodes 2/3 key scheme
- 1.1 is the version number (major, minor)
- SatoshiLabs is the vendor name
- satoshilabs.png is the vendor image

Updated the firmware compilation that it adds vendor header and updated loader
that it handles vendor header to be present.
2017-04-01 17:01:59 +02:00
assets move ui-mockup to assets 2017-02-06 16:28:49 +01:00
docs Implemented vendor header. 2017-04-01 17:01:59 +02:00
micropython Implemented vendor header. 2017-04-01 17:01:59 +02:00
mocks trezor.crypto: curve.nist256p1 and curve.secp256k1 now sign/verify 256-bit digests, not arbitrary length messages 2016-11-08 15:38:45 +01:00
src rebase micropython, min_time -> peektime 2017-03-31 11:30:31 +02:00
tests modtrezorcrypto: add Blake2b 2017-02-28 18:47:27 +01:00
tools Implemented vendor header. 2017-04-01 17:01:59 +02:00
vendor rebase micropython, min_time -> peektime 2017-03-31 11:30:31 +02:00
.gitignore emu: extract options to (ignored) emu.config 2016-11-16 23:45:56 +01:00
.gitmodules vendor: remove norcow submodule 2017-03-30 21:02:05 +02:00
.travis.yml travis: fix build 2017-03-20 16:04:43 +01:00
emu.sh emu: add -r option to restart (and reload sources) when sources are changed 2016-11-17 13:08:49 +01:00
LICENSE.md convert license to markdown 2017-03-20 22:59:17 +01:00
Makefile trezorhal: don't set SCB->VTOR in SystemInit 2017-03-30 16:47:02 +02:00
Makefile.bootloader bootloader/loader: rename crypto.c/h to image.c/h, refactor 2017-04-01 13:41:07 +02:00
Makefile.firmware Implemented vendor header. 2017-04-01 17:01:59 +02:00
Makefile.loader bootloader/loader: rename crypto.c/h to image.c/h, refactor 2017-04-01 13:41:07 +02:00
README.md Adding gcc-multilib for debian/ubuntu 2017-03-28 15:02:02 +02:00

TREZOR Core

TREZOR Core

Build Status gitter

This is the core of the upcoming TREZOR v2.

Documentation

Build instructions for emulator

Linux

Debian/Ubuntu

sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install libsdl2-dev:i386 libsdl2-image-dev:i386 gcc-multilib
make build_unix

Fedora

sudo yum install SDL2-devel.i686 SDL2_image-devel.i686
make build_unix

openSUSE

sudo zypper install libSDL2-devel-32bit libSDL2_image-devel-32bit
make build_unix

OS X

brew install --universal sdl2 sdl2_image
make build_unix

Windows

Not supported yet ...

Build instructions for ARM

Linux

For flashing firmware to blank device (without bootloader) by make flash, please install stlink.

Debian/Ubuntu

sudo apt-get install gcc-arm-none-eabi libnewlib-arm-none-eabi
make build_trezorhal

OS X

  1. Download gcc-arm-none-eabi
  2. Follow the install instructions
  3. To install stlink, run brew install stlink