[PATCH] xilinx: Remove tftp block size 4096

Michal Simek michal.simek at amd.com
Mon Mar 3 16:16:02 CET 2025



On 3/3/25 14:28, Padmarao Begari wrote:
> The zynqmp gem driver support max MTU size 1536, so remove tftp
> block size 4096 from defconfig and use default tftp block size.
> 
> Signed-off-by: Padmarao Begari <padmarao.begari at amd.com>
> ---
>   configs/xilinx_versal_net_virt_defconfig | 1 -
>   configs/xilinx_versal_virt_defconfig     | 1 -
>   2 files changed, 2 deletions(-)
> 
> diff --git a/configs/xilinx_versal_net_virt_defconfig b/configs/xilinx_versal_net_virt_defconfig
> index 5ef5fd44fd..1604b5915d 100644
> --- a/configs/xilinx_versal_net_virt_defconfig
> +++ b/configs/xilinx_versal_net_virt_defconfig
> @@ -70,7 +70,6 @@ CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
>   CONFIG_SYS_RELOC_GD_ENV_ADDR=y
>   CONFIG_NET_LWIP=y
>   CONFIG_NET_RANDOM_ETHADDR=y
> -CONFIG_TFTP_BLOCKSIZE=4096
>   CONFIG_SIMPLE_PM_BUS=y
>   CONFIG_CLK_VERSAL=y
>   CONFIG_DFU_RAM=y
> diff --git a/configs/xilinx_versal_virt_defconfig b/configs/xilinx_versal_virt_defconfig
> index f228eef7c9..baa4b8e412 100644
> --- a/configs/xilinx_versal_virt_defconfig
> +++ b/configs/xilinx_versal_virt_defconfig
> @@ -74,7 +74,6 @@ CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
>   CONFIG_SYS_RELOC_GD_ENV_ADDR=y
>   CONFIG_NET_LWIP=y
>   CONFIG_NET_RANDOM_ETHADDR=y
> -CONFIG_TFTP_BLOCKSIZE=4096
>   CONFIG_SIMPLE_PM_BUS=y
>   CONFIG_CLK_VERSAL=y
>   CONFIG_DFU_TIMEOUT=y

Fixes: a33b4b96b3cf ("xilinx: Enable MBEDTLS/LWIP/WGET and WGET_HTTPS")

And you need to also remove this setting from Versal Gen 2.

Thanks,
Michal


More information about the U-Boot mailing list