Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2217022/?format=api
{ "id": 2217022, "url": "http://patchwork.ozlabs.org/api/patches/2217022/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20260327151612.2000964-1-hugo@hugovil.com/", "project": { "id": 18, "url": "http://patchwork.ozlabs.org/api/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, "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20260327151612.2000964-1-hugo@hugovil.com>", "list_archive_url": null, "date": "2026-03-27T15:16:07", "name": "config_distro_bootcmd: do not scan boot partitions if distro_bootpart is defined", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "7e47a400a0cefa6c3861797f97992f4e5857eb5d", "submitter": { "id": 83028, "url": "http://patchwork.ozlabs.org/api/people/83028/?format=api", "name": "Hugo Villeneuve", "email": "hugo@hugovil.com" }, "delegate": { "id": 3651, "url": "http://patchwork.ozlabs.org/api/users/3651/?format=api", "username": "trini", "first_name": "Tom", "last_name": "Rini", "email": "trini@ti.com" }, "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20260327151612.2000964-1-hugo@hugovil.com/mbox/", "series": [ { "id": 497784, "url": "http://patchwork.ozlabs.org/api/series/497784/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=497784", "date": "2026-03-27T15:16:07", "name": "config_distro_bootcmd: do not scan boot partitions if distro_bootpart is defined", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/497784/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2217022/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2217022/checks/", "tags": {}, "related": [], "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 (1024-bit key;\n unprotected) header.d=hugovil.com header.i=@hugovil.com header.a=rsa-sha256\n header.s=default header.b=kvJvGol9;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de;\n envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org)", "phobos.denx.de;\n dmarc=pass (p=none dis=none) header.from=hugovil.com", "phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de", "phobos.denx.de;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=hugovil.com header.i=@hugovil.com header.b=\"kvJvGol9\";\n\tdkim-atps=neutral", "phobos.denx.de;\n dmarc=pass (p=none dis=none) header.from=hugovil.com", "phobos.denx.de;\n spf=pass smtp.mailfrom=hugo@hugovil.com" ], "Received": [ "from phobos.denx.de (phobos.denx.de\n [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01])\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 4fj43x1RKDz1y1P\n\tfor <incoming@patchwork.ozlabs.org>; Sat, 28 Mar 2026 02:16:29 +1100 (AEDT)", "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id CE09481E18;\n\tFri, 27 Mar 2026 16:16:20 +0100 (CET)", "by phobos.denx.de (Postfix, from userid 109)\n id 7C7A083C14; Fri, 27 Mar 2026 16:16:19 +0100 (CET)", "from mail.hugovil.com (mail.hugovil.com [162.243.120.170])\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 4B6C880077\n for <u-boot@lists.denx.de>; Fri, 27 Mar 2026 16:16:17 +0100 (CET)", "from modemcable168.174-80-70.mc.videotron.ca ([70.80.174.168]\n helo=pettiford.lan) by mail.hugovil.com with esmtpsa (TLS1.3) tls\n TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2)\n (envelope-from <hugo@hugovil.com>) id 1w68v1-000000003IH-0Bl3;\n Fri, 27 Mar 2026 11:16:15 -0400" ], "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,\n DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED,\n RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,RCVD_IN_VALIDITY_RPBL_BLOCKED,\n SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2", "DKIM-Signature": "v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=hugovil.com\n ; s=default;\n h=Content-Transfer-Encoding:MIME-Version:Message-ID:Date:Subject\n :Cc:To:From:subject:date:message-id:reply-to;\n bh=YA6fA6B1AE1RhjOfXz03D2Sq3xllHbc+ZpUPbKzQ4QE=; b=kvJvGol9Nl5f6KbWKU18OFAesy\n jps3kBbpUTUo2AnJmqLCzFPURfK+xMqdsgjJU7kDuMlKsm+YAls5cQwglVTsdH+LH0yx+rgcw1RRz\n Ruq/ZyzLC99ckCQdRGzRZdcY5YMydtEs2CttOvGLwSe+Z2eAB48krqC87AChtGJ0+Wck=;", "From": "Hugo Villeneuve <hugo@hugovil.com>", "To": "Tom Rini <trini@konsulko.com>", "Cc": "hugo@hugovil.com, Hugo Villeneuve <hvilleneuve@dimonoff.com>,\n u-boot@lists.denx.de", "Subject": "[PATCH] config_distro_bootcmd: do not scan boot partitions if\n distro_bootpart is defined", "Date": "Fri, 27 Mar 2026 11:16:07 -0400", "Message-ID": "<20260327151612.2000964-1-hugo@hugovil.com>", "X-Mailer": "git-send-email 2.47.3", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "X-Spam_score": "-1.0", "X-Spam_bar": "-", "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: Hugo Villeneuve <hvilleneuve@dimonoff.com>\n\nFor some projects, designing the active bootable partition is done by\nsetting distro_bootpart in the environment instead of changing the bootable\nflag on the active partition.\n\nThis patch makes it possible to support both models by scanning boot\npartitions only if distro_bootpart is not defined in the environment.\n\nSigned-off-by: Hugo Villeneuve <hvilleneuve@dimonoff.com>\n---\n include/config_distro_bootcmd.h | 8 ++++++--\n 1 file changed, 6 insertions(+), 2 deletions(-)\n\n\nbase-commit: c24a72c35abe9cbbeb72e2effc6b6c73cd828a32", "diff": "diff --git a/include/config_distro_bootcmd.h b/include/config_distro_bootcmd.h\nindex 7b6ac6eed9d..8d6f80a0ce5 100644\n--- a/include/config_distro_bootcmd.h\n+++ b/include/config_distro_bootcmd.h\n@@ -543,8 +543,12 @@\n \t\t\"\\0\" \\\n \t\\\n \t\"scan_dev_for_boot_part=\" \\\n-\t\tSCAN_DEV_FOR_BOOT_PARTS \\\n-\t\t\"env exists devplist || setenv devplist 1; \" \\\n+\t\t\"if env exists distro_bootpart; then \" \\\n+\t\t\t\"setenv devplist ${distro_bootpart}; \" \\\n+\t\t\"else \" \\\n+\t\t\tSCAN_DEV_FOR_BOOT_PARTS \\\n+\t\t\t\"env exists devplist || setenv devplist 1; \" \\\n+\t\t\"fi; \" \\\n \t\t\"for distro_bootpart in ${devplist}; do \" \\\n \t\t\t\"if fstype ${devtype} \" \\\n \t\t\t\t\t\"${devnum}:${distro_bootpart} \" \\\n", "prefixes": [] }