A configuration file for mksysimage.py defines the components for a specific platform type.
For information about running the mksysimage.py Python script utility, see mksysimage.py in the the System Services Reference.
The components defined by a mksysimage.py configuration file are:
You can find the default configuration file at %QNX_CAR_DEPLOYMENT%/<board>/<platform>/sd-boot/config/platform-mksysimage.cfg where %QNX_CAR_DEPLOYMENT% is <install_location>/qnx660/deployment/qnx-car. For example, the default configuration file for the OMAP5432 board is as follows:
[sd] default-ifs=omap5-sd.ifs profiles=os.xml,dos-sd.xml image-tars=omap5uevm-os.tar,omap5uevm-dos-sd.tar image-config=omap5uevm-sd.cfg [emmc] default-ifs=omap5-emmc.ifs profiles=os.xml,dos-emmc.xml image-tars=omap5uevm-os.tar,omap5uevm-dos-emmc.tar image-config=omap5uevm-emmc.cfg [emmc-sata] default-ifs=omap5-emmc-sata.ifs profiles=os.xml,dos-emmc-sata.xml image-tars=omap5uevm-dos-emmc-sata.tar image-config=omap5uevm-emmc-sata.cfg
The contents of this particular configuration file reveal that this OMAP5432 board has three image variants called sd, emmc, and emmc-sata, and each of these image variants defines the following:
Item | Description |
---|---|
default-ifs | The ifs image name used as the default bootup IFS (qnx-ifs). |
profiles | The mktar profiles used to generate tar files. The image-tars elements correlate directly with the profiles. The name of the generated tar files are <platform>-<profile_name>.tar. |
image-tars | The tar files included in the image. |
image-config | The configuration file used for specifying the size of each partition in the resulting image file. The image-configuration files must be in the %QNX_CAR_DEPLOYMENT%/<board>/<platform>/sd-boot/config/ directory. |