Configuration files specify the configurations of the IFS, the partitions, and the final target
image.
File locations
The configuration files that you may need to modify to change your product (e.g.,
QNX Platform for ADAS) configuration are located in the following directories:
$QNX_DEPLOYMENT_WORKSPACE/infra/boards
Note the following directories at this location:
- platform/
- Configuration files used by all variants of the specified board (platform) (e.g.,
rcarh3spre).
- board.variant/
- Board variant-specifc configuration files that specify the contents of your system and how your
image is built (e.g.,
$QNX_DEPLOYMENT_WORKSPACE/infra/boards/rcarh3spre.ext).
The files that configure the IFS or IFSs, and the final image are in the following directories inside
board.variant:
-
mksysimage/
- Files in this directory tell mksysimage.py the IFS or IFSs to use, the profile
files that specify the image contents, and the partition sizes and configuration for the final
target image assemnbly.
-
ifs/
- Files in this directory specify how to generate the IFS for the current board.
Files
The image generation process uses the following configuration files:
- *.build
- The build files mkifs uses to build the OS image (see
mkifs
in the Utilities Reference, and
Building Embedded Systems).
- *.mksysimage.cfg
- The top-level configuration file. Lists the disk images to be created, and the profile files to
use (e.g., os.xml and dos-sd.xml) to configure each
image (see The mksysimage.py configuration files
in the Configuring Partitions and Images chapter).
- board-disk_type.cfg
- Specify the properties of the disk for which the image will be generated (see
Configuring Partitions and Images).
- Filesets
- Specify the files, directories and symbolic links to be included in an image (see
Filesets).
- board-image.cfg
- Specifies how diskimage configures the *.img files for
each partition to create the complete target image (see
Systems
Services).
- profile.xml
- Specify the filesets to use to define what gets included in an image. Entries in each
mksysimage.py configuration file
(board-mksysimage.cfg) specify which profile
files to use (see Profiles).
- searchpaths.cfg
- Specifies the order in which the image generation process searchs directories for the
configuration information and components it needs to build an image (see
Search paths).
When mksysimage.py has finished, it places a *.img file (e.g.,
rcarh3spre-sd.img) with the complete target image in the directory you specify
when you run the script (see
mksysimage.py in the
Utility Scripts chapter).