mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-22 15:38:11 +00:00
3460c4b891
[no changelog] |
||
---|---|---|
.. | ||
.changelog.d | ||
.towncrier.template.md | ||
bootloader_flash.jlink | ||
bootui.c | ||
bootui.h | ||
CHANGELOG.md | ||
CHANGELOG.unreleased | ||
header.S | ||
icon_done.h | ||
icon_fail.h | ||
icon_install.h | ||
icon_welcome.h | ||
icon_wipe.h | ||
main.c | ||
memory_stm32f4.ld | ||
memory_stm32u5a.ld | ||
memory_stm32u58.ld | ||
messages.c | ||
messages.h | ||
protob | ||
README.md | ||
startup_stm32f4.s | ||
startup_stm32u5.s | ||
towncrier.toml | ||
version.h |
Bootloader for CI device tests
This bootloader always runs into bootloader mode, waits for firmware to be uploaded, then runs the firmware.
Storage is not erased. If you wish to erase storage you can send WipeDevice message to the bootloader.
All user interaction is removed (no clicking or confirmations required) so that it can be used in an automated way for tests.
The bootloader will run any firmware that looks "sane" (good header, hashes), but does not check any trust flags.
Firmware must be compiled with PRODUCTION=0
because otherwise it would
replace the bootloader and lock device.