The ChorusOS operating system configuration is expressed in ECML, an XML based language. There are several levels of configuration files, all located in the conf directory used to build the system image.
ChorusOS.xml is the top level configuration file. The entire ChorusOS operating system configuration is accessible through this file, which contains references to all other configuration files.
mkconfig is the directory containing the configuration information for each system component. Most of the information it contains relates to feature options and tunable parameters. For example:
mkconfig/kern.xml contains the kernel feature definitions and dependencies, and contains the tunables for the kernel. This file also contains default values for the standard configuration.
mkconfig/kern_action.xml contains specific configuration actions, including the production rules used internally for the configuration.
mkconfig/kern_f.xml and mkconfig/kern_action_f.xml are additional configuration files identified by _f.xml that can be used to manage family-specific configuration options.
mkimage is the directory containing all the information related to the system image build:
mkimage/mkimage.xml contains two configurable declarations:
BOOT_MODE
is set to ram to build an image for RAM, or rom
to build an image for ROM.
SYSTEM
is set to chorus to build a default system image, or kernonly
to build a kernel-only system image. Other system images are also available.
mkimage/family.xml contains the family dependent definitions.
mkimage/model.xml contains the binary models for the executable files.
mkimage/target.xml contains all configuration options related to the BSP, and also the list of drivers.
mkimage/system.xml contains all system binaries and the configuration of the system image.
mkimage/applications.xml describes the applications to be included in the chorus or kernonly system image.
basic and extended are the two configuration profiles.