[PATCH 0/6] binman: Update CBFS implementation

Simon Glass sjg at chromium.org
Sat Oct 14 22:40:24 CEST 2023


There isn't really a solid spec for CBFS and it changes from time to
time. This series updates binman to deal with four changes in the
file format, with the earliest being in October 2020.

No changes are made to the CBFS-filesystem implementation. This has
fallen behind, but can still be used for simple files.

This series also fixes a coverage bug, where tests for missing tools
affect other tests, thus causing coverage to fall below 100%. This has
showed up with the bootgen tool.


Simon Glass (6):
  binman: Reset missing bintools after testing
  binman: Don't add compression attribute for uncompressed files
  binman: Ensure attributes always come last in the metadata
  binman: Replace FILENAME_ALIGN 16 with ATTRIBUTE_ALIGN 4
  binman: Rename TYPE_STAGE to TYPE_LEGACY_STAGE
  binman: Move stage header into a CBFS attribute

 cmd/cbfs.c                     |   2 +-
 include/cbfs.h                 |   2 +-
 tools/binman/cbfs_util.py      | 125 +++++++++++++++++++--------------
 tools/binman/cbfs_util_test.py |  23 +++---
 tools/binman/control.py        |   2 +
 tools/binman/ftest.py          |  10 +--
 6 files changed, 93 insertions(+), 71 deletions(-)

-- 
2.42.0.655.g421f12c284-goog



More information about the U-Boot mailing list