U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
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 v3 00/12] Introduce the lwIP network stack
Date: Fri, 7 Jun 2024 07:52:34 -0600	[thread overview]
Message-ID: <20240607135234.GI68077@bill-the-cat> (raw)
In-Reply-To: <97621d9f-584b-41f9-98e9-c6e4346661a5@linaro.org>

[-- Attachment #1: Type: text/plain, Size: 3004 bytes --]

On Fri, Jun 07, 2024 at 11:11:49AM +0200, Jerome Forissier wrote:
> 
> 
> On 6/6/24 18:56, Tom Rini wrote:
> > On Thu, Jun 06, 2024 at 03:35:55PM +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. using a secure, authenticated connection directly from the U-Boot
> >> shell. Several use cases:
> >>   * Authentication: prevent MITM attack (third party replacing the
> >> binary with a different one)
> >>   * Confidentiality: prevent third parties from grabbing a copy of the
> >> image as it is being downloaded
> >>   * Allow connection to servers that do not support plain HTTP anymore
> >> (this is becoming more and more common on the Internet these days)
> >> - Possibly benefit from additional features implemented in lwIP
> >> - Less code to maintain in U-Boot
> > 
> > Alright, on Pi 3, I think we have more "output changed, test fails"
> > problems:
> > ========================================== FAILURES ===========================================
> > _____________________________________ test_efi_fit_launch _____________________________________
> > test/py/tests/test_efi_fit.py:452: in test_efi_fit_launch
> >     launch_efi(False, False)
> > test/py/tests/test_efi_fit.py:394: in launch_efi
> >     net_set_up = net_dhcp()
> > test/py/tests/test_efi_fit.py:178: in net_dhcp
> >     assert 'DHCP client bound to address ' in output
> > E   AssertionError: assert 'DHCP client bound to address ' in 'Waiting for Ethernet connection... done.\r\neth0: smsc95xx_eth b8:27:eb:fc:64:a6 active'
> > ------------------------------------ Captured stdout call -------------------------------------
> > U-Boot> usb start
> > U-Boot> U-Boot> setenv autoload no
> > U-Boot> U-Boot> dhcp
> > Waiting for Ethernet connection... done.
> > eth0: smsc95xx_eth b8:27:eb:fc:64:a6 active
> > U-Boot>
> > =================================== short test summary info ===================================
> > 
> > I'm going to skip that set of tests and see how far we get but I suspect
> > it'll keep failing on DHCP output being different.
> 
> As discussed offline with Ilias it might be a timeout issue, although 2000 ms
> for DHCP_TIMEOUT_MS seems a large value to me, it might not be enough in your
> environment. Can you please try to increase it? NET effectively has a timeout
> of 28 seconds if we take the retries into account.

I increased it to 20000 ms and no change.

-- 
Tom

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]

      reply	other threads:[~2024-06-07 13:52 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-06 13:35 [PATCH v3 00/12] Introduce the lwIP network stack Jerome Forissier
2024-06-06 13:35 ` [PATCH v3 01/12] net: introduce alternative implementation as net-lwip/ Jerome Forissier
2024-06-06 13:35 ` [PATCH v3 02/12] net-lwip: build lwIP Jerome Forissier
2024-06-06 15:50   ` Ilias Apalodimas
2024-06-06 13:35 ` [PATCH v3 03/12] net-lwip: add DHCP support and dhcp commmand Jerome Forissier
2024-06-06 13:35 ` [PATCH v3 04/12] net-lwip: add TFTP support and tftpboot command Jerome Forissier
2024-06-06 13:36 ` [PATCH v3 05/12] net-lwip: add ping command Jerome Forissier
2024-06-06 16:53   ` Ilias Apalodimas
2024-06-06 17:02     ` Ilias Apalodimas
2024-06-06 17:45       ` Ilias Apalodimas
2024-06-07  7:55         ` Jerome Forissier
2024-06-06 13:36 ` [PATCH v3 06/12] net-lwip: add dns command Jerome Forissier
2024-06-06 15:46   ` Ilias Apalodimas
2024-06-06 15:59     ` Jerome Forissier
2024-06-06 16:02       ` Ilias Apalodimas
2024-06-06 16:21         ` Jerome Forissier
2024-06-06 13:36 ` [PATCH v3 07/12] net-lwip: add wget command Jerome Forissier
2024-06-06 15:41   ` Ilias Apalodimas
2024-06-07  9:23     ` Jerome Forissier
2024-06-06 13:36 ` [PATCH v3 08/12] test: dm: dsa, eth: disable tests when CONFIG_NET_LWIP=y Jerome Forissier
2024-06-06 13:36 ` [PATCH v3 09/12] cmd: bdinfo: enable -e when CONFIG_CMD_NET_LWIP=y Jerome Forissier
2024-06-06 13:36 ` [PATCH v3 10/12] configs: add qemu_arm64_lwip_defconfig Jerome Forissier
2024-06-06 13:36 ` [PATCH v3 11/12] MAINTAINERS: net-lwip: add myself as a maintainer Jerome Forissier
2024-06-06 13:36 ` [PATCH v3 12/12] CI: add qemu_arm64_lwip to the test matrix Jerome Forissier
2024-06-06 16:56 ` [PATCH v3 00/12] Introduce the lwIP network stack Tom Rini
2024-06-07  9:11   ` Jerome Forissier
2024-06-07 13:52     ` 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=20240607135234.GI68077@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