| 1 |
.\" SPDX-License-Identifier: GPL-2.0-only |
| 2 |
.TH CBFS-COMPRESSION-TOOL "8" "November 2024" "" "System Administration Utilities" |
| 3 |
.SH NAME |
| 4 |
cbfs-compression-tool \- Benchmark compression tool (coreboot tools) |
| 5 |
.SH SYNOPSIS |
| 6 |
.sp |
| 7 |
.nf |
| 8 |
cbfs\-compression\-tool benchmark |
| 9 |
cbfs\-compression\-tool compress <infile> <outfile> <algo> |
| 10 |
cbfs\-compression\-tool rawcompress <infile> <outfile> <algo> |
| 11 |
.SH DESCRIPTION |
| 12 |
Benchmark compression algorithms or compress input file into output |
| 13 |
with a given algorithm |
| 14 |
.PP |
| 15 |
\fIcbfs\-compression\-tool benchmark\fR |
| 16 |
.RS 4 |
| 17 |
runs benchmarks for all implemented algorithms |
| 18 |
.RE |
| 19 |
.PP |
| 20 |
\fIcbfs\-compression\-tool compress inFile outFile algo\fR |
| 21 |
.RS 4 |
| 22 |
compresses inFile with algo and stores in outFile |
| 23 |
.sp |
| 24 |
.nf |
| 25 |
compress file format: |
| 26 |
4 bytes little endian: algorithm ID (as used in CBFS) |
| 27 |
4 bytes little endian: uncompressed size |
| 28 |
\&...: compressed data stream |
| 29 |
.PP |
| 30 |
.RE |
| 31 |
\fIcbfs\-compression\-tool rawcompress inFile outFile algo\fR |
| 32 |
.RS 4 |
| 33 |
compresses inFile with algo and stores in outFile without header |
| 34 |
.sp |
| 35 |
.nf |
| 36 |
compress file format: |
| 37 |
\&...: compressed data stream |
| 38 |
.SH "AUTHORS" |
| 39 |
.PP |
| 40 |
.nf |
| 41 |
coresystems GmbH. |
| 42 |
Man page written by Ahmad Khalifa. |