1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-25 07:48:10 +00:00
Commit Graph

300 Commits

Author SHA1 Message Date
Pavol Rusnak
50fdd183c2
ci: enable editorconfig checks, fix whitespace issues 2020-11-11 14:43:50 +01:00
matejcik
50e648636f doc(core): add references to schema specifications, add Purpose48 document 2020-11-05 14:30:11 +01:00
Andrew Kozlik
b2948ee2dc docs: Improve documentation of the review process. 2020-10-23 16:59:49 +02:00
Andrew Kozlik
0f0d1ef363 docs: Document replacement transactions in Bitcoin signing. 2020-10-23 15:07:15 +02:00
Pavol Rusnak
f47b8bdbc8
docs: add poetry install after git clone [skip ci] 2020-10-22 22:15:08 +02:00
Tomas Susanka
76dc3b3e51 docs: fix typo in review.md 2020-10-22 09:53:05 +02:00
Tomas Susanka
0a9884c76e docs: document the review process 2020-10-21 14:40:34 +02:00
Tomas Susanka
865c167ac5 docs: small typos in Contributing 2020-10-16 09:16:19 +02:00
Pavol Rusnak
4fdb62c2e2 chore(python): replace pipenv with poetry 2020-10-07 16:21:00 +02:00
Martin Milata
51246ce52d docs: add bitcoin signing to book index 2020-09-25 15:04:58 +02:00
matejcik
b16b4823d5 docs: describe Bitcoin signing 2020-09-25 13:17:03 +02:00
Tomas Susanka
59b8a5a81f docs: add convential commits commit-msg hook 2020-09-25 09:37:36 +02:00
Martin Milata
64555f0b95 docs: fix typo 2020-09-02 18:13:08 +02:00
matejcik
5e27c8a274 docs: improve documentation for sessions 2020-08-28 15:37:06 +02:00
Ondrej Mikle
ff3b10a329
legacy/intermediate_fw: Intermediate firmware for T1 (#1084)
* legacy/intermediate_fw: skeleton FW with RAM shim function

* legacy/intermediate_fw: reboot from RAM

* legacy/intermediate_fw: flash erase from RAM

* legacy/intermediate_fw: port flash erase body from cm3

* legacy/intermediate_fw: erase works with flash unlock

* legacy/intermediate_fw: wait for flash controller ready

* legacy/intermediate_fw: cleanup and add comments

* legacy/intermediate_fw: disable IRQ before reboot

* legacy/intermediate_fw: also erase storage

* legacy/intermediate_fw: style

* legacy/intermediate_fw: dialogs for update bootloader/erase FW

* legacy/intermediate_fw: style

* legacy/intermediate_fw: add bootloader replacement code

* legacy/intermediate_fw: add CI build script for intermediate FW

* legacy/intermediate_fw: call bootloader update

* legacy/intermediate_fw: add bootloader update dependency

* legacy/intermediate_fw: change setup() at start of main

* legacy/intermediate_fw: deduplicate code

* docs: table for MEMORY_PROTECT combinations that work on T1

* legacy/intermediate_fw: deduplicate code

* legacy/intermediate_fw: check if running in privileged mode

* legacy/intermediate_fw: style

* legacy/intermediate_fw: ChangeLog

* legacy/intermediate_fw: make version match latest bootloader included

* legacy/intermediate_fw: style
2020-08-21 14:58:13 +02:00
Tomas Susanka
2680b8d841 docs: add 'TOIF' to toif.md header (helps with search) 2020-08-19 17:59:51 +02:00
matejcik
8502412dbc core/emulator: assume -m main when no arguments are provided
fixes #1115
2020-07-30 15:27:34 +02:00
Pavol Rusnak
cec87bba50
core: remove mono bold font variant (not used anywhere) 2020-07-27 23:22:34 +02:00
Tomas Susanka
6ac66a7795 docs: inform where you can find the UI master diff report 2020-07-22 16:31:31 +02:00
Tomas Susanka
bcd044a41d docs/build: add note on Nix for MacOS 2020-07-20 10:48:22 +02:00
matejcik
819d5cff24 tests: add documentation for click-test recorder 2020-07-10 14:05:52 +02:00
Martin Milata
6633cdf026 docs: small fixes 2020-07-02 15:34:20 +02:00
Tomas Susanka
3f28534fbc docs: add TPM to the list of third parties 2020-07-01 13:05:21 +00:00
matejcik
872e0fb0e0 core: lower scheduler resolution to milliseconds
This avoids problems with large timeouts causing the scheduler queue to
think the time counter has overflown, and ordering the autolock task before
immediate tasks.

The maximum reasonable time difference is 0x20000000, which in
microseconds is ~8 minutes, but in milliseconds a more reasonable ~6
days.
2020-06-04 16:18:46 +02:00
matejcik
02565f3bfb core/loop: introduce spawn syscall 2020-06-04 16:18:46 +02:00
Tomas Susanka
9a59b99fa9 docs: add few more third-parties 2020-05-19 08:43:07 +00:00
Tomas Susanka
6ec27d09ca docs: link to master UI report 2020-05-18 12:59:59 +00:00
Tomas Susanka
445f56d387 core/bitcoin: finalize bitcoin refactor
- core/bitcoin: move common files to the app's root
- core/bitcoin: use require_confirm instead of confirm
- core: move bitcoin unrelated functions from 'bitcoin' to a new 'misc' app
- core/bitcoin: use relative imports inside the app
- core: rename wallet app to bitcoin
- core/wallet: replace SigningErrors and the other exception classes with wire.Errors
2020-05-18 14:31:51 +02:00
Pavol Rusnak
922a33e946
docs: add storage/addon-block documentation draft 2020-05-13 17:30:42 +02:00
Pavol Rusnak
2ad4554d69
docs: better typo in contributing.md 2020-05-12 13:57:49 +02:00
Tomas Susanka
3e07382a0e docs: add coinmate and liskish wallet to third parties 2020-05-05 11:37:19 +00:00
Tomas Susanka
05aabc64bb docs: document CI jobs 2020-05-04 08:51:57 +02:00
Tomas Susanka
3096a5caa6 docs: add PR workflow info; move CONTRIBUTING to docs 2020-04-30 14:49:47 +02:00
Tomas Susanka
2ccb3aa04e docs/third-parties: explain connect dependencies 2020-04-29 09:46:38 +02:00
Tomas Susanka
f054bf6e95 docs/third-parties: remove Augur
It does not use Trezor anymore, Connect will be removed from theirs
dependencies. See https://github.com/AugurProject/augur/issues/7421.
2020-04-24 15:32:31 +00:00
Tomas Susanka
65b0eae89d docs: document affected third parties by a breaking change 2020-04-22 15:16:55 +02:00
matejcik
9e90294f24 docs: add event loop to TOC 2020-04-17 15:08:16 +02:00
matejcik
c16f54ad04 docs: document trezor-core event loop 2020-04-17 15:08:16 +02:00
Tomas Susanka
38599e3364 docs: document when firmware wipes storage 2020-03-25 19:06:57 +01:00
Tomas Susanka
8ddf799cad docs/tests: update UI tests reporting 2020-03-23 17:22:56 +00:00
Tomas Susanka
8b5aab522c docs/core: add info about exceptions usage 2020-02-27 20:04:42 +00:00
matejcik
b916072389 common: restore PassphraseAck.state 2020-02-24 15:15:09 +01:00
Tomas Susanka
cd90d2b792 docs: add link to ui tests doc 2020-02-24 11:17:47 +00:00
Tomas Susanka
2e2f5fd421 docs/legacy: MEMORY_PROTECT needs to be 0 for custom built 2020-02-18 14:28:44 +00:00
Tomas Susanka
394fad9d6d docs/common: add note on session id / state size 2020-02-18 13:55:55 +00:00
Tomas Susanka
171067ffff docs/common: add link to passphrase migration 2020-02-18 12:54:42 +00:00
Tomas Susanka
02f2158c1d docs: passphrase migration info 2020-02-18 12:44:33 +00:00
Tomas Susanka
577daf09fe tests: introduce --ui-check-missing to test/remove missing tests 2020-02-18 09:33:21 +01:00
Tomas Susanka
b4846e484a docs/common: add links and fix some typos 2020-02-12 09:45:33 +00:00
Tomas Susanka
2c0504ad1c
Merge pull request #803 from trezor/passphrase
Passphrase Redesign
2020-02-11 16:01:59 +01:00
matejcik
05a1d6f771 core/debug: add "show arbitrary screen" capability, for easier prototyping 2020-02-11 11:53:34 +01:00
Tomas Susanka
e4077e0634 docs/core: improve build section 2020-02-10 13:05:41 +01:00
Tomas Susanka
fc565765cd
finalize docs 2020-02-07 11:40:59 +00:00
Tomas Susanka
90d5cdfd5b
all: rework passphrase
The `on_device` field is being moved to PassphraseAck, State messages
are removed. Features newly contain `session_id`.
2020-02-07 11:40:58 +00:00
Tomas Susanka
afa6bb77bf docs: fix hash1 field in firmware header 2020-02-05 10:32:53 +00:00
Tomas Susanka
3664d7b37b docs: fix link to headertool 2020-02-04 09:03:57 +00:00
Tomas Susanka
50521bb16b tests/ui: add readme 2020-01-29 12:24:26 +00:00
Tomas Susanka
d2f8a83057 docs: fix title and trezorlib readme link
By adding it to SUMMARY.md.
2020-01-28 09:30:04 +00:00
matejcik
a1ed52c702 docs: add link to Python README 2020-01-27 19:41:50 +01:00
matejcik
6cf48bf485 ci: use explicit trezor.log location 2020-01-23 18:43:20 +01:00
matejcik
d28caf990e docs: update emulator documentation 2020-01-23 18:43:20 +01:00
matejcik
2294fb0453 core: drop unused env variables (TREZOR_TEST, TREZOR_SAVE_SCREEN) 2020-01-23 18:43:20 +01:00
Tomas Susanka
7c41b40dff
tests: introduce UI tests for core with diffs (#784)
tests: introduce UI tests for core with diffs
2020-01-10 20:39:31 +01:00
matejcik
f491239c26 core: add documentation for SLIP-39 handling in Trezor 2020-01-09 16:00:33 +01:00
Milan Rossa
33b7e378c2
core/ci: add coverage target, introduce posttest stage 2020-01-09 15:26:40 +01:00
Milan Rossa
42f1af3aa4
core: add build target for debug unix build 2020-01-09 13:44:46 +01:00
Tomas Susanka
51ef963738 tests: introduce UI tests for core 2020-01-03 14:28:27 +00:00
Pavol Rusnak
bd707a31b8
docs: fix typo 2019-12-15 08:49:15 +00:00
matejcik
0ae2cdf756 docs: update legacy build instructions (fixes #658) 2019-12-11 14:21:07 +01:00
matejcik
be29f20159 core: minor documentation fix 2019-12-09 16:31:46 +01:00
Tomas Susanka
1b88840f53 docs: move docs to root 2019-12-06 12:24:20 +00:00
matejcik
93062c4cc2 docs: improve docs, add random.md 2019-10-24 13:36:54 +02:00
Tomas Susanka
7b5b58ccad git/hooks: do not suppress output 2019-08-02 10:39:55 +02:00
Tomas Susanka
43f9448960 docs: set hook as executable 2019-07-12 12:55:48 +02:00
Tomas Susanka
baaba41447 docs: move git hooks to core docs and update 2019-07-12 12:53:32 +02:00
matejcik
e5670856a2 MONOREPO CREATE FROM trezor-core 2019-04-15 19:14:40 +02:00
matejcik
118ca37304 docs: fix curve names 2019-03-19 15:44:42 +01:00
matejcik
29cfdfad2f docs: add EOS, Tron and Ontology (WIP) 2019-03-15 19:06:33 +01:00
matejcik
28dd517668 docs: refactor and update coins README 2019-03-15 18:59:55 +01:00
Tim Ruffing
6e736b764c docs: Use proper make targets for code style (#499) 2019-03-15 11:58:36 +01:00
Pavol Rusnak
ce834d4074
docs: update otp table 2019-02-19 14:00:44 +01:00
Tomas Susanka
c6f9c04365 docs: contributing file (#464) 2019-01-19 16:06:13 +01:00
Tomas Susanka
a15d4a81d5 Makefile: use style command for formatting; style_check for checking 2019-01-17 14:51:16 +01:00
Tomas Susanka
e2649076c6 docs: add git pre-push hook 2019-01-08 17:22:43 +01:00
Tomas Susanka
31f987e988 coins: validate derivation paths
Based on SLIP-44 ids and other checks. See docs/coins/README for info.
2018-11-12 12:10:32 +01:00
Vladimir Volek
ab25381646 Update build.md (#408) 2018-11-12 12:04:56 +01:00
Milan Rossa
fc9bc85ea3
unix: user profiles support for emulator 2018-10-11 16:51:04 +02:00
Milan Rossa
32fe5d20af
unix: emulator debug build options 2018-10-11 16:33:45 +02:00
Pavol Rusnak
715151a7b0
docs: update emulator screenshot 2018-09-28 19:51:31 +02:00
Pavol Rusnak
25d00ab08c
docs: add info about image dimensions in vendor header 2018-09-25 18:12:05 +02:00
Tomas Susanka
ccde69b5ff docs: coin paths modifications (yup, it wasn't final) 2018-08-29 17:22:31 +02:00
Tomas Susanka
fc4b71ae06 docs: coin paths final modifications (hopefully) 2018-08-29 17:03:58 +02:00
Tomas Susanka
f8f1a62563 docs: coin paths modifications 2018-08-29 15:54:48 +02:00
Pavol Rusnak
92eb6b8fe1
docs: fix markdown syntax in coins/readme 2018-08-28 16:16:43 +02:00
Tomas Susanka
af63104d21 docs: list of used derivation paths 2018-08-28 16:12:13 +02:00
Pavol Rusnak
7b6e8a1158
docs: add GC9307 to hardware.md 2018-08-04 21:53:55 +02:00
Pavol Rusnak
20237ace5c
docs: update hardware.md to use jpgs 2018-07-18 20:15:55 +02:00
Pavol Rusnak
0123e4a155
docs: convert pngs to jpgs where it makes sense (photos) 2018-07-18 20:14:28 +02:00
mcudev
59c7159a29 docs: hardware: add photos, add more pin info, other related updates 2018-07-16 11:11:09 +02:00
mcudev
9541662902 build: update to use latest arm none eabi toolchain gcc-arm-none-eabi-7-2018-q2-update 2018-07-13 00:13:39 +02:00
Pavol Rusnak
6ce106b544
trezorhal: turn sdcard/cpt circuitry on/off using PC0/PB10 pin 2018-07-11 17:41:12 +02:00
Marcel O'Neil
565d60d004 fix: emulator docs link (#242) 2018-06-15 10:29:01 +02:00
Pavol Rusnak
9e16eb4122
docs: fix markdown issues 2018-06-05 23:42:26 +02:00
Pavol Rusnak
fb4b2aa608
unix: drop the 32bit build 2018-06-05 23:30:43 +02:00
Karel Bílek
56e15625d6 readme: Add scons to build dependency (#211) 2018-06-02 13:06:24 +02:00
Pavol Rusnak
9fa4ac2c13
docs: add emulator page 2018-05-31 13:11:36 +02:00
Pavol Rusnak
bfcabb7175
docs: update upload instructions 2018-05-30 11:42:18 +02:00
matejcik
003d77b209 testing: configure pytest.ini and update testing documentation
as per https://github.com/trezor/python-trezor/pull/263
2018-05-22 17:28:52 +02:00
Pavol Rusnak
df967821e7
emu.sh: rename OPTLEVEL to PYOPT (to match variable name used in the C source) 2018-05-22 16:36:24 +02:00
matejcik
a8351d1bda docs: testing instructions 2018-05-04 17:47:44 +02:00
matejcik
75fb38f63c docs: make build instructions more compact, reflect use of pipenv 2018-05-04 17:47:44 +02:00
Pavol Rusnak
81e676be6d
docs: add photo, schematic, bom, etc. 2018-03-21 16:50:00 +01:00
Roman Zeyde
cfb50f751e docs: fix 'vendorheader' to 'vendor' at build.md 2018-03-10 21:17:29 +01:00
Pavol Rusnak
21d07ec99d
docs: use make vendor to refresh submodules 2018-03-05 13:08:42 +01:00
Pavol Rusnak
34e60899c0
docs: add info about git submodule update 2018-03-02 16:36:41 +01:00
Pavol Rusnak
248f479d68
docs: add emulator screenshot 2018-02-28 16:11:29 +01:00
Pavol Rusnak
7504366a02
bootloader: simplify vtrust code 2017-12-15 20:57:54 +01:00
Pavol Rusnak
965aa73b63
trezorhal: introduce fix_version in image header (version of last critical bugfix) 2017-12-14 21:29:13 +01:00
Jochen Hoenicke
9f2bbb0e1a Removed references to pin fail area 2017-12-14 17:18:45 +01:00
Pavol Rusnak
2f719526e7
bootloader: implement vendor keys lock 2017-12-13 23:08:15 +01:00
Pavol Rusnak
e4360a7296
bootloader: change upgrade criteria to vendor keyset comparison 2017-11-07 13:46:18 +01:00
Pavol Rusnak
3636a5f1b1
bootloader/vendorheader: vtrust is bitmap not scalar 2017-11-06 16:31:09 +01:00
Pavol Rusnak
dcb09012fb
docs: reorganize files 2017-11-05 04:00:05 +01:00
Pavol Rusnak
15b926dbbd
docs: small changes 2017-11-05 03:42:43 +01:00
Pavol Rusnak
a067dca054
hardware: add interrupt/reset pins to touch panel description 2017-11-03 19:48:13 +01:00
Pavol Rusnak
9e82a4d348
bootloader, firmware: introduce chunk hashes in the image header 2017-10-26 14:25:10 +02:00
Pavol Rusnak
3c974095aa
trezorhal: increase image header size from 512 to 1024 bytes 2017-10-26 02:11:40 +02:00
Pavol Rusnak
ebaeb52b62
docs: fix last commit 2017-10-24 18:07:23 +02:00
Pavol Rusnak
ad71fc1578
docs: update trezor logo 2017-10-24 18:06:40 +02:00
Pavol Rusnak
35a3c32935
docs: document OTP area usage 2017-10-20 15:33:34 +02:00
mcudev
7910c88f28 docs: pip to pip3 no cache, add some hardware details (#60) 2017-10-19 15:20:24 +02:00
Pavol Rusnak
001298a90e
boardloader: erase storage on failed option_bytes 2017-10-16 14:22:10 +02:00
Pavol Rusnak
403a92cb7f
docs: crop clock-tree.png 2017-10-16 13:59:49 +02:00
mcudev
e2b66436df display: tearing effect cleanup 2017-10-15 21:38:16 +02:00
mcudev
6cde2d8378 docs: bootloader microsd creation note and typo fix (#47) 2017-10-15 19:27:44 +02:00
mcudev
96b57efbfe docs: dev kit hardware updates related to mcu upgrade (#45) 2017-10-14 12:26:34 +02:00
Pavol Rusnak
3982c19378
fix whitespace 2017-10-11 23:37:28 +02:00
mcudev
61e0f6c818 stm32f427 sram bigger (#39) 2017-10-11 23:36:07 +02:00
Pavol Rusnak
6413c2c23e
embed: rework memory layout, enable stack protector 2017-10-11 21:19:52 +02:00
mcudev
61db821c7a docs: dev kit hardware updates mainly usb (#37) 2017-10-11 12:50:10 +02:00
mcudev
4897dc2139 doc: STLINK_VER and boardloader description (#35) 2017-10-10 20:56:15 +02:00
Pavol Rusnak
78f57d083c
add vendor trust to vendorheader 2017-10-05 17:31:39 +02:00
mcudev
ef353f7bc6 docs: hardware updates 2017-09-27 18:49:56 +02:00
mcudev
7535fb74ea fix minor compile time bug and update docs 2017-09-05 22:44:21 +02:00
mcudev
36598b8e20 rough draft 2017-08-30 15:31:43 +02:00
Pavol Rusnak
6b96a91d52
docs: update markdown according to lint 2017-04-12 14:45:58 +02:00
Pavol Rusnak
0c060b6d4a
rename loader to bootloader 2017-04-10 19:24:21 +02:00
Pavol Rusnak
0633506166
rename bootloader to boardloader 2017-04-10 19:11:44 +02:00
Jochen Hoenicke
e0fd890661 Implemented vendor header.
Header is generated with

    ./tools/build_vendorheader 'key1,key2,key3' 2 1.1 SatoshiLabs assets/satoshilabs.png micropython/firmware/vendorheader.bin

where

- keyN is a 64 character hex string encoding the public key
- 2 encodes 2/3 key scheme
- 1.1 is the version number (major, minor)
- SatoshiLabs is the vendor name
- satoshilabs.png is the vendor image

Updated the firmware compilation that it adds vendor header and updated loader
that it handles vendor header to be present.
2017-04-01 17:01:59 +02:00
Pavol Rusnak
435e96e1b3
build: refactor binctl and firmware/loader image stuff 2017-04-01 02:53:52 +02:00