Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zephyr: print version number before boot #1957

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

toonst
Copy link

@toonst toonst commented May 8, 2024

Before booting, It might be handy to see the version of the image we boot into.

Signed-off-by: Toon Stegen <toon@toostsolutions.be>
@de-nordic de-nordic requested a review from d3zd3z June 5, 2024 13:47
@@ -536,6 +536,9 @@ int main(void)

BOOT_LOG_INF("Bootloader chainload address offset: 0x%x",
rsp.br_image_off);
BOOT_LOG_INF("Image version: v%d.%d.%d", rsp.br_hdr->ih_ver.iv_major,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be configurable, because we start to take extra space with things that will be rarely viewed by anyone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants