[PATCH v8 00/23] Introduce the lwIP network stack

Jerome Forissier jerome.forissier at linaro.org
Thu Aug 8 18:41:02 CEST 2024



On 8/7/24 22:44, Tom Rini wrote:
> On Wed, Aug 07, 2024 at 07:11:44PM +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. and
>> Raymond M. (CC'd) have 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
>>
>> Prior to applying this 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://git.savannah.gnu.org/git/lwip.git STABLE-2_2_0_RELEASE
> 
> For v9, I think it would be good to do a CI run with NET_LWIP default
> and seeing what fails from that too. There's a few problems still
> leading to a lot of failures, in that case. Thanks.

I pushed my branch to GitHub [1] and there's a failure in the
tools_only_macOS job [2]. Any idea what is going on? I tried twice and
it failed twice :-/
Om my Linux machine, "make tools-only_config tools-only" works
fine.

[1] https://github.com/u-boot/u-boot/pull/635
[2] https://dev.azure.com/u-boot/u-boot/_build/results?buildId=9105&view=results

Thanks,
-- 
Jerome


More information about the U-Boot mailing list