From patchwork Fri Jul 14 14:19:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Uvarov X-Patchwork-Id: 702722 Delivered-To: patch@linaro.org Received: by 2002:adf:db4e:0:b0:314:25da:8dc4 with SMTP id f14csp1113981wrj; Fri, 14 Jul 2023 07:22:37 -0700 (PDT) X-Google-Smtp-Source: APBJJlEPztVNBzLVu01jHvnNQlON5cuLPHY0KUwfpYDZBfm6rLfMubbvZjs3xfVg6pO4BQXgULWS X-Received: by 2002:a17:906:15b:b0:994:5303:a1ec with SMTP id 27-20020a170906015b00b009945303a1ecmr1025012ejh.43.1689344557527; Fri, 14 Jul 2023 07:22:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689344557; cv=none; d=google.com; s=arc-20160816; b=haEJLlNvBCVPzNnZrv9CXzsgJ0UMGsqqQJZWgnecFj+f6R93JEPMI/4IALf1EUGXsY 5Vf0S2MRvc8uh4JRJJNdo9uwfeVXYdAq4y9XMMh5AzYnLEb9GQhWFXKtnhYKX5pno/pa x+MI8bqmsDoNcTvDoEhzl8p9dGKY3MUjnhgYvXhlZd5KST40gEsrYHQDXZZjRjgqk63j uuBGOJxWXQ1EH8GziOkekK18738JnVBpchrMQGx4XdfRrirVNYtjraRNAagMZPcJ2cJW mfFvu4UCXJkPgk6A0pSgMBiWvZctcEYmNjkgYNuNdik+fjetuCBznhP4txDmjgELPdaL y9aw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=8KSMKzLHFo3bFtjtnVoiAzbvADJWL2Q2ENTIt9VRhwQ=; fh=KONqw1VFBW9nCv9imase+52c+XJ0MeVkzLj6SOLcJqQ=; b=M/rQIJ3UfWQ6svGdi/M/PSnmkdgop3vzR+LtWwn+Txy+ovdarorccRnKRSybYOgmWe KThM74rc1JGQQon7mvwjkwjZmmGarpJWUN3s23rsjUZrvWCPRI7tilV/Li/+3geHcn1M 8IBiqMF4jlyp25V3j1cDKe3zGaAMWXT1kFx+RexNz339aDqeG4cvBPkjNIRmnjlNOCYK Ps9NzFxHZoy10wus2I4Y1H/OX4vWkZ1NvxH4K8YXyVd6eKgdgzVaLTsUR35SxYztYymB ZUTSN35qAkYZGFObaj5CTYCOHlcH1UMg8tqD/hfmnI8uJRcv0j3gFnDotlhJzD6Dj//k e74A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dcA7ZDcP; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id z23-20020a1709064e1700b0098e42bef735si8485518eju.337.2023.07.14.07.22.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jul 2023 07:22:37 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dcA7ZDcP; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B9C5586D90; Fri, 14 Jul 2023 16:22:19 +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="dcA7ZDcP"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 5EF8586D2E; Fri, 14 Jul 2023 16:22:16 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) (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 53CFE86D67 for ; Fri, 14 Jul 2023 16:22:13 +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=maxim.uvarov@linaro.org Received: by mail-lf1-x12e.google.com with SMTP id 2adb3069b0e04-4fa48b5dc2eso3317843e87.1 for ; Fri, 14 Jul 2023 07:22:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1689344532; x=1691936532; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=8KSMKzLHFo3bFtjtnVoiAzbvADJWL2Q2ENTIt9VRhwQ=; b=dcA7ZDcPuZeTzpSiVQaxwAcWBqsfYl23OjgvkuqGD5u5G67JxVvLunXhFc1iIfOqKY LFLHaTroxaDygz0KkfNMDANyz29GxqurkweoZtPL9UxH+cVJtSGNbrqRnmvK81CAV92y y2AhdQRIA7DJIwQe/S2ArdGTxnA3A+DLqmZxE15F9ZPKa/yiCQyow6DMvqeWWvbS1DlE wJR9O9B7TsSQYJkILhFn3yZ/cnACMbqIWJHv+8HBZBjBwPoYljkHkbhL+YxPIwadV/1c Eh1cWmjpanlRazjBHFku0hO+c9JEAiJqmWZPhtqOMZEpK7tYQjKIXsrds0AK+3vzYk4L iYqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689344532; x=1691936532; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=8KSMKzLHFo3bFtjtnVoiAzbvADJWL2Q2ENTIt9VRhwQ=; b=JraOTc9SVSy9Vzx7VfgTKe7TelMaESZzAy4g1lyrkp2bN3a5vXikEuZE7J9UtPyOfv 9/0XyjvZ2s0lr3wze2BKKTrh0TaC4IE2jav6lBVyxXJrWpBCEFn4Sst8xYHV8VtvRkSN bMNldPVJx004g8kBYCRSpUpoEmmGqIpwUHArNiPGsZnlQkdD+n7A1FIQUHoUcU7wbUdn JLZINCu6iiYx0B12/BdNZ/LXtbjg6cOC9QHP5hKlPOm/zmNg8j2csBFkvm+sz7Alk98w 8QA/+NPqwjNvg2OHUkG2BA6DIDUMTXrFoJeQsglnxmjYxuJjfTLpAuKrzGWasGtohRbK r5hw== X-Gm-Message-State: ABy/qLbDFzQM/nqsPlCOMwlj/FLSvynL75MNpEI/UD4NElQCkqC3Ya4e 6E+VMhmZFIaSi7xjtLLGZtJ4b19wiYR8FbC6cGdfhA== X-Received: by 2002:a05:6512:3e16:b0:4f8:5671:ed1 with SMTP id i22-20020a0565123e1600b004f856710ed1mr4612165lfv.29.1689344532445; Fri, 14 Jul 2023 07:22:12 -0700 (PDT) Received: from localhost.localdomain ([45.82.14.220]) by smtp.gmail.com with ESMTPSA id w28-20020ac2599c000000b004fb759964a9sm1504703lfn.168.2023.07.14.07.22.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jul 2023 07:22:12 -0700 (PDT) From: Maxim Uvarov To: u-boot@lists.denx.de Cc: pbrobinson@redhat.com, ilias.apalodimas@linaro.org, joe.hershberger@ni.com, rfried.dev@gmail.com, trini@konsulko.com, goldsimon@gmx.de, lwip-devel@nongnu.org, Maxim Uvarov Subject: [PATCHv4 1/5] net/lwip: add lwip-external submodule Date: Fri, 14 Jul 2023 20:19:56 +0600 Message-Id: <20230714142000.5534-2-maxim.uvarov@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230714142000.5534-1-maxim.uvarov@linaro.org> References: <20230714142000.5534-1-maxim.uvarov@linaro.org> MIME-Version: 1.0 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 This commit adds the lwip library as a git submodule. I think there has to be advantages to compile lwip inside U-boot, i.e. use the same compiler and flags as the main code. One of them is LTO and the other is to enable additional debug options for network protocol during development. Also we can copy lwip library code inside U-boot, but for now I don't want to send all lwip code to the mailing list. So it's git submodule. Signed-off-by: Maxim Uvarov --- .gitmodules | 3 +++ lib/lwip/lwip-external | 1 + 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 lib/lwip/lwip-external diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000000..afc709af10 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "lib/lwip/lwip-external"] + path = lib/lwip/lwip-external + url = https://git.savannah.nongnu.org/git/lwip.git diff --git a/lib/lwip/lwip-external b/lib/lwip/lwip-external new file mode 160000 index 0000000000..3fe8d2fc43 --- /dev/null +++ b/lib/lwip/lwip-external @@ -0,0 +1 @@ +Subproject commit 3fe8d2fc43a9b69f7ed28c63d44a7744f9c0def9