From patchwork Thu Jun 29 12:34:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Uvarov X-Patchwork-Id: 697689 Delivered-To: patch@linaro.org Received: by 2002:adf:e885:0:0:0:0:0 with SMTP id d5csp4866219wrm; Thu, 29 Jun 2023 05:39:46 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7DtMRUVceTnT4hyGd3BnklZqIOR58w3Pe8BjH6IY0VLw7rU46z+eAq68Jw1GinEFPEdqsS X-Received: by 2002:a2e:8613:0:b0:2b6:b4fa:2f8f with SMTP id a19-20020a2e8613000000b002b6b4fa2f8fmr4975378lji.50.1688042385914; Thu, 29 Jun 2023 05:39:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688042385; cv=none; d=google.com; s=arc-20160816; b=u8EGGU282Dc5TzmiUMYm/QCbSMB/YjwrUfznxnRMTwm4nFCvXtxDvN5QbvN+iWoXgy rDHL75vilvvKpEKl5uVoF03G6UNt1taG554buVk7utWTkg/dl5aCCm2DzMEipDEaGH+B bw2vRJ4Gi/5L35CceHMfzjSEOmsegC33NXNYlHaxZuo1SE1qfJhE1pWZPoY3RzarzxJd IM2wgYoDICSm5x1wmYnvI3IXEvRHHiryfAZ0p4LXUUK5Zx40q1+zrcRHqrClclqtXbRl yv0mTxzl6byaqIKFtuGNqWmS3OMdeLRaQMwOKOFfNWOdpHQ+BGBRCcxTPEhr7/khRQu+ 6P7Q== 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:message-id:date:subject:cc:to:from:dkim-signature; bh=8KSMKzLHFo3bFtjtnVoiAzbvADJWL2Q2ENTIt9VRhwQ=; fh=378OOY3Qcv/6SzHacyD4RkrbXzlmlfqp4CO9kQxJxOk=; b=q9DM/g1UB7y8I7F9N75+neOVNf5T0uRMrhc36aU/zC2vgHmpBmmgHiAgsnnxJMgABB gYz9fnTabXt3VaQvNTpAP/ivVYchM42dXMgNB67h22es9eIXzT1Eh8/0OOQHVo/Ucs5a /o+skWjxlteGmuPiEpnTWQbaaqEizghPLyKL7ARwk5pexZRNpuPW297keUkia1waG1Ct /dtYua9FhpJ75YubkKZglkhhnJ9NNIFGv2Vh2w6nYo4BQKZYHhLvTngmKBui61b+hWPb SxfiPOHHJ8TTVUOugHdzBMrHph1KhhsJVyPl8dV522XvSi5aTbWd75SuAHlPVfM/MYA0 F0UQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=p7ujdSS8; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 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. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id p13-20020a2ea40d000000b002b6cb5572besi250652ljn.398.2023.06.29.05.39.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Jun 2023 05:39:45 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=p7ujdSS8; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 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 2204386712; Thu, 29 Jun 2023 14:39:21 +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="p7ujdSS8"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id F3A82866B7; Thu, 29 Jun 2023 14:38:07 +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-lj1-x229.google.com (mail-lj1-x229.google.com [IPv6:2a00:1450:4864:20::229]) (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 74937866F0 for ; Thu, 29 Jun 2023 14:36:43 +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-lj1-x229.google.com with SMTP id 38308e7fff4ca-2b5e7dba43cso9210861fa.1 for ; Thu, 29 Jun 2023 05:36:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1688042200; x=1690634200; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=8KSMKzLHFo3bFtjtnVoiAzbvADJWL2Q2ENTIt9VRhwQ=; b=p7ujdSS8sDghA4w7hxavcYmq2ksVurjO78LyBlnGhlzysLtwul1JkD81X2Xv4ZR/7L JWrKQf3kYtPrmOlvSr4nA5vupjnTBHYMpmKhbLZ70aY1qTM2txfwrBAZXutDa3sI+9Bw rjCglGQIiqYfkPtZMPRTCaVYckbWNpGTKoAE12YvLfxB9msFZPwmFoXYQKD1Jvv+fbWu dnO/xgqa6ngNuOqHxZLqxB+fPCY9aeDMYVsVPxLaVdO5DzB98E4O17P+hEkQwo5DSnH1 zqaC0cFe/klKgzk4TNtklnHpUbqM9RRNc710kLCcdYL+uzWRNUmwdOGnDBNEtz5sf51m OCww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688042200; x=1690634200; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=8KSMKzLHFo3bFtjtnVoiAzbvADJWL2Q2ENTIt9VRhwQ=; b=No5lGBNV0+W9aK5AFEH9sD7Y0miemiO/CMeWqR+pnHf/H7GrtXcBNJmgy4QG/B+ZdH zlt/qgxq3eraTa99nvNDsnnft9cuYfTrrP2ZSpbdV/MsCd/WUYc78XVpzny0hkfnj6Iu nTwM/cCbKtEAwtjiyPhsR+si/hZLYpsjk67Fozio7HvvzCDmoeuIJQCHP0M5A8fDRNzL rrNWi9e1OTTYWEfIsFC+L16KCFDclDNqdqNYwvmhBxJuKArG6Dny4Ur3pkPyJohRKLue AULgMNSiBylzfDfD8Nw08w/oppBP+W3kBdSN+iOeQLWY90PYJ/0do/vUI09tks/2ynyF a1Hw== X-Gm-Message-State: AC+VfDwooEotwegG94DKkTuBx3T4m+3s6gmokCk+NjBLjuw1ARin+rME pxGadu3M66aB64XssWBaE9lgmTMlEOUBhETpOQNVsg== X-Received: by 2002:a05:6512:3045:b0:4fb:89cd:9616 with SMTP id b5-20020a056512304500b004fb89cd9616mr5571039lfb.0.1688042200082; Thu, 29 Jun 2023 05:36:40 -0700 (PDT) Received: from localhost.localdomain ([45.82.14.220]) by smtp.gmail.com with ESMTPSA id p3-20020ac246c3000000b004f59c182f7bsm2295742lfo.249.2023.06.29.05.36.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Jun 2023 05:36:39 -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: [PATCHv2 1/3] net/lwip: add lwip-external submodule Date: Thu, 29 Jun 2023 18:34:28 +0600 Message-Id: <20230629123430.3679-1-maxim.uvarov@linaro.org> X-Mailer: git-send-email 2.30.2 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