DistroKit Mailinglist
 help / color / mirror / Atom feed
From: Oleksij Rempel <o.rempel@pengutronix.de>
To: distrokit@pengutronix.de
Cc: Oleksij Rempel <o.rempel@pengutronix.de>
Subject: [DistroKit] [PATCH v1 5/9] mips/mipsel: barebox: use CONSOLE_ACTIVATE_NONE
Date: Wed, 21 Aug 2024 11:51:29 +0200	[thread overview]
Message-ID: <20240821095133.1471779-6-o.rempel@pengutronix.de> (raw)
In-Reply-To: <20240821095133.1471779-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-mips/barebox-ar9331.config       | 4 ++--
 configs/platform-mips/barebox-ar9331.config.diff  | 2 +-
 configs/platform-mips/barebox-malta.config        | 4 ++--
 configs/platform-mips/barebox-malta.config.diff   | 2 +-
 configs/platform-mips/barebox.config              | 4 ++--
 configs/platform-mipsel/barebox-malta.config.diff | 4 +---
 configs/platform-mipsel/barebox.config            | 4 ++--
 7 files changed, 11 insertions(+), 13 deletions(-)

diff --git a/configs/platform-mips/barebox-ar9331.config b/configs/platform-mips/barebox-ar9331.config
index 2e72041e..4e888630 100644
--- a/configs/platform-mips/barebox-ar9331.config
+++ b/configs/platform-mips/barebox-ar9331.config
@@ -140,9 +140,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 is not set
 # CONFIG_PBL_CONSOLE is not set
 # CONFIG_CONSOLE_RATP is not set
diff --git a/configs/platform-mips/barebox-ar9331.config.diff b/configs/platform-mips/barebox-ar9331.config.diff
index 524a3ccb..ef219ed5 100644
--- a/configs/platform-mips/barebox-ar9331.config.diff
+++ b/configs/platform-mips/barebox-ar9331.config.diff
@@ -1,4 +1,4 @@
-969c2d8bca570a40257c2a71b4e37c8d
+56c8bdde9f772e6da0ade7950dae7293
 # CONFIG_BOARD_8DEVICES_LIMA is not set
 # CONFIG_BOARD_TPLINK_WDR4300 is not set
 # CONFIG_SOC_QCA_AR9344 is undefined
diff --git a/configs/platform-mips/barebox-malta.config b/configs/platform-mips/barebox-malta.config
index 094b8dc3..4ce1c407 100644
--- a/configs/platform-mips/barebox-malta.config
+++ b/configs/platform-mips/barebox-malta.config
@@ -143,9 +143,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-mips/barebox-malta.config.diff b/configs/platform-mips/barebox-malta.config.diff
index 6e5ee679..687dbaf0 100644
--- a/configs/platform-mips/barebox-malta.config.diff
+++ b/configs/platform-mips/barebox-malta.config.diff
@@ -1,4 +1,4 @@
-969c2d8bca570a40257c2a71b4e37c8d
+56c8bdde9f772e6da0ade7950dae7293
 # CONFIG_AT803X_PHY is not set
 CONFIG_BAREBOX_MAX_IMAGE_SIZE=0x400000
 CONFIG_BAUDRATE=38400
diff --git a/configs/platform-mips/barebox.config b/configs/platform-mips/barebox.config
index 689e6bc8..d16a97f3 100644
--- a/configs/platform-mips/barebox.config
+++ b/configs/platform-mips/barebox.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 is not set
 # 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 a305a002..8102eff0 100644
--- a/configs/platform-mipsel/barebox-malta.config.diff
+++ b/configs/platform-mipsel/barebox-malta.config.diff
@@ -1,4 +1,4 @@
-fd8ab64711e3c2bc4d260765405fff76
+384c9ac30abd9c9b72e1ea5249e85625
 # CONFIG_AT803X_PHY is not set
 CONFIG_BAREBOX_MAX_IMAGE_SIZE=0x400000
 CONFIG_BAUDRATE=38400
@@ -42,8 +42,6 @@ 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
diff --git a/configs/platform-mipsel/barebox.config b/configs/platform-mipsel/barebox.config
index 55495686..560bc9ec 100644
--- a/configs/platform-mipsel/barebox.config
+++ b/configs/platform-mipsel/barebox.config
@@ -141,9 +141,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 is not set
 # CONFIG_PBL_CONSOLE is not set
 # CONFIG_CONSOLE_RATP is not set
-- 
2.39.2




  parent reply	other threads:[~2024-08-21  9:51 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-21  9:51 [DistroKit] [PATCH v1 0/9] address CI warnings for the MIPS platform Oleksij Rempel
2024-08-21  9:51 ` [DistroKit] [PATCH v1 1/9] mips: kernel-malta: set page size to 4k Oleksij Rempel
2024-08-21  9:51 ` [DistroKit] [PATCH v1 2/9] mips: barebox-malta: disable FS_CRAMFS Oleksij Rempel
2024-08-21  9:51 ` [DistroKit] [PATCH v1 3/9] mips: barebox-malta: enable MMU Oleksij Rempel
2024-08-21  9:51 ` [DistroKit] [PATCH v1 4/9] mips: barebox-malta: use MALLOC_TLSF Oleksij Rempel
2024-08-21  9:51 ` Oleksij Rempel [this message]
2024-08-21 10:07   ` [DistroKit] [PATCH v1 5/9] mips/mipsel: barebox: use CONSOLE_ACTIVATE_NONE Ahmad Fatoum
2024-08-21 12:40     ` Robert Schwebel
2024-08-21  9:51 ` [DistroKit] [PATCH v1 6/9] mips: kernel-malta: enable UBIFS Oleksij Rempel
2024-08-21  9:51 ` [DistroKit] [PATCH v1 7/9] mips: kernel-malta: enable SQUASHFS Oleksij Rempel
2024-08-21  9:51 ` [DistroKit] [PATCH v1 8/9] mipsel: kernel: enable PCI by default and sync it with malta config Oleksij Rempel
2024-08-21  9:51 ` [DistroKit] [PATCH v1 9/9] reason: MIPS: add PCI exception for ATH79 arch Oleksij Rempel

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=20240821095133.1471779-6-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