Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.0/patches/2175528/?format=api
{ "id": 2175528, "url": "http://patchwork.ozlabs.org/api/1.0/patches/2175528/?format=api", "project": { "id": 18, "url": "http://patchwork.ozlabs.org/api/1.0/projects/18/?format=api", "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": "<20251218-b4-bdinfo-doc-v2-3-2fb328750026@cherry.de>", "date": "2025-12-18T11:44:43", "name": "[v2,3/3] doc: cmd: bdinfo: document options", "commit_ref": "6e07da8050d4b53a592897143c49b9437356de44", "pull_url": null, "state": "accepted", "archived": true, "hash": "f4b41cebced82cedd41a2e01dea47931c937f5d0", "submitter": { "id": 84425, "url": "http://patchwork.ozlabs.org/api/1.0/people/84425/?format=api", "name": "Quentin Schulz", "email": "foss+uboot@0leil.net" }, "delegate": { "id": 68728, "url": "http://patchwork.ozlabs.org/api/1.0/users/68728/?format=api", "username": "xypron", "first_name": "Heinrich", "last_name": "Schuchardt", "email": "xypron.glpk@gmx.de" }, "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20251218-b4-bdinfo-doc-v2-3-2fb328750026@cherry.de/mbox/", "series": [ { "id": 485831, "url": "http://patchwork.ozlabs.org/api/1.0/series/485831/?format=api", "date": "2025-12-18T11:44:40", "name": "cmd: bdinfo: further document", "version": 2, "mbox": "http://patchwork.ozlabs.org/series/485831/mbox/" } ], "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2175528/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 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=none (p=none dis=none) header.from=0leil.net", "phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de", "phobos.denx.de;\n dmarc=none (p=none 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)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4dX8432xTNz1y2F\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 18 Dec 2025 22:45:23 +1100 (AEDT)", "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 5E2D583DBF;\n\tThu, 18 Dec 2025 12:44:55 +0100 (CET)", "by phobos.denx.de (Postfix, from userid 109)\n id 0183183D8A; Thu, 18 Dec 2025 12:44:54 +0100 (CET)", "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 32A6483D90\n for <u-boot@lists.denx.de>; Thu, 18 Dec 2025 12:44:51 +0100 (CET)", "from smtp-4-0000.mail.infomaniak.ch (unknown\n [IPv6:2001:1600:7:10::a6b])\n by smtp-4-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4dX83Q5SJPzGxH;\n Thu, 18 Dec 2025 12:44:50 +0100 (CET)", "from unknown by smtp-4-0000.mail.infomaniak.ch (Postfix) with ESMTPA\n id 4dX83Q1gQlzgj8; Thu, 18 Dec 2025 12:44:50 +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=-1.9 required=5.0 tests=BAYES_00,\n RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,\n RCVD_IN_VALIDITY_RPBL_BLOCKED,RCVD_IN_VALIDITY_SAFE_BLOCKED,\n SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2", "From": "Quentin Schulz <foss+uboot@0leil.net>", "Date": "Thu, 18 Dec 2025 12:44:43 +0100", "Subject": "[PATCH v2 3/3] doc: cmd: bdinfo: document options", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=\"utf-8\"", "Content-Transfer-Encoding": "7bit", "Message-Id": "<20251218-b4-bdinfo-doc-v2-3-2fb328750026@cherry.de>", "References": "<20251218-b4-bdinfo-doc-v2-0-2fb328750026@cherry.de>", "In-Reply-To": "<20251218-b4-bdinfo-doc-v2-0-2fb328750026@cherry.de>", "To": "u-boot@lists.denx.de", "Cc": "Michal Simek <michal.simek@amd.com>, Tom Rini <trini@konsulko.com>,\n Heinrich Schuchardt <xypron.glpk@gmx.de>, Simon Glass <sjg@chromium.org>,\n Ilias Apalodimas <ilias.apalodimas@linaro.org>,\n Sam Protsenko <semen.protsenko@linaro.org>,\n Quentin Schulz <quentin.schulz@cherry.de>", "X-Mailer": "b4 0.14.3", "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\nbdinfo may also have -a, -e and -m options depending on some symbols\nbeing set. Document all this and provide an example on how to use them\nand what they typically output.\n\nSigned-off-by: Quentin Schulz <quentin.schulz@cherry.de>\n---\n doc/usage/cmd/bdinfo.rst | 54 +++++++++++++++++++++++++++++++++++++++++++++++-\n 1 file changed, 53 insertions(+), 1 deletion(-)", "diff": "diff --git a/doc/usage/cmd/bdinfo.rst b/doc/usage/cmd/bdinfo.rst\nindex 2a5873a400a..b0d636d4b01 100644\n--- a/doc/usage/cmd/bdinfo.rst\n+++ b/doc/usage/cmd/bdinfo.rst\n@@ -13,12 +13,22 @@ Synopsis\n ::\n \n bdinfo\n+ bdinfo -a\n+ bdinfo -e\n+ bdinfo -m\n \n Description\n -----------\n \n The *bdinfo* command prints information about the board.\n \n+``bdinfo -a`` command is an alias of the ``bdinfo`` command and prints all\n+information about the board.\n+\n+``bdinfo -e`` command prints network-related information about the board.\n+\n+``bdinfo -m`` command prints the DRAM-related information about the board.\n+\n Example\n -------\n \n@@ -54,7 +64,44 @@ Example\n irq_sp = 0x000000013edbada0\n sp start = 0x000000013edbada0\n Early malloc usage: 3a8 / 2000\n- =>\n+ => bdinfo -a\n+ boot_params = 0x0000000000000000\n+ DRAM bank = 0x0000000000000000\n+ -> start = 0x0000000040000000\n+ -> size = 0x0000000100000000\n+ flashstart = 0x0000000000000000\n+ flashsize = 0x0000000004000000\n+ flashoffset = 0x00000000000e87f8\n+ baudrate = 115200 bps\n+ relocaddr = 0x000000013fefb000\n+ reloc off = 0x000000013fefb000\n+ Build = 64-bit\n+ current eth = virtio-net#32\n+ ethaddr = 52:52:52:52:52:52\n+ IP addr = 10.0.2.15\n+ fdt_blob = 0x000000013edbadb0\n+ new_fdt = 0x000000013edbadb0\n+ fdt_size = 0x0000000000100000\n+ lmb_dump_all:\n+ memory.cnt = 0x1\n+ memory[0] [0x40000000-0x13fffffff], 0x100000000 bytes flags: 0\n+ reserved.cnt = 0x2\n+ reserved[0] [0x13ddb3000-0x13fffffff], 0x0224d000 bytes flags: 0\n+ reserved[1] [0x13edb6930-0x13fffffff], 0x012496d0 bytes flags: 0\n+ devicetree = board\n+ arch_number = 0x0000000000000000\n+ TLB addr = 0x000000013fff0000\n+ irq_sp = 0x000000013edbada0\n+ sp start = 0x000000013edbada0\n+ Early malloc usage: 3a8 / 2000\n+ => bdinfo -e\n+ current eth = virtio-net#32\n+ ethaddr = 52:52:52:52:52:52\n+ IP addr = 10.0.2.15\n+ => bdinfo -m\n+ DRAM bank = 0x0000000000000000\n+ -> start = 0x0000000040000000\n+ -> size = 0x0000000100000000\n \n boot_params\n address of the memory area for boot parameters\n@@ -121,3 +168,8 @@ Configuration\n -------------\n \n The bdinfo command is available if CONFIG_CMD_BDI=y.\n+\n+The options to bdinfo are only available if CONFIG_GETOPT=y.\n+\n+The ``-e`` option is additionally only available if CONFIG_NET=y or\n+CONFIG_NET_LWIP=y.\n", "prefixes": [ "v2", "3/3" ] }