Commit Graph

133 Commits

Author SHA1 Message Date
Pavol Rusnak 14b0d4439a
embed: add GPLv3 source code headers 2018-02-26 14:07:37 +01:00
Pavol Rusnak 21bb815945
embed/trezorhal: move mpu to trezorhal - enable it in firmware 2018-02-23 19:08:34 +01:00
Pavol Rusnak 3eab20e278
embed: refactor MIN/MAX macros in common.h 2018-02-22 20:35:32 +01:00
Pavol Rusnak 4ad6a7a634
embed/bootloader: increase USB timeout to 500 2018-02-13 23:11:18 +01:00
Pavol Rusnak 5ded086800
embed/trezorhal: introduce jump_to_unprivileged, disable mpu in bootloader 2018-02-13 20:51:14 +01:00
Pavol Rusnak 302a31e8d2
embed/bootloader: enable mpu and drop to unprivileged mode before running a firmware 2018-02-13 19:36:03 +01:00
Pavol Rusnak 1469ede956
embed: bump versions 2018-02-13 11:54:08 +01:00
Pavol Rusnak 7b2fd6ae4c
embed/bootloader: move Welcome! string 5px above 2018-02-12 14:57:50 +01:00
Pavol Rusnak 936f0e3e26
embed: fix 3 TODO items 2018-02-12 14:51:41 +01:00
Pavol Rusnak 8a409bd99a
embed/bootloader: move USB_IFACE_NUM to main.c 2018-02-12 14:44:09 +01:00
mcudev 0a15b03917 bootloader: fix process_msg_unknown remaining chunk calculation 2018-02-12 14:40:50 +01:00
Pavol Rusnak 34c6fb987a
embed/bootloader: better detection of broken firmware at start 2018-02-10 17:52:45 +01:00
Pavol Rusnak a25af7d22a
embed/extmod/modtrezorui: refactor text bar prefill into from display.c into extmod 2018-02-06 22:55:20 +01:00
Pavol Rusnak 47c598b56e
embed/bootloader: don't show build field in version (stick to major.minor.patch) 2018-02-06 17:18:37 +01:00
Pavol Rusnak 1c5beb1c12
embed/bootloader: add information about firmware (version, vendor, etc.) to Features message 2018-02-06 17:06:43 +01:00
Pavol Rusnak e865012663
bootloader: use webusb by default 2018-02-03 16:40:52 +01:00
Pavol Rusnak b8b8e38765
trezorhal: rename winusb_enabled to usb21_enabled 2018-02-02 16:02:37 +01:00
Pavol Rusnak 4f44c2577b
trezorhal: add option to programatically enable/disable WinUSB 2018-02-02 15:27:04 +01:00
Pavol Rusnak 488e516cbf
trezorhal: add device_class, etc. to usb object 2018-01-31 16:46:15 +01:00
Pavol Rusnak 52a942afd4
bootloader: fix anti-aliasing in install icon 2018-01-31 16:46:15 +01:00
Pavol Rusnak c934109d65
boardloader, bootloader: bump versions to 2.0 2018-01-28 16:56:05 +01:00
Pavol Rusnak 0b4c703813
bootloader: update booting ui 2018-01-28 13:47:03 +01:00
Pavol Rusnak 08c145c4da
trezorhal: fix winusb 2018-01-28 02:43:02 +01:00
Pavol Rusnak 5e4b632f14
bootloader: firmware: use "Go to" instead of "Open", because that's what Chrome uses :-/ 2018-01-28 02:43:02 +01:00
Pavol Rusnak ba8224f598
trezorhal: remove configuration from usb string table 2018-01-28 02:43:00 +01:00
Pavol Rusnak 55d0416641
trezorhal: make usb stack more robust 2018-01-27 17:27:57 +01:00
Pavol Rusnak efd926208d
bootloader: refactor version formatting into format_ver 2018-01-26 16:05:45 +01:00
Pavol Rusnak c0220192d4
tools: fix binctl script 2018-01-26 15:51:19 +01:00
Pavol Rusnak 0d7f486733
bootloader: show different dialogs for firmware upgrade and vendor change 2018-01-26 15:51:19 +01:00
Pavol Rusnak 6e81a68fbe
bootloader: refactor flash erase after first chunk is received 2018-01-26 15:51:19 +01:00
Pavol Rusnak 739e4f2e45
fix release_num values 2018-01-25 17:46:29 +01:00
Pavol Rusnak b785fcce44
bootloader: revert ui color change 2018-01-25 16:43:54 +01:00
Pavol Rusnak a9f5ed9119
trezorhal: remove unnecessary casting for vstr, small ui nitpicks 2018-01-25 16:29:05 +01:00
Pavol Rusnak 1280073c04
trezorhal: remove unnecessary casting for usb strings 2018-01-25 15:34:45 +01:00
Pavol Rusnak d39ceb0d99
bootloader: fix ui_screen_done flicker 2018-01-25 14:44:03 +01:00
Pavol Rusnak d27111472e
bootloader: show fingerprint on info click 2018-01-25 14:16:21 +01:00
Pavol Rusnak 8fc65d7f32
bootloader: small UI nitpicks 2018-01-25 13:21:04 +01:00
Pavol Rusnak 117a3efbe2
bootloader: refactor fadeins/fadeouts 2018-01-25 12:33:09 +01:00
Pavol Rusnak 5538614a79
bootloader: rework onboarding 2018-01-24 18:28:10 +01:00
Pavol Rusnak 2e00c090b6
bootloader: add confirm dialogs for wipe/upgrade 2018-01-24 17:00:25 +01:00
Pavol Rusnak ae94bc95fb
bootloader: add "connect to host" screen 2018-01-24 14:22:57 +01:00
Pavol Rusnak 2f567ee822
bootloader: rework UI 2018-01-24 12:47:55 +01:00
Pavol Rusnak f6f6e8593a
bootloader: don't crash on empty usb queue 2018-01-24 00:37:58 +01:00
Pavol Rusnak 00c193f5cc
trezorhal, unix: drop flash_write_{byte,word} usage, rename flash_write_{byte,word}_rel to flash_write_{byte,word} 2018-01-23 16:58:53 +01:00
Pavol Rusnak 1e7920435c
bootloader: fix flashing of non-continous firmware areas 2018-01-23 16:58:53 +01:00
Pavol Rusnak f50afd2d2a
bootloader: add (optional) WebUSB support 2018-01-21 04:04:33 +01:00
Pavol Rusnak 30ff61b588
trezorhal: add configuration, interface strings to usb descriptors, minor typos 2018-01-20 21:48:53 +01:00
Pavol Rusnak 4cc8a5432d
bootloader: use normal/regular font rather than bold 2018-01-02 01:44:39 +01:00
Pavol Rusnak 424115967f
embed: fix wur for usb functions 2018-01-01 21:49:08 +01:00
Pavol Rusnak 63e999ab84
trezor.ui: introduced minwidth to display.text functions; more optimizations 2017-12-16 19:33:09 +01:00