Target Images

When you complete a project, you must build a target image that your users can install on their target platform. You do this by packaging all the artifacts that make up the complete target image:

Typically, you wouldn't build all of these components yourself. Instead, you have these prebuilt binaries available in your development environment when you install the QNX CAR platform.

Artifact Organization

When designing a system, you choose how to organize artifacts into one or more IFS files and partition images. Partition images are then combined to produce target images:

System Generation

In general terms, to generate a system image for the QNX CAR platform, you perform the following steps:

  1. Develop the .build files that contain the scripts and files used by mkifs.
  2. Run mkifs to generate IFS files.
  3. Determine all the files to include in each partition and develop .build files to be used by mkxfs.
  4. Run mkxfs to generate all the partition images.
  5. Run diskimage to generate the partition table and write all the partition images to a single .img file.

Because generating the various files is time-consuming and error-prone, this isn't the process we recommend. Instead, the QNX CAR platform includes an mksysimage.py script that handles the entire process of generating a system image. In fact, the mksysimage.py script supports multiple platforms and a number of configurations per platform. For example, in the case of OMAP5432, the mksysimage.py script produces images for SD card, EMMC, and EMMC + SATA SSD. For more information on mksysimage.py, see the following sections: