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

app: boards: intel boards, disable winstream console #8932

Merged
merged 1 commit into from
Mar 14, 2024

Conversation

kv2019i
Copy link
Collaborator

@kv2019i kv2019i commented Mar 11, 2024

Disable CONFIG_WINSTREAM_CONSOLE in all Intel configs that enable SOF mtrace for logging. Also disable CONFIG_LOG_BACKEND_ADSP that uses winstream as backend. No need to have two memory window based logging backends enabled at the same time.

Disable CONFIG_WINSTREAM_CONSOLE in all Intel configs that enable SOF
mtrace for logging. Also disable CONFIG_LOG_BACKEND_ADSP that uses
winstream as backend. No need to have two memory window based logging
backends enabled at the same time.

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
@kv2019i
Copy link
Collaborator Author

kv2019i commented Mar 11, 2024

FYI @tobonex and @jsarha , I know you are working with related changes touching the debug window/slot configuration. This gets rid of one user of window3. Note that Zephyr unit tests still rely on winstream console and the location of the buffer is hardcoded in many places.

@@ -71,6 +71,8 @@ CONFIG_LOG_BACKEND_SOF_PROBE=n
CONFIG_SOF_LOG_LEVEL_INF=y
CONFIG_ZEPHYR_LOG=y
CONFIG_LOG_OUTPUT_FORMAT_LINUX_TIMESTAMP=y
CONFIG_LOG_BACKEND_ADSP=n
CONFIG_WINSTREAM_CONSOLE=n
Copy link
Collaborator

Choose a reason for hiding this comment

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

BTW, do we need CONFIG_CONSOLE?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@lyakh Maybe not, but that's a bit separate discussion where to disable that. As far as I can tell, having it enabled does not bring new code to SOF build.

@kv2019i
Copy link
Collaborator Author

kv2019i commented Mar 13, 2024

@tobonex @lyakh @marcinszkudlinski @jsarha .. ping?

@tobonex
Copy link
Contributor

tobonex commented Mar 13, 2024

If it just removes some content from memory window 3 then it probably won't affect my changes.

Copy link
Contributor

@jsarha jsarha left a comment

Choose a reason for hiding this comment

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

Fine by me, if nobody uses it.

@kv2019i kv2019i merged commit 0b1d36a into thesofproject:main Mar 14, 2024
40 of 44 checks passed
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.

4 participants