<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/net, branch v2025.01-rc3</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/net?h=v2025.01-rc3</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/net?h=v2025.01-rc3'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2024-11-22T20:51:26Z</updated>
<entry>
<title>net: lwip: dhcp: support arguments for TFTP file download</title>
<updated>2024-11-22T20:51:26Z</updated>
<author>
<name>Jerome Forissier</name>
<email>jerome.forissier@linaro.org</email>
</author>
<published>2024-11-14T17:20:07Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=13e13f58671305ac20a889d7271d85cb7e27af78'/>
<id>urn:sha1:13e13f58671305ac20a889d7271d85cb7e27af78</id>
<content type='text'>
The dhcp command is supposed to have the following syntax as per
"help dhcp":

  dhcp [loadAddress] [[hostIPaddr:]bootfilename]

In other words, any arguments should be passed to an implicit
tftpboot command after the DHCP exchange has occurred.

Add the missing code to the lwIP version of do_dhcp().

Signed-off-by: Jerome Forissier &lt;jerome.forissier@linaro.org&gt;
</content>
</entry>
<entry>
<title>net: lwip: provide entropy to MBed TLS in one go</title>
<updated>2024-11-22T20:40:53Z</updated>
<author>
<name>Ilias Apalodimas</name>
<email>ilias.apalodimas@linaro.org</email>
</author>
<published>2024-11-14T14:29:15Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=2cde2f4a0073ac1e4a528a1fab40e3d6c1f4bf29'/>
<id>urn:sha1:2cde2f4a0073ac1e4a528a1fab40e3d6c1f4bf29</id>
<content type='text'>
We currently provide entropy to mbedTLS using 8b chunks.
Take into account the 'len' parameter passed by MBed TLS to the entropy
gathering function instead. Note that the current code works because len
is always 128 (defined at compile time), therefore mbedtls_hardware_poll()
is called repeatedly and the buffer is filled correctly. But passing 'len'
to dm_rng_read() is both better and simpler.

Reviewed-by: Jerome Forissier &lt;jerome.forissier@linaro.org&gt;
Suggested-by: Simon Glass &lt;sjg@chromium.org&gt;
Signed-off-by: Ilias Apalodimas &lt;ilias.apalodimas@linaro.org&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>net: lwip: fix get_udev_ipv4_info()</title>
<updated>2024-11-22T20:37:49Z</updated>
<author>
<name>Jerome Forissier</name>
<email>jerome.forissier@linaro.org</email>
</author>
<published>2024-11-18T14:31:25Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=7d80e7368e1012355695e1fb580e5b20c8de03b9'/>
<id>urn:sha1:7d80e7368e1012355695e1fb580e5b20c8de03b9</id>
<content type='text'>
The local variables ipstr, maskstr and gwstr in static function
get_udev_ipv4_info() cannot be pointers to read-only data, since
they may be written to in case the device index is &gt; 0. Therefore
make them char arrays allocated on the stack.

Reported-by: Ilias Apalodimas &lt;ilias.apalodimas@linaro.org&gt;
Reported-by: Adriano Cordova &lt;adrianox@gmail.com&gt;
Link: https://lists.denx.de/pipermail/u-boot/2024-November/572066.html
Signed-off-by: Jerome Forissier &lt;jerome.forissier@linaro.org&gt;
Reviewed-by: Ilias Apalodimas &lt;ilias.apalodimas@linaro.org&gt;
</content>
</entry>
<entry>
<title>net: lwip: fix dhcp_loop()</title>
<updated>2024-11-22T20:37:21Z</updated>
<author>
<name>Jerome Forissier</name>
<email>jerome.forissier@linaro.org</email>
</author>
<published>2024-11-22T12:35:29Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=8c95d84b39fc0886a4417c5ddefc2ea05217c0ac'/>
<id>urn:sha1:8c95d84b39fc0886a4417c5ddefc2ea05217c0ac</id>
<content type='text'>
The local variables ipstr, maskstr and gwstr in static function
dhcp_loop() cannot be pointers to read-only data, since they may be
written to in case the device index is &gt; 0. Therefore make them char
arrays allocated on the stack.

Reported-by: Ilias Apalodimas &lt;ilias.apalodimas@linaro.org&gt;
Signed-off-by: Jerome Forissier &lt;jerome.forissier@linaro.org&gt;
Reviewed-by: Ilias Apalodimas &lt;ilias.apalodimas@linaro.org&gt;
</content>
</entry>
<entry>
<title>Kconfig: describe NET, NO_NET, LWIP_DEBUG and LWIP_ASSERT</title>
<updated>2024-11-18T19:32:16Z</updated>
<author>
<name>Jerome Forissier</name>
<email>jerome.forissier@linaro.org</email>
</author>
<published>2024-11-12T15:44:29Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=deb9a07cf167f68184fe782047bfd77c238276cd'/>
<id>urn:sha1:deb9a07cf167f68184fe782047bfd77c238276cd</id>
<content type='text'>
Some Kconfig symbols introduced in commit 8cb330355bd5 ("net: introduce
alternative implementation as net/lwip/") need a full description. The
NET symbol needs one, too.

Signed-off-by: Jerome Forissier &lt;jerome.forissier@linaro.org&gt;
Reviewed-by: Ilias Apalodimas &lt;ilias.apalodimas@linaro.org&gt;
</content>
</entry>
<entry>
<title>net: lwip/wget: correct SERVER_NAME_SIZE</title>
<updated>2024-11-18T19:32:12Z</updated>
<author>
<name>Heinrich Schuchardt</name>
<email>heinrich.schuchardt@canonical.com</email>
</author>
<published>2024-11-08T17:45:26Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=2071583c8f5bae130e0fbf3aea658b378266a58d'/>
<id>urn:sha1:2071583c8f5bae130e0fbf3aea658b378266a58d</id>
<content type='text'>
The maximum length of a domain name is 253 as defined in RFC 1035.
So SERVER_NAME_SIZE should be 254 including NUL.

Fixes: 3c656c928bd7 ("net: lwip: add wget command")
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;
</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>Merge patch series "Enable https for wget"</title>
<updated>2024-11-13T01:10:01Z</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2024-11-13T01:10:01Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=b30787ad24d51ea7efb75870a83f2c3e6cad0f24'/>
<id>urn:sha1:b30787ad24d51ea7efb75870a83f2c3e6cad0f24</id>
<content type='text'>
Ilias Apalodimas &lt;ilias.apalodimas@linaro.org&gt; says:

Hi all,

This is a respin of [1] adding https support to wget. In short

patch#1 enables the crypto algorithms we need in mbedTLS
patches#2, #3 enable anf fix the lwIP part we need
patch#4 is adding https:// parsing support in our wget
patch#5 is making https:// the default for QEMU lwip defconfig so
people can easily test
and finaly patch#6 updates our documentation

[1] https://lore.kernel.org/u-boot/20241024112449.1362319-1-ilias.apalodimas@linaro.org/

Link: https://lore.kernel.org/r/20241110083017.367565-1-ilias.apalodimas@linaro.org
</content>
</entry>
<entry>
<title>net: lwip: Enable https:// support for wget</title>
<updated>2024-11-13T01:09:52Z</updated>
<author>
<name>Ilias Apalodimas</name>
<email>ilias.apalodimas@linaro.org</email>
</author>
<published>2024-11-10T08:28:40Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=5907c81647055a03580dae850f82d85f7d810f7e'/>
<id>urn:sha1:5907c81647055a03580dae850f82d85f7d810f7e</id>
<content type='text'>
With the recent changes of lwip &amp; mbedTLS we can now download from
https:// urls instead of just http://.
Adjust our wget lwip version parsing to support both URLs.
While at it adjust the default TCP window for QEMU since https seems to
require at least 16384

Signed-off-by: Ilias Apalodimas &lt;ilias.apalodimas@linaro.org&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
Reviewed-by: Jerome Forissier &lt;jerome.forissier@linaro.org&gt;
</content>
</entry>
<entry>
<title>net: wget: drop Content-Length processing</title>
<updated>2024-11-13T01:08:57Z</updated>
<author>
<name>Jerome Forissier</name>
<email>jerome.forissier@linaro.org</email>
</author>
<published>2024-11-05T11:08:49Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=385af1b898af7c36db9f2a00341e9ada0d365132'/>
<id>urn:sha1:385af1b898af7c36db9f2a00341e9ada0d365132</id>
<content type='text'>
We don't do anything with Content-Length except a debug print, and the
strict_strtoul() call is incorrect (it always returns -EINVAL and leaves
content_length to zero due to the presence of trailing characters after
the decimal valuoe of Content-Length). So let's just drop this piece of
code.

Signed-off-by: Jerome Forissier &lt;jerome.forissier@linaro.org&gt;
</content>
</entry>
</feed>
