trezor-firmware icon indicating copy to clipboard operation
trezor-firmware copied to clipboard

Bootloader: calculate image hashes while waiting for touch to come up

Open matejcik opened this issue 2 years ago • 0 comments

Hashing the firmware image takes considerable time, 450 ms per pass on the STM32F4. Touch controller has a 400 ms startup time.

We can initialize the touch controller, start hashing, and when we come back to touch, it's already booted up. (if the hashing is faster on the U5, we'll just be done sooner and wait only up to the 400ms total elapsed time mark)

matejcik avatar Nov 30 '23 09:11 matejcik