[{"id":3682344,"web_url":"http://patchwork.ozlabs.org/comment/3682344/","msgid":"<aeocicfRVu7NuC6T@makrotopia.org>","list_archive_url":null,"date":"2026-04-23T13:20:09","subject":"Re: [PATCH v2 0/7] fit: dm-verity support","submitter":{"id":64091,"url":"http://patchwork.ozlabs.org/api/people/64091/","name":"Daniel Golle","email":"daniel@makrotopia.org"},"content":"On Thu, Apr 23, 2026 at 02:59:19PM +0200, Rasmus Villemoes wrote:\n> On Thu, Apr 16 2026, Daniel Golle <daniel@makrotopia.org> wrote:\n> \n> > This series adds dm-verity support to U-Boot's FIT image infrastructure.\n> > It is the first logical subset of the larger OpenWrt boot method series\n> > posted as an RFC in February 2026 [1], extracted here for independent\n> > review and merging.\n> >\n> > OpenWrt's firmware model embeds a read-only squashfs or erofs root\n> > filesystem directly inside a uImage.FIT container as a FILESYSTEM-type\n> > loadable FIT image. At boot the kernel maps this sub-image directly from\n> > the underlying block device via the fitblk driver (/dev/fit0, /dev/fit1,\n> \n> Can you show me where that fitblk driver lives, because I can't find\n> anything like that in the linux source code. Grepping for 'fitblk' or\n> 'dev/fit' turns up nothing.\n\nThe driver is currently downstream, but going to be (re-)submitted upsteam.\nSee below for more.\n\n> \n> > ...), the goal is that the bootloader never even copies it to RAM.\n> \n> Hm, how is that achieved? I.e., how do you load and boot the FIT image\n> without loading that part, but still reading in e.g. the kernel?\n\nThe next series after this is going to suggest a way for on-demand\nloading only the actually necessary FIT images from a storage backend.\nSee\nhttps://github.com/u-boot/u-boot/pull/870\n\nAnd see here for an end-to-end demo:\nhttps://github.com/openwrt/openwrt/pull/22177","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 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=none (p=none dis=none) header.from=makrotopia.org","phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de","phobos.denx.de; dmarc=none (p=none dis=none)\n header.from=makrotopia.org","phobos.denx.de;\n spf=pass smtp.mailfrom=daniel@makrotopia.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 4g2zzz6C33z1yHS\n\tfor <incoming@patchwork.ozlabs.org>; Sun, 26 Apr 2026 05:15:11 +1000 (AEST)","from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id BCE6F84372;\n\tSat, 25 Apr 2026 21:15:09 +0200 (CEST)","by phobos.denx.de (Postfix, from userid 109)\n id CD168843E8; Sat, 25 Apr 2026 21:15:08 +0200 (CEST)","from pidgin.makrotopia.org (pidgin.makrotopia.org\n [IPv6:2a07:2ec0:3002::65])\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 8C5158442B\n for <u-boot@lists.denx.de>; Sat, 25 Apr 2026 21:15:05 +0200 (CEST)","from local\n by pidgin.makrotopia.org with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256)\n (Exim 4.99) (envelope-from <daniel@makrotopia.org>)\n id 1wFtyc-000000005SN-1XVC; Thu, 23 Apr 2026 13:20:18 +0000"],"X-Spam-Checker-Version":"SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=-1.9 required=5.0 tests=BAYES_00,\n RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham\n autolearn_force=no version=3.4.2","Date":"Thu, 23 Apr 2026 14:20:09 +0100","From":"Daniel Golle <daniel@makrotopia.org>","To":"Rasmus Villemoes <ravi@prevas.dk>","Cc":"Tom Rini <trini@konsulko.com>, Simon Glass <sjg@chromium.org>,\n Quentin Schulz <quentin.schulz@cherry.de>,\n Kory Maincent <kory.maincent@bootlin.com>,\n Mattijs Korpershoek <mkorpershoek@kernel.org>, Peng Fan <peng.fan@nxp.com>,\n Heinrich Schuchardt <xypron.glpk@gmx.de>,\n Martin Schwan <m.schwan@phytec.de>, Anshul Dalal <anshuld@ti.com>,\n Ilias Apalodimas <ilias.apalodimas@linaro.org>,\n Sughosh Ganu <sughosh.ganu@arm.com>,\n Aristo Chen <jj251510319013@gmail.com>,\n Ludwig Nussel <ludwig.nussel@siemens.com>,\n Benjamin ROBIN <dev@benjarobin.fr>,\n Marek Vasut <marek.vasut+renesas@mailbox.org>,\n James Hilliard <james.hilliard1@gmail.com>,\n Wolfgang Wallner <wolfgang.wallner@at.abb.com>,\n Kunihiko Hayashi <hayashi.kunihiko@socionext.com>,\n David Lechner <dlechner@baylibre.com>,\n Neil Armstrong <neil.armstrong@linaro.org>,\n Mayuresh Chitale <mchitale@ventanamicro.com>,\n Jonas Karlman <jonas@kwiboo.se>, Shiji Yang <yangshiji66@outlook.com>,\n Francois Berder <fberder@outlook.fr>, u-boot@lists.denx.de","Subject":"Re: [PATCH v2 0/7] fit: dm-verity support","Message-ID":"<aeocicfRVu7NuC6T@makrotopia.org>","References":"<cover.1776302805.git.daniel@makrotopia.org>\n <87wlxxltnc.fsf@prevas.dk>","MIME-Version":"1.0","Content-Type":"text/plain; charset=us-ascii","Content-Disposition":"inline","In-Reply-To":"<87wlxxltnc.fsf@prevas.dk>","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"}}]