Skip to content

Conversation

@romanz
Copy link
Contributor

@romanz romanz commented Dec 19, 2025

A green square is drawn at the top-left corner in bootloader UI (if PRODUCTION=0).

Also, simplify a bit the debug overlay (the top-right red square) rendering.

Tested locally using PRODUCTION=0 make -C core build_bootloader_emu.

Screenshot from 2025-12-19 14-54-16 Screenshot from 2025-12-19 14-43-13 Screenshot from 2025-12-19 13-40-16 Screenshot from 2025-12-19 13-39-20

Resolves #6189.

@romanz romanz self-assigned this Dec 19, 2025
@trezor-bot trezor-bot bot added this to Firmware Dec 19, 2025
@github-project-automation github-project-automation bot moved this to 🔎 Needs review in Firmware Dec 19, 2025
@romanz romanz requested a review from cepetr December 19, 2025 12:37
@github-actions
Copy link

github-actions bot commented Dec 19, 2025

en main(all)

model device_test click_test persistence_test
T2T1 test(all) main(all) test(all) main(all) test(all) main(all)
T3B1 test(all) main(all) test(all) main(all) test(all) main(all)
T3T1 test(all) main(all) test(all) main(all) test(all) main(all)
T3W1 test(all) main(all) test(all) main(all) test(all) main(all)

Latest CI run: 20776566062

@romanz romanz removed the request for review from cepetr December 19, 2025 14:01
@romanz romanz changed the title feat(core): add development devices' overlay marker feat(core): add development devices' overlay marker to bootloader Dec 19, 2025
@romanz romanz changed the title feat(core): add development devices' overlay marker to bootloader [WIP] feat(core): add development devices' overlay marker to bootloader Dec 19, 2025
@romanz romanz changed the title [WIP] feat(core): add development devices' overlay marker to bootloader [WIP] feat(core): add non-production overlay marker Jan 7, 2026
romanz added 2 commits January 7, 2026 09:06
A green square is drawn at the top-left corner in prodtest/bootloader/firmware UIs (if PRODUCTION=0).

Also, simplify a bit the debug overlay (the top-right red square) rendering using `Rect::from_top_right_and_size()`.

Resolves #6189.

[no changelog]
@romanz romanz changed the title [WIP] feat(core): add non-production overlay marker feat(core): add non-production overlay marker Jan 7, 2026
@romanz
Copy link
Contributor Author

romanz commented Jan 7, 2026

IIUC, bootloader on development devices uses different verification keys so we can use PRODUCTION=0 to enable the overlay (in build time).

@romanz romanz marked this pull request as ready for review January 7, 2026 08:24
@romanz romanz requested review from TychoVrahe and cepetr January 7, 2026 08:24
@romanz
Copy link
Contributor Author

romanz commented Jan 7, 2026

CC: @Hannsek

@romanz romanz added core Trezor Core firmware. Runs on Trezor Model T and Safe models. bootloader core Bootloader for Trezor core labels Jan 7, 2026
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 core Trezor Core firmware. Runs on Trezor Model T and Safe models.

Projects

Status: 🔎 Needs review

Development

Successfully merging this pull request may close these issues.

Bootloader should have a visual indication on development devices

2 participants