Jochen Hoenicke
9f50f09421
Init timer interrupt for unsigned firmware
2018-03-29 01:30:40 +02:00
Jochen Hoenicke
c09590b54d
Cleaner flash handling using FLASH_PTR
...
Use `FLASH_PTR` macro to convert a flash address to a const pointer.
For real hardware it is just a cast, for emulator we subtract the
`FLASH_ORIGIN` and use it as index into the memory mapped flash file.
Make write access to flash with volatile pointers
Also use FLASH_PTR in DebugMemory* for now. This allows for reading and
writing the flash in the emulator or just crash it by reading outside
the flash...
2018-03-29 01:16:46 +02:00
Pavol Rusnak
95dd254094
util: use shutdown from trezor-core instead of system_halt
2018-03-21 12:18:36 +01:00
Pavol Rusnak
9588e8f273
update bootloader to 1.4.0 via firmware, run unsigned firmware in unprivileged mode
2018-03-20 15:44:20 +01:00
Pavol Rusnak
4af78f06a3
bootloader: refactor signatures_ok return value
2018-03-13 15:41:42 +01:00
Jochen Hoenicke
83a69a0334
Added fixed-width font and multi-font support
2018-02-20 18:22:47 +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
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
Saleem Rashid
80d17c1333
bootloader: Allow building as an app
2017-06-25 18:19:07 +02:00
Pavol Rusnak
0200ee5763
bootloader: cleanup protobuf messages
2017-04-16 19:31:03 +02:00
mruddy
c8c85424b6
fix usage of RNG before setup (#150/#151)
2017-02-17 13:19:05 +01:00
Pavol Rusnak
ab006262e8
mytrezor.com -> trezor.io/start
2017-01-10 15:08:08 +01:00
Pavol Rusnak
d7ff70caf6
add checking of buttons to bootloader
2016-10-06 15:03:11 +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
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
Pavol Rusnak
1f3369788a
use __asm__ instead of asm
2016-04-29 16:10:41 +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
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