[PATCH v2 0/5] binman: Improvements to FIT entry type

Alper Nebi Yasak alpernebiyasak at gmail.com
Mon Feb 7 23:08:03 CET 2022

I've managed to build images like in doc/chromium/chainload.rst wtih
binman, but ran into an issue with entry expansion in FIT and worked on
it a bit. I also added SetImagePos() because that documentation asks for
precise placement of u-boot.bin inside the FIT and I felt like doing it
as an easier way to know the positions.

I would try to refactor and experiment with FIT things more, but I know
Simon's currently working on converting SPL_FIT_GENERATOR to binman.
Instead I'm just sending things I have already done with some tests
added, hopefully without too many conflicts.

Changes in v2:
- Split reused testSimpleFit code into a helper function
- Check missing_bintools list instead of catching Fdt exceptions
- Add tag: "Reviewed-by: Simon Glass <sjg at chromium.org>"

v1: https://patchwork.ozlabs.org/project/uboot/list/?series=284714

Alper Nebi Yasak (5):
  binman: Fix subentry expansion for FIT entry type
  binman: Register and check bintools from FIT subentries
  binman: Check missing bintools of Section subclasses
  binman: Convert FIT entry type to a subclass of Section entry type
  binman: Update image positions of FIT subentries

 tools/binman/etype/fit.py                     |  90 ++++++---
 tools/binman/etype/section.py                 |   1 +
 tools/binman/ftest.py                         | 171 +++++++++++++++++-
 .../binman/test/220_fit_subentry_bintool.dts  |  39 ++++
 4 files changed, 266 insertions(+), 35 deletions(-)
 create mode 100644 tools/binman/test/220_fit_subentry_bintool.dts


More information about the U-Boot mailing list