On Tue, Jun 10, 2025 at 06:23:33PM +0200, Casey Connolly wrote:

> Since we're using the upstream file structure, we know at build time
> the path to each DTB that we build. These same paths are used relative
> to some (maybe version specific) dtb directory on the boot partition
> or ESP.
> 
> By recording this path at build time and embedding it into the
> devicetree, we can set the fdtfile environment variable with 100%
> certainty that it is correct.
> 
> Devicetree file names are already treated as stable kernel API upstream,
> since they are used by OS loaders extensively.
> 
> Embedding the path into the devicetree itself just simplifies the
> process and allows U-Boot or the OS loader to select a devicetree of a
> different version for the specific board that U-Boot is running on.
> 
> Signed-off-by: Casey Connolly <casey.conno...@linaro.org>

My biggest and really only problem is that you need to work with
https://github.com/devicetree-org/dt-schema and to get the chosen.yaml
updated with fdtfile and then we can go ahead and do whatever that
resulting discussion is.

-- 
Tom

Attachment: signature.asc
Description: PGP signature

Reply via email to