From patchwork Tue Dec 3 13:50:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Forissier X-Patchwork-Id: 846961 Delivered-To: patch@linaro.org Received: by 2002:a5d:44cd:0:b0:385:e875:8a9e with SMTP id z13csp494506wrr; Tue, 3 Dec 2024 05:51:32 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCUW63cjfSYJ+NzQC7+x9ametpQB9znduUQe4uX/cxdZIutwDuqttU8sDMPtgm2M3vO7w/6rPA==@linaro.org X-Google-Smtp-Source: AGHT+IF4D+YkI6z5cdGocmsPnwXMjkmenh3ju8XCUjDSSER20iu0n5S4LeeIulop7CzHQIuc0+c0 X-Received: by 2002:a05:6402:430f:b0:5cf:e5e3:e0b8 with SMTP id 4fb4d7f45d1cf-5d113cc7a2fmr195629a12.17.1733233892638; Tue, 03 Dec 2024 05:51:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1733233892; cv=none; d=google.com; s=arc-20240605; b=bqnVHWWVqYe73LhzsMy7Ydqb4q9tJbAC2akVrG5KvvySF4HkNtQOdw45xx1HR3VoDl C3rN1aJKpQ1Q731Z7yM/DFrazR1fUWKAH1nLGjoKuP2tHl/E/XY08xylnxivaCvilc+v BuKquywnULY4JxN+6mtLSgX2+jzh0ISy5u07ScD67fbt0g9tVYe9z5i6nSrTq6IpMqvr IMGm1XPTui2urH8Mvn7MXUOKmsefI2Kye/AzZwU7Vq/zCAQYPWuA3xyHx4PuDPMTWHoJ IL5xcI2wCVwaK/zbPnTk2Z+M6FL8Dj5er457hOkvSCMpZouqVWRPqMTZSBovXMzJvl3Y Y6Bw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; 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=IBgbq1nmzaXURG5ZS5JMXqqS071G5B5S3uX1Ohb3YMg=; fh=zE79+n89y3aMuLawAfU0oLkqep9GLnRksxma446UGh0=; b=dMCLj3oS/gmhVoC7IHhGkIlHuFJ4BpmE7LBnqzo2EwlZqiPq62OaNG89PElGNgpaXa DOnedtVagki1/X1UCgdzD+8uOwv1TLJJE+uAtkmYc2Y7o7r9j+h4bSn27ywdK8lEoZYR eLTbgVqTwt/GAnvKNhD8pWsBO+VL4rWdb8SPxJCAqadC8s9IVwvFfSHh0C4tW7iivTRg q8Rw9CMvLKKYzawabr/IlEb2vbfaDGkmSk0L5RYSTLPhQTLyeMx2W8Madk97crOvrCrz 32ykRgMTmtvsXXb89paqo4y03dfTJjLNmnxJqKFCK1kkz+0itNsFbynQghwl/EwQMKqA 1PGw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Tc/hXPB1"; 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; dara=neutral header.i=@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 4fb4d7f45d1cf-5d097f633d5si8790412a12.628.2024.12.03.05.51.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Dec 2024 05:51:32 -0800 (PST) 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="Tc/hXPB1"; 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; dara=neutral header.i=@linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 5F86188E5C; Tue, 3 Dec 2024 14:51:31 +0100 (CET) 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="Tc/hXPB1"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 4A64A88E35; Tue, 3 Dec 2024 14:51:30 +0100 (CET) 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,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.2 Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) (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 4910589328 for ; Tue, 3 Dec 2024 14:51:28 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=jerome.forissier@linaro.org Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-434ab938e37so36012715e9.0 for ; Tue, 03 Dec 2024 05:51:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1733233887; x=1733838687; darn=lists.denx.de; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=IBgbq1nmzaXURG5ZS5JMXqqS071G5B5S3uX1Ohb3YMg=; b=Tc/hXPB1J/LX1+agjklqdDq7VaNFU5luAaLaLOqvsP+hvrK/oT+swuwDrdUOcssw19 nMUUcWL9Q95s3lzlQdsZlwCPtFqyWKBO2LmAYQg6p3G/aqRvdp1rWTMls9hlXswnECed CDrnTzdV0KUQC1YW/+5fCKCu9KJzeEDslJ3qVPCUl1sE3IzcyBSvH5NLM2e24ArW01Eu GP9meAfCSPOmOMloggJkYlYSMpXDD/IHnA64I9kOM8hxLXP775QGW1NCG4/oMaW+cYEb 5WtCd3Se8UTe1B1ph8B51TIxHfFI6NEaptaIKYuAFAXMygF8+dMgY9t1mMJ3U49Ra4No CFEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733233887; x=1733838687; 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=IBgbq1nmzaXURG5ZS5JMXqqS071G5B5S3uX1Ohb3YMg=; b=pMeNPs/gjCOklRRU91l+pRgdPUtmUj0JmnQDBb2hMigmWaOzMbChqb5Cc+t52eq/hA 4qJRJhn7ZUtiqxxD0DPZmVLjqBsEOLoS5p0RqWaFTMf2DEjpwURYT9NYhhiR1LMyMegX +Y5svJwmIrWe1p6QIZUvyQ85PiBIH7dCl+XsWDUOJEeCOh0SqQ0JwmN5gb69EFvcN82W C4grIYY1N4OaWSiMDu/vX2/Bq3GajU5w305DjWU+fnGpgn4D5Qsgs0VoFMj7WhjAma9d jjMyyfcBE1dOpNyUhaxWvmITQ6eI6ZCA/adqXaOXWoVWqdYA91SvLXuaAg8SSDWS7UZ0 7m7g== X-Gm-Message-State: AOJu0YxoFydY9/ZTCohNRrz9QpgfRvWsEv35nDBduxIdO0KZtr+hkb++ 6NYnOXoqnkjbi/g4DOTlza7Vwc4fBj6Zv2XbUOzvQgh0+OjWOPYZ2TcV1HDbpsJdf4KSKVtkVfr 09+M= X-Gm-Gg: ASbGnctCLxAMsMDLLIpHOMiyRuKT+tYWpAdMSKCpEVca9ulfCcBH00H0SCJysmgni+d TcEjhQvTQrVzmpWttFm4ocURbyiWOGcUh2fyrGA2sDNYNALTs5wjUiV/vR97GiqrFzvQoF2dYZK Vq1Y/nKKenppRewRBaREBiLnSI/NhG/j1fCvuOZ47u7tZ+iqq0SfDpYiuuWNNZ1iyXjLYAub13J PqksbUuX2CgrcLC3Y+0O9hF/GMHyeIg/y2KPyg3OBl/dPKcrJGkShbH/Eg= X-Received: by 2002:a05:600c:358e:b0:431:5187:28dd with SMTP id 5b1f17b1804b1-434d3fe3393mr1791575e9.28.1733233887603; Tue, 03 Dec 2024 05:51:27 -0800 (PST) Received: from builder.. ([2a01:e0a:3cb:7bb0:2f51:a1f8:d255:ef36]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-434aa74ea95sm221992795e9.5.2024.12.03.05.51.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Dec 2024 05:51:27 -0800 (PST) From: Jerome Forissier To: u-boot@lists.denx.de Cc: Heinrich Schuchardt , Jerome Forissier , Simon Glass , Tom Rini , Marek Vasut , Quentin Schulz , Janne Grunau , Kever Yang , Alex Shumsky , Caleb Connolly Subject: [PATCH] doc: environment: NET_LWIP dhcp sets ipaddrN, netmaskN and gatewayipN Date: Tue, 3 Dec 2024 14:50:51 +0100 Message-ID: <20241203135051.801349-1-jerome.forissier@linaro.org> X-Mailer: git-send-email 2.43.0 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 Document environment variables set by the dhcp command when the network stack is lwIP. Signed-off-by: Jerome Forissier --- doc/usage/environment.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/usage/environment.rst b/doc/usage/environment.rst index 7bd9ffce8d8..b67aae84c58 100644 --- a/doc/usage/environment.rst +++ b/doc/usage/environment.rst @@ -499,7 +499,7 @@ Automatically updated variables ------------------------------- The following environment variables may be used and automatically -updated by the network boot commands ("bootp" and "rarpboot"), +updated by the network boot commands ("bootp", "dhcp" and "rarpboot"), depending the information provided by your boot server: ========= =================================================== @@ -514,6 +514,9 @@ ipaddr See above netmask Subnet Mask rootpath Pathname of the root filesystem on the NFS server serverip see above +ipaddrN IP address for interface N (>0) (NET_LWIP dhcp only) +netmaskN Subnet mask for interface N (>0) (NET_LWIP dhcp only) +gatewayipN IP address of the Gateway for interface N (>0) (NET_LWIP dhcp only) ========= ===================================================