[U-Boot] [PATCH v2 34/37] binman: Add support for CBFS entries

sjg at google.com sjg at google.com
Thu Jul 18 01:59:09 UTC 2019


Add support for putting CBFSs (Coreboot Filesystems) in an image. This
allows binman to produce firmware images used by coreboot to boot.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

Changes in v2:
- Deal with travis's old lz4 version by skipping tests as necessary
- Skip use of cbfstool in tests if it is not available

 tools/binman/README.entries                 | 142 ++++++++++++++
 tools/binman/control.py                     |   2 +
 tools/binman/etype/cbfs.py                  | 193 ++++++++++++++++++++
 tools/binman/ftest.py                       | 110 +++++++++++
 tools/binman/test/102_cbfs_raw.dts          |  20 ++
 tools/binman/test/103_cbfs_raw_ppc.dts      |  21 +++
 tools/binman/test/104_cbfs_stage.dts        |  19 ++
 tools/binman/test/105_cbfs_raw_compress.dts |  26 +++
 tools/binman/test/106_cbfs_bad_arch.dts     |  15 ++
 tools/binman/test/107_cbfs_no_size.dts      |  13 ++
 tools/binman/test/108_cbfs_no_contents.dts  |  17 ++
 tools/binman/test/109_cbfs_bad_compress.dts |  18 ++
 tools/binman/test/110_cbfs_name.dts         |  24 +++
 13 files changed, 620 insertions(+)
 create mode 100644 tools/binman/etype/cbfs.py
 create mode 100644 tools/binman/test/102_cbfs_raw.dts
 create mode 100644 tools/binman/test/103_cbfs_raw_ppc.dts
 create mode 100644 tools/binman/test/104_cbfs_stage.dts
 create mode 100644 tools/binman/test/105_cbfs_raw_compress.dts
 create mode 100644 tools/binman/test/106_cbfs_bad_arch.dts
 create mode 100644 tools/binman/test/107_cbfs_no_size.dts
 create mode 100644 tools/binman/test/108_cbfs_no_contents.dts
 create mode 100644 tools/binman/test/109_cbfs_bad_compress.dts
 create mode 100644 tools/binman/test/110_cbfs_name.dts

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list