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

Alper Nebi Yasak alpernebiyasak at gmail.com
Sun Feb 6 22:02:44 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.


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                         | 183 ++++++++++++++++++
 .../binman/test/220_fit_subentry_bintool.dts  |  39 ++++
 4 files changed, 287 insertions(+), 26 deletions(-)
 create mode 100644 tools/binman/test/220_fit_subentry_bintool.dts

-- 
2.34.1



More information about the U-Boot mailing list