[PATCH v4 07/10] rockchip: binman: Include a compatible string in each configuration

Simon Glass sjg at chromium.org
Wed Apr 9 15:23:00 CEST 2025


Hi Quentin,

On Wed, 9 Apr 2025 at 04:03, Quentin Schulz <quentin.schulz at cherry.de> wrote:
>
> Hi Jonas, Simon,
>
> On 3/29/25 4:06 PM, Jonas Karlman wrote:
> > From: Simon Glass <sjg at chromium.org>
> >
> > Provide a compatible string in the config nodes that U-Boot can use to
> > help decide which configuration to use.
> >
>
> Can you tell us more about this?

See [1]

>
> I don't think mkimage -l/dumpimage -l actually provide that information
> and the docs are sparse as to what "so that things work correctly with
> FIT's configuration-matching algortihm." means.
>
> Looking a bit into tools/binman/ftest.py it seems like it's a way to
> expose the DT compatible property from within the first entry in `fdt`
> array property (a DTB) into the configuration node in the fit image.

Yes, the root compatible string is how we decide which devicetree to use.

>
> I think it'd make sense to update dumpimage/mkimage/etc... to dump that
> information as well?

Yes, I think that might be useful

>
> Reviewed-by: Quentin Schulz <quentin.schulz at cherry.de>
>
> Thanks!
> Quentin

[1] https://fitspec.osfw.foundation/#configuration-nodes


More information about the U-Boot mailing list