[PATCH 0/4] mkimage: also honour -B even without external data

Rasmus Villemoes rasmus.villemoes at prevas.dk
Tue Sep 19 13:37:01 CEST 2023


I was surprised to discover that mkimage effectively ignores -B when
used by itself - the help text suggests otherwise, and it's a
completely reasonable thing to have.

Also, binman already translates a fit,align property into a -B
argument, without requiring fit,external-offset to be set.

Rasmus Villemoes (4):
  mkimage: also honour -B even without external data
  binman: test: rename 275_fit_align.dts -> 275_fit_align_external.dts
  tools: binman: add test case for fit,align without fit,external-offset
  binman: update documentation for fit,align property

 tools/binman/entries.rst                      |  5 +-
 tools/binman/ftest.py                         | 14 ++++-
 ...t_align.dts => 275_fit_align_external.dts} |  0
 tools/binman/test/311_fit_align.dts           | 58 +++++++++++++++++++
 tools/fit_image.c                             | 40 +++++++++++++
 5 files changed, 112 insertions(+), 5 deletions(-)
 rename tools/binman/test/{275_fit_align.dts => 275_fit_align_external.dts} (100%)
 create mode 100644 tools/binman/test/311_fit_align.dts

-- 
2.37.2



More information about the U-Boot mailing list