Pavol Rusnak
1eff07f84d
build: don't convert from png in build_vendorheader, remove vendorheader.bin from vcs
2017-04-01 23:16:25 +02:00
Pavol Rusnak
7cb7a90d27
build: include vendorheader.bin in source tree
2017-04-01 20:21:02 +02:00
Pavol Rusnak
6187a8a0c1
build: refactor build_vendorheader
2017-04-01 18:28:10 +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
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
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
6861e68f21
update to current micropython master
2017-03-26 23:11:57 +02:00
Pavol Rusnak
a9d16aa7fa
firmware: extract periph_init into common.c
2017-03-23 16:22:58 +01:00
Pavol Rusnak
416676120b
extract common stuff into trezorhal/common.[ch]
2017-03-21 02:09:17 +01:00
Pavol Rusnak
6c982a64d1
firmware: move modutime to firmware
2017-03-13 20:06:03 +01:00
Jan Pochyla
ab1888fe15
firmware: fix crc32 in ubinascii
2017-03-13 13:22:35 +01:00
Jan Pochyla
1db09f88a1
firmware/main.c: simplify
2017-03-08 14:02:55 +01:00
Jan Pochyla
9fd5f05f1f
firmware: simplify, move things to mphalport.c
2017-03-08 13:43:24 +01:00
Jan Pochyla
e793870082
trezorhal: remove USE_DEVICE_MODE
2017-03-07 19:06:38 +01:00
Pavol Rusnak
935e9b2912
trezorhal: fix i2c, more reorg
2017-03-07 15:52:19 +01:00
Pavol Rusnak
3f0026912c
i2c: reorganize sources
2017-03-07 15:11:21 +01:00
Jan Pochyla
929f708e5c
trezorhal: split to subsystems
2017-03-07 14:50:09 +01:00
Pavol Rusnak
2cde9511da
micropython: update submodule; fix build
2017-03-07 00:56:35 +01:00
Jan Pochyla
78d82386d1
trezorhal: adjust to new structure
2017-03-06 17:33:48 +01:00