Commit Graph

20 Commits

Author SHA1 Message Date
Pavol Rusnak e268aeb8b7
flash: simplify/unify flash_erase_sectors usage 2017-12-09 18:00:37 +01:00
Pavol Rusnak 04d980f8f0
add Features.model field (set to "T") 2017-12-04 22:40:42 +01:00
Pavol Rusnak 879a3e85bd
trezorhal: reorder stuff in common.{c,h}; remove unnecessary externs for functions 2017-11-07 20:44:30 +01:00
Pavol Rusnak e4360a7296
bootloader: change upgrade criteria to vendor keyset comparison 2017-11-07 13:46:18 +01:00
Pavol Rusnak 5d6d342813
bootloader: erase storage on vendor change 2017-10-27 18:45:33 +02:00
Pavol Rusnak d0e81edc8f
bootloader: check chunk hash before flashing 2017-10-27 05:09:35 +02:00
Pavol Rusnak 36143033c4
bootloader: check vendor header / image header before flashing 2017-10-27 04:49:59 +02:00
Pavol Rusnak 9690f1abdf
bootloader: load chunk into memory first, then save it to flash 2017-10-27 04:20:03 +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 63636be0a3
trezorhal: rework header checking to new format 2017-10-26 15:54:02 +02:00
Pavol Rusnak 9e82a4d348
bootloader, firmware: introduce chunk hashes in the image header 2017-10-26 14:25:10 +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 e10d40f846
bootloader: restart into firmware after update, don't shutdown 2017-10-17 18:29:03 +02:00
Pavol Rusnak 17c3d2b56f
bootloader: implement UI according to mockup 2017-10-17 17:31:16 +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 2010213338
bootloader: first UI steps 2017-10-16 18:04:19 +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