Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
matejcik opened this issue Nov 30, 2023 · 0 comments · Fixed by #3466
Open

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

matejcik opened this issue Nov 30, 2023 · 0 comments · Fixed by #3466
Assignees
Labels
bootloader core Bootloader for Trezor core code Code improvements hardware only Issue which does not appear on the emulator - but on physical device only.

Comments

@matejcik
Copy link
Contributor

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 matejcik added hardware only Issue which does not appear on the emulator - but on physical device only. code Code improvements bootloader core Bootloader for Trezor core labels Nov 30, 2023
@TychoVrahe TychoVrahe assigned cepetr and TychoVrahe and unassigned cepetr Dec 12, 2023
@TychoVrahe TychoVrahe linked a pull request Dec 18, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bootloader core Bootloader for Trezor core code Code improvements hardware only Issue which does not appear on the emulator - but on physical device only.
Projects
Status: No status
Development

Successfully merging a pull request may close this issue.

3 participants