1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-10-20 14:59:06 +00:00
trezor-firmware/core/embed/bootloader_ci
2024-02-29 23:05:56 +01:00
..
.changelog.d feat(core): add basic support for STM32U5 2024-02-29 23:05:56 +01:00
.towncrier.template.md docs(core+legacy): use towncrier for generating CHANGELOG.md 2021-07-21 14:27:20 +02:00
bootloader_flash.jlink
bootui.c refactor(core/embed): introduce display_utils.c 2024-01-26 11:30:40 +01:00
bootui.h
CHANGELOG.md docs(core+legacy): use towncrier for generating CHANGELOG.md 2021-07-21 14:27:20 +02:00
CHANGELOG.unreleased docs(core+legacy): use towncrier for generating CHANGELOG.md 2021-07-21 14:27:20 +02:00
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 feat(core): icon and images using new format 2022-09-29 21:50:10 +02:00
icon_fail.h feat(core): icon and images using new format 2022-09-29 21:50:10 +02:00
icon_install.h feat(core): icon and images using new format 2022-09-29 21:50:10 +02:00
icon_welcome.h feat(core): icon and images using new format 2022-09-29 21:50:10 +02:00
icon_wipe.h feat(core): icon and images using new format 2022-09-29 21:50:10 +02:00
main.c perf(core): optimize boot speed on U5 by using has processor to calculate image hashes, switches to sha256 2024-02-29 23:05:56 +01:00
memory_stm32f4.ld chore(core): refactor boot_args 2024-02-29 23:05:56 +01:00
memory_stm32u5a.ld chore(core): use cortex-m33 stack protection 2024-02-29 23:05:56 +01:00
memory_stm32u58.ld feat(core): add support for STM32U585 2024-02-29 23:05:56 +01:00
messages.c fix(core): fix quadword-only storage 2024-02-20 09:37:28 +01: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_stm32f4.s feat(core): add basic support for STM32U5 2024-02-29 23:05:56 +01:00
startup_stm32u5.s chore(core): use cortex-m33 stack protection 2024-02-29 23:05:56 +01:00
towncrier.toml docs(core+legacy): use towncrier for generating CHANGELOG.md 2021-07-21 14:27:20 +02:00
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.