From: Oleksij Rempel <o.rempel@pengutronix.de>
To: distrokit@pengutronix.de
Cc: Oleksij Rempel <o.rempel@pengutronix.de>
Subject: [DistroKit] [PATCH v1 9/9] mipsel: barebox-malta: use CONSOLE_ACTIVATE_NONE
Date: Fri, 16 Aug 2024 14:52:17 +0200 [thread overview]
Message-ID: <20240816125217.1900626-9-o.rempel@pengutronix.de> (raw)
In-Reply-To: <20240816125217.1900626-1-o.rempel@pengutronix.de>
For system booting with device tree, the default console should be
specifie via /chosen/stdout-path and barebox should not unconditionally
enable any consoles. This avoids issues with probe order
(CONFIG_CONSOLE_ACTIVATE_FIRST) and crosstalk with serial devices that
don't expect console output (CONFIG_CONSOLE_ACTIVATE_ALL).
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
configs/platform-mipsel/barebox-malta.config | 4 ++--
configs/platform-mipsel/barebox-malta.config.diff | 2 ++
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/configs/platform-mipsel/barebox-malta.config b/configs/platform-mipsel/barebox-malta.config
index 0ea7cc38..0d1e950e 100644
--- a/configs/platform-mipsel/barebox-malta.config
+++ b/configs/platform-mipsel/barebox-malta.config
@@ -142,9 +142,9 @@ CONFIG_IMD=y
CONFIG_CONSOLE_FULL=y
# CONFIG_CONSOLE_SIMPLE is not set
# CONFIG_CONSOLE_NONE is not set
-CONFIG_CONSOLE_ACTIVATE_FIRST=y
+# CONFIG_CONSOLE_ACTIVATE_FIRST is not set
# CONFIG_CONSOLE_ACTIVATE_ALL is not set
-# CONFIG_CONSOLE_ACTIVATE_NONE is not set
+CONFIG_CONSOLE_ACTIVATE_NONE=y
CONFIG_CONSOLE_ALLOW_COLOR=y
# CONFIG_PBL_CONSOLE is not set
# CONFIG_CONSOLE_RATP is not set
diff --git a/configs/platform-mipsel/barebox-malta.config.diff b/configs/platform-mipsel/barebox-malta.config.diff
index 81b36c9b..a305a002 100644
--- a/configs/platform-mipsel/barebox-malta.config.diff
+++ b/configs/platform-mipsel/barebox-malta.config.diff
@@ -42,6 +42,8 @@ CONFIG_CMD_SHA256SUM=y
CONFIG_CMD_TFTP=y
# CONFIG_COMMON_CLK is undefined
# CONFIG_COMMON_CLK_OF_PROVIDER is undefined
+# CONFIG_CONSOLE_ACTIVATE_FIRST is not set
+CONFIG_CONSOLE_ACTIVATE_NONE=y
CONFIG_CONSOLE_ALLOW_COLOR=y
# CONFIG_CPU_BIG_ENDIAN is not set
CONFIG_CPU_LITTLE_ENDIAN=y
--
2.39.2
prev parent reply other threads:[~2024-08-16 12:52 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-16 12:52 [DistroKit] [PATCH v1 1/9] mipsel: kernel-malta: set page size to 4k Oleksij Rempel
2024-08-16 12:52 ` [DistroKit] [PATCH v1 2/9] mipsel: kernel-malta: enable UBIFS Oleksij Rempel
2024-08-16 12:52 ` [DistroKit] [PATCH v1 3/9] reason: MIPS malta has pci, but distrokit no pciutils Oleksij Rempel
2024-08-16 12:52 ` [DistroKit] [PATCH v1 4/9] mipsel: kernel-malta: enable SQUASHFS Oleksij Rempel
2024-08-16 12:52 ` [DistroKit] [PATCH v1 5/9] mipsel: kernel-malta: disable BLOCK_LEGACY_AUTOLOAD Oleksij Rempel
2024-08-16 12:52 ` [DistroKit] [PATCH v1 6/9] mipsel: barebox-malta: enable MMU Oleksij Rempel
2024-08-16 12:52 ` [DistroKit] [PATCH v1 7/9] mipsel: barebox-malta: use MALLOC_TLSF Oleksij Rempel
2024-08-16 12:52 ` [DistroKit] [PATCH v1 8/9] mipsel: barebox-malta: disable FS_CRAMFS Oleksij Rempel
2024-08-16 12:52 ` Oleksij Rempel [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240816125217.1900626-9-o.rempel@pengutronix.de \
--to=o.rempel@pengutronix.de \
--cc=distrokit@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox