1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-20 21:38:26 +00:00
Commit Graph

31 Commits

Author SHA1 Message Date
Pavol Rusnak
7504366a02
bootloader: simplify vtrust code 2017-12-15 20:57:54 +01:00
Pavol Rusnak
965aa73b63
trezorhal: introduce fix_version in image header (version of last critical bugfix) 2017-12-14 21:29:13 +01:00
Pavol Rusnak
e4360a7296
bootloader: change upgrade criteria to vendor keyset comparison 2017-11-07 13:46:18 +01:00
Pavol Rusnak
3636a5f1b1
bootloader/vendorheader: vtrust is bitmap not scalar 2017-11-06 16:31:09 +01:00
Pavol Rusnak
9e82a4d348
bootloader, firmware: introduce chunk hashes in the image header 2017-10-26 14:25:10 +02:00
Pavol Rusnak
3c974095aa
trezorhal: increase image header size from 512 to 1024 bytes 2017-10-26 02:11:40 +02:00
mcudev
6cde2d8378 docs: bootloader microsd creation note and typo fix (#47) 2017-10-15 19:27:44 +02:00
mcudev
4897dc2139 doc: STLINK_VER and boardloader description (#35) 2017-10-10 20:56:15 +02:00
Pavol Rusnak
78f57d083c
add vendor trust to vendorheader 2017-10-05 17:31:39 +02:00
Pavol Rusnak
6b96a91d52
docs: update markdown according to lint 2017-04-12 14:45:58 +02:00
Pavol Rusnak
0c060b6d4a
rename loader to bootloader 2017-04-10 19:24:21 +02:00
Pavol Rusnak
0633506166
rename bootloader to boardloader 2017-04-10 19:11:44 +02:00
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
Pavol Rusnak
435e96e1b3
build: refactor binctl and firmware/loader image stuff 2017-04-01 02:53:52 +02:00
Pavol Rusnak
b5ff140256
trezorhal: fix alignment in headers to 512 bytes 2017-03-31 23:54:59 +02:00
Pavol Rusnak
dd69929ce1
tools: rename firmwarectl to binctl, minor reformat 2017-03-30 22:58:00 +02:00
Pavol Rusnak
e313234fe3
bootloader/loader: use blake2s instead of sha256 for digests 2017-03-23 15:54:34 +01:00
Pavol Rusnak
cbaca604f3
bootloader+loader: rework build, make clear what is bootloader and what is loader in docu 2017-03-20 16:00:10 +01:00
Pavol Rusnak
cc525e97ce
markdown: follow commonmark spec 2017-03-20 15:49:11 +01:00
Pavol Rusnak
5bdfbb3469
bootloader: work in progress 2017-02-09 20:04:21 +01:00
Pavol Rusnak
7d4414000e
tools: join check_bootloader and check_firmware into firmwarectl tool 2017-02-09 16:26:15 +01:00
Pavol Rusnak
2d7c6b0c34
bootloader: cleanup, more documentation, added scripts for checking 2017-02-08 19:43:47 +01:00
Pavol Rusnak
d65b6b35d9
update bootloader documentation 2017-02-08 15:51:13 +01:00
Pavol Rusnak
63d4cb3a29
add bootloader ideas 2016-09-27 17:26:04 +02:00
Pavol Rusnak
5fe006f41d
update info about bootloader format 2016-09-27 17:24:13 +02:00
Pavol Rusnak
e1450e3f7f
os -> core 2016-09-27 17:24:13 +02:00
slush0
e00abf4d18
Updated vendor/firmware structures 2016-09-27 17:24:12 +02:00
Pavol Rusnak
f24dd6b42f
add validity timestamp 2016-09-27 17:24:12 +02:00
Pavol Rusnak
bc7cb88cdf
use little endian for toif, fix random 2016-09-27 17:23:22 +02:00
Pavol Rusnak
250e35348e
rework note about endianity 2016-09-27 17:23:21 +02:00
Pavol Rusnak
4b9d3bffc6
add firmware format documentation 2016-09-27 17:23:20 +02:00