From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D4357C0015E for ; Thu, 27 Jul 2023 12:22:52 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id BD7DC86768; Thu, 27 Jul 2023 14:22:50 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="hwdJ5IhS"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A08438630F; Thu, 27 Jul 2023 14:22:49 +0200 (CEST) Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 423A986849 for ; Thu, 27 Jul 2023 14:22:44 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=ilias.apalodimas@linaro.org Received: by mail-wm1-x32a.google.com with SMTP id 5b1f17b1804b1-3fbc5d5742bso9844315e9.2 for ; Thu, 27 Jul 2023 05:22:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1690460563; x=1691065363; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=U2h404Oh7SbZoWPL+X/asWI+0QIdEVTMN21UvTHFtOc=; b=hwdJ5IhSr1XHw8f1+q30l0gdty75C9irfYLyA8IjsSj5tyMvoi9xi70MzcLwT98c+6 zB4MYoGlkC+yYdiGlWxqOT/T8gAXEDdWze8dJXiDySgBotlpl1lSKzs0Oymgi1HGTe4P FEg37QaDVf7W5GaIiAXsjGRXmbTt7G7vkrvcMpjXa/nNg49mgiQHIiv5fE5seFvCzC/3 noMDPCCNwwl8IfZKfD0n34odJzN3hSFytMAov6hq+7pwzky361nZ1UzEriNH9hlFjP71 wLJf56w3TWnrDYSeqwY1PIy3d3rnbys7NnXH7fG27kbxR2TlZCeub5noOwUI+fMwSkZA nSlg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690460563; x=1691065363; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=U2h404Oh7SbZoWPL+X/asWI+0QIdEVTMN21UvTHFtOc=; b=lLMH2OGHE5SSxNEhkjdivTdTgmOZM7vHk/7G8iON0Em0Ib49vEfR0GQml6Lk9ZmZTl gA3ZLINJRTwdqH25+aAq/uTe+iACui208+bcGUTTxOVvxgWWPCUKp5hi+/Cg8VzS6ftm S1hxdoG+s5KbZcclCMBTuGOXkkVRSJoH7nOuT8HbeQgDYcI14fyFcA61RD1Si09fB5JM m8mx5UwSZmD7E25j6LmzTeS4p7DiEn1xuymxslDCn+XGiN71EI1Fz5E9jVYy5ICmOqKJ jPV1KtNAfxdxS3dlRc9rBhinvn8uSCDkvPkW7Bmlb1Fw07gJniDJZiz84y5lf0RG3yry h5Yw== X-Gm-Message-State: ABy/qLY4t3yHfDSP0awmjpNwhO3Fa/9svMb3U3b+dbVZQVul736fLX7x nDu4cCEjVI4nvmwBHwatN3N0Vg== X-Google-Smtp-Source: APBJJlHUkwslK7egxPW1GuX9ygnXpVRi+D3j9+39/0rtsG6nzlmd32cjr62581z6g+tAf6vWs7PYSA== X-Received: by 2002:a05:600c:294c:b0:3fc:3f31:4233 with SMTP id n12-20020a05600c294c00b003fc3f314233mr1623938wmd.38.1690460563644; Thu, 27 Jul 2023 05:22:43 -0700 (PDT) Received: from hades (ppp089210088142.access.hol.gr. [89.210.88.142]) by smtp.gmail.com with ESMTPSA id l10-20020a05600c1d0a00b003fd2d3462fcsm6622989wms.1.2023.07.27.05.22.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Jul 2023 05:22:43 -0700 (PDT) Date: Thu, 27 Jul 2023 15:22:41 +0300 From: Ilias Apalodimas To: Maxim Uvarov Cc: u-boot@lists.denx.de, pbrobinson@redhat.com, joe.hershberger@ni.com, rfried.dev@gmail.com, trini@konsulko.com, goldsimon@gmx.de, lwip-devel@nongnu.org Subject: Re: [PATCHv4 0/5] net/lwip: add lwip library for the network stack Message-ID: References: <20230714142000.5534-1-maxim.uvarov@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230714142000.5534-1-maxim.uvarov@linaro.org> X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean Hi Maxim, On Fri, Jul 14, 2023 at 08:19:55PM +0600, Maxim Uvarov wrote: > changelog: > v4: - tested with tests/py/ did some minor fixes (out of tree > build, variables set after downloads). > - accounted review comments for documentation. > - implemented dns command > - corrected wget command to not use serverip variable and use just > url string. > v3: - use lwip commands for ping,tftp,wget,dhcp if this patch > applied. Drop CONFIG_LIB_LWIP_REPLACE_ option. > - docs: use rst variant and drop references to RFC. > > build: > git submodule init > git submodule update > make > > I tested with qemu and ubuntu host for the server manually and with > ./test/py/test -bd qemu_arm64 --build -k net. > > Maxim Uvarov (5): > net/lwip: add lwip-external submodule > net/lwip: add lwip library for the network stack > net/lwip: add doc/develop/net_lwip.rst > net/lwip: add dns command This dones't apply to master. Can you rebase and resend it? Thanks /Ilias > net/lwip: apps/http: add dns support > > .gitignore | 9 + > .gitmodules | 3 + > boot/bootmeth_pxe.c | 2 +- > cmd/net.c | 89 +------- > cmd/pxe.c | 2 +- > doc/develop/index.rst | 1 + > doc/develop/net_lwip.rst | 59 +++++ > include/net.h | 8 +- > lib/Kconfig | 2 + > lib/Makefile | 2 + > lib/lwip/Kconfig | 63 ++++++ > lib/lwip/Makefile | 103 +++++++++ > lib/lwip/apps/dhcp/lwip-dhcp.c | 52 +++++ > lib/lwip/apps/dns/lwip-dns.c | 46 ++++ > lib/lwip/apps/dns/lwip-dns.h | 3 + > lib/lwip/apps/http/lwip-wget.c | 121 ++++++++++ > lib/lwip/apps/ping/lwip_ping.c | 37 ++++ > lib/lwip/apps/ping/lwip_ping.h | 24 ++ > lib/lwip/apps/ping/ping.h | 35 +++ > lib/lwip/apps/tftp/lwip-tftp.c | 124 +++++++++++ > lib/lwip/cmd-lwip.c | 308 ++++++++++++++++++++++++++ > lib/lwip/lwip-external | 1 + > lib/lwip/lwipopts.h | 203 +++++++++++++++++ > lib/lwip/port/if.c | 260 ++++++++++++++++++++++ > lib/lwip/port/include/arch/cc.h | 46 ++++ > lib/lwip/port/include/arch/sys_arch.h | 59 +++++ > lib/lwip/port/include/limits.h | 0 > lib/lwip/port/sys-arch.c | 20 ++ > lib/lwip/ulwip.h | 9 + > net/Kconfig | 1 + > net/net.c | 24 ++ > 31 files changed, 1634 insertions(+), 82 deletions(-) > create mode 100644 .gitmodules > create mode 100644 doc/develop/net_lwip.rst > create mode 100644 lib/lwip/Kconfig > create mode 100644 lib/lwip/Makefile > create mode 100644 lib/lwip/apps/dhcp/lwip-dhcp.c > create mode 100644 lib/lwip/apps/dns/lwip-dns.c > create mode 100644 lib/lwip/apps/dns/lwip-dns.h > create mode 100644 lib/lwip/apps/http/lwip-wget.c > create mode 100644 lib/lwip/apps/ping/lwip_ping.c > create mode 100644 lib/lwip/apps/ping/lwip_ping.h > create mode 100644 lib/lwip/apps/ping/ping.h > create mode 100644 lib/lwip/apps/tftp/lwip-tftp.c > create mode 100644 lib/lwip/cmd-lwip.c > create mode 160000 lib/lwip/lwip-external > create mode 100644 lib/lwip/lwipopts.h > create mode 100644 lib/lwip/port/if.c > create mode 100644 lib/lwip/port/include/arch/cc.h > create mode 100644 lib/lwip/port/include/arch/sys_arch.h > create mode 100644 lib/lwip/port/include/limits.h > create mode 100644 lib/lwip/port/sys-arch.c > create mode 100644 lib/lwip/ulwip.h > > -- > 2.30.2 >