Commit Graph

171 Commits (0b4ccf45fc5a7de9ccff48dd33c8458bff1d20c9)

Author SHA1 Message Date
Pavol Rusnak 23b019d592 embed/firmware: update linker to use firmware_extra section
6 years ago
Pavol Rusnak fb4b2aa608
unix: drop the 32bit build
6 years ago
matejcik 5b9b904198 Makefile: pass TESTOPTS to test runners (and use them in run_tests_device_emu.sh
6 years ago
Pavol Rusnak 40e20e2e9d
trezorhal: fix usb class behaviour
6 years ago
Pavol Rusnak 52a942afd4
bootloader: fix anti-aliasing in install icon
6 years ago
Pavol Rusnak cf9c97288e
build: rework vendorheader handling, move them to embed/vendorheader
6 years ago
Pavol Rusnak ec52ff882f
build: update scripts to respect PRODUCTION flag and don't sign with devel keys when it's set
6 years ago
Pavol Rusnak 5f9c079f5c
build: replace combine_sign with keyctl in Makefile
6 years ago
Pavol Rusnak 754cf3672d
build: add vendorheader_sl_signed target
6 years ago
Pavol Rusnak c2c1749d59
vendorheader: change sl pubkey #2
6 years ago
Pavol Rusnak b77a1eb12f
build: satoshilabs vendor has full trust
6 years ago
Pavol Rusnak 2317aaedb9
tools: update how vtrust is being passed to build_vendorheader
6 years ago
Pavol Rusnak 26ac0b6e52
cross: don't use MICROPY_FORCE_32BIT=1 (no need for that)
6 years ago
Pavol Rusnak b98a1db6ee
embed: cleanup unused modules
6 years ago
Pavol Rusnak 965bf84cdb
tests: cleanup flake8 warnings
7 years ago
Jan Pochyla 8b85078730
reflash: add new firmware target
7 years ago
mcudev ed2f48c612 Makefile: cause a system reset using OpenOCD
7 years ago
Pavol Rusnak f8c6043325
makefile: use build_dir variables where possible
7 years ago
Pavol Rusnak 3636a5f1b1
bootloader/vendorheader: vtrust is bitmap not scalar
7 years ago
Jan Pochyla f093ca23d5 tests: ignore specific tests, testpy -> test_emu
7 years ago
Jan Pochyla 1e883530b4 scons: get file sizes in portable way
7 years ago
Pavol Rusnak b9a599d08d
makefile: add gdb_prodtest target
7 years ago
Pavol Rusnak 3851404d04
small cosmetic changes to prodtest and others
7 years ago
Pavol Rusnak 4d36d0e1c1
trezorhal: use sectrue where possible
7 years ago
Pavol Rusnak efa918a2f9
prodtest: code cleanup, fix build
7 years ago
Jan Pochyla 95965c3ff7
prodtest: add new target
7 years ago
Pavol Rusnak 46fdb8bcb4
tools: use combine_sign to compute signatures, binctl just for adding to binary
7 years ago
Pavol Rusnak 2010213338
bootloader: first UI steps
7 years ago
mcudev e2b66436df display: tearing effect cleanup
7 years ago
Pavol Rusnak 5ea75b469f
build: git describe is better than rev-parse
7 years ago
Pavol Rusnak 8cc8272fb3
build: pass gitrev, use it in fatal_error
7 years ago
Pavol Rusnak 9a0c8f4687
build: introduce PRODUCTION flag
7 years ago
Pavol Rusnak 6413c2c23e
embed: rework memory layout, enable stack protector
7 years ago
Pavol Rusnak 7117c59ed9
firmware: drop firmware0 concept
7 years ago
mcudev 0fbda80e31 Makefile: vendor target add --recursive and --force to git submodule update (#38)
7 years ago
Pavol Rusnak fdf8bc8fdb
openocd: simplify openocd call in Makefile
7 years ago
Pavol Rusnak 78f57d083c
add vendor trust to vendorheader
7 years ago
Pavol Rusnak 39b614499f
build: update production keys
7 years ago
Pavol Rusnak b962ace27d
build: add production keys
7 years ago
Pavol Rusnak f528b72f98
build: devel -> development in vendor header
7 years ago
Pavol Rusnak 8ddcd74080
build: sign all stuff using ed25519 cosi (2 out of 3)
7 years ago
mcudev e85ce3aea4 Makefile GDB updates
7 years ago
Pavol Rusnak 2bc37a10fe
use different set of keys for boardloader/bootloader/vendorheader
7 years ago
mcudev 03309e0381 transition to openocd from st-flash
7 years ago
Pavol Rusnak 9019ec7e2b
build: add firmware0 target (firmware with no headers)
7 years ago
mcudev 5c21c4a96b better support ILI9341 testing, make tearing effect synch optional, minor fixes
7 years ago
Jan Pochyla 647e39de79 scons: add 32bit unix build
7 years ago
Jan Pochyla 83686bc0c6 scons: add TREZOR_NOUI support
7 years ago
Jan Pochyla 3a7277788f scons: use in Makefile
7 years ago
Pavol Rusnak 3a35a5a5be
tests: rework device tests to checkout just device_tests subdirectory from python-trezor repo
7 years ago
Pavol Rusnak 596d41e68c
build: fix one missing change of micropython->embed
7 years ago
Jan Pochyla 803e39c2a8 make: adapt to micropython -> embed rename
7 years ago
Jan Pochyla 22960b567b make: move flake8 options to config file
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
Pavol Rusnak cd7ee79c67
build: add combine and flash_combine make targets
7 years ago
Pavol Rusnak 8b0336862f
make __fatal_error more useful, add make sizecheck target
7 years ago
Pavol Rusnak f7484fefde
build: brew dropped 32-bit support sdl2, modify macOS stuff to reflect that
7 years ago
Pavol Rusnak 0c060b6d4a
rename loader to bootloader
7 years ago
Pavol Rusnak 0633506166
rename bootloader to boardloader
7 years ago
Pavol Rusnak 995ae517cd
build: add make bloaty
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 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 7cb7a90d27
build: include vendorheader.bin in source tree
7 years ago
Pavol Rusnak d3ec688d6f
trezorhal: don't set SCB->VTOR in SystemInit
7 years ago
Pavol Rusnak efb722cc97
trezorhal: split memory files, adapt bootloader and loader
7 years ago
Pavol Rusnak 36666de503
build: enable make vendor again
7 years ago
Pavol Rusnak b30f3b0946
build: use -Os for debug builds and use them by default
7 years ago
Pavol Rusnak 2a32975977
build: add sections to makefile
7 years ago
Pavol Rusnak b6b8873e9a
build: unix build is now always debug, makefiles cleanup
7 years ago
Pavol Rusnak 1c4fbd02b4
build: reorg makefiles
7 years ago
Pavol Rusnak 2c1e0b8253
bootloader/loader: don't generate qstrdefs.generated.h in main Makefile
7 years ago
Pavol Rusnak cbaca604f3
bootloader+loader: rework build, make clear what is bootloader and what is loader in docu
7 years ago
Pavol Rusnak b141e6b1e3
loader: add skeleton
7 years ago
Pavol Rusnak 4f45071940
bootloader: add flash target to makefile
7 years ago
Pavol Rusnak 603d980d22
bootloader: enable build again
7 years ago
Pavol Rusnak 135294b5e8
modtrezorui: more cleanup
7 years ago
Pavol Rusnak 433bc8138b
unix: fix unix build
7 years ago
Jan Pochyla 78d82386d1 trezorhal: adjust to new structure
7 years ago
Pavol Rusnak 10b687c318
reorganization (wip)
7 years ago
Pavol Rusnak 216b60d8b6
update makefile
7 years ago
Jan Pochyla edae88932a trezorhal: add to Makefile
7 years ago
Pavol Rusnak 8c296099f8
bootloader: wip
7 years ago
Pavol Rusnak 2d7c6b0c34
bootloader: cleanup, more documentation, added scripts for checking
7 years ago
Pavol Rusnak d8f1b1397c
update Makefiles to reflect new way of building stuff
7 years ago
Pavol Rusnak 892409c9b8
update bootloader makefile to follow upstream changes
7 years ago
Pavol Rusnak 918150a3f1
tests: make testpy tries running selected tests from python-trezor
8 years ago
Pavol Rusnak 13533d9156
makefile: fix build_stmhal_debug target
8 years ago
Pavol Rusnak 33b5436dcc
tests: move to /tests to avoid freezing
8 years ago
Pavol Rusnak 8b0d7be52a
trezor.crypto: add keccak option to Sha3_*.digest()
8 years ago
Pavol Rusnak 57fbd4dfc2
build: parallel build by default
8 years ago
Pavol Rusnak 7e5d5a9164
cleanup makefile
8 years ago
Jochen Hoenicke c9857a756c
bootloader: added systick handler
8 years ago
slush0 1d7d408bc8 Updating resources on build automatically
8 years ago
Pavol Rusnak 588b7b5c70
add flashing using openocd to Makefile
8 years ago
Pavol Rusnak f09ce087c3
add gdb_bootloader to makefile
8 years ago