From 8c187c7c310d44b5a751fdc5ee5bbefdfcba232a Mon Sep 17 00:00:00 2001 From: tychovrahe Date: Fri, 20 Jun 2025 20:19:45 +0200 Subject: [PATCH] fix(core): reboot device after bootloader upgrade [no changelog] --- core/embed/projects/firmware/main.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/core/embed/projects/firmware/main.c b/core/embed/projects/firmware/main.c index de36b34537..f6e8d1093f 100644 --- a/core/embed/projects/firmware/main.c +++ b/core/embed/projects/firmware/main.c @@ -43,6 +43,8 @@ #include +#include "sys/bootutils.h" + #ifdef USE_SECP256K1_ZKP #include "zkp_context.h" #endif @@ -123,6 +125,12 @@ int main_func(uint32_t cmd, void *arg) { #endif } +#if PRODUCTION || BOOTLOADER_QA + if (bl_update_required) { + reboot_device(); + } +#endif + screen_boot_stage_2(fading); #ifdef USE_SECP256K1_ZKP