All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] configs: netspace_mini_v2: disable default netconsole
@ 2026-11-15 17:12 George Kola
  2026-11-15 18:06 ` Tom Rini
  0 siblings, 1 reply; 6+ messages in thread
From: George Kola @ 2026-11-15 17:12 UTC (permalink / raw)
  To: u-boot; +Cc: Simon Guinot, Tom Rini, George Kola

netspace_mini_v2_defconfig runs dhcp and activates netconsole in
CONFIG_BOOTCOMMAND without setting ncip, exposing an unauthenticated
UDP port 6666 console that accepts broadcast packets and drops to an
interactive U-Boot shell over the local network.

Remove dhcp and netconsole activation from CONFIG_BOOTCOMMAND and drop
CONFIG_NETCONSOLE=y so the board boots directly from local USB or SATA
storage by default.

Fixes: 970bf8603b87 ("Convert CONFIG_USE_BOOTCOMMAND et al to Kconfig")
Signed-off-by: George Kola <georgekola@google.com>
---
 configs/netspace_mini_v2_defconfig | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/configs/netspace_mini_v2_defconfig
b/configs/netspace_mini_v2_defconfig
index 86aa836125..42db356523 100644
--- a/configs/netspace_mini_v2_defconfig
+++ b/configs/netspace_mini_v2_defconfig
@@ -20,7 +20,7 @@ CONFIG_BOOTDELAY=3
 CONFIG_USE_BOOTARGS=y
 CONFIG_BOOTARGS="console=ttyS0,115200"
 CONFIG_USE_BOOTCOMMAND=y
-CONFIG_BOOTCOMMAND="dhcp && run netconsole; if run usbload || run
diskload; then bootm; fi"
+CONFIG_BOOTCOMMAND="if run usbload || run diskload; then bootm; fi"
 CONFIG_USE_PREBOOT=y
 CONFIG_SYS_PBSIZE=1046
 CONFIG_CONSOLE_MUX=y
@@ -46,7 +46,6 @@ CONFIG_OF_CONTROL=y
 CONFIG_ENV_OVERWRITE=y
 CONFIG_ENV_IS_IN_SPI_FLASH=y
 CONFIG_ENV_SPI_MAX_HZ=20000000
-CONFIG_NETCONSOLE=y
 CONFIG_SATA=y
 CONFIG_SATA_MV=y
 CONFIG_SYS_SATA_MAX_DEVICE=1
-- 
2.56.0.611.g1030f0b940-goog

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-11-15 20:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-15 17:12 [PATCH] configs: netspace_mini_v2: disable default netconsole George Kola
2026-11-15 18:06 ` Tom Rini
2026-11-15 18:41   ` Simon Guinot
2026-11-15 19:02     ` Tom Rini
2026-11-15 20:39       ` George Kola
2026-11-15 20:53         ` Tom Rini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.