]> git.dujemihanovic.xyz Git - u-boot.git/commit
binman: fit: Allow running fdtgrep on devicetree blobs
authorSimon Glass <sjg@chromium.org>
Sat, 20 Jul 2024 10:49:48 +0000 (11:49 +0100)
committerSimon Glass <sjg@chromium.org>
Mon, 29 Jul 2024 14:42:18 +0000 (08:42 -0600)
commit34d4a5df1be3708971d80d368446595af377a03f
treef101177ae5c7eeee04e4b3289b6e67342786be22
parent57902e6941a0e914313afe50104fd0660ab47839
binman: fit: Allow running fdtgrep on devicetree blobs

When using FIT to load firmware builds for multiple models, the FIT must
include a common binary along with a number of devicetree blobs, one for
each model. This is the same mechanism as is used for loading an OS.

However, SPL builds do not normally use the full devicetree, but instead
a cut-down version which various nodes and properties removed.

Add a new fit,fdt-phase property to allow binman to produce these
devicetree blobs.

Signed-off-by: Simon Glass <sjg@chromium.org>
doc/develop/spl.rst
tools/binman/entries.rst
tools/binman/etype/fit.py
tools/binman/ftest.py
tools/binman/main.py
tools/binman/test/335_fit_fdt_phase.dts [new file with mode: 0644]