[U-Boot] [PATCH v2 37/37] binman: Add support for fixed-offset files in CBFS
sjg at google.com
sjg at google.com
Thu Jul 18 01:59:05 UTC 2019
A feature of CBFS is that it allows files to be positioned at particular
offset (as with binman in general). This is useful to support
execute-in-place (XIP) code, since this may not be relocatable.
Add a new cbfs-offset property to control this.
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 | 38 ++++++++
tools/binman/cbfs_util.py | 125 +++++++++++++++++++++-----
tools/binman/cbfs_util_test.py | 82 +++++++++++++++--
tools/binman/etype/cbfs.py | 16 +++-
tools/binman/ftest.py | 23 +++++
tools/binman/test/114_cbfs_offset.dts | 26 ++++++
6 files changed, 276 insertions(+), 34 deletions(-)
create mode 100644 tools/binman/test/114_cbfs_offset.dts
Applied to u-boot-dm, thanks!
More information about the U-Boot
mailing list