* [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
* Re: [PATCH] configs: netspace_mini_v2: disable default netconsole
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
0 siblings, 1 reply; 6+ messages in thread
From: Tom Rini @ 2026-11-15 18:06 UTC (permalink / raw)
To: George Kola; +Cc: u-boot, Simon Guinot
[-- Attachment #1: Type: text/plain, Size: 700 bytes --]
On Sun, Nov 15, 2026 at 09:12:23AM -0800, George Kola wrote:
> 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>
This is feature working as intended, presumably.
--
Tom
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] configs: netspace_mini_v2: disable default netconsole
2026-11-15 18:06 ` Tom Rini
@ 2026-11-15 18:41 ` Simon Guinot
2026-11-15 19:02 ` Tom Rini
0 siblings, 1 reply; 6+ messages in thread
From: Simon Guinot @ 2026-11-15 18:41 UTC (permalink / raw)
To: Tom Rini; +Cc: George Kola, u-boot
[-- Attachment #1: Type: text/plain, Size: 1530 bytes --]
On Sun, Nov 15, 2026 at 12:06:28PM -0600, Tom Rini wrote:
> On Sun, Nov 15, 2026 at 09:12:23AM -0800, George Kola wrote:
>
> > 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>
>
> This is feature working as intended, presumably.
Yes, netconsole is enabled by default on purpose on the LaCie
Kirkwood-based devices.
When installing mainline U-Boot, you need a way to access the U-Boot
console in order to configure the environment for booting the OS you
are installing. The serial port is not always an option, since it
requires opening the case and using a serial adapter (that you may not
have).
Here is a guide describing how to install and configure mainline U-Boot
on these devices: https://lacie-nas.org/doku.php?id=uboot. Much of the
procedure relies on netconsole being available.
Note that you can disable netconsole support either at build time or at
run time if/when you don't need it. But I think it is better to keep it
enabled by default.
Simon
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] configs: netspace_mini_v2: disable default netconsole
2026-11-15 18:41 ` Simon Guinot
@ 2026-11-15 19:02 ` Tom Rini
2026-11-15 20:39 ` George Kola
0 siblings, 1 reply; 6+ messages in thread
From: Tom Rini @ 2026-11-15 19:02 UTC (permalink / raw)
To: Simon Guinot; +Cc: George Kola, u-boot
[-- Attachment #1: Type: text/plain, Size: 1688 bytes --]
On Sun, Nov 15, 2026 at 07:41:32PM +0100, Simon Guinot wrote:
> On Sun, Nov 15, 2026 at 12:06:28PM -0600, Tom Rini wrote:
> > On Sun, Nov 15, 2026 at 09:12:23AM -0800, George Kola wrote:
> >
> > > 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>
> >
> > This is feature working as intended, presumably.
>
> Yes, netconsole is enabled by default on purpose on the LaCie
> Kirkwood-based devices.
>
> When installing mainline U-Boot, you need a way to access the U-Boot
> console in order to configure the environment for booting the OS you
> are installing. The serial port is not always an option, since it
> requires opening the case and using a serial adapter (that you may not
> have).
>
> Here is a guide describing how to install and configure mainline U-Boot
> on these devices: https://lacie-nas.org/doku.php?id=uboot. Much of the
> procedure relies on netconsole being available.
>
> Note that you can disable netconsole support either at build time or at
> run time if/when you don't need it. But I think it is better to keep it
> enabled by default.
Thanks for confirming.
--
Tom
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] configs: netspace_mini_v2: disable default netconsole
2026-11-15 19:02 ` Tom Rini
@ 2026-11-15 20:39 ` George Kola
2026-11-15 20:53 ` Tom Rini
0 siblings, 1 reply; 6+ messages in thread
From: George Kola @ 2026-11-15 20:39 UTC (permalink / raw)
To: Tom Rini; +Cc: Simon Guinot, u-boot
[-- Attachment #1: Type: text/plain, Size: 1965 bytes --]
Thanks for confirming. I was trying to secure our setup where we do not
need this and I will move this into our repo.
On Sun, Nov 15, 2026 at 11:02 AM Tom Rini <trini@konsulko.com> wrote:
> On Sun, Nov 15, 2026 at 07:41:32PM +0100, Simon Guinot wrote:
> > On Sun, Nov 15, 2026 at 12:06:28PM -0600, Tom Rini wrote:
> > > On Sun, Nov 15, 2026 at 09:12:23AM -0800, George Kola wrote:
> > >
> > > > 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>
> > >
> > > This is feature working as intended, presumably.
> >
> > Yes, netconsole is enabled by default on purpose on the LaCie
> > Kirkwood-based devices.
> >
> > When installing mainline U-Boot, you need a way to access the U-Boot
> > console in order to configure the environment for booting the OS you
> > are installing. The serial port is not always an option, since it
> > requires opening the case and using a serial adapter (that you may not
> > have).
> >
> > Here is a guide describing how to install and configure mainline U-Boot
> > on these devices: https://lacie-nas.org/doku.php?id=uboot. Much of the
> > procedure relies on netconsole being available.
> >
> > Note that you can disable netconsole support either at build time or at
> > run time if/when you don't need it. But I think it is better to keep it
> > enabled by default.
>
> Thanks for confirming.
>
> --
> Tom
>
[-- Attachment #2: Type: text/html, Size: 2674 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] configs: netspace_mini_v2: disable default netconsole
2026-11-15 20:39 ` George Kola
@ 2026-11-15 20:53 ` Tom Rini
0 siblings, 0 replies; 6+ messages in thread
From: Tom Rini @ 2026-11-15 20:53 UTC (permalink / raw)
To: George Kola; +Cc: Simon Guinot, u-boot
[-- Attachment #1: Type: text/plain, Size: 2273 bytes --]
On Sun, Nov 15, 2026 at 12:39:12PM -0800, George Kola wrote:
> Thanks for confirming. I was trying to secure our setup where we do not
> need this and I will move this into our repo.
Interesting. What setup is this, given we're talking about a very
specific board configuration, and not a new one either. Thanks!
>
> On Sun, Nov 15, 2026 at 11:02 AM Tom Rini <trini@konsulko.com> wrote:
>
> > On Sun, Nov 15, 2026 at 07:41:32PM +0100, Simon Guinot wrote:
> > > On Sun, Nov 15, 2026 at 12:06:28PM -0600, Tom Rini wrote:
> > > > On Sun, Nov 15, 2026 at 09:12:23AM -0800, George Kola wrote:
> > > >
> > > > > 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>
> > > >
> > > > This is feature working as intended, presumably.
> > >
> > > Yes, netconsole is enabled by default on purpose on the LaCie
> > > Kirkwood-based devices.
> > >
> > > When installing mainline U-Boot, you need a way to access the U-Boot
> > > console in order to configure the environment for booting the OS you
> > > are installing. The serial port is not always an option, since it
> > > requires opening the case and using a serial adapter (that you may not
> > > have).
> > >
> > > Here is a guide describing how to install and configure mainline U-Boot
> > > on these devices: https://lacie-nas.org/doku.php?id=uboot. Much of the
> > > procedure relies on netconsole being available.
> > >
> > > Note that you can disable netconsole support either at build time or at
> > > run time if/when you don't need it. But I think it is better to keep it
> > > enabled by default.
> >
> > Thanks for confirming.
> >
> > --
> > Tom
> >
--
Tom
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [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.