Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2223558/?format=api
{ "id": 2223558, "url": "http://patchwork.ozlabs.org/api/patches/2223558/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20260415-ui-cosmetics-v3-1-aa8308a47e33@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": "<20260415-ui-cosmetics-v3-1-aa8308a47e33@postmarketos.org>", "list_archive_url": null, "date": "2026-04-15T14:32:31", "name": "[v3,1/3] 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/20260415-ui-cosmetics-v3-1-aa8308a47e33@postmarketos.org/mbox/", "series": [ { "id": 500008, "url": "http://patchwork.ozlabs.org/api/series/500008/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=500008", "date": "2026-04-15T14:32:30", "name": "Autoboot prompt customization and bootmenu cosmetics", "version": 3, "mbox": "http://patchwork.ozlabs.org/series/500008/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2223558/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2223558/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=X8aaBGMo;\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=\"X8aaBGMo\";\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 (unknown\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)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fwljh282Nz1yCv\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 16 Apr 2026 01:41:12 +1000 (AEST)", "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 08E2584119;\n\tWed, 15 Apr 2026 17:40:59 +0200 (CEST)", "by phobos.denx.de (Postfix, from userid 109)\n id CEA12841C8; Wed, 15 Apr 2026 17:40:57 +0200 (CEST)", "from out-177.mta0.migadu.com (out-177.mta0.migadu.com\n [IPv6:2001:41d0:1004:224b::b1])\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 BACE984105\n for <u-boot@lists.denx.de>; Wed, 15 Apr 2026 17:40:55 +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 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=1776267655;\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=X8aaBGMo+m/MB2kXvDeBZ7WehxRl7AI5NyszTksTT4Hx3uIYHyitqScQ9tQicmYdcdbMda\n UpBwDuuMtwmUT5ybhMTM6KihA8ogeiOjk5NUxCX+5I9bsjHNSwQbkCxrdN63cypBbxz5Oe\n dPQnWFyVI9/oYu4xJKg4gsiwptADH88Yhrbcu495Vf73s9bw2jSO2yXlNbaSQVfKFZ24pH\n WuFc70Illn7wpMf8qlZiVMaxJs+N/T5LAfqfnD1Nu5iZG2Qu58niTPOwGv5k0+ClXIyxoc\n AXO4w15YNL49sB24BDsLjt9u7KMUCdiFYaVvqXSY+Ib8ko8+InnOlgOTBT4+dA==", "From": "Ferass El Hafidi <funderscore@postmarketos.org>", "Date": "Wed, 15 Apr 2026 14:32:31 +0000", "Subject": "[PATCH v3 1/3] 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": "<20260415-ui-cosmetics-v3-1-aa8308a47e33@postmarketos.org>", "References": "<20260415-ui-cosmetics-v3-0-aa8308a47e33@postmarketos.org>", "In-Reply-To": "<20260415-ui-cosmetics-v3-0-aa8308a47e33@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/ZANAwAKAYSvy9DXiZoDAcsmYgBp37GD66WJzK3Ns/bdFDYTHy4pF6siFPKYPRKtu\n TMkg0EOm1SJAjMEAAEKAB0WIQQDAbw3+1VcrP15i+6Er8vQ14maAwUCad+xgwAKCRCEr8vQ14ma\n A+5CEACVYd4k487T05vBirLKntE9M0AJ6kdSrUcYnywDtnASCpdtWUgFzJjLIB9KuuVJ5ODngRU\n aQJOLn+e3DWDPg2+g7xEoZNUUKamoWuukcLZE3TRusjA6BJx+17gclSfkHSpKToMFS0K/dBuBBL\n CenjoacPjCxivyF5LV+UQj0Gn+oUsuH/rkfx6Mt7aufi/0z19tKfLpl2rCEGT8T/io1cK4VYUCZ\n pzPZscOkmrWATuJ0W2R9Qlx5Ci25T3u7kToZf5jryzsacWpVz87DhKqg3U8Ns5UUxiccQb6r6ES\n 3EbCELYcHLlwlVuI1IwE+IdMofpxAnz5kZJtFrsQ14lzpu35+UfhI5d+h0OFzn7/rblkRzyMZjd\n D3fzH5GMSRYj4wJNrra5pIlpQ+KBC4NsaoENV4uAYiJomWn3HCXj9LNnxo2l36wuUrbKL8EPJIT\n WUt2iLfKpIqzpVDXYM6rH5LSd5J/cUImq7frDJ0KPqu08ZwLgDaVbEA3guTVcup5FF58WYMGMiv\n rIhjDBIiovx2dUrVWVIJ/6T8+xfx/QNyx/BsFzjXvuGqOHvLny4hjnR1I2MskXichYwyBOA+3fd\n YPVld7a17Y4zRa5SPVt5KteX4X9v0HXnr5Q27FkKlL71/3/gsr5i2LAeIgfSfP9g+q95W8qCaLy\n YfGQqf7loGKxTHA==", "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": [ "v3", "1/3" ] }