{"id":2229909,"url":"http://patchwork.ozlabs.org/api/1.1/patches/2229909/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/patch/20260428-spl_fit_full-v1-1-dde63beeaab1@valla.it/","project":{"id":18,"url":"http://patchwork.ozlabs.org/api/1.1/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},"msgid":"<20260428-spl_fit_full-v1-1-dde63beeaab1@valla.it>","date":"2026-04-28T20:24:42","name":"[1/5] boot: fit: fix FIT verification in SPL","commit_ref":null,"pull_url":null,"state":"new","archived":false,"hash":"2b7b3e9ee526dccb2e22898280f1b336d41f8470","submitter":{"id":90982,"url":"http://patchwork.ozlabs.org/api/1.1/people/90982/?format=json","name":"Francesco Valla","email":"francesco@valla.it"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/uboot/patch/20260428-spl_fit_full-v1-1-dde63beeaab1@valla.it/mbox/","series":[{"id":501930,"url":"http://patchwork.ozlabs.org/api/1.1/series/501930/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/list/?series=501930","date":"2026-04-28T20:24:41","name":"Enhance the SPL FIT \"full\" loading logic","version":1,"mbox":"http://patchwork.ozlabs.org/series/501930/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/2229909/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/2229909/checks/","tags":{},"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=fail reason=\"signature verification failed\" (1024-bit key;\n unprotected) header.d=antispam.mailspamprotection.com\n header.i=@antispam.mailspamprotection.com header.a=rsa-sha256\n header.s=default header.b=kPJp3tGO;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n unprotected) header.d=valla.it header.i=@valla.it header.a=rsa-sha256\n header.s=default header.b=IvE5AdB3;\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=fail (p=none dis=none) header.from=valla.it","phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de","phobos.denx.de;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n unprotected) header.d=antispam.mailspamprotection.com\n header.i=@antispam.mailspamprotection.com header.b=\"kPJp3tGO\";\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n unprotected) header.d=valla.it header.i=@valla.it header.b=\"IvE5AdB3\";\n\tdkim-atps=neutral","phobos.denx.de;\n dmarc=pass (p=none dis=none) header.from=valla.it","phobos.denx.de;\n spf=pass smtp.mailfrom=francesco@valla.it","\n outgoing.instance-europe-west4-z056.prod.antispam.mailspamprotection.com;\n iprev=pass (214.173.214.35.bc.googleusercontent.com)\n smtp.remote-ip=35.214.173.214;\n auth=pass (LOGIN) smtp.auth=esm19.siteground.biz;\n dkim=pass header.d=valla.it header.s=default header.a=rsa-sha256;\n arc=none"],"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 4g4sPz5Mqgz1xrS\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 29 Apr 2026 06:25:43 +1000 (AEST)","from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id E3ADC846A0;\n\tTue, 28 Apr 2026 22:25:26 +0200 (CEST)","by phobos.denx.de (Postfix, from userid 109)\n id 0DFEF84612; Tue, 28 Apr 2026 22:25:26 +0200 (CEST)","from delivery.antispam.mailspamprotection.com\n (delivery.antispam.mailspamprotection.com [185.56.87.11])\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 1191C8466D\n for <u-boot@lists.denx.de>; Tue, 28 Apr 2026 22:25:24 +0200 (CEST)","from 214.173.214.35.bc.googleusercontent.com ([35.214.173.214]\n helo=esm19.siteground.biz)\n by instance-europe-west4-z056.prod.antispam.mailspamprotection.com with\n esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.99.1)\n (envelope-from <francesco@valla.it>) id 1wHozh-000000024mB-0xaF\n for u-boot@lists.denx.de; Tue, 28 Apr 2026 20:25:23 +0000","from [95.248.129.24] (port=64167 helo=[192.168.178.175])\n by esm19.siteground.biz with essmtpa  (TLS1.3) tls TLS_AES_256_GCM_SHA384\n (Exim 4.99.1) (envelope-from <francesco@valla.it>)\n id 1wHozJ-000000002Bh-44I5; Tue, 28 Apr 2026 20:24:58 +0000"],"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_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS\n autolearn=ham autolearn_force=no version=3.4.2","ARC-Seal":"i=1; cv=none; a=rsa-sha256;\n d=outgoing.instance-europe-west4-z056.prod.antispam.mailspamprotection.com;\n s=arckey; t=1777407924;\n b=ITS+kGUiK1H39OM0btO8muPWFoAdL3JwOnV28UfpsxyIGeljJwUeWO9/vyEZhbx+JeBazz7vp6\n Afa6L5e9hOcH3L2jA+KaUgrwgnwGOurSDXY46NRxxmDPEtZ6MyHdd85W+oFfr44OhHik9E8NQy\n t0BQpGvvzUw+P/wMpRN5QPQCEK/QWQ2XBxdQRRlrrbV+OllIehHsEdK56IzPxe2PPawnWzxlGh\n MMSDLgNclRPEzFxqJSLMzMB657pzT4sD+774yf4XsYV7X+lJAAHxN0FMaEjXsnkkVQNNOslIsk\n JR6+GRrhIQzaKAzdc0oMB4heRh0tlLiTea6SNSjKrz/foQ==;","ARC-Authentication-Results":"i=1;\n outgoing.instance-europe-west4-z056.prod.antispam.mailspamprotection.com;\n smtp.remote-ip=35.214.173.214;\n iprev=pass (214.173.214.35.bc.googleusercontent.com)\n smtp.remote-ip=35.214.173.214;\n auth=pass (LOGIN) smtp.auth=esm19.siteground.biz;\n dkim=pass header.d=valla.it header.s=default header.a=rsa-sha256;\n arc=none","ARC-Message-Signature":"i=1; a=rsa-sha256; c=relaxed;\n d=outgoing.instance-europe-west4-z056.prod.antispam.mailspamprotection.com;\n s=arckey; t=1777407924;\n bh=TL/AykIJkCnIlOoxVXc6+bRPLd1wcXufd0QFIXyDxWk=;\n h=Cc:To:In-Reply-To:References:Message-ID:Content-Transfer-Encoding:\n Content-Type:MIME-Version:Subject:Date:From:DKIM-Signature:DKIM-Signature;\n b=TxSw5kEKXvXA9ngRsQFZQwrXiJsTmf684DP6LT15Sf2R5TRGYWX190i9Bdl0/uRb2Tu1xSfnIV\n VuLCTu97HtKL2SMI7b7K7JxW14/KVmkcxfAs0XhO4Gkdlk9dEq11iTJ7PUmpheqAfUjxE0OIB/\n YBSPFh7lt810djLfcWMPRiAxotj00OkgyXbrPwKY+vVK1rPO3HY4jcK4SHVrnhnyb8B9hnVIhs\n juG35hbsbLL/+BaPNlTIPH9AHsDYI5YQZZ/y8spQuGCuMHTj8JUo51t2j61/y4Dd4ntZd1EyDO\n LAS1nSD+rwX6XVBV2lCexjn8d3FwaTkPhC7Dm5ilHlqK/w==;","DKIM-Signature":["v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n d=antispam.mailspamprotection.com; s=default; h=CFBL-Feedback-ID:CFBL-Address\n :Cc:To:Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject\n :Date:From:Reply-To:List-Unsubscribe;\n bh=qrweVbuT0ePxZDmBQw65J46lYUY7sKoAXz5s5yonTYw=; b=kPJp3tGO5BPZ3HWRf/3E6aWBcS\n vdHc6XgHT2fWTtbw2xGHLz0qxEoLiRMxxQ2WkAuR1FVeLc5K9Yo7HGlw3jBu6k1JPb7Al1nIuj4Hy\n 6p5L6HrPfdGxK5urK3WxIp19igpUPRLgw+TQXaYkUXiErm6pjZSg3Y5Cg7LGFCJGUyhI=;","v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=valla.it;\n s=default; h=Cc:To:Subject:Date:From:list-help:list-unsubscribe:\n list-subscribe:list-post:list-owner:list-archive;\n bh=qrweVbuT0ePxZDmBQw65J46lYUY7sKoAXz5s5yonTYw=; b=IvE5AdB3wbssMJ5gJuISKib+Rj\n Gd+xTuJsuTimnnuRplV0q7Pjh6F7bgSoWKhKgwUcyn3J2gesmvufkedH9NBHGgq9ro7aJX7JDu8cy\n 5FII5Iecy2IzovdpEnzZL9qHs+N+dugwNmkR7Xiw09kWeR2xdNCLeSqx5FNxf2eyMLhA=;"],"From":"Francesco Valla <francesco@valla.it>","Date":"Tue, 28 Apr 2026 22:24:42 +0200","Subject":"[PATCH 1/5] boot: fit: fix FIT verification in SPL","MIME-Version":"1.0","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"7bit","Message-Id":"<20260428-spl_fit_full-v1-1-dde63beeaab1@valla.it>","References":"<20260428-spl_fit_full-v1-0-dde63beeaab1@valla.it>","In-Reply-To":"<20260428-spl_fit_full-v1-0-dde63beeaab1@valla.it>","To":"u-boot@lists.denx.de","Cc":"Tom Rini <trini@konsulko.com>, Quentin Schulz <quentin.schulz@cherry.de>,\n Marek Vasut <marek.vasut+renesas@mailbox.org>,\n James Hilliard <james.hilliard1@gmail.com>,\n Julien Stephan <jstephan@baylibre.com>,\n Frank Wunderlich <frank-w@public-files.de>,\n Heinrich Schuchardt <xypron.glpk@gmx.de>,\n Kunihiko Hayashi <hayashi.kunihiko@socionext.com>,\n Anshul Dalal <anshuld@ti.com>, Leo Yu-Chi Liang <ycliang@andestech.com>,\n Andrew Goodbody <andrew.goodbody@linaro.org>,\n Ronald Wahl <ronald.wahl@legrand.com>, Simon Glass <sjg@chromium.org>,\n Dhruva Gole <d-gole@ti.com>,\n Mikhail Kshevetskiy <mikhail.kshevetskiy@iopsys.eu>,\n Rasmus Villemoes <ravi@prevas.dk>, Michael Walle <mwalle@kernel.org>,\n Marek Vasut <marek.vasut@mailbox.org>,\n Miquel Raynal <miquel.raynal@bootlin.com>,\n Richard Genoud <richard.genoud@bootlin.com>,\n Wolfgang Wallner <wolfgang.wallner@at.abb.com>,\n David Lechner <dlechner@baylibre.com>, Francesco Valla <francesco@valla.it>","X-Mailer":"b4 0.16-dev","X-Developer-Signature":"v=1; a=openpgp-sha256; l=920; i=francesco@valla.it;\n h=from:subject:message-id; bh=TL/AykIJkCnIlOoxVXc6+bRPLd1wcXufd0QFIXyDxWk=;\n b=owGbwMvMwCX2aH1OUIzHTgbG02pJDJkfxaeHnTp6rPLx6Q//fEqVGNqf/BKVLPNYsO/Atj9Rl\n 1nTTcMZOkpZGMS4GGTFFFlC1t24t2eu+be0DYyPYOawMoEMYeDiFICJBGkwMrzRqnR54PQwwXD5\n lkrGwIesr/mPXQyaYflJZeo9c+Wlt1wY/kfFWm3b8Wqz9z/Nx8s2aHsci4x7X3eUeUKL7GGFRXX\n FmrwA","X-Developer-Key":"i=francesco@valla.it; a=openpgp;\n fpr=CC70CBC9AA13257C6CCED8669601767CA07CA0EA","X-AntiAbuse":["This header was added to track abuse,\n please include it with any abuse report","Primary Hostname - esm19.siteground.biz","Original Domain - lists.denx.de","Originator/Caller UID/GID - [47 12] / [47 12]","Sender Address Domain - valla.it","ID - 241d769cac582114b661750ae48d3df7"],"X-Source":"","X-Source-Args":"","X-Source-Dir":"","X-SGantispam-id":"241d769cac582114b661750ae48d3df7","AntiSpam-DLS":"false","AntiSpam-DLSP":"","AntiSpam-DLSRS":"","AntiSpam-TS":"1.0","CFBL-Address":"feedback@antispam.mailspamprotection.com; report=arf","CFBL-Feedback-ID":"\n 1wHozh-000000024mB-0xaF-feedback@antispam.mailspamprotection.com","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":"Align the behavior of fit_image_verify() called in SPL to the one in\nfull U-Boot. In particular, this function is called when both\nCONFIG_SPL_LOAD_FIT_FULL and CONFIG_SPL_FIT_SIGNATURE are set (which can\nhappen e.g. in case of secure falcon boot).\n\nSigned-off-by: Francesco Valla <francesco@valla.it>\n---\n boot/image-fit.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)","diff":"diff --git a/boot/image-fit.c b/boot/image-fit.c\nindex 2d2709aa5b16..9aa165a38cd9 100644\n--- a/boot/image-fit.c\n+++ b/boot/image-fit.c\n@@ -1439,7 +1439,7 @@ int fit_image_verify(const void *fit, int image_noffset)\n \tsize_t\t\tsize;\n \tchar\t\t*err_msg = \"\";\n \n-\tif (IS_ENABLED(CONFIG_FIT_SIGNATURE) && strchr(name, '@')) {\n+\tif (CONFIG_IS_ENABLED(FIT_SIGNATURE) && strchr(name, '@')) {\n \t\t/*\n \t\t * We don't support this since libfdt considers names with the\n \t\t * name root but different @ suffix to be equal\n","prefixes":["1/5"]}