summaryrefslogtreecommitdiff
path: root/tools/binman/README
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2018-09-14 04:57:26 -0600
committerSimon Glass <sjg@chromium.org>2018-09-29 11:49:32 -0600
commit83d73c2f7c471c1a7e5a9a2bf0de287491408b2d (patch)
tree0f97947d81d656fc25afe2714e2938a6451459cf /tools/binman/README
parent04187a845c86215da0e3ad680cdcf2fc7515b99a (diff)
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')
-rw-r--r--tools/binman/README16
1 files changed, 16 insertions, 0 deletions
diff --git a/tools/binman/README b/tools/binman/README
index 10dfe5766d..d6871946ab 100644
--- a/tools/binman/README
+++ b/tools/binman/README
@@ -593,6 +593,22 @@ the device tree. These can be used by U-Boot at run-time to find the location
of each entry.
+Compression
+-----------
+
+Binman support compression for 'blob' entries (those of type 'blob' and
+derivatives). To enable this for an entry, add a 'compression' property:
+
+ blob {
+ filename = "datafile";
+ compression = "lz4";
+ };
+
+The entry will then contain the compressed data, using the 'lz4' compression
+algorithm. Currently this is the only one that is supported.
+
+
+
Map files
---------