[PATCH] cmd: net: nfs: Enable the NFS command by default

Tom Rini trini at konsulko.com
Thu Dec 28 17:57:27 CET 2023


On Thu, Dec 28, 2023 at 12:04:12PM +0530, Tejas Bhumkar wrote:

> Activated the default use of NFS command for booting
> images via network using the NFS protocol.
> 
> Signed-off-by: Tejas Bhumkar <tejas.arvind.bhumkar at amd.com>
> ---
>  cmd/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/cmd/Kconfig b/cmd/Kconfig
> index df6d71c103..a51b2d532f 100644
> --- a/cmd/Kconfig
> +++ b/cmd/Kconfig
> @@ -1905,6 +1905,7 @@ config CMD_RARP
>  
>  config CMD_NFS
>  	bool "nfs"
> +	default y
>  	help
>  	  Boot image via network using NFS protocol.

NAK, this is basically a revert of:
commit 10de1257079905ac383e7abf346a04221cafa620
Author: Peter Robinson <pbrobinson at gmail.com>
Date:   Wed Jun 14 15:41:10 2023 +0100

    disable NFS support by default
    
    While NFS is widely used in data centres, and private
    networks it's quite a nuanced usecase for device firmware.
    A lot of devices already disable it.
    
    Various network protocols should really be opt in, not opt
    out, because they add extra size and are potential attack
    vectors from a security PoV. In the NFS case it doesn't
    really make sense for a lot of devices like tables, SBCs etc.
    It's also something we don't really want for SystemReady-IR
    due to security concerns.
    
    Signed-off-by: Peter Robinson <pbrobinson at gmail.com>
    Reviewed-by: Tom Rini <trini at konsulko.com>
    Reviewed-by: Ilias Apalodimas <ilias.apalodimas at linaro.org>

So please enable this in the configs that you need this enabled in by
default, thanks.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20231228/aa21901f/attachment.sig>


More information about the U-Boot mailing list