1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-23 23:08:14 +00:00
Commit Graph

61 Commits

Author SHA1 Message Date
Pavol Rusnak
eb0574bda7
bootloader: don't restore storage from unofficial firmware 2017-12-17 03:19:49 +01:00
Pavol Rusnak
41901a8056 firmware: rework protectChangePin
bootloader: wait for flash operation to finish
2017-12-12 12:51:08 +01:00
Jochen Hoenicke
2387f71813 bootloader: Check that erasing flash worked 2017-12-12 12:51:08 +01:00
Jochen Hoenicke
b4a61d60c3 bootloader: Delay flashing firmware magic.
Only flash firmware magic at the end.  Also simplified the code a bit.
2017-12-12 12:51:08 +01:00
Pavol Rusnak
bc7c66aa76
add Features.model field (set to "1") 2017-12-04 22:30:11 +01:00
Pavol Rusnak
18d8cb3c56
add project website (trezor.io) to license header 2017-11-05 17:47:23 +01:00
Jochen Hoenicke
98e617d874
startup: use custom reset_handler
+ group confidential data in one place
+ zero all SRAM where needed
2017-08-16 13:52:01 +02:00
Pavol Rusnak
91c4cbdbd0
setup: move stack protector variable to setup.h 2017-07-30 21:56:30 +02:00
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