Commit Graph

28 Commits (1e7920435c07d47029c0a5c2cb1b995ad0c7529a)

Author SHA1 Message Date
Pavol Rusnak 1e7920435c
bootloader: fix flashing of non-continous firmware areas
7 years ago
Pavol Rusnak f50afd2d2a
bootloader: add (optional) WebUSB support
7 years ago
Pavol Rusnak 424115967f
embed: fix wur for usb functions
7 years ago
Pavol Rusnak 47f5cba439
flash/sdcard: introduce wur, simplify code
7 years ago
Pavol Rusnak 5e93cca0a9
WIP
7 years ago
Pavol Rusnak b4933f969e
bootloader: don't downgrade firmware below fix_version in the current firmware
7 years ago
Jochen Hoenicke 9f2bbb0e1a Removed references to pin fail area
7 years ago
Pavol Rusnak 45c290d24c
trezorhal: introduce vendor_keys_hash, use it in compare_to_current_vendor_header
7 years ago
Pavol Rusnak e268aeb8b7
flash: simplify/unify flash_erase_sectors usage
7 years ago
Pavol Rusnak 04d980f8f0
add Features.model field (set to "T")
7 years ago
Pavol Rusnak 879a3e85bd
trezorhal: reorder stuff in common.{c,h}; remove unnecessary externs for functions
7 years ago
Pavol Rusnak e4360a7296
bootloader: change upgrade criteria to vendor keyset comparison
7 years ago
Pavol Rusnak 5d6d342813
bootloader: erase storage on vendor change
7 years ago
Pavol Rusnak d0e81edc8f
bootloader: check chunk hash before flashing
7 years ago
Pavol Rusnak 36143033c4
bootloader: check vendor header / image header before flashing
7 years ago
Pavol Rusnak 9690f1abdf
bootloader: load chunk into memory first, then save it to flash
7 years ago
Pavol Rusnak f73eb3effd
trezorhal: introduce secbool/sectrue/secfalse and use it where possible
7 years ago
Pavol Rusnak 63636be0a3
trezorhal: rework header checking to new format
7 years ago
Pavol Rusnak 9e82a4d348
bootloader, firmware: introduce chunk hashes in the image header
7 years ago
mcudev 167d476fff image_parse_header: remove undefined behavior and other updates (#61)
7 years ago
Pavol Rusnak e10d40f846
bootloader: restart into firmware after update, don't shutdown
7 years ago
Pavol Rusnak 17c3d2b56f
bootloader: implement UI according to mockup
7 years ago
Pavol Rusnak 6ea9b105e5
boardloader, bootloader: reorder erasing of sectors, check whether sector was really erased
7 years ago
Pavol Rusnak 82050912c4
bootloader: implement WipeDevice
7 years ago
Pavol Rusnak 2010213338
bootloader: first UI steps
7 years ago
Pavol Rusnak d50eeb581a
trezorhal: introduce flash_write_{byte,word}
7 years ago
Pavol Rusnak 66930f2e37
trezorhal: add flash_otp functions
7 years ago
Jan Pochyla 55bd4a0806 rename /micropython to /embed
7 years ago