[PATCH 0/3] lwIP fixes (SNTP with DHCP)
Michal Simek
michal.simek at amd.com
Mon Sep 29 07:49:53 CEST 2025
On 9/22/25 11:35, Jerome Forissier wrote:
> Michal S. has reported (privately) an issue with NET_LWIP when both
> CMD_DHCP and CMD_SNTP are enabled. In such a case, one would expect the
> sntp command to be able to use the NTP server(s) advertised during the
> DHCP exchange, but this does not work. This series fixes the problem,
> improves LWIP_DEBUG by also tracing NTP-related actions, and sets the
> ntpserverip variable to be in line with the legacy NET stack.
>
>
> Jerome Forissier (3):
> net: lwip: enable debug traces for SNTP when CONFIG_LWIP_DEBUG is set
> net: lwip: dhcp: make NTP servers usable by the sntp command
> net: lwip: dhcp: set ntpserverip environment variable
>
> lib/lwip/u-boot/lwipopts.h | 1 +
> net/lwip/dhcp.c | 14 ++++++++++++++
> 2 files changed, 15 insertions(+)
>
Tested-by: Michal Simek <michal.simek at amd.com>
Thanks,
Michal
More information about the U-Boot
mailing list