Create an image of the platform and generate supporting files, such as .ifs and .tar
mksysimage.py [-o output] [options]... [board_name.external]
Windows, Linux. Must be run using Python 2.7.5.
The mksysimage.py utility is a Python script that invokes other utilities to generate tar files and images for each platform. The script is located at $QNX_DEPLOYMENT_WORKSPACE/infra/utils/scripts. You should refer to the Getting Started guide for the value of QNX_DEPLOYMENT_WORKSPACE.
By default, mksysimage.py reads a configuration file from: $QNX_DEPLOYMENT_WORKSPACE/infra/product/AnM/boards/platform.ext/mksysimage/platform-mksysimage.cfg
This configuration file defines the tar files and images created during the image-generation process. The image variants for each platform are defined within the configuration file. By default, for each image variant, mksysimage.py generates two tar files and one image. The tar file platform-os.tar contains two QNX filesystems that include all files except MLO and IFS files. The tar file platform-dos-image_variant contains a FAT16 filesystem that includes all bootup files, such as MLO and IFS files. The final generated image includes these two tar files.
You can change the default configuration file associated with mksysimage.py. The default file is located at: $QNX_DEPLOYMENT_WORKSPACE/infra/product/AnM/boards/platform.ext/mksysimage/platform-mksysimage.cfg
You can also specify your own file by using the -c option in mksysimage.py. Setting this option will enable you to further customize your tar files and images. For more information about changing the mksysimage.py configuration, see "Configuration file for mksysimage.py" in Getting Started. If you want mksysimage.py to skip some steps of the image-generation process and generate only certain types of intermediate files, see "Troubleshooting tips" in the same guide.
To run mksysimage.py, you need to specify the platform, its variant, and the output path.
The following example reads the default configuration file for the omap5uevm platform and creates three images and their corresponding .tar files in the specified output path called /tmp:
$QNX_DEPLOYMENT_WORKSPACE/infra/utils/scripts/mksysimage.py
-o /tmp/ omap5uevm.external
None.