{"id":2229499,"url":"http://patchwork.ozlabs.org/api/1.1/patches/2229499/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/patch/20260428-doc-net-bootstd-v1-1-f5a939f1686c@cherry.de/","project":{"id":18,"url":"http://patchwork.ozlabs.org/api/1.1/projects/18/?format=json","name":"U-Boot","link_name":"uboot","list_id":"u-boot.lists.denx.de","list_email":"u-boot@lists.denx.de","web_url":null,"scm_url":null,"webscm_url":null},"msgid":"<20260428-doc-net-bootstd-v1-1-f5a939f1686c@cherry.de>","date":"2026-04-28T10:24:21","name":"doc: bootstd: specify CONFIG_BOOTSTD_DEFAULTS provides network features when NET=y","commit_ref":null,"pull_url":null,"state":"new","archived":false,"hash":"634fd21903eac6b9be7c2270fe08e34fffea3cbe","submitter":{"id":84425,"url":"http://patchwork.ozlabs.org/api/1.1/people/84425/?format=json","name":"Quentin Schulz","email":"foss+uboot@0leil.net"},"delegate":{"id":68728,"url":"http://patchwork.ozlabs.org/api/1.1/users/68728/?format=json","username":"xypron","first_name":"Heinrich","last_name":"Schuchardt","email":"xypron.glpk@gmx.de"},"mbox":"http://patchwork.ozlabs.org/project/uboot/patch/20260428-doc-net-bootstd-v1-1-f5a939f1686c@cherry.de/mbox/","series":[{"id":501817,"url":"http://patchwork.ozlabs.org/api/1.1/series/501817/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/list/?series=501817","date":"2026-04-28T10:24:21","name":"doc: bootstd: specify CONFIG_BOOTSTD_DEFAULTS provides network features when NET=y","version":1,"mbox":"http://patchwork.ozlabs.org/series/501817/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/2229499/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/2229499/checks/","tags":{},"headers":{"Return-Path":"<u-boot-bounces@lists.denx.de>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@legolas.ozlabs.org","Authentication-Results":["legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=0leil.net header.i=@0leil.net header.a=rsa-sha256\n header.s=20231125 header.b=F4H/Ms54;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=85.214.62.61; helo=phobos.denx.de;\n envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org)","phobos.denx.de;\n dmarc=pass (p=reject dis=none) header.from=0leil.net","phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de","phobos.denx.de;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=0leil.net header.i=@0leil.net header.b=\"F4H/Ms54\";\n\tdkim-atps=neutral","phobos.denx.de;\n dmarc=pass (p=reject dis=none) header.from=0leil.net","phobos.denx.de;\n spf=pass smtp.mailfrom=foss+uboot@0leil.net"],"Received":["from phobos.denx.de (phobos.denx.de [85.214.62.61])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g4c4R5PDHz1yHv\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 28 Apr 2026 20:24:39 +1000 (AEST)","from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 9BC2684658;\n\tTue, 28 Apr 2026 12:24:35 +0200 (CEST)","by phobos.denx.de (Postfix, from userid 109)\n id 29DA384664; Tue, 28 Apr 2026 12:24:35 +0200 (CEST)","from smtp-bc0b.mail.infomaniak.ch (smtp-bc0b.mail.infomaniak.ch\n [45.157.188.11])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id C805D845C8\n for <u-boot@lists.denx.de>; Tue, 28 Apr 2026 12:24:31 +0200 (CEST)","from smtp-4-0001.mail.infomaniak.ch (smtp-4-0001.mail.infomaniak.ch\n [10.7.10.108])\n by smtp-4-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4g4c4H3gRFzJVk;\n Tue, 28 Apr 2026 12:24:31 +0200 (CEST)","from unknown by smtp-4-0001.mail.infomaniak.ch (Postfix) with ESMTPA\n id 4g4c4G3WG5zHGW; Tue, 28 Apr 2026 12:24:30 +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=-3.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,\n DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED,\n RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS\n autolearn=ham autolearn_force=no version=3.4.2","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=0leil.net;\n s=20231125; t=1777371871;\n bh=YS32itU25xk6AWiKTQvD7dcxqNwjKkKX3S1+LUB061E=;\n h=From:Date:Subject:To:Cc:From;\n b=F4H/Ms54VLmfokql78dZ0I+8xV5Vixqav6hwP7YDiRoGfNiB/cIvlKhnBofHlRntg\n uRAsqUklsxhjryMZDmguGuBEhsH3uhlRZQS8ki9p1lEbmW2062SPoJj0N5IDPJxW+y\n 44IOJsDb5mWoIDrbeGbY6ieg8/4PGl/XAnrlEj6XKqFgWv0vWp25NtWes6QMzy8fUc\n RVCLEfmouMzuDNzB9beYya8DA93dZJZbDRaQnLmfgzH9af/NnOFoy3Bc4RgGCF6580\n AkSI9EI2yHHYmSIQZqxHGU00XJz1lL0Yg7x0YdDVLUL17RnyvJQCfju0aemaBlK39R\n S5lbB6ewtAdOw==","From":"Quentin Schulz <foss+uboot@0leil.net>","Date":"Tue, 28 Apr 2026 12:24:21 +0200","Subject":"[PATCH] doc: bootstd: specify CONFIG_BOOTSTD_DEFAULTS provides\n network features when NET=y","MIME-Version":"1.0","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"7bit","Message-Id":"<20260428-doc-net-bootstd-v1-1-f5a939f1686c@cherry.de>","X-B4-Tracking":"v=1; b=H4sIAAAAAAAC/yXMMQ6DMAxA0asgz1iCUArqVVAHEptihqSKQ4WEu\n HsDjG/4fwflKKzwKnaI/BOV4DPqsgA3j/7DKJQNpjLP6mF6pODQc0IbQtJE2HXUNsbxWFuCXH0\n jT7Jdx+F9W1e7sEvnBo7jD6UPRadzAAAA","X-Change-ID":"20260428-doc-net-bootstd-77d532cea1bd","To":"u-boot@lists.denx.de","Cc":"Simon Glass <sjg@chromium.org>, Tom Rini <trini@konsulko.com>,\n \"Kory Maincent (TI.com)\" <kory.maincent@bootlin.com>,\n Heinrich Schuchardt <xypron.glpk@gmx.de>,\n Martin Schwan <m.schwan@phytec.de>, Benjamin Hahn <B.Hahn@phytec.de>,\n Quentin Schulz <quentin.schulz@cherry.de>","X-Mailer":"b4 0.15-dev-47773","X-Infomaniak-Routing":"alpha","X-BeenThere":"u-boot@lists.denx.de","X-Mailman-Version":"2.1.39","Precedence":"list","List-Id":"U-Boot discussion <u-boot.lists.denx.de>","List-Unsubscribe":"<https://lists.denx.de/options/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=unsubscribe>","List-Archive":"<https://lists.denx.de/pipermail/u-boot/>","List-Post":"<mailto:u-boot@lists.denx.de>","List-Help":"<mailto:u-boot-request@lists.denx.de?subject=help>","List-Subscribe":"<https://lists.denx.de/listinfo/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=subscribe>","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>","X-Virus-Scanned":"clamav-milter 0.103.8 at phobos.denx.de","X-Virus-Status":"Clean"},"content":"From: Quentin Schulz <quentin.schulz@cherry.de>\n\nIn the past, we only had one network stack which was called NET. The\nnetwork features were enabled for the legacy (and then only) networking\nstack since commit 22353fa6b585 (\"bootstd: Add some default filesystems\nand commands\"). Then instead on relying on NET legacy stack for enabling\nnetworking features, the dependencies were (mostly) changed to depend on\nCMD_NET in commit a0c739c184ca (\"boot: Create a common BOOT_DEFAULTS for\ndistro and bootstd\"). Then a new stack (lwIP) appeared, then CMD_NET was\nmade available with this new stack in commit 98ad145db61a (\"net: lwip:\nadd DHCP support and dhcp commmand\") making the networking features\npossible to enable and finally commit f1e978fd54d9 (\"boot: Update tests\naround network symbols in BOOT_DEFAULTS_CMDS\") made it explicit that we\nneed *a* network stack to enable some networking features.\n\nAlign the bootstd documentation with what's actually implemented as\nKconfig dependencies. Note that BOOTSTD_DEFAULTS selects BOOT_DEFAULTS\nwhich selects BOOT_DEFAULTS_CMDS which then selects network features.\nThe CMDLINE symbol needs to be enabled as well for BOOT_DEFAULTS to\nselect BOOT_DEFAULTS_CMDS, but I don't think we need to go that far into\nexplaining what's required to enable some commands.\n\nReported-by: Simon Glass <sjg@chromium.org>\nCloses: https://lore.kernel.org/u-boot/CAFLszTgZC1FGy8965pHiG-u=FhrguftRv41ghQ_Qb_RRXx6tyg@mail.gmail.com/\nSigned-off-by: Quentin Schulz <quentin.schulz@cherry.de>\n---\n doc/develop/bootstd/overview.rst | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)\n\n\n---\nbase-commit: 4433253ecf2041f9362a763bb6cb79960921ac7e\nchange-id: 20260428-doc-net-bootstd-77d532cea1bd\n\nBest regards,\n--  \nQuentin Schulz <quentin.schulz@cherry.de>","diff":"diff --git a/doc/develop/bootstd/overview.rst b/doc/develop/bootstd/overview.rst\nindex 99ff7d6192d..397f6db18b4 100644\n--- a/doc/develop/bootstd/overview.rst\n+++ b/doc/develop/bootstd/overview.rst\n@@ -422,7 +422,7 @@ includes the full set of commands, more error messages when things go wrong and\n bootmeth ordering with the bootmeths environment variable.\n \n You should probably also enable `CONFIG_BOOTSTD_DEFAULTS`, which provides\n-several filesystem and network features (if `CONFIG_NET_LEGACY` is enabled) so that\n+several filesystem and network features (if `CONFIG_NET` is enabled) so that\n a good selection of boot options is available.\n \n Some devicetree properties are supported in the bootstd node when\n","prefixes":[]}