From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 73529E9B25F for ; Tue, 24 Feb 2026 12:41:46 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9D20083642; Tue, 24 Feb 2026 13:41:44 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=makrotopia.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id 025DA83BC9; Tue, 24 Feb 2026 13:41:44 +0100 (CET) Received: from pidgin.makrotopia.org (pidgin.makrotopia.org [IPv6:2a07:2ec0:3002::65]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 5B25982BF2 for ; Tue, 24 Feb 2026 13:41:41 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=makrotopia.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=daniel@makrotopia.org Received: from local by pidgin.makrotopia.org with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.99) (envelope-from ) id 1vuris-000000004ux-03lG; Tue, 24 Feb 2026 12:41:06 +0000 Date: Tue, 24 Feb 2026 12:41:02 +0000 From: Daniel Golle To: Simon Glass Cc: Tom Rini , Quentin Schulz , Kory Maincent , Mattijs Korpershoek , Martin Schwan , Anshul Dalal , Ilias Apalodimas , Sughosh Ganu , Aristo Chen , =?utf-8?B?54mbIOW/l+Wujw==?= , Marek Vasut , Heinrich Schuchardt , Wolfgang Wallner , Frank Wunderlich , David Lechner , Osama Abdelkader , Mikhail Kshevetskiy , Michael Trimarchi , Miquel Raynal , Andrew Goodbody , Yegor Yefremov , Mike Looijmans , Weijie Gao , Alexander Stein , Neil Armstrong , Mayuresh Chitale , Paul HENRYS , u-boot@lists.denx.de, John Crispin , Paul Spooren Subject: Re: [RFC PATCH 09/20] boot: fit: support on-demand loading in fit_image_load() Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean On Mon, Feb 23, 2026 at 10:51:07AM -0700, Simon Glass wrote: > On Thu, 19 Feb 2026 at 09:48, Daniel Golle wrote: > > [...] > > Yes, I agree with that. A single property won't be enough, so what I > > came up with and currently test is a node under the image, ie. > > > > dm-verity { > > block-size = <0x1000>; > > data-blocks = <0xdead>; > > algo = "sha256"; > > root-hash = "averylonghashasstring"; > > salt = "anotherverylonghashasstring"; > > }; > > > > This is sufficient to then let U-Boot generate the dm-mod.create="..." > > parameter handed over to the kernel. > > > > Currently I'm just putting this in the its source file, but of course we > > could also extend 'mkimage' to call 'veritysetup format ...' and > > populate such section like it is done for the hashes. > > Yes this looks very nice to me. Don't forget a PR for the FIT spec too. https://github.com/open-source-firmware/flat-image-tree/pull/37 I hope this is the correct repo. There are quite a few open PR there which seemingly nobody has ever looked at, all of them opened by the same user (@sjg20), one of them open for more than 3 years (#5). They all look very useful too...