From b9d69dd2a2d6df32da6608d549138288bb7d7aa5 Mon Sep 17 00:00:00 2001 From: Toon Stegen Date: Mon, 14 Oct 2024 11:33:06 +0200 Subject: [PATCH] zephyr: print version number before boot Signed-off-by: Toon Stegen --- boot/zephyr/main.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/boot/zephyr/main.c b/boot/zephyr/main.c index 59de0379c..30f8447a9 100644 --- a/boot/zephyr/main.c +++ b/boot/zephyr/main.c @@ -553,6 +553,10 @@ int main(void) rsp.br_image_off); #endif + BOOT_LOG_INF("Image version: v%d.%d.%d", rsp.br_hdr->ih_ver.iv_major, + rsp.br_hdr->ih_ver.iv_minor, + rsp.br_hdr->ih_ver.iv_revision); + #if defined(MCUBOOT_DIRECT_XIP) BOOT_LOG_INF("Jumping to the image slot"); #else