[PATCH v3 06/12] binman: Support generating FITs with multiple dtbs

Simon Glass sjg at chromium.org
Sat Sep 5 23:10:19 CEST 2020


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 <sjg at chromium.org>
---

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!


More information about the U-Boot mailing list