Commit Graph

106 Commits (435ac7081aa95b32052e5e9a186c578b374d3f55)

Author SHA1 Message Date
Pavol Rusnak 435ac7081a loader: add usb
8 years ago
Jan Pochyla 38b99b306a trezorhal: add cdc vcp tx
8 years ago
Jan Pochyla e87d0d3905 trezorhal: refactor error checks
8 years ago
Jan Pochyla cb497eec0b trezorhal: error checks, fix potential bug in usb_hid_class_data_out
8 years ago
Pavol Rusnak 9fcd21922f trezorhal: use UNCONST macro in usb stack
8 years ago
Jan Pochyla a78221fd22 trezorhal: fix IN endpoint detection
8 years ago
Jan Pochyla 33e5ad1ac9 trezorhal: fix setup of next OUT transfer
8 years ago
Jan Pochyla 3a4cbacbff trezorhal: fix missing rx_buffer
8 years ago
Jan Pochyla c258bfdd90 trezorhal: fix buffer truncation in usb_hid_read
8 years ago
Pavol Rusnak 8eb5cbbe13 trezorhal: add stubs for vcp interface
8 years ago
Pavol Rusnak 2c03f97ca9 trezorhal: extract usb hid stuff into usb_hid-defs.h and usb_hid-impl.h
8 years ago
Pavol Rusnak 6b07961cf6 trezorhal: set iface.type
8 years ago
Jan Pochyla 56b1d69796 trezorhal/usb: now compiles
8 years ago
Jan Pochyla 466285a21c trezorhal: WIP usb rewrite
8 years ago
Jan Pochyla 2abc29f70d unix: mp_uint_t -> size_t
8 years ago
Jan Pochyla 9f985dba46 extmod: use size_t for mp_obj_get_array and mp_obj_tuple_get
8 years ago
Pavol Rusnak cb8e957379
bootloader/loader: refactor PRINT(LN) macros to common.h
8 years ago
Pavol Rusnak 4f9f351a16
bootloader/loader: print version to log
8 years ago
Pavol Rusnak 35e404bd38
tools: add fake signing to binctl, add make sign target
8 years ago
Pavol Rusnak fdef0575b1
loader: show firmware version in loader, remove image_options.h
8 years ago
Pavol Rusnak a4a939058b
bootloader/loader: reorganize checking code
8 years ago
Pavol Rusnak fad4b80af8
trezorhal: don't parse (image|vendor) headers twice, don't use legacy stm32 names
8 years ago
Pavol Rusnak 3532b266ce
modtrezorconfig: readd norcow as a submodule
8 years ago
Pavol Rusnak 0a7997f798
modtrezorcrypto: add cosi cosigning scheme to ed25519 class
8 years ago
Pavol Rusnak eef147d810
modtrezorcrypto: add crypto.rfc6979 class
8 years ago
Pavol Rusnak 87b7d0649b
boot: use cosi to compute aggregated key and use it
8 years ago
Pavol Rusnak 1eff07f84d
build: don't convert from png in build_vendorheader, remove vendorheader.bin from vcs
8 years ago
Pavol Rusnak 5c227a4a47
loader: compute pubkey rather than use precomputed one, prepare for vendor keys
8 years ago
Pavol Rusnak 7cb7a90d27
build: include vendorheader.bin in source tree
8 years ago
Pavol Rusnak 1f07f310b3
loader: show vendor image and vendor string from vendor header
8 years ago
Pavol Rusnak b72bc08172
loader: vendor image is now shown in display
8 years ago
Pavol Rusnak bbf55bcf2a
loader: handle vendor header
8 years ago
Pavol Rusnak 6187a8a0c1
build: refactor build_vendorheader
8 years ago
Jochen Hoenicke e0fd890661 Implemented vendor header.
8 years ago
Pavol Rusnak 300daa4513
bootloader: lock flash/turn off sdcard when header invalid
8 years ago
Pavol Rusnak 74db11cbfc
bootloader/loader: rename crypto.c/h to image.c/h, refactor
8 years ago
Pavol Rusnak a440f3d322
trezorhal: update linker scripts
8 years ago
Pavol Rusnak 435e96e1b3
build: refactor binctl and firmware/loader image stuff
8 years ago
Jochen Hoenicke e37619899e Put loader/firmware header into image (#5)
8 years ago
Pavol Rusnak 722e71eb31
modtrezorconfig: use uint16_t for data length
8 years ago
Pavol Rusnak 32cf4f36d2
modtrezorconfig: norcow works for stm
8 years ago
Pavol Rusnak 5e69cbe69f
trezorhal: chain loading works
8 years ago
Pavol Rusnak d3ec688d6f
trezorhal: don't set SCB->VTOR in SystemInit
8 years ago
Pavol Rusnak efb722cc97
trezorhal: split memory files, adapt bootloader and loader
8 years ago
Pavol Rusnak 8d3020bc62
trezorhal: implement jump_to function
8 years ago
Pavol Rusnak c8bff40ffb
trezorhal: use more readable syntax in memory script
8 years ago
Pavol Rusnak 2725792528
bootloader: erase all sectors except first two
8 years ago
Pavol Rusnak 41af56222a
modtrezorcrypto: update trezor-crypto
8 years ago
Pavol Rusnak 7dfc863fe7
modtrezorui: use const for bitmap font
8 years ago
Pavol Rusnak 4d4a351ba6
modtrezorcrypto: update to new trezor-crypto
8 years ago