Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.2/patches/2219902/?format=api
{ "id": 2219902, "url": "http://patchwork.ozlabs.org/api/1.2/patches/2219902/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20260405-ui-cosmetics-v1-1-bffec3cac741@postmarketos.org/", "project": { "id": 18, "url": "http://patchwork.ozlabs.org/api/1.2/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": "<20260405-ui-cosmetics-v1-1-bffec3cac741@postmarketos.org>", "list_archive_url": null, "date": "2026-04-05T10:49:04", "name": "[1/2] autoboot: allow custom prompt without requiring AUTOBOOT_KEYED", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "fa285a2c74c8f4928bf80ae18fd783dc71d1e4b1", "submitter": { "id": 90020, "url": "http://patchwork.ozlabs.org/api/1.2/people/90020/?format=api", "name": "Ferass El Hafidi", "email": "funderscore@postmarketos.org" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20260405-ui-cosmetics-v1-1-bffec3cac741@postmarketos.org/mbox/", "series": [ { "id": 498773, "url": "http://patchwork.ozlabs.org/api/1.2/series/498773/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=498773", "date": "2026-04-05T10:49:03", "name": "Autoboot prompt customization and bootmenu cosmetics", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/498773/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2219902/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2219902/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 (2048-bit key;\n unprotected) header.d=postmarketos.org header.i=@postmarketos.org\n header.a=rsa-sha256 header.s=key1 header.b=CLLf6jcn;\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=quarantine dis=none) header.from=postmarketos.org", "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=postmarketos.org header.i=@postmarketos.org\n header.b=\"CLLf6jcn\";\n\tdkim-atps=neutral", "phobos.denx.de; dmarc=pass (p=quarantine dis=none)\n header.from=postmarketos.org", "phobos.denx.de;\n spf=pass smtp.mailfrom=funderscore@postmarketos.org" ], "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 4fpTk339pmz1y2d\n\tfor <incoming@patchwork.ozlabs.org>; Sun, 05 Apr 2026 20:49:47 +1000 (AEST)", "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id CE3D080433;\n\tSun, 5 Apr 2026 12:49:38 +0200 (CEST)", "by phobos.denx.de (Postfix, from userid 109)\n id 13C2B840BE; Sun, 5 Apr 2026 12:49:38 +0200 (CEST)", "from out-181.mta0.migadu.com (out-181.mta0.migadu.com\n [91.218.175.181])\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 1F8F1800AE\n for <u-boot@lists.denx.de>; Sun, 5 Apr 2026 12:49:36 +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,\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", "X-Report-Abuse": "Please report any abuse attempt to abuse@migadu.com and\n include these headers.", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=postmarketos.org;\n s=key1; t=1775386175;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:cc:mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding:\n in-reply-to:in-reply-to:references:references;\n bh=ma+Kw8vbfQA6TMTBJJfSlJNa7LMMmnZFAogf6evXocQ=;\n b=CLLf6jcn9lhjAdu7rsba8lU6EuenCp1TaFBwNCzvpcIsPIzdHNi+blO0UIJ9hmj2eLVR6s\n XrOUeL3oYtXvTzk712/BxF0dP6AxdASmpSD3NOyBumZkYmV0YpSnuafWBnSA7iM7najRLP\n 5wvLnf9raoppS6G7b9hYpnAeaou4z1e6qs2dv/5ta94kRuSphyOZn3h9kj9Ft6MZTQo7mt\n daWlpO0PFwEcet+MCpmrZyhpD2aD6Q+vab8G/S5XoKYzdAcb1VQzbFzOc/MyRq/1JhADNU\n IsCtucqFKdD+0YQ2UCT7aY6QWSPlgXMZgFW2AEwW8u+BomwJ1NljrQWnP0Qsjg==", "From": "Ferass El Hafidi <funderscore@postmarketos.org>", "Date": "Sun, 05 Apr 2026 10:49:04 +0000", "Subject": "[PATCH 1/2] autoboot: allow custom prompt without requiring\n AUTOBOOT_KEYED", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=\"utf-8\"", "Content-Transfer-Encoding": "7bit", "Message-Id": "<20260405-ui-cosmetics-v1-1-bffec3cac741@postmarketos.org>", "References": "<20260405-ui-cosmetics-v1-0-bffec3cac741@postmarketos.org>", "In-Reply-To": "<20260405-ui-cosmetics-v1-0-bffec3cac741@postmarketos.org>", "To": "u-boot@lists.denx.de", "Cc": "Tom Rini <trini@konsulko.com>, Quentin Schulz <quentin.schulz@cherry.de>,\n \"Kory Maincent (TI.com)\" <kory.maincent@bootlin.com>,\n Simon Glass <sjg@chromium.org>,\n Mattijs Korpershoek <mkorpershoek@kernel.org>,\n Anshul Dalal <anshuld@ti.com>, Heinrich Schuchardt <xypron.glpk@gmx.de>,\n Martin Schwan <m.schwan@phytec.de>, David Zang <davidzangcs@gmail.com>,\n Sam Protsenko <semen.protsenko@linaro.org>,\n Christian Marangi <ansuelsmth@gmail.com>,\n Ferass El Hafidi <funderscore@postmarketos.org>", "X-Developer-Signature": "v=1; a=openpgp-sha256; l=2987;\n i=funderscore@postmarketos.org; h=from:subject:message-id;\n bh=ceBlH5AD2mi/U+/I7Vmaq8mCrvY8ROSyhcTklPyGFy0=;\n b=owEBbQKS/ZANAwAKAYSvy9DXiZoDAcsmYgBp0j45lKpi0rzMlfSZAe75fvyr+bChKLrZd3W3g\n BLspWZSJE2JAjMEAAEKAB0WIQQDAbw3+1VcrP15i+6Er8vQ14maAwUCadI+OQAKCRCEr8vQ14ma\n A7LLD/42APKYa/w7RZ58TifpX2c4zsb8q2ktdg2RHFkcNrAA8u/JdwMfNKlz9mjN4Ihbh8ghXM9\n QHNkl4802OKjNQ1o9mgCfav1B3+FpjqnjQvKUBtIwsPo3KKmtaBDPmmoWwkAB+gSIahLLM4HORp\n RGsqTovAhfDR/xdYW1F7dze50JnQ7lNXP/0Kkqmpgtf1u2Fithl4Jt3UHd6W2yWqssKXLvagjvE\n Rlvd5X9QIlgZQnC4h562+8G7lzp9iViUgzKU4pGEGzKnl3x03Vd4WD9+lOrYOTAOmYnYFKRnGBj\n mgymtNHD9CMAnD/6iaeYo7mK/VVKic0p5PcbdtzVHeB7K6VeIAjAm73SS95+iPpzTe4QNM1YtDS\n LgRH4l3JK7x6Q25yxZe3F31vSTRTe+3Cqe3OgO8VZmPgxwEYbIkbmQGNHz1hn2Z4/nMSvCRjKGz\n U65v9xXivqBRcZfMAo9sPr+APUCOiWMH71hOzDXPjPq4POWoQjgK+D2SMuUO38DbUrGIaIIXeA+\n VwL8nF2bSAZjOuWxh7ectZockiNfmJW6W4BeIFzHc03JM/DAlxkH8ncPs+mqQixK0NeX65KQvxQ\n Nk0msLtLbnrmS9JizIOLbJNvTHAjgiVP6lJBhOZXQZ+nR46CTTEWvSWuDmvQdl6umFLrHMD+RsD\n zDVxlgIOqPA6Tcw==", "X-Developer-Key": "i=funderscore@postmarketos.org; a=openpgp;\n fpr=0301BC37FB555CACFD798BEE84AFCBD0D7899A03", "X-Migadu-Flow": "FLOW_OUT", "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": "The autoboot prompt used to only be customizable in Kconfig when\nAUTOBOOT_KEYED was enabled. For a usecase such as having a nicer\nautoboot prompt alongside a splash screen, there is no reason for\nAUTOBOOT_KEYED to be required for this.\n\nRemove the dependency to AUTOBOOT_KEYED, and use AUTOBOOT_PROMPT in\nprint_boot_delay() instead of a hardcoded string.\n\nSigned-off-by: Ferass El Hafidi <funderscore@postmarketos.org>\n---\n boot/Kconfig | 31 ++++++++++++++++---------------\n common/autoboot.c | 4 +++-\n 2 files changed, 19 insertions(+), 16 deletions(-)", "diff": "diff --git a/boot/Kconfig b/boot/Kconfig\nindex bfed452d77e..6c8ec356996 100644\n--- a/boot/Kconfig\n+++ b/boot/Kconfig\n@@ -1560,6 +1560,22 @@ config AUTOBOOT\n \thelp\n \t This enables the autoboot. See doc/README.autoboot for detail.\n \n+config AUTOBOOT_PROMPT\n+\tstring \"Autoboot stop prompt\"\n+\tdefault \"Autoboot in %d seconds\\\\n\" if AUTOBOOT_KEYED\n+\tdefault \"\\\\rHit any key to stop autoboot: %d\"\n+\thelp\n+\t This string is displayed before the boot delay selected by\n+\t CONFIG_BOOTDELAY starts. If it is not defined\tthere is no\n+\t output indicating that autoboot is in progress.\n+\n+\t Note that this define is used as the (only) argument to a\n+\t printf() call, so it may contain '%' format specifications,\n+\t provided that it also includes, separated by commas exactly\n+\t like in a printf statement, the required arguments. It is\n+\t the responsibility of the user to select only such arguments\n+\t that are valid in the given context.\n+\n if AUTOBOOT\n \n config BOOTDELAY\n@@ -1597,21 +1613,6 @@ config AUTOBOOT_FLUSH_STDIN\n \t This can't be enabled for the sandbox as flushing stdin would\n \t break the autoboot unit tests.\n \n-config AUTOBOOT_PROMPT\n-\tstring \"Autoboot stop prompt\"\n-\tdefault \"Autoboot in %d seconds\\\\n\"\n-\thelp\n-\t This string is displayed before the boot delay selected by\n-\t CONFIG_BOOTDELAY starts. If it is not defined\tthere is no\n-\t output indicating that autoboot is in progress.\n-\n-\t Note that this define is used as the (only) argument to a\n-\t printf() call, so it may contain '%' format specifications,\n-\t provided that it also includes, separated by commas exactly\n-\t like in a printf statement, the required arguments. It is\n-\t the responsibility of the user to select only such arguments\n-\t that are valid in the given context.\n-\n config AUTOBOOT_ENCRYPTION\n \tbool \"Enable encryption in autoboot stopping\"\n \thelp\ndiff --git a/common/autoboot.c b/common/autoboot.c\nindex 1783ef92c94..d12d618fea3 100644\n--- a/common/autoboot.c\n+++ b/common/autoboot.c\n@@ -379,7 +379,9 @@ static int abortboot_key_sequence(int bootdelay)\n \n static void print_boot_delay(int bootdelay)\n {\n-\tprintf(ANSI_CLEAR_LINE \"\\rHit any key to stop autoboot: %d\", bootdelay);\n+#ifdef CONFIG_AUTOBOOT_PROMPT\n+\tprintf(ANSI_CLEAR_LINE CONFIG_AUTOBOOT_PROMPT, bootdelay);\n+#endif\n }\n \n static int abortboot_single_key(int bootdelay)\n", "prefixes": [ "1/2" ] }