Hi Jerome, > When using commands based on UDP such as tftp or sntp, if the server is > not reachable or the service is not started on the expected port then > the command ultimately times out. However it often happens that the server > or a router sends back an ICMP Destination Unreachable message. That can > help troubleshooting. Therefore, add support to the lwIP stack and to
Has the patch for adding support to the lwIP stack been sent upstream for review? Please reference the upstream patch for this. Also related, what is the status of other out of tree patches to upstream LWIP? Peter > U-Boot to handle those packets and print a diagnostic message on the > console. > > > Jerome Forissier (2): > lwip: icmp: allow reporting ICMP detination unreachable > net: lwip: add Kconfig option to show ICMP unreachable errors > > lib/lwip/lwip/src/core/ipv4/icmp.c | 17 +++++++++---- > lib/lwip/u-boot/arch/cc.h | 7 ++++++ > lib/lwip/u-boot/lwipopts.h | 4 ++++ > net/lwip/Kconfig | 13 ++++++++++ > net/lwip/Makefile | 1 + > net/lwip/icmp_unreach.c | 38 ++++++++++++++++++++++++++++++ > 6 files changed, 76 insertions(+), 4 deletions(-) > create mode 100644 net/lwip/icmp_unreach.c > > -- > 2.43.0 > > base-commit: ae5711f881100f856ead1e76832c32b92dba93c7 > branch: lwip-icmp-unreach