[RFC PATCH 09/20] boot: fit: support on-demand loading in fit_image_load()
Daniel Golle
daniel at makrotopia.org
Tue Feb 24 13:41:02 CET 2026
On Mon, Feb 23, 2026 at 10:51:07AM -0700, Simon Glass wrote:
> On Thu, 19 Feb 2026 at 09:48, Daniel Golle <daniel at makrotopia.org> 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...
More information about the U-Boot
mailing list