From: Tom Rini <trini@konsulko.com>
To: Jerome Forissier <jerome.forissier@linaro.org>
Cc: u-boot@lists.denx.de,
Ilias Apalodimas <ilias.apalodimas@linaro.org>,
Javier Tia <javier.tia@linaro.org>,
Maxim Uvarov <muvarov@gmail.com>
Subject: Re: [PATCH v2 00/14] Introduce the lwIP network stack
Date: Thu, 6 Jun 2024 08:25:29 -0600 [thread overview]
Message-ID: <20240606142529.GZ68077@bill-the-cat> (raw)
In-Reply-To: <5010e5bf-1059-4e14-a260-28f383ff7347@linaro.org>
[-- Attachment #1: Type: text/plain, Size: 2716 bytes --]
On Thu, Jun 06, 2024 at 11:15:54AM +0200, Jerome Forissier wrote:
>
>
> On 5/27/24 17:34, Tom Rini wrote:
> > On Fri, May 24, 2024 at 06:19:54PM +0200, Jerome Forissier wrote:
> >
> >> This is a rework of a patch series by Maxim Uvarov: "net/lwip: add lwip
> >> library for the network stack" [1]. The goal is to introduce the lwIP TCP/IP
> >> stack [2] [3] as an alternative to the current implementation in net/,
> >> selectable with Kconfig, and ultimately keep only lwIP if possible. Some
> >> reasons for doing so are:
> >> - Make the support of HTTPS in the wget command easier. Javier T. (CC'd)
> >> has some additional lwIP and Mbed TLS patches to do so. With that it
> >> becomes possible to fetch and launch a distro installer such as Debian
> >> etc. directly from the U-Boot shell.
> >> - Possibly benefit from additional features implemented in lwIP
> >> - Less code to maintain in U-Boot
> >>
> >> The first patch introduces a new Kconfig symbol: NET_LWIP, which selects
> >> the lwIP implementation instead of the current one (NET). Contrary to the
> >> approach chosen by Maxim in [1], NET_LWIP and NET cannot be enabled
> >> simultaneously. The rationale is we want to start from a clean state and
> >> not pull potentially duplicated functionality from both stacks. Note
> >> however that a few files are still built in net/, they are the ones
> >> related to ethernet device management and the ethernet bootflow.
> >>
> >> The second patch imports the lwIP code as a Git subtree under
> >> lib/lwip/lwip. Some glue code is added under lib/lwip/u-boot.
> >
> > For next time, please just make it a pre-req to run the git subtree
> > command (and note it in the cover letter).
> >
> > In more specific feedback, I tried this on a Pi 3, and:
> > U-Boot> tftpboot 200000 EFI/arm64/helloworld.efi
> > TFTP from server 192.168.1.10; our IP address is 192.168.1.100
> > Filename 'EFI/arm64/helloworld.efi'.
> > Load address: 0x200000
> > Loading:
> > ....
> > FAILED test/py/tests/test_efi_loader.py::test_efi_helloworld_net - u_boot_spawn.Timeout
> >
> > So some amount of networking is working (that's a reasonable dhcp
> > response it got), but tftp'ing a file fails.
>
> Thanks for testing! This fails because I changed the command output. The
> legacy command prints "Bytes transferred =" while the newer one prints
> "%lu bytes transferred" plus throughput information. I will use the older
> message in v3 because several tests as well as documentation would need
> updating. We'll do that later if desired.
Thanks. And yeah, I would like to keep the output unchanged as much as
is feasible, it's in many ways a form of ABI.
--
Tom
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]
prev parent reply other threads:[~2024-06-06 14:25 UTC|newest]
Thread overview: 43+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-24 16:19 [PATCH v2 00/14] Introduce the lwIP network stack Jerome Forissier
2024-05-24 16:19 ` [PATCH v2 01/14] net: introduce alternative implementation as net-lwip/ Jerome Forissier
2024-05-27 15:34 ` Tom Rini
2024-05-28 11:53 ` Ilias Apalodimas
2024-06-05 17:48 ` Jerome Forissier
2024-05-24 16:19 ` [PATCH v2 02/14] Squashed 'lib/lwip/lwip/' content from commit 0a0452b2c39 Jerome Forissier
2024-05-24 16:19 ` [PATCH v2 03/14] net-lwip: build lwIP Jerome Forissier
2024-05-24 16:19 ` [PATCH v2 04/14] net-lwip: add DHCP support and dhcp commmand Jerome Forissier
2024-05-24 16:19 ` [PATCH v2 05/14] net-lwip: add TFTP support and tftpboot command Jerome Forissier
2024-05-24 16:20 ` [PATCH v2 06/14] net-lwip: add ping command Jerome Forissier
2024-06-06 9:10 ` Ilias Apalodimas
2024-06-06 12:04 ` Jerome Forissier
2024-05-24 16:20 ` [PATCH v2 07/14] net-lwip: add dns command Jerome Forissier
2024-06-06 6:29 ` Ilias Apalodimas
2024-06-06 8:51 ` Maxim Uvarov
2024-06-06 12:19 ` Jerome Forissier
2024-05-24 16:20 ` [PATCH v2 08/14] net-lwip: add wget command Jerome Forissier
2024-05-28 13:39 ` Maxim Uvarov
2024-06-06 9:56 ` Jerome Forissier
2024-06-06 10:16 ` Maxim Uvarov
2024-06-06 12:14 ` Jerome Forissier
2024-06-06 9:38 ` Ilias Apalodimas
2024-05-24 16:20 ` [PATCH v2 09/14] test: dm: dsa, eth: disable tests when CONFIG_NET_LWIP=y Jerome Forissier
2024-05-24 16:20 ` [PATCH v2 10/14] cmd: bdinfo: enable -e when CONFIG_CMD_NET_LWIP=y Jerome Forissier
2024-05-24 16:20 ` [PATCH v2 11/14] configs: add qemu_arm64_lwip_defconfig Jerome Forissier
2024-05-24 16:20 ` [PATCH v2 12/14] test/py: net: add _lwip variants of dhcp, ping and tftpboot tests Jerome Forissier
2024-05-28 9:41 ` Love Kumar
2024-05-28 9:53 ` Maxim Uvarov
2024-05-30 14:11 ` Jerome Forissier
2024-05-30 14:22 ` Maxim Uvarov
2024-06-06 9:18 ` Jerome Forissier
2024-05-24 16:20 ` [PATCH v2 13/14] MAINTAINERS: net-lwip: add myself as a maintainer Jerome Forissier
2024-05-24 16:20 ` [PATCH v2 14/14] CI: add qemu_arm64_lwip to the test matrix Jerome Forissier
2024-05-27 9:23 ` [PATCH v2 00/14] Introduce the lwIP network stack Francesco Dolcini
2024-05-27 9:36 ` Jerome Forissier
2024-05-27 9:45 ` Martin Husemann
2024-05-27 12:45 ` Jerome Forissier
2024-05-27 12:47 ` Martin Husemann
2024-05-28 11:50 ` Ilias Apalodimas
2024-06-04 23:13 ` Peter Robinson
2024-05-27 15:34 ` Tom Rini
2024-06-06 9:15 ` Jerome Forissier
2024-06-06 14:25 ` Tom Rini [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240606142529.GZ68077@bill-the-cat \
--to=trini@konsulko.com \
--cc=ilias.apalodimas@linaro.org \
--cc=javier.tia@linaro.org \
--cc=jerome.forissier@linaro.org \
--cc=muvarov@gmail.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox