Commit Graph

270 Commits (bc6d9b47a373e1caf0dd1e684b8800aca250ccfe)

Author SHA1 Message Date
Pavol Rusnak b4933f969e
bootloader: don't downgrade firmware below fix_version in the current firmware
7 years ago
Pavol Rusnak 965aa73b63
trezorhal: introduce fix_version in image header (version of last critical bugfix)
7 years ago
Pavol Rusnak e8f70ed4af
pin: implement graphics pin timeout
7 years ago
Jochen Hoenicke 87f7054e46 Added callback for PIN timeout
7 years ago
Jochen Hoenicke 9f2bbb0e1a Removed references to pin fail area
7 years ago
Jochen Hoenicke 497021f2ef storage: New pin fail section inside NORCOW
7 years ago
Pavol Rusnak b7444ac13e
modtrezorconfig: fix wipe error
7 years ago
Pavol Rusnak 2f719526e7
bootloader: implement vendor keys lock
7 years ago
Pavol Rusnak 45c290d24c
trezorhal: introduce vendor_keys_hash, use it in compare_to_current_vendor_header
7 years ago
Pavol Rusnak 70ac202d7a
modtrezorcrypto: add trezor.crypto.hashlib.blake256
7 years ago
Pavol Rusnak 34322d5fb6
firmware: enable stack protector (except nlr stuff)
7 years ago
Pavol Rusnak 1aba175d7d
build: adapt to new trezor-crypto changes
7 years ago
Pavol Rusnak 7b9fcf98ae
drop embed/extmod/modtrezorcrypto/trezor-crypto symlink
7 years ago
Jochen Hoenicke 816bfe387f Bug fix: missing parenthesis in flash_write_word
7 years ago
Pavol Rusnak 20a1326ebb
storage: fix typo
7 years ago
Pavol Rusnak ce3eaba925
trezorhal: use static inline instead of static (gcc 7.2 workaround)
7 years ago
Pavol Rusnak 8a8450d6be
fix build for older compilers
7 years ago
Pavol Rusnak e268aeb8b7
flash: simplify/unify flash_erase_sectors usage
7 years ago
Pavol Rusnak 6ab0f03ec4
embed: norcow_init, storage_init and flash_init don't return secbool, they halt using ensure if something goes wrong
7 years ago
Pavol Rusnak 6b94fd26e4
boardloader: rename reset_flags_init to reset_flags_check
7 years ago
Jan Pochyla 314e6a99c1 modtrezorcrypto/bip32: add HDNode.__init__
7 years ago
Pavol Rusnak 626a8885ce
trezor.config: add compaction test
7 years ago
Pavol Rusnak b39b4a4947
norcow: fix bug
7 years ago
Pavol Rusnak 7f5192701f
unix: use mmap to access flash file
7 years ago
Pavol Rusnak 44a11fa3ef
norcow: introduce NORCOW_MAGIC
7 years ago
Pavol Rusnak 38e3088325
common: don't expose shutdown() via common.h
7 years ago
Pavol Rusnak f88080b904
Merge branch 'pin_fails'
7 years ago
Pavol Rusnak 40104822e8
unix: make SDL failures fatal
7 years ago
Pavol Rusnak 04d980f8f0
add Features.model field (set to "T")
7 years ago
Jan Pochyla 8b85078730
reflash: add new firmware target
7 years ago
Jan Pochyla 09af312789 prodtest: add BORDER command
7 years ago
Pavol Rusnak 679d024df0
display: use CMD2EN: Command 2 Enable
7 years ago
mcudev 6179edde90 touch: reset and usage updates
7 years ago
mcudev 5556c37f6f display: hardware reset updates
7 years ago
mcudev 61ff3b46c5 display: ST7789V porch settings are for RGB interface, not parallel 8080-I
7 years ago
mcudev 30829b281c display: ST7789V remove commands that unnecessarily set default values again
7 years ago
mcudev e62fa345c8 display: minor ILI9341 updates
7 years ago
mcudev a0129e7715 display: orientation, windowing, and config updates
7 years ago
mcudev f53ec3f928 display: update display_unsleep
7 years ago
mcudev 5e867cc092 display: update display_sleep
7 years ago
mcudev 2ea5d102a8 bootloader, firmware: remove unneeded call to display_orientation
7 years ago
Pavol Rusnak 4002ef2a49
firmware, unix: return cpython compatibility (needed for __class__ and __dict__)
7 years ago
Pavol Rusnak ec6c3c2cdc
unix, firmware: more cleanup
7 years ago
Pavol Rusnak d4893add54
firmware, unix: turn off some modules
7 years ago
Jan Pochyla 5bd39c70b0 storage: fix change_pin and small details
7 years ago
Jan Pochyla cf14717d43 unix: add shutdown()
7 years ago
Pavol Rusnak 879a3e85bd
trezorhal: reorder stuff in common.{c,h}; remove unnecessary externs for functions
7 years ago
Pavol Rusnak d9574bf131
trezorhal: enable BOR level 3, PVD level 5, turn off display in PVD handler
7 years ago
Pavol Rusnak e4360a7296
bootloader: change upgrade criteria to vendor keyset comparison
7 years ago
Jan Pochyla 237740de9c storage: implement change_pin
7 years ago