diff options
author | Simon Glass <sjg@chromium.org> | 2018-09-14 04:57:26 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2018-09-29 11:49:32 -0600 |
commit | 83d73c2f7c471c1a7e5a9a2bf0de287491408b2d (patch) | |
tree | 0f97947d81d656fc25afe2714e2938a6451459cf /tools/binman/README.entries | |
parent | 04187a845c86215da0e3ad680cdcf2fc7515b99a (diff) | |
download | u-boot-83d73c2f7c471c1a7e5a9a2bf0de287491408b2d.tar.gz |
binman: Support compressed entries
Add support for compressing blob entries. This can help reduce image sizes
for many types of data. It requires that the firmware be able to
decompress the data at run-time.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/binman/README.entries')
-rw-r--r-- | tools/binman/README.entries | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/binman/README.entries b/tools/binman/README.entries index 091fb5ce2b..2cf7dc0338 100644 --- a/tools/binman/README.entries +++ b/tools/binman/README.entries @@ -19,11 +19,18 @@ class by other entry types. Properties / Entry arguments: - filename: Filename of file to read into entry + - compress: Compression algorithm to use: + none: No compression + lz4: Use lz4 compression (via 'lz4' command-line utility) This entry reads data from a file and places it in the entry. The default filename is often specified specified by the subclass. See for example the 'u_boot' entry which provides the filename 'u-boot.bin'. +If compression is enabled, an extra 'uncomp-size' property is written to +the node (if enabled with -u) which provides the uncompressed size of the +data. + Entry: blob-dtb: A blob that holds a device tree |