You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
trezor-firmware/core/embed/bootloader_ci
tychovrahe 461f566777
fix(core/bootloader): fix detection of installed firmware
1 year ago
..
.changelog.d feat(core): prevent installing and running of incompatible firmware, prevent bootloader downgrade 1 year ago
.towncrier.template.md docs(core+legacy): use towncrier for generating CHANGELOG.md 3 years ago
CHANGELOG.md docs(core+legacy): use towncrier for generating CHANGELOG.md 3 years ago
CHANGELOG.unreleased docs(core+legacy): use towncrier for generating CHANGELOG.md 3 years ago
README.md
bootloader_flash.jlink
bootui.c feat(core): set colors for monochromatic displays 2 years ago
bootui.h fix(core): remove unused stuff from bootloader_ci 3 years ago
header.S feat(core): prevent installing and running of incompatible firmware, prevent bootloader downgrade 1 year ago
icon_done.h feat(core): icon and images using new format 2 years ago
icon_fail.h feat(core): icon and images using new format 2 years ago
icon_install.h feat(core): icon and images using new format 2 years ago
icon_welcome.h feat(core): icon and images using new format 2 years ago
icon_wipe.h feat(core): icon and images using new format 2 years ago
main.c feat(core): prevent installing and running of incompatible firmware, prevent bootloader downgrade 1 year ago
memory.ld chore(core): bootloader_ci - decouple file links from original bootloader 3 years ago
messages.c fix(core/bootloader): fix detection of installed firmware 1 year ago
messages.h feat(core): prevent installing and running of incompatible firmware, prevent bootloader downgrade 1 year ago
protob
startup.s refactor(core): rename shutdown to shutdown_privileged 3 years ago
towncrier.toml docs(core+legacy): use towncrier for generating CHANGELOG.md 3 years ago
version.h chore(core): bootloader_ci - decouple file links from original bootloader 3 years ago

README.md

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.