Tornado Reference : Tornado Utilities
deflate - deflate (compress) a file
deflate < infile > outfile
This tool reads from standard input and writes a compressed image to standard output. It is used to compress boot ROM images, and is called by the BSP makefiles when you make a compressed ROM image such as a boot ROM.
For integrity checking, a magic byte (Z_DEFLATED) is added to the begining of the compressed stream and a 16-bit checksum (a standard IP checksum) is added to the end of the stream.
The compression stream itself is built using the public domain zlib software, which has been modified by Wind River Systems. For more information, see the zlib home page at http://quest.jpl.nasa.gov/zlib/.