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 |
|
mcudev
|
3f58a771b4
|
boardloader: stop clearing standby flag
|
2017-10-24 17:17:20 +02:00 |
|
mcudev
|
b1eea5a434
|
boardloader: enable PVD programmable voltage detector and interrupt
|
2017-10-24 17:17:20 +02:00 |
|
Jan Pochyla
|
f93316bebd
|
cleanup .gitignore files
|
2017-10-24 16:24:59 +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 |
|
Pavol Rusnak
|
21fac2e2c3
|
boardloader: don't erase sectors in flash_set_option_bytes for now
|
2017-10-20 14:42:51 +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 |
|
mcudev
|
73897c1147
|
boardloader: remove micropython related code that enables debug features to get clock cycle counts (#58)
|
2017-10-17 18:29:51 +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
|
a7625877ef
|
embed: call clear_otg_hs_memory from fatal_error
|
2017-10-13 00:36:12 +02:00 |
|
mcudev
|
73214017fa
|
clear_otg_hs_memory: Delay after an RCC peripheral clock enabling
|
2017-10-13 00:30:19 +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 |
|
mcudev
|
61e0f6c818
|
stm32f427 sram bigger (#39)
|
2017-10-11 23:36:07 +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
|
b0c54e2a4b
|
boardloader: simplify linker script (#27)
|
2017-10-09 17:43:38 +02:00 |
|
mcudev
|
acca6a0945
|
boardloader: move memset_reg to separate source file
|
2017-10-08 23:48:44 +02:00 |
|
mcudev
|
08b231a298
|
boardloader: factor out vector table
|
2017-10-08 23:48:44 +02:00 |
|
mcudev
|
4ee5872a55
|
display: backlight handling (#25)
|
2017-10-06 11:11:59 +02:00 |
|
mcudev
|
f4e72aa4cc
|
rng updates (#24)
|
2017-10-06 11:11:43 +02:00 |
|
mcudev
|
a381819ad1
|
clock updates (#21)
|
2017-10-06 11:09:22 +02:00 |
|