Add initialization banner with basic info#112
Closed
fgr-17 wants to merge 1 commit intoproject-ocre:mainfrom
Closed
Add initialization banner with basic info#112fgr-17 wants to merge 1 commit intoproject-ocre:mainfrom
fgr-17 wants to merge 1 commit intoproject-ocre:mainfrom
Conversation
0c76d96 to
db3b382
Compare
This PR adds a simple banner that shows basic info from the host system and the container, for example_ ~~bash ═══════════════════════════════════════════════════════ Ocre Runtime v0.99.0-dev ═══════════════════════════════════════════════════════ Zephyr: 4.2.0 Board: native_sim/native SoC: native (undefined) Arch: posix RAM: 64 KB heap WAMR: 500 KB ═══════════════════════════════════════════════════════ ~~ Signed-off-by: Federico Roux <rouxfederico@gmail.com>
db3b382 to
7f1c7c1
Compare
fgr-17
commented
Dec 16, 2025
| if [[ ${#INPUT_FILES[@]} -gt 0 ]]; then | ||
| echo "Input files provided: ${INPUT_FILES[*]}" | ||
| rm flash.bin | ||
| rm -f flash.bin |
Contributor
Author
There was a problem hiding this comment.
Note for the rev: this shouldn't crash if flash.bin doesn't exist for some reason
Contributor
Author
|
@kr-t is this PR ok or should I close it? |
Collaborator
|
I think we thought about this PR and planed to have something similar in the refactored Ocre. I assume, that even if we miss something and you'd like to add it, it would be easier and better to do it as a new PR. If you want to not forget about it, you can create a small issue mentioning this features/PR. |
Collaborator
|
I think the most important question for the future when we have all this info in the container, is how much we want to hide behind some capability if we make an app where we don't want to expose any arch info, for example. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR adds a simple banner that shows basic info from the host system and the container, for example:
The banner is wrapped under
kconfigvariable calledCONFIG_OCRE_PRINT_BANNERType of change
Please delete options that are not relevant.
How Has This Been Tested?
Tested output on native_sim, running:
This command shows the following output:
Tested also with
CONFIG_OCRE_PRINT_BANNER=nand validating that shows the former labelTest Configuration (required):
docker container ghcr.io/zephyrproject-rtos/zephyr-build:latest on Ubuntu Server 20.04 (x64)native_simChecklist: