1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-10-19 14:30:31 +00:00
trezor-firmware/core/embed/bootloader_ci
2023-04-03 22:01:26 +02:00
..
.changelog.d feat(core/rust): bootloader implementation in rust 2023-03-09 16:14:36 +01:00
.towncrier.template.md
bootloader_flash.jlink
bootui.c
bootui.h
CHANGELOG.md
CHANGELOG.unreleased
header.S feat(core): prevent installing and running of incompatible firmware, prevent bootloader downgrade 2023-01-12 15:38:36 +01:00
icon_done.h
icon_fail.h
icon_install.h
icon_welcome.h
icon_wipe.h
main.c refactor(core): improve flexibility of build, allow different touch panel driver, allow STM32F429 2023-03-02 15:56:33 +01:00
memory.ld
messages.c chore: make fields on FirmwareRequest required (fixes #1941) 2023-04-03 22:01:26 +02:00
messages.h feat(core): prevent installing and running of incompatible firmware, prevent bootloader downgrade 2023-01-12 15:38:36 +01:00
protob
README.md
startup.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.