3.4. Using command-line options to create simple images

A simple image consists of a number of input sections of type RO, RW, and ZI. These input sections are collated to form the RO, the RW, and the ZI output sections. Depending on how the output sections are arranged within load and execution regions, there are three basic types of simple image:

Type 1

One region in load view, three contiguous regions in execution view. Use the --ro-base option to create this type of image.

See Type 1: one load region and contiguous output regions for more details.

Type 2

One region in load view, three non-contiguous regions in execution view. Use the --ro-base and --rw-base options to create this type of image.

See Type 2: one load region and non-contiguous output regions for more details.

Type 3

Two regions in load view, three non-contiguous regions in execution view. Use the --ro-base, --rw-base, and --split options to create this type of image, You can also use the --rosplit option to split the default load region into two RO output sections, one for code and one for data.

See Type 3: two load regions and non-contiguous output regions for more details.

In all three simple image types, there are up to three execution regions where:

These execution regions are referred to as the RO, the RW, and the ZI execution region.

Simple images can also be created with scatter-loading description files. See Equivalent scatter-loading descriptions for simple images for more information on how to do this.

This section describes:

Copyright © 2005 ARM Limited. All rights reserved.ARM DUI 0285B
Non-Confidential