Pavol Rusnak
|
fa802e9353
|
boardloader: fix test for existence of bootloader on sd card
|
2017-10-29 16:23:25 +01:00 |
|
Pavol Rusnak
|
36143033c4
|
bootloader: check vendor header / image header before flashing
|
2017-10-27 04:49:59 +02:00 |
|
Pavol Rusnak
|
4d36d0e1c1
|
trezorhal: use sectrue where possible
|
2017-10-27 03:58:00 +02:00 |
|
Pavol Rusnak
|
f73eb3effd
|
trezorhal: introduce secbool/sectrue/secfalse and use it where possible
|
2017-10-26 23:51:39 +02:00 |
|
Pavol Rusnak
|
7ddfdf69d6
|
trezorhal: support for non-continous areas in check_image_contents
|
2017-10-26 19:09:53 +02:00 |
|
Pavol Rusnak
|
89cc35b195
|
trezorhal: fix hash offset in check_image_contents
|
2017-10-26 18:53:20 +02:00 |
|
Pavol Rusnak
|
7c891e19e5
|
boardloader, bootloader: check image contents against hashes in the header
|
2017-10-26 17:16:59 +02:00 |
|
Pavol Rusnak
|
63636be0a3
|
trezorhal: rework header checking to new format
|
2017-10-26 15:54:02 +02:00 |
|
Pavol Rusnak
|
0c6ee14ee1
|
trezorhal: move image related defines to image.h
|
2017-10-26 01:17:57 +02:00 |
|
mcudev
|
abf7f822b8
|
boardloader: do not call shutdown directly, return and the startup code handles it
|
2017-10-24 17:17:20 +02:00 |
|
mcudev
|
041dd951d3
|
boardloader: do not use ensure before display_init, just return
|
2017-10-24 17:17:20 +02:00 |
|
mcudev
|
1f6edb448c
|
boardloader: check reset flags for production
|
2017-10-24 17:17:20 +02:00 |
|
Pavol Rusnak
|
79fe9162b5
|
trezorhal: simplify api for init functions, use bool and void rather than int
|
2017-10-20 15:25:24 +02:00 |
|
mcudev
|
d6ae912703
|
boardloader: flash option bytes updates
|
2017-10-20 14:41:01 +02:00 |
|
mcudev
|
fc7b1cfe81
|
flash_init: remove empty function from all stages
|
2017-10-20 14:41:01 +02:00 |
|
mcudev
|
167d476fff
|
image_parse_header: remove undefined behavior and other updates (#61)
boardloader: bootloader: remove undefined behavior in header parsing, code cleanup
|
2017-10-19 18:45:57 +02:00 |
|
Pavol Rusnak
|
4a14fb6c4d
|
boardloader: move periph_init to lowlevel.c
|
2017-10-17 11:44:53 +02:00 |
|
mcudev
|
45a4a944d0
|
boardloader, bootloader, firmware: only call periph_init in boardloader (#54)
|
2017-10-17 11:42:57 +02:00 |
|
Pavol Rusnak
|
6ea9b105e5
|
boardloader, bootloader: reorder erasing of sectors, check whether sector was really erased
|
2017-10-16 21:43:07 +02:00 |
|
Pavol Rusnak
|
82050912c4
|
bootloader: implement WipeDevice
|
2017-10-16 20:56:16 +02:00 |
|
Pavol Rusnak
|
001298a90e
|
boardloader: erase storage on failed option_bytes
|
2017-10-16 14:22:10 +02:00 |
|
Pavol Rusnak
|
e8e3ed98f3
|
boardloader: usability fixes
|
2017-10-15 22:20:13 +02:00 |
|
Pavol Rusnak
|
06fc509cbb
|
boardloader: reorder calls so one can abort also by ejecting SD card
|
2017-10-14 13:00:23 +02:00 |
|
Pavol Rusnak
|
8a707ce40d
|
boardloader: check flash_option_bytes at start
|
2017-10-14 12:49:00 +02:00 |
|
mcudev
|
70594a9bfe
|
startup: setup the stack protector for the stage before main function (#46)
|
2017-10-14 12:25:13 +02:00 |
|
Pavol Rusnak
|
bdae87ddde
|
boardloader: small changes to program flow and display output
|
2017-10-13 17:19:14 +02:00 |
|
Pavol Rusnak
|
c5dfa37f3e
|
boardloader: don't call copy_sdcard twice
|
2017-10-13 00:28:06 +02:00 |
|
Pavol Rusnak
|
2fc69bed61
|
embed: rename trassert to ensure
|
2017-10-12 16:06:53 +02:00 |
|
Pavol Rusnak
|
66b6406b7c
|
boardloader, bootloader: add write-protection and downgrade-protection respectively
|
2017-10-12 14:35:01 +02:00 |
|
Pavol Rusnak
|
9a0c8f4687
|
build: introduce PRODUCTION flag
|
2017-10-12 12:17:04 +02:00 |
|
Pavol Rusnak
|
380d08f1d0
|
embed: introduce trassert (trezor assert)
|
2017-10-12 00:35:14 +02:00 |
|
Pavol Rusnak
|
d003c250d8
|
boardloader: refactor flash_option_bytes from trezorhal to boardloader/lowlevel
|
2017-10-11 23:53:29 +02:00 |
|
Pavol Rusnak
|
7babde646e
|
embed: more cleanup
|
2017-10-11 23:11:59 +02:00 |
|
Pavol Rusnak
|
6413c2c23e
|
embed: rework memory layout, enable stack protector
|
2017-10-11 21:19:52 +02:00 |
|
Pavol Rusnak
|
a6fd1da237
|
boardloader: wait 5 seconds before copying bootloader
|
2017-10-11 18:11:38 +02:00 |
|
mcudev
|
ead626404b
|
boardloader: issue 34 (#36)
|
2017-10-11 12:58:36 +02:00 |
|
mcudev
|
4ee5872a55
|
display: backlight handling (#25)
|
2017-10-06 11:11:59 +02:00 |
|
Pavol Rusnak
|
6693d61aa0
|
boardloader+bootloader: remove prints during normal operation
|
2017-10-05 20:19:04 +02:00 |
|
Pavol Rusnak
|
39b614499f
|
build: update production keys
|
2017-10-04 20:20:01 +02:00 |
|
Pavol Rusnak
|
b962ace27d
|
build: add production keys
|
2017-10-04 15:55:59 +02:00 |
|
Pavol Rusnak
|
8ddcd74080
|
build: sign all stuff using ed25519 cosi (2 out of 3)
|
2017-10-01 17:56:19 +02:00 |
|
Pavol Rusnak
|
2bc37a10fe
|
use different set of keys for boardloader/bootloader/vendorheader
|
2017-09-29 17:31:59 +02:00 |
|
Pavol Rusnak
|
a055f4e8fb
|
boardloader+bootloader: remove unneded STM32 include
|
2017-09-29 10:11:12 +02:00 |
|
mcudev
|
3bcd75fd94
|
issue 12: startup related changes
|
2017-09-29 09:49:51 +02:00 |
|
mcudev
|
43e8b85700
|
display updates
|
2017-09-28 13:58:58 +02:00 |
|
Pavol Rusnak
|
d50eeb581a
|
trezorhal: introduce flash_write_{byte,word}
|
2017-09-28 11:28:40 +02:00 |
|
Pavol Rusnak
|
66930f2e37
|
trezorhal: add flash_otp functions
|
2017-09-27 11:09:08 +02:00 |
|
Jan Pochyla
|
55bd4a0806
|
rename /micropython to /embed
|
2017-07-28 16:23:45 +02:00 |
|