From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Sat, 5 Sep 2020 14:10:19 -0700 Subject: [PATCH v3 06/12] binman: Support generating FITs with multiple dtbs In-Reply-To: <20200901051400.v3.6.Ia89f200da9b1e3708cf5a83b8b23a090ec0c6c4f@changeid> References: <20200901051400.v3.6.Ia89f200da9b1e3708cf5a83b8b23a090ec0c6c4f@changeid> <20200901111405.358391-1-sjg@chromium.org> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de In some cases it is useful to generate a FIT which has a number of DTB images, selectable by configuration. Add support for this in binman, using a simple iterator and string substitution. Signed-off-by: Simon Glass --- Changes in v3: - Rebase on top of earlier binman series Changes in v2: - Add a check for a missing fit,fdt-list property - Add a check for a missing of-list property - Add a check for an empty of-list tools/binman/README.entries | 48 +++++++- tools/binman/etype/fit.py | 94 +++++++++++++++- tools/binman/ftest.py | 106 +++++++++++++++++- tools/binman/test/170_fit_fdt.dts | 55 +++++++++ .../binman/test/171_fit_fdt_missing_prop.dts | 54 +++++++++ 5 files changed, 346 insertions(+), 11 deletions(-) create mode 100644 tools/binman/test/170_fit_fdt.dts create mode 100644 tools/binman/test/171_fit_fdt_missing_prop.dts Applied to u-boot-dm/next, thanks!