ChorusOS 4.0 Porting Guide

Reshaping the System Image

By default, mkimage puts the contents of each system image memory bank into a file on the development system. That is, it creates one file for each memory bank. You may then need to transform these files into a format suitable for deployment on the target board.

Optionally, mkimage can generate a single executable ELF file containing all the memory banks that hold the system image. mkimage generates one ELF section and one ELF segment. The base address of both is the base address of the first memory bank. The size of both segments is the sum of the sizes of all the memory banks.