1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-10-11 10:29:01 +00:00
Commit Graph

20 Commits

Author SHA1 Message Date
Pavol Rusnak
5c227a4a47
loader: compute pubkey rather than use precomputed one, prepare for vendor keys 2017-04-01 22:30:10 +02:00
Pavol Rusnak
1f07f310b3
loader: show vendor image and vendor string from vendor header 2017-04-01 20:19:35 +02:00
Pavol Rusnak
b72bc08172
loader: vendor image is now shown in display 2017-04-01 20:19:35 +02:00
Pavol Rusnak
bbf55bcf2a
loader: handle vendor header 2017-04-01 19:24:41 +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
74db11cbfc
bootloader/loader: rename crypto.c/h to image.c/h, refactor 2017-04-01 13:41:07 +02:00
Pavol Rusnak
a440f3d322
trezorhal: update linker scripts 2017-04-01 12:48:15 +02:00
Pavol Rusnak
435e96e1b3
build: refactor binctl and firmware/loader image stuff 2017-04-01 02:53:52 +02:00
Jochen Hoenicke
e37619899e Put loader/firmware header into image (#5) 2017-04-01 00:22:24 +02:00
Pavol Rusnak
5e69cbe69f
trezorhal: chain loading works 2017-03-30 16:50:39 +02:00
Pavol Rusnak
d3ec688d6f
trezorhal: don't set SCB->VTOR in SystemInit 2017-03-30 16:47:02 +02:00
Pavol Rusnak
efb722cc97
trezorhal: split memory files, adapt bootloader and loader 2017-03-29 22:00:17 +02:00
Pavol Rusnak
8d3020bc62
trezorhal: implement jump_to function 2017-03-29 20:50:45 +02:00
Pavol Rusnak
a9d16aa7fa
firmware: extract periph_init into common.c 2017-03-23 16:22:58 +01:00
Pavol Rusnak
1e80e82bac
bootloader: change stage2 to loader 2017-03-21 16:06:54 +01:00
Pavol Rusnak
9e5d61752c
trezorhal: use display_print instead of mp_hal_stdout in our version of stm32_it.c 2017-03-21 16:06:54 +01:00
Pavol Rusnak
416676120b
extract common stuff into trezorhal/common.[ch] 2017-03-21 02:09:17 +01:00
Pavol Rusnak
e872f54896
modtrezorui: split display_print into display_print and display_print_out 2017-03-20 21:51:08 +01:00
Pavol Rusnak
cbaca604f3
bootloader+loader: rework build, make clear what is bootloader and what is loader in docu 2017-03-20 16:00:10 +01:00
Pavol Rusnak
b141e6b1e3
loader: add skeleton 2017-03-20 15:41:21 +01:00