Commit Graph

242 Commits (a532bf073733d91fbb9e82c544c33668b287a351)

Author SHA1 Message Date
Pavol Rusnak 4f11f46d07
tools: fix small issues with keytool
7 years ago
Pavol Rusnak 2bc37a10fe
use different set of keys for boardloader/bootloader/vendorheader
7 years ago
Pavol Rusnak ef5f1326dc
build: use python3 everywhere
7 years ago
Pavol Rusnak 5b84db0f7f
tools: fix flake8 warnings
7 years ago
Pavol Rusnak ed581a5b36
tools: fix whitespace in png2toi .py export
7 years ago
Pavol Rusnak 76658914fe
tools: png2toi - generate python output
7 years ago
Jan Pochyla 71ef4e4b3a tools/binctl: python2 compatibility
7 years ago
Pavol Rusnak fe5b5c1940
tests: update to pytest, regenerate protobuf
7 years ago
Jan Pochyla bab1303b1b tools/build_mocks: adapt to micropython -> embed rename
7 years ago
Pavol Rusnak adafd9bc51
tools: fix png2toi c export
7 years ago
Jan Pochyla 181a2ad8c9 mocks: add typing module
7 years ago
Jan Pochyla e29601e838 tools/build_mocks: support classes
7 years ago
Jan Pochyla 596a4227ad tools: autopep8
7 years ago
Pavol Rusnak f93b8a08bc
res_collect: fix if resources.py does not exist
7 years ago
Pavol Rusnak 73b2ea6c85
travis: add make style (using flake8)
7 years ago
Pavol Rusnak 845a3a7e0d
tests: add partial pylint support
7 years ago
Jan Pochyla 63e6e85a7c res_collect: noop if no changes detected
7 years ago
Pavol Rusnak cd7ee79c67
build: add combine and flash_combine make targets
7 years ago
Pavol Rusnak e3b2001c89
rebuild coins
7 years ago
Pavol Rusnak 92b2deb932
coins: add cointype.segwit
7 years ago
Pavol Rusnak 07693277a4
apps.common: update coins.py + its generator to add new fields
7 years ago
Pavol Rusnak 0c060b6d4a
rename loader to bootloader
7 years ago
Pavol Rusnak fd1718f8b6
mocks: update build script, refresh
7 years ago
Pavol Rusnak 62ad4d6a39
tools: pass sigmask and seckey as parameter to binctl
7 years ago
Pavol Rusnak 17ff61459d
tools: add pretty format to sigmask field
7 years ago
Pavol Rusnak 364bcedb04
tools: small formatting change to binctl
7 years ago
Pavol Rusnak 35e404bd38
tools: add fake signing to binctl, add make sign target
7 years ago
Pavol Rusnak f92e8b6e4b
tools: add header to ed25519raw.py, fix whitespace in keytool
7 years ago
Jochen Hoenicke 99915f1a63 Added tool to test cooperative signing
7 years ago
Pavol Rusnak 87b7d0649b
boot: use cosi to compute aggregated key and use it
7 years ago
Pavol Rusnak 1eff07f84d
build: don't convert from png in build_vendorheader, remove vendorheader.bin from vcs
7 years ago
Pavol Rusnak 6187a8a0c1
build: refactor build_vendorheader
7 years ago
Jochen Hoenicke e0fd890661 Implemented vendor header.
7 years ago
Pavol Rusnak 435e96e1b3
build: refactor binctl and firmware/loader image stuff
7 years ago
Pavol Rusnak b5ff140256
trezorhal: fix alignment in headers to 512 bytes
7 years ago
Pavol Rusnak dd69929ce1
tools: rename firmwarectl to binctl, minor reformat
7 years ago
Pavol Rusnak 7da63a36e2
tools: don't convert sigidx back and forth in firmwarectl
7 years ago
Pavol Rusnak e313234fe3
bootloader/loader: use blake2s instead of sha256 for digests
7 years ago
Pavol Rusnak 630ce53c73
tools: fix firmwarectl to reflect loader rename
7 years ago
Pavol Rusnak f443407fae
modtrezorui: add extern to includes
7 years ago
Pavol Rusnak 89ec08eec0
bootloader: allow stage 1 to rewrite whole flash
7 years ago
Pavol Rusnak d8efa32091
bootloader: more wip
7 years ago
Pavol Rusnak 302f0e614a
tools: implement VendorHeader and FirmwareImage classes in firmwarectl
7 years ago
Pavol Rusnak 7d4414000e
tools: join check_bootloader and check_firmware into firmwarectl tool
7 years ago
Pavol Rusnak 2d7c6b0c34
bootloader: cleanup, more documentation, added scripts for checking
7 years ago
slush0 d6ae782dfc pb2py moved to trezor-common
8 years ago
slush0 0ea856589f Added non-micropython compatibility.
8 years ago
Pavol Rusnak 373487af1f
tools: update coins-gen.py
8 years ago
Pavol Rusnak 105b9c8167
tools: simplify coins-gen.py
8 years ago
Pavol Rusnak 3015045df6
apps.common.coins: update to return CoinType, not dict (also modify generator)
8 years ago
Pavol Rusnak c49c4ea29e
apps.common.coins: make coins definitions more readable + adapt generator
8 years ago
Jan Pochyla 783fddf749 messages: do not use const()
8 years ago
Jan Pochyla 20b612f8c1 pb2py: use new protobuf message format
8 years ago
Pavol Rusnak 6e658ff2f1
trezor.messages: regenerate classes
8 years ago
Pavol Rusnak e62e8dbe6f
tools: move coins-gen tool to /tools
8 years ago
Pavol Rusnak fffe930d8c
modtrezorui: rename fonts
8 years ago
Jan Pochyla 2d7d241a8d res_collect: fix for resources in subdirectories
8 years ago
Pavol Rusnak f8bf6d8cff
tools: added toi2png tool
8 years ago
Pavol Rusnak 90836621f5
tools: skip hidden files in res_collect
8 years ago
chren a47b6ee7bb design changes in bootloader mockups
8 years ago
chren 5cbb1ff892 minor design changes in ui-mockups of bootloader
8 years ago
Pavol Rusnak a1b75b879d
remove the need for pb2 subdir for pb2py generator
8 years ago
Pavol Rusnak 031550a5ed
regenerate mocks
8 years ago
slush0 f5d2007297 Use const() for protobuf definitions
8 years ago
Pavol Rusnak 3fe688e9b4
add size reporting to res_collect tool
8 years ago
slush0 1d7d408bc8 Updating resources on build automatically
8 years ago
Jan Pochyla f2b509b591 use micropython.const() in trezor.messages
8 years ago
Jan Pochyla fb7b85e479 move protobuf to a single module
8 years ago
slush0 d87e4e683d
Changed placeholder for automatic generated mocks
8 years ago
slush0 44479b38d0
res_collect now works also on CPython<3.5
8 years ago
slush0 43dafb2efc
Fixes mock dir cleanup, add link to source file
8 years ago
slush0 72fa153ea2
Mock builder for C modules
8 years ago
Pavol Rusnak ae65b8c17f
cleanup res_collect.py
8 years ago
Pavol Rusnak d1ff96af04
cleanup makefile; make res_collect tool more verbose
8 years ago
Jan Pochyla 59c0de5312
build wire_type index in pb2py
8 years ago
Jan Pochyla 173c49bef8
add __repr__ to Message and MessageType
8 years ago
Pavol Rusnak ea3bd0b6f8
rename resource collector script and move it to scripts
8 years ago
Jan Pochyla 362e835807
MessageType.type -> MessageType.wire_type
8 years ago
slush0 3f9020ccf4
"TYPE = %d" => "t.type = %d"
8 years ago
slush0 bc95e83aea
Generate message type constant into message modules
8 years ago
Pavol Rusnak ee3614ae6a
cleanup pb2py, add debug to emu.sh
8 years ago
Pavol Rusnak bc7cb88cdf
use little endian for toif, fix random
8 years ago
slush0 e6df94cbd5
pb2py generator, build_pb2.sh
8 years ago
Pavol Rusnak 6a3cf02396
add documentation about toif
8 years ago
Pavol Rusnak b41c1c3e4d
add data size to toi format header
8 years ago
Pavol Rusnak 8b4280b296
remove trezor-crypto, use mbedtls, use lowercase for trezor modules
8 years ago
Pavol Rusnak fef9a2266d
more font work
8 years ago
Pavol Rusnak 9558ac1830
introduce TOI grayscale 4-bit format
8 years ago
Pavol Rusnak cf4078543b
allow more than 1 built-in font
8 years ago
Pavol Rusnak 711adbeea4
update ttf2c generator
8 years ago
Pavol Rusnak 8041bc7a8e
add ttf2c tool
8 years ago
Pavol Rusnak ced1a8fdef
introduce toi format
8 years ago