Commit Graph

84 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
Jochen Hoenicke 9f2bbb0e1a Removed references to pin fail area 2017-12-14 17:18:45 +01:00
Pavol Rusnak 2f719526e7
bootloader: implement vendor keys lock 2017-12-13 23:08:15 +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 dcb09012fb
docs: reorganize files 2017-11-05 04:00:05 +01:00
Pavol Rusnak 15b926dbbd
docs: small changes 2017-11-05 03:42:43 +01:00
Pavol Rusnak a067dca054
hardware: add interrupt/reset pins to touch panel description 2017-11-03 19:48:13 +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
Pavol Rusnak ebaeb52b62
docs: fix last commit 2017-10-24 18:07:23 +02:00
Pavol Rusnak ad71fc1578
docs: update trezor logo 2017-10-24 18:06:40 +02:00
Pavol Rusnak 35a3c32935
docs: document OTP area usage 2017-10-20 15:33:34 +02:00
mcudev 7910c88f28 docs: pip to pip3 no cache, add some hardware details (#60) 2017-10-19 15:20:24 +02:00
Pavol Rusnak 001298a90e
boardloader: erase storage on failed option_bytes 2017-10-16 14:22:10 +02:00
Pavol Rusnak 403a92cb7f
docs: crop clock-tree.png 2017-10-16 13:59:49 +02:00
mcudev e2b66436df display: tearing effect cleanup 2017-10-15 21:38:16 +02:00
mcudev 6cde2d8378 docs: bootloader microsd creation note and typo fix (#47) 2017-10-15 19:27:44 +02:00
mcudev 96b57efbfe docs: dev kit hardware updates related to mcu upgrade (#45) 2017-10-14 12:26:34 +02:00
Pavol Rusnak 3982c19378
fix whitespace 2017-10-11 23:37:28 +02:00
mcudev 61e0f6c818 stm32f427 sram bigger (#39) 2017-10-11 23:36:07 +02:00
Pavol Rusnak 6413c2c23e
embed: rework memory layout, enable stack protector 2017-10-11 21:19:52 +02:00
mcudev 61db821c7a docs: dev kit hardware updates mainly usb (#37) 2017-10-11 12:50:10 +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
mcudev ef353f7bc6 docs: hardware updates 2017-09-27 18:49:56 +02:00
mcudev 7535fb74ea fix minor compile time bug and update docs 2017-09-05 22:44:21 +02:00
mcudev 36598b8e20 rough draft 2017-08-30 15:31:43 +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 cae5fbe434
docs: add RAMs to memory layout 2016-10-10 12:48:30 +02:00
Pavol Rusnak 3857ff4139
docs: fix table 2016-10-10 12:33:10 +02:00
Pavol Rusnak 9f3cb279b3
docs: add memory layout 2016-10-10 12:30:41 +02:00
Pavol Rusnak 2e39c86b42
cleanup 2016-10-05 19:48:08 +02:00
Pavol Rusnak 63d4cb3a29
add bootloader ideas 2016-09-27 17:26:04 +02:00
Pavol Rusnak 9f40362482
remove homebrew docu generator, use docstring syntax 2016-09-27 17:25:50 +02:00
Pavol Rusnak 35b26651ba
add trezor.crypto.random 2016-09-27 17:25:47 +02:00