The following describes what mksysimage does when it generates and assembles an image.
This description assumes that you have followed the instructions in Prepare the work environment in the Generating a Target Image chapter to set up your workspace and working environment on your host system, and that you haven't modified your search paths (see Search paths in the Modifying Content chapter).
The diagram below shows the process used to generate a target image, and the inputs that determine what goes into the final target image. You modify the files on the left (under Configuration) to configure the IFS, partitions, and target image. The files on the right (under Artifacts) are created by the image generation process.
When you run a mksysimage script to create an image, the script completes the following tasks:
Scan the search paths specified by the [infra] section of the searchpaths.cfg file to get the mksysimage configuration file (e.g., j6eco-mksysimage.cfg), the IFS configuration files (e.g., j6eco-ifs.cfg), and the buildfiles (e.g., jacinto6-sd-emmc.build).
The mksysimage configuration files specify the:
Generate the partition (or, for some products, partitions) according to the configurations in the filesystem build files (see Build files in the Configuring Partitions and Images chapter).
The script generates the following image types: fatfsimg and qnx6fsimg. For information about image types, see mkxfs in the Utilities Reference.
Typically, you will make most of your changes to filesets, because filesets define what files (such as apps) get included in your image, so you won't need to know all the details about what mksysimage does when it generates and assembles an image.
For more information about the mksysimage script, see mksysimage in the Utility Scripts chapter.