Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2224027/?format=api
{ "id": 2224027, "url": "http://patchwork.ozlabs.org/api/patches/2224027/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20260416-ui-cosmetics-v4-1-b843ba661b3f@postmarketos.org/", "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": "<20260416-ui-cosmetics-v4-1-b843ba661b3f@postmarketos.org>", "list_archive_url": null, "date": "2026-04-16T14:57:41", "name": "[v4,1/4] autoboot: allow custom prompt without requiring AUTOBOOT_KEYED", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "ef769d536f210382721892537ce99d245a5bc52f", "submitter": { "id": 90020, "url": "http://patchwork.ozlabs.org/api/people/90020/?format=api", "name": "Ferass El Hafidi", "email": "funderscore@postmarketos.org" }, "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/20260416-ui-cosmetics-v4-1-b843ba661b3f@postmarketos.org/mbox/", "series": [ { "id": 500175, "url": "http://patchwork.ozlabs.org/api/series/500175/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=500175", "date": "2026-04-16T14:57:40", "name": "Autoboot prompt customization and bootmenu cosmetics", "version": 4, "mbox": "http://patchwork.ozlabs.org/series/500175/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2224027/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2224027/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=lCXo6cei;\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=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=\"lCXo6cei\";\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 [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 4fxLjh3zNqz1yHP\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 17 Apr 2026 00:58:16 +1000 (AEST)", "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id F2D1384223;\n\tThu, 16 Apr 2026 16:58:03 +0200 (CEST)", "by phobos.denx.de (Postfix, from userid 109)\n id 31F9D840AB; Thu, 16 Apr 2026 16:58:02 +0200 (CEST)", "from out-183.mta0.migadu.com (out-183.mta0.migadu.com\n [91.218.175.183])\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 18B03841D5\n for <u-boot@lists.denx.de>; Thu, 16 Apr 2026 16:58:00 +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=1776351479;\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=/iKhnXumiWAvIt5tB3bahgiWoprzGPaoEPa0Kq2JmBc=;\n b=lCXo6ceiTyLy7mRc10NKF9atVo5hpA4ah4y52Egr1RVIb2nuKfgTyF1naSrugVKHApdFDL\n t/h5VJmbE9VslrgWBxsYatMy0dNNxhMKwEhZQQCDObwnKJszLyoeO1pgL6T8DqUAhxzCNI\n cmet21VszZcu7OtlsuqXp09c3GkHxRkD/X8Kh0SgImjxUiXpsLPfCQ47XK8XQRpqX4V6N3\n DdW/0yobg6HC8zFvJjr3q4mzIiYvetkJxFX+nu37wjzGNAEMSU3IMqJt9Pj65gp52gXaT4\n 993L+ZDhRku9PEVjaC6qS0huOVCLEgYQI91K93hgQBleQWwPgh5LEbD+uBX5Cg==", "From": "Ferass El Hafidi <funderscore@postmarketos.org>", "Date": "Thu, 16 Apr 2026 14:57:41 +0000", "Subject": "[PATCH v4 1/4] 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": "<20260416-ui-cosmetics-v4-1-b843ba661b3f@postmarketos.org>", "References": "<20260416-ui-cosmetics-v4-0-b843ba661b3f@postmarketos.org>", "In-Reply-To": "<20260416-ui-cosmetics-v4-0-b843ba661b3f@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=2946;\n i=funderscore@postmarketos.org; h=from:subject:message-id;\n bh=W78OJh6lLsKhVjq1BgDGzcNc1Ap3s5X1sVTHGBV6qo0=;\n b=owEBbQKS/ZANAwAKAYSvy9DXiZoDAcsmYgBp4Pj0OvVP2IwNrzwgfauLEWTMQino98ILBJE5Q\n FpLM8R5wZiJAjMEAAEKAB0WIQQDAbw3+1VcrP15i+6Er8vQ14maAwUCaeD49AAKCRCEr8vQ14ma\n A4mTD/9BwRfDQaueGWILV+aPIwrdpGreflKBRHPsZaJW2h5/rk/JZ7TgFQ2S4wxzLIjdjjEZ6Nl\n xiLjp3joSoJMP+urlqQPpbfhxNLcNQvvrByzT3T8A/R0Xg4XfQ0Po1G7izEo/E4jA9nIUgdxqBo\n 3VVJWhP+veLxogRE1ozpnLKnmZDrwAIewkd/vHhzakSAn5Tmq0lMnGw7aiQbKEIiDMhBCBqx33j\n KJnT1ZhG4jWSCHo2UNTBOam4/93gFK49x8U390Sn7viN7KBTkxgBCXNoMy7DOzQ4ew8ydr/LKwx\n p/V+zczcfnayGpLE4ZD1a5NypokeHo1gvdoW6SuLf4sil7sBvxHK3thZFY9yonNMj+M59MTJmht\n LNsUJ0c8xnBs0WXCQn0oG0a/QRVryOrMjhwoDHcu3hDdhT94TpaXWSR4yQ/IUM1RLHzh7tsTLy2\n pYZay1kzDmOBriU7wMTI2WPwS+9Sekb+eDFcI1AenRVs7J/kwwhYCXT9aF9EB1uBwHfRdx2Swzz\n CiB/o8SsSv7JOfuiQw4QNgGHDB8oH8aUFpckIHfBz319ukG8loPdklEKhC7V2xTxXSaTT8OGKRt\n 1dJ7Kdm9oMAzGhUrZl/keBg+utYSvq0JCh66Ts4hbtKs2KdBIDwODAHhqW8QwThWmml/eXhkfp/\n 5JWyZ78jc88qhvQ==", "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\nReviewed-by: Simon Glass <sjg@chromium.org>\nReviewed-by: Tom Rini <trini@konsulko.com>\nSigned-off-by: Ferass El Hafidi <funderscore@postmarketos.org>\n---\n boot/Kconfig | 30 +++++++++++++++---------------\n common/autoboot.c | 2 +-\n 2 files changed, 16 insertions(+), 16 deletions(-)", "diff": "diff --git a/boot/Kconfig b/boot/Kconfig\nindex bfed452d77e..039c5acc023 100644\n--- a/boot/Kconfig\n+++ b/boot/Kconfig\n@@ -1560,6 +1560,21 @@ 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.\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 +1612,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..7114ee58f47 100644\n--- a/common/autoboot.c\n+++ b/common/autoboot.c\n@@ -379,7 +379,7 @@ 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+\tprintf(ANSI_CLEAR_LINE CONFIG_AUTOBOOT_PROMPT, bootdelay);\n }\n \n static int abortboot_single_key(int bootdelay)\n", "prefixes": [ "v4", "1/4" ] }