Changing partitions

You can edit your board's board-media.cfg file to change the partitions in your image.

Note: Unless otherwise specified, these instructions assume a Linux host. If you are working on a Windows host, run the commands in the bash shell.

To change the partitions in an image:

  1. Locate the .cfg file for your board. For example, for OMAP5, the file is omap5uevm-sd.cfg and it's located in: $QNX_DEPLOYMENT_WORKSPACE/infra/product/AnM/boards/omap5uevm.ext/mksysimage/
  2. Open this file in a text editor and modify the various settings as required.

    For example, the OMAP5 configuration file contains this partition:

    [base]
    path=/base
    type=179
    num_sectors=1253376
    order=2

    The line path=/base identifies the mountpoint for the partition. You can change the partition settings as required. For details on the various settings, see the configuration file settings list.