mkimage

Build a socket image from individual files (QNX)

Syntax:

mkimage [ -b blocksize ] -o outputfile file

Runs on:

Linux, Microsoft Windows

Options:

-b blocksize
The blocksize used when padding files. The default is 64 KB.
-o outputfile
The name of the output file.

Description:

The mkimage utility builds a socket image from individual files. The command line is parsed, and the bootable image file(s) are placed first in the resultant output file, followed by embedded filesystem files, then any other files on the command line.

All files are padded up to the block size specified on the command line (padding is done with 0xFF, the default erased state of flash). If no blocksize is specified, the default is 64 KB.