mkppcimage [ -l loadaddr ] executable outfile
sqz [ -w ] [ -t ] executable
5cv converts an ARM executable into one of several alternative formats. The output format is controlled by the -H option:
The other options are:
Mkppcimage converts a PowerPC or ARM executable to a boot image format used by PPCBOOT and UBOOT\&. The output file has a PPCBOOT image with one component labelled as an `OS kernel' for the appropriate architecture, containing the a.out(10.6) header, text and initialised data, all uncompressed. Symbols are not included. By default the load address is deduced from the executable's entry point; the -l option allows loadaddr to be set explicitly, with the number in C syntax (decimal by default). Other attributes are deduced from the executable.
Sqz squeezes (compresses) the given ARM or PowerPC executable using a method that achieves respectable compression for executables but is much faster to decompress than (say) gzip's. By default, both the program text and initialised data are compressed; the -t option causes sqz to compress only the program text, leaving the data as-is. By default, sqz prints compression statistics on its standard error output; the -w option causes it also to write the compressed file on its standard output. Either the bootstrap that loads it must decompress the result, or a small uncompressed stub must also be loaded that decompresses the remainder.
5CV(10.1 ) | Rev: Thu Feb 15 14:42:59 GMT 2007 |