Commit Graph

1080 Commits

Author SHA1 Message Date
Szczepan Zalega e3ff136196 Remove obsolete region for the app static firmware version address 2019-08-24 10:17:59 +02:00
Szczepan Zalega 74181406fe Rename last_addr->last_written_app_address 2019-08-24 10:17:55 +02:00
Szczepan Zalega 987b04523d Correct memory layout 2019-08-24 10:17:52 +02:00
Szczepan Zalega 8023347c8e Makefile: add debug info 2019-08-24 10:17:49 +02:00
Szczepan Zalega 9dae7b2e7c Makefile: fix flashboot recipe 2019-08-24 10:17:46 +02:00
Szczepan Zalega cb13fb65de Store version in the bootloader. Debug code. 2019-08-24 10:17:43 +02:00
Szczepan Zalega 7fddd58704 Bootloader: get uploaded application version from the 4 last bytes of its firmware 2019-08-24 10:17:40 +02:00
Szczepan Zalega 3a1ea275cc Move _extra* debug linker scripts content to main 2019-08-24 10:17:37 +02:00
Szczepan Zalega 22293f82f2 Rename flash2 -> flash_cfg 2019-08-24 10:17:34 +02:00
Szczepan Zalega 40c3c13b07 Correct flash2 region. Rename _bconfig_start->bootloader_configuration. 2019-08-24 10:17:30 +02:00
Szczepan Zalega 7042b0b656 Move app version to the end of the firmware code, without specific address. Move bootloader config 8B forward. 2019-08-24 10:17:27 +02:00
Szczepan Zalega ea803aab95 Make the flash memory structure depend on the APPLICATION_START_PAGE macro 2019-08-24 10:17:24 +02:00
Szczepan Zalega 1100b159a9 Refactor. Add debug code. Use %u for unsigned. Use volatile pointer instead of memory storage. 2019-08-24 10:17:21 +02:00
Szczepan Zalega 9ddba5dfc3 Add extra linker script changes 2019-08-24 10:17:18 +02:00
Szczepan Zalega 35e52f4968 Initial modification to move bootloader data after the application 2019-08-24 10:17:15 +02:00
Szczepan Zalega efddd2f3a8 Use the same public bootloader key as before 2019-08-24 10:17:12 +02:00
Szczepan Zalega 17ceb7b9e8 Make the public key generic 2019-08-24 10:17:09 +02:00
Szczepan Zalega 188a34d1da Add missing Makefile entry. Rename pubkey file. 2019-08-24 10:17:05 +02:00
Szczepan Zalega 9248c6462c Add missing is_newer and pubkey 2019-08-24 10:17:02 +02:00
Szczepan Zalega 118e129152 Set firmware version in the flash 2019-08-24 10:16:59 +02:00
Szczepan Zalega beb5a5892c Add linker scripts 2019-08-24 10:16:56 +02:00
Szczepan Zalega d618081dd0 Add version code 2019-08-24 10:16:53 +02:00
Szczepan Zalega e4e0a3a84e Add code responsible for firmware version verification in the bootloader 2019-08-24 10:16:50 +02:00
Conor Patrick 3ba9b671fc dont use composit for bootloader 2019-08-24 16:01:44 +08:00
Conor Patrick 69c34f9ca9 Merge branch 'master' into ccid 2019-08-24 15:54:51 +08:00
Conor Patrick 3b4c154fd1 add enable macro for CCID interface 2019-08-24 15:49:02 +08:00
Conor Patrick ccd9a04146 add ccid log tag 2019-08-24 15:08:14 +08:00
Conor Patrick bde4c09c21 CCID basics working 2019-08-24 15:06:16 +08:00
merlokk 5d3914bc5e remove delays 2.5.1 2019-08-23 22:25:22 +08:00
Conor Patrick abe306a649 Merge branch 'master' of github.com:solokeys/solo 2.5.0 2019-08-23 14:53:22 +08:00
Conor Patrick 41ceb78f6c add user presence to flags 2019-08-23 14:48:21 +08:00
Conor Patrick 8e192f2363 do not delay bootloader 2019-08-23 14:41:26 +08:00
Conor Patrick affc256ca2 add delay to cap button improve reliability 2019-08-23 14:41:26 +08:00
Conor Patrick b3ac739a35 make touch sensor edge based to avoid approving >1 transaction 2019-08-23 13:44:06 +08:00
Conor Patrick 3b53537077 refactor fido2 user presence handling & increase timeout to 29s 2019-08-23 13:19:28 +08:00
merlokk 3fad9a7a7d add response to reset command and delete debug 2019-08-23 10:43:09 +08:00
allcontributors[bot] 8973608f59 docs: update .all-contributorsrc 2019-08-22 22:42:17 +02:00
allcontributors[bot] 8af6505f6d docs: update README.md 2019-08-22 22:42:17 +02:00
merlokk d39d7978fd small fix 2019-08-22 21:04:01 +08:00
merlokk c972a13034 fix reboot 2019-08-22 20:55:25 +08:00
merlokk a95e62e2ea reset 2019-08-22 20:55:25 +08:00
merlokk c79b7abfb6 add reset placeholder 2019-08-22 20:55:25 +08:00
merlokk dfb124dc8b refactoring 2019-08-22 20:55:12 +08:00
merlokk 972760eb78 added APDU input chaining 2019-08-22 20:55:12 +08:00
merlokk 0d621d13f9 fix decoding apdu 2019-08-22 20:55:12 +08:00
Conor Patrick 32f920e372 compile/crash fixes 2019-08-22 19:52:21 +08:00
Conor Patrick a5aff478dd Merge branch 'master' into ccid 2019-08-22 17:13:55 +08:00
merlokk 728acc1671 chaining not needs to go to the start 2019-08-21 12:13:16 +08:00
merlokk 62b4418dac fix pck length math 2019-08-21 12:13:16 +08:00
merlokk 8059a9765f was wrong buffer 2019-08-21 12:13:16 +08:00