<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/lib/lwip/u-boot/arch, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/lib/lwip/u-boot/arch?h=master</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/lib/lwip/u-boot/arch?h=master'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2025-08-18T12:08:57Z</updated>
<entry>
<title>net: lwip: add Kconfig option to show ICMP unreachable errors</title>
<updated>2025-08-18T12:08:57Z</updated>
<author>
<name>Jerome Forissier</name>
<email>jerome.forissier@linaro.org</email>
</author>
<published>2025-08-12T12:43:19Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=6b914d5596d947ebea4e8697004e210df1abe61e'/>
<id>urn:sha1:6b914d5596d947ebea4e8697004e210df1abe61e</id>
<content type='text'>
Add Kconfig symbol LWIP_ICMP_SHOW_UNREACH which, when enabled, prints a
message to the console upon reception of ICMP unreachable messages. For
example:

 $ make qemu_arm64_lwip_defconfig
 $ qemu-system-aarch64 -M virt -cpu max -nographic -bios u-boot.bin
 [...]
 =&gt; dhcp
 DHCP client bound to address 10.0.2.15 (0 ms)
 =&gt; tftp 192.168.0.100:69:Image
 Using virtio-net#32 device
 TFTP from server 192.168.0.100; our IP address is 10.0.2.15
 Filename 'Image'.
 Load address: 0x40200000
 Loading: ICMP destination unreachable (host unreachable) from 192.168.0.16
 Timeout!
 =&gt; tftp 192.168.0.16:69:Image
 Using virtio-net#32 device
 TFTP from server 192.168.0.16; our IP address is 10.0.2.15
 Filename 'Image'.
 Load address: 0x40200000
 Loading: ICMP destination unreachable (port unreachable) from 192.168.0.16
 Timeout!
 =&gt;

Submitted upstream as https://github.com/lwip-tcpip/lwip/pull/73.

Signed-off-by: Jerome Forissier &lt;jerome.forissier@linaro.org&gt;
</content>
</entry>
<entry>
<title>lwip: provide a sntp_format_time() function</title>
<updated>2025-08-01T07:30:47Z</updated>
<author>
<name>Jerome Forissier</name>
<email>jerome.forissier@linaro.org</email>
</author>
<published>2025-07-24T15:26:35Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=71056afe2094b5a6fad4a2dd940252d1def55e7e'/>
<id>urn:sha1:71056afe2094b5a6fad4a2dd940252d1def55e7e</id>
<content type='text'>
Provide a trivial implementation of sntp_format_time() to fix a build
error when CONFIG_LWIP_DEBUG=y:

lib/lwip/lwip/src/apps/sntp/sntp.c: In function ‘sntp_format_time’:
lib/lwip/lwip/src/apps/sntp/sntp.c:283:10: error: implicit declaration of function ‘ctime’ [-Werror=implicit-function-declaration]
  283 |   return ctime(&amp;ut);
      |          ^~~~~

Signed-off-by: Jerome Forissier &lt;jerome.forissier@linaro.org&gt;
</content>
</entry>
<entry>
<title>lwip: add sntp command</title>
<updated>2025-07-08T09:07:37Z</updated>
<author>
<name>Jerome Forissier</name>
<email>jerome.forissier@linaro.org</email>
</author>
<published>2025-06-25T13:19:19Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=a2a0c7527eb86e69bc7a78d9250eb5a1068ae5b7'/>
<id>urn:sha1:a2a0c7527eb86e69bc7a78d9250eb5a1068ae5b7</id>
<content type='text'>
Implement the sntp command when NET_LWIP=y.

Signed-off-by: Jerome Forissier &lt;jerome.forissier@linaro.org&gt;
</content>
</entry>
<entry>
<title>net: use strnstr() for lwip_strnstr()</title>
<updated>2025-02-12T18:37:19Z</updated>
<author>
<name>Heinrich Schuchardt</name>
<email>heinrich.schuchardt@canonical.com</email>
</author>
<published>2025-02-03T09:12:02Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=331d75544fc843f93275eb3767753e4a0a712a39'/>
<id>urn:sha1:331d75544fc843f93275eb3767753e4a0a712a39</id>
<content type='text'>
Using strstr() instead of strnstr() creates a security concern.

Fixes: 1c41a7afaa15 ("net: lwip: build lwIP")
Signed-off-by: Heinrich Schuchardt &lt;heinrich.schuchardt@canonical.com&gt;
Reviewed-by: Jerome Forissier &lt;jerome.forissier@linaro.org&gt;
Reviewed-by: Ilias Apalodimas &lt;ilias.apalodimas@linaro.org&gt;
Signed-off-by: Jerome Forissier &lt;jerome.forissier@linaro.org&gt;
</content>
</entry>
<entry>
<title>lwip: fix code style issues</title>
<updated>2024-11-15T00:14:05Z</updated>
<author>
<name>Jerome Forissier</name>
<email>jerome.forissier@linaro.org</email>
</author>
<published>2024-11-07T11:27:57Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=356011f7ac25113d44869350d352a3fc64a7ee75'/>
<id>urn:sha1:356011f7ac25113d44869350d352a3fc64a7ee75</id>
<content type='text'>
Fix various code style issues in the lwIP code.

Reported-by: Tom Rini &lt;trini@konsulko.com&gt;
Signed-off-by: Jerome Forissier &lt;jerome.forissier@linaro.org&gt;
Acked-by: Ilias Apalodimas &lt;ilias.apalodimas@linaro.org&gt;
</content>
</entry>
<entry>
<title>net: lwip: build lwIP</title>
<updated>2024-10-16T17:11:56Z</updated>
<author>
<name>Jerome Forissier</name>
<email>jerome.forissier@linaro.org</email>
</author>
<published>2024-10-16T10:04:02Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=1c41a7afaa15dded7cc4c42be61fa811e034e97b'/>
<id>urn:sha1:1c41a7afaa15dded7cc4c42be61fa811e034e97b</id>
<content type='text'>
Build the lwIP library when NET_LWIP is enabled. The following files
are adaptation layers written specially for U-Boot:

 lib/lwip/u-boot/arch/cc.h
 lib/lwip/u-boot/arch/sys_arch.h (empty)
 lib/lwip/u-boot/limits.h (empty)
 lib/lwip/u-boot/lwipopts.h

They were initially contributed by Maxim in a previous RFC patch series.

The lwIP stack needs to be added as a Git subtree with the following
command:

 $ git subtree add --squash --prefix lib/lwip/lwip \
   https://github.com/lwip-tcpip/lwip.git  STABLE-2_2_0_RELEASE

Signed-off-by: Jerome Forissier &lt;jerome.forissier@linaro.org&gt;
Co-developed-by: Maxim Uvarov &lt;muvarov@gmail.com&gt;
Cc: Maxim Uvarov &lt;muvarov@gmail.com&gt;
Acked-by: Ilias Apalodimas &lt;ilias.apalodimas@linaro.org&gt;
</content>
</entry>
</feed>
