{"id":2223559,"url":"http://patchwork.ozlabs.org/api/covers/2223559/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/cover/20260415-ui-cosmetics-v3-0-aa8308a47e33@postmarketos.org/","project":{"id":18,"url":"http://patchwork.ozlabs.org/api/projects/18/?format=json","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-0-aa8308a47e33@postmarketos.org>","list_archive_url":null,"date":"2026-04-15T14:32:30","name":"[v3,0/3] Autoboot prompt customization and bootmenu cosmetics","submitter":{"id":90020,"url":"http://patchwork.ozlabs.org/api/people/90020/?format=json","name":"Ferass El Hafidi","email":"funderscore@postmarketos.org"},"mbox":"http://patchwork.ozlabs.org/project/uboot/cover/20260415-ui-cosmetics-v3-0-aa8308a47e33@postmarketos.org/mbox/","series":[{"id":500008,"url":"http://patchwork.ozlabs.org/api/series/500008/?format=json","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/covers/2223559/comments/","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=jh5eN4M+;\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=\"jh5eN4M+\";\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)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fwljh3xB3z1yHd\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 5282E84207;\n\tWed, 15 Apr 2026 17:40:59 +0200 (CEST)","by phobos.denx.de (Postfix, from userid 109)\n id 06A8A84105; Wed, 15 Apr 2026 17:40:58 +0200 (CEST)","from out-188.mta0.migadu.com (out-188.mta0.migadu.com\n [IPv6:2001:41d0:1004:224b::bc])\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 B187583B99\n for <u-boot@lists.denx.de>; Wed, 15 Apr 2026 17:40:54 +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=1776267653;\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 bh=ZQ/CIWwdqaVbuupSXcl78Ecm7x0SHwJtH5l3P2b2BmQ=;\n b=jh5eN4M+uIjsuIz60pYtMf3zMDc2krTyElMUTDYuD92c68vlbK2ZmaQwyaYDv0xASbR6KO\n dEr4XwjBfvoAvhSJ1C7IK3UE91/JHqNq84bulvxrzYjrAmGVJDmaMJ6IBN1zhAJbGSyQln\n 3n8/C4CEZRHGtjSZ/ZxzIzOfw6/UCsrRntwhyNFCaFuwhMwFRZoGVfexE+8ROPcT9AVz+/\n q/vbWrGBti9ncMu8BCxoKbeXTkjwZj65rdtQG8wd4RPRADiJI4Lgx37Iwr/+87jFYfW6Xr\n d6FR+Qq8OfGF26V8YIOBPZUU8wNNohvnJV2ZovdXdBy/W8OudTD1lFDz2fm/aw==","From":"Ferass El Hafidi <funderscore@postmarketos.org>","Subject":"[PATCH v3 0/3] Autoboot prompt customization and bootmenu\n cosmetics","Date":"Wed, 15 Apr 2026 14:32:30 +0000","Message-Id":"<20260415-ui-cosmetics-v3-0-aa8308a47e33@postmarketos.org>","MIME-Version":"1.0","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"7bit","X-B4-Tracking":"v=1; b=H4sIAH6h32kC/23MSw6CMBSF4a2Qjq3pA4tx5D6Mg1IucGOgpLc2G\n sLeLThR4/A/yflmRhAQiJ2KmQVISOjHHHpXMNfbsQOOTW6mhDJCa8nvyJ2nASI64taCEpWtoTE\n 1y5cpQIuPjbtcc/dI0Yfnpie5rm+oFIdvKEkueN224LSzrirlefIUBxtuED3tfejY6iX1aRx/D\n JWNSsnGmUZJaewfY1mWFydqoczzAAAA","X-Change-ID":"20260331-ui-cosmetics-aae207abed6b","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=2118;\n i=funderscore@postmarketos.org; h=from:subject:message-id;\n bh=YoV2GL4iFBOLF9KjmATl2Amer2v6v8TNJfKD9hsWBHs=;\n b=owEBbQKS/ZANAwAKAYSvy9DXiZoDAcsmYgBp37F8bmTc6YD2KV5BoCKy55wRijZ216F5K/4Qd\n 8x+gjv5tmqJAjMEAAEKAB0WIQQDAbw3+1VcrP15i+6Er8vQ14maAwUCad+xfAAKCRCEr8vQ14ma\n A/FmD/9bkOAI2MZXRhyFIqri4TcDWDqJw/U3uz3e8wM2BIPjbpSYQweIKtmK7lDSyp99tyK9cmr\n 3UV3rGB/jHQHUB/pZ8+d6+CJwGfdWK/HYCcc22jamNPnq4n+ecHYaXJE4XAQpLVlb9xAFEdX+sY\n Rs4pf60q0sWID+z4QzGxVNOaK7QjcalxihPDfmHi4SR2fHqSdtvGAWJj+PW4u4Q6WHP1cura1gp\n cZWmm8qQ3JLvCo3B4omhQIrJR6jcqC4Gi7U3BkwGLO7BzhYL0WvTA1Hgtzj45IM5yzQJJStYq24\n h2TtuBDtqa8rDt3Twg+2FhhoSKo5K14vAKKSQp0J2VSYk9pTYg59dOWsdpR0gLhMxXTUyQgx+IT\n 1HE4vsT0ziImaoZy3+B+1QI7P+yUdId8KcAPAT46DH4pLkWfN7/Tk2dGJifXSJYo83xQlA5OTF0\n /IIex20QJbN4ymRDYnNyZoz8lFaYZ/5twdfuHslDUftG8nK32Eputc+z/l2qaCKIO7ZULNa5T4X\n 9ta+3GLILfWazPwg/W7OgXltteB003eKNvrGCeJJoKo8kirLu8zujxuadfbZf4qSrE2kKb3v0bx\n FM1GnanDsJjAzDG6H4qtfSxr98WeJ1kJjfeUXf4xisSgRi6zk/e4BVvjKTpNFPc5eoK9CB1zVET\n 8Xa90cPhHBd5ufQ==","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":"This is a small patch series to make the autoboot prompt configurable\nregardless of if CONFIG_AUTOBOOT_KEYED is enabled, which is very useful\nwith a splash screen. My usecase is, with some ANSI magic, moving the\nautoboot prompt to the very bottom of the screen and highlighted, with a\nsplash screen shown.\nSomething like this: https://ircb.dersco.re/uploads/funderscore/efa2a27132e56891\nIt feels wrong to require AUTOBOOT_KEYED only for that usecase.\n\nAlso, the bootmenu now prints ANSI_CLEAR_LINE before each entry, which\nhas the effect of highlighting the entire line entry on vidconsole, just\nlike eficonfig. I can drop that one if it's not very useful, just\nthought it would look nice.\n\nAnd while at it, and because this has been due for a long time, convert\nautoboot documentation to rST, so it is part of the public docs, instead\nof a plain text file.\n\nSigned-off-by: Ferass El Hafidi <funderscore@postmarketos.org>\n---\nChanges in v3:\n - Add Tom and Simon's R-b's\n - Convert autoboot documentation to rST\n - Link to v2: https://lore.kernel.org/r/20260408-ui-cosmetics-v2-0-721dc6d2116a@postmarketos.org\n\nChanges in v2:\n - Remove #ifdef/#endif near printf in print_boot_delay: no need to\n   guard the printf as CONFIG_AUTOBOOT_PROMPT must be set\n - Link to v1: https://lore.kernel.org/r/20260405-ui-cosmetics-v1-0-bffec3cac741@postmarketos.org\n\n---\nFerass El Hafidi (3):\n      autoboot: allow custom prompt without requiring AUTOBOOT_KEYED\n      cmd: bootmenu: ANSI_CLEAR_LINE before entry name\n      doc: usage: convert autoboot README to rST\n\n boot/Kconfig           |  30 ++++-----\n cmd/bootmenu.c         |   2 +-\n common/autoboot.c      |   2 +-\n doc/README.autoboot    | 162 -------------------------------------------------\n doc/usage/autoboot.rst | 149 +++++++++++++++++++++++++++++++++++++++++++++\n doc/usage/index.rst    |   1 +\n 6 files changed, 167 insertions(+), 179 deletions(-)\n---\nbase-commit: 0da1866a8fdd4d4bc4837ef2af281dbe010ae16b\nchange-id: 20260331-ui-cosmetics-aae207abed6b\n\nBest regards,"}