mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Mohamed Sawy <mohamedsawy1022@gmail.com>
To: barebox@lists.infradead.org
Cc: Mohamed Sawy <mohamedsawy1022@gmail.com>
Subject: [PATCH] sandbox: defconfig: activate CONFIG_CONSOLE_ACTIVATE_ALL
Date: Fri, 11 Oct 2024 23:18:18 +0300	[thread overview]
Message-ID: <20241011201818.42338-1-mohamedsawy1022@gmail.com> (raw)

The default CONSOLE_ACTIVATE value set in common/Kconfig is
CONSOLE_ACTIVATE_ALL_FALLBACK.

Which adds an error when there's no explicit activation for a specific
console, that is important for real hardware as it may write barebox log
to external devices that don't expect it.

But in case of sandbox mode there's no explicit activation and the error
is always there in spite of number of consoles and there are no external
devices to worry about.

Fixes: 219b2341dc16 ("console: add new CONSOLE_ACTIVATE_ALL_FALLBACK option")
Signed-off-by: Mohamed Sawy <mohamedsawy1022@gmail.com>
---
 arch/sandbox/configs/sandbox_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/sandbox/configs/sandbox_defconfig b/arch/sandbox/configs/sandbox_defconfig
index 1bb98c550c..a5e0f72c63 100644
--- a/arch/sandbox/configs/sandbox_defconfig
+++ b/arch/sandbox/configs/sandbox_defconfig
@@ -3,6 +3,7 @@ CONFIG_HUSH_FANCY_PROMPT=y
 CONFIG_CMDLINE_EDITING=y
 CONFIG_AUTO_COMPLETE=y
 CONFIG_MENU=y
+CONFIG_CONSOLE_ACTIVATE_ALL=y
 CONFIG_CONSOLE_ALLOW_COLOR=y
 CONFIG_PARTITION_DISK_EFI=y
 CONFIG_DEFAULT_COMPRESSION_GZIP=y
-- 
2.34.1




             reply	other threads:[~2024-10-11 20:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-11 20:18 Mohamed Sawy [this message]
2024-10-11 20:32 ` Ahmad Fatoum
2024-10-14 11:13 ` Sascha Hauer

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=20241011201818.42338-1-mohamedsawy1022@gmail.com \
    --to=mohamedsawy1022@gmail.com \
    --cc=barebox@lists.infradead.org \
    /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