1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-26 09:28:13 +00:00
Commit Graph

103 Commits

Author SHA1 Message Date
Pavol Rusnak
0760ff0468
setup: move stack smashing protection code to setup.c 2017-07-30 21:40:07 +02:00
Pavol Rusnak
cb020cb1d8
bootloader: refactor calculate fingerprint part (not issue button request if brand new firmware) 2017-07-25 17:24:40 +02:00
Pavol Rusnak
184529bbfc
bootloader: erase metadata backup after usage 2017-07-24 14:39:15 +02:00
Pavol Rusnak
5fa82cc4cb
bootloader: align during docker build 2017-07-19 12:52:46 +02:00
Pavol Rusnak
980bae6cb5
bootloader: in self-test perform each step just once 2017-07-19 11:39:04 +02:00
Pavol Rusnak
6141782270
bootloader: fix whitespace 2017-07-19 00:12:22 +02:00
Pavol Rusnak
bf374f1769
bootloader: add RNG test 2017-07-19 00:08:36 +02:00
Pavol Rusnak
86bcede12d
bootloader: add changelog, bump version to 1.3.2 2017-07-11 23:45:08 +02:00
Pavol Rusnak
7ca4b11c3a
add USB test to SelfTest 2017-07-10 19:10:25 +02:00
Pavol Rusnak
3d6bfddc5f
move -Os flag to Makefiles of bootloader and fastflash 2017-07-04 20:21:10 +02:00
Pavol Rusnak
d4b9ea2287
bootloader: add cpu test 2017-07-04 19:34:25 +02:00
Pavol Rusnak
8581a9a37a
bootloader: add UI to SelfTest 2017-07-03 19:18:34 +02:00
Saleem Rashid
f23489050a util: Add load_vector_table 2017-07-03 18:35:42 +02:00
Pavol Rusnak
4603b0c800
bootloader: subtle changes in bootloader.c and fastflash.c to make them more similar 2017-07-01 16:22:22 +02:00
mruddy
f274d8cd73 fix bootloader stack protector fault 2017-07-01 16:13:35 +02:00
Pavol Rusnak
0f42f64dfd
bootloader: do not show fingerprint on very first flash; refactor firmware_present, introduce brand_new_firmware 2017-06-30 16:52:00 +02:00
Pavol Rusnak
87b815d6ec
bootloader: selftest now writes and checks various bit patterns 2017-06-29 18:36:19 +02:00
Pavol Rusnak
425341ba44
bootloader: add small test to SelfTest (erase/restore metadata), small refactor 2017-06-29 18:13:30 +02:00
Pavol Rusnak
2bf807878d
bootloader: add SelfTest 2017-06-29 17:31:23 +02:00
Saleem Rashid
80d17c1333 bootloader: Allow building as an app 2017-06-25 18:19:07 +02:00
Saleem Rashid
0b3373e6df bootloader: Remove duplicate 'flash' target 2017-06-25 18:19:07 +02:00
Pavol Rusnak
09eaaa09ee
bootloader: don't show recovery seed warning if no firmware is present 2017-04-16 19:31:08 +02:00
Pavol Rusnak
0200ee5763
bootloader: cleanup protobuf messages 2017-04-16 19:31:03 +02:00
Jochen Hoenicke
49645ba277 Compute hash before checking signatures. (#158)
This fixes the problem where an invalid hash is shown, if
the firmware contains no signing key indices.
2017-03-30 02:24:53 +02:00
Saleem Rashid
dfe783d729 firmware_sign: Python 3 compatibility (#156) 2017-03-05 14:43:22 +01:00
mruddy
c8c85424b6
fix usage of RNG before setup (#150/#151) 2017-02-17 13:19:05 +01:00
Pavol Rusnak
2a22d9f0ed
fix combine/prepare script for python3 2017-02-04 11:20:58 +01:00
Pavol Rusnak
801ca6e644
adapt python scripts to Python3 2017-02-01 18:07:47 +01:00
Pavol Rusnak
1943d840e3
add ChangeLog for bootloader, move firmware ChangeLog 2017-02-01 14:57:59 +01:00
Pavol Rusnak
ab006262e8
mytrezor.com -> trezor.io/start 2017-01-10 15:08:08 +01:00
Pavol Rusnak
ee3a7cbcfa
fix bug when long press of buttons breaks usb communication in bootloader, bump bl version to 1.3.1 2016-12-06 22:35:56 +01:00
Pavol Rusnak
d7ff70caf6
add checking of buttons to bootloader 2016-10-06 15:03:11 +02:00
Pavol Rusnak
9fe9ebc990
fix usb descriptor in bootloader 2016-09-26 14:57:10 +02:00
Pavol Rusnak
2f7ed2aa0f
implement firmware_present flag in bootloader 2016-09-26 13:09:18 +02:00
Pavol Rusnak
cda9ae4b29
change version description in bootloader 2016-09-25 16:36:44 +02:00
Pavol Rusnak
dc8348b4a0
add flash target to bootloader makefile 2016-09-25 16:04:07 +02:00
Pavol Rusnak
259eeae26e
don't halt on broken firmware but stay in bootloader mode 2016-09-25 15:52:39 +02:00
Pavol Rusnak
b1e3c52b08
remove DialogIcon enum, use bitmap structure directly 2016-06-08 19:20:07 +02:00
Jochen Hoenicke
af442d17e0 Faster flashing, smoother animation.
Compute sha256 hahsum at the end.
Display progress bar for flash erase.
2016-05-25 00:41:13 +02:00
Pavol Rusnak
c691f9b5e9
fix python shebangs 2016-05-24 20:31:01 +02:00
Pavol Rusnak
27b3c63d85
cleanup usb in bootloader 2016-05-23 19:42:36 +02:00
Pavol Rusnak
1f3369788a
use __asm__ instead of asm 2016-04-29 16:10:41 +02:00
Pavol Rusnak
5e5138066a
adapt the reorder of hash_final functions 2016-04-26 11:53:58 +02:00
Pavol Rusnak
fa0b238b45
show firmware hash screen after unofficial firmware dialog 2016-02-10 14:16:59 +01:00
Pavol Rusnak
63bc16d375
signatures_ok function in bootloader exports firmware hash if needed 2016-02-10 13:53:08 +01:00
Pavol Rusnak
6e3aec0c1b
move submodules to vendor subdirectory 2015-12-15 23:01:54 +01:00
Pavol Rusnak
90171e0aa6 update bootloader and demo to new usb api 2015-08-05 16:57:23 +02:00
Pavol Rusnak
39e29c1037 use -O3 instead of -Os 2015-07-07 18:36:54 +02:00
Pavol Rusnak
7af050febb no need for bignum.small.o as there is no difference anymore 2015-04-30 01:35:49 +02:00
Pavol Rusnak
fb2a085fff update trezor-crypto 2015-03-12 16:14:11 +01:00
Pavol Rusnak
2a2eba7de5 rework layoutProgress functions 2014-12-21 18:58:56 +01:00
Pavol Rusnak
58ecfdcab0 use stack protector in bootloader 2014-10-30 17:57:33 +01:00
Pavol Rusnak
938e8a5966 bootloader source code 2014-10-23 18:09:41 +02:00