From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 16 Aug 2024 14:52:31 +0200 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1sewRT-00ADIt-2n for lore@lore.pengutronix.de; Fri, 16 Aug 2024 14:52:31 +0200 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1sewRT-0002I6-4f; Fri, 16 Aug 2024 14:52:31 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sewRH-00024U-2C; Fri, 16 Aug 2024 14:52:19 +0200 Received: from [2a0a:edc0:0:1101:1d::ac] (helo=dude04.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sewRG-000q7Z-Fs; Fri, 16 Aug 2024 14:52:18 +0200 Received: from ore by dude04.red.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1sewRG-007ySJ-1O; Fri, 16 Aug 2024 14:52:18 +0200 From: Oleksij Rempel To: distrokit@pengutronix.de Date: Fri, 16 Aug 2024 14:52:17 +0200 Message-Id: <20240816125217.1900626-9-o.rempel@pengutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240816125217.1900626-1-o.rempel@pengutronix.de> References: <20240816125217.1900626-1-o.rempel@pengutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [DistroKit] [PATCH v1 9/9] mipsel: barebox-malta: use CONSOLE_ACTIVATE_NONE X-BeenThere: distrokit@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: DistroKit Mailinglist List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Oleksij Rempel Sender: "DistroKit" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: distrokit-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false 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 --- 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