Image Generation and Assembly

When the mksysimage.py Python script generates a target image, it creates the image filesystems (IFSs) and the partition images, then assembles these partition images into a complete target image, which you can transfer to the target board or a bootable media (e.g., microSD card, SD card, or USB memory stick).

The image generation process is launched by the mksysimage.py script. This script and the other scripts and utilities it calls use input from configuration files, including profile and fileset files to produce artifacts that are assembled to produce the final target image.

The image generation process creates a set of disk images which are populated by files specified by lists of filesets. At the end of the process, the diskimage utility assembles these filesystems into a target image that can be copied to the target system.

Note: In a production system, the resulting target image is stored in non-removable storage. However, during a project's development phase, the image may be stored on removable media, such as a microSD card, SD card, or USB memory stick.