Home Contents | # Introduction | Kconfig | Core4 Lua Commands

## DESCRIPTION

The Core4 kernel has a small 4kB configuration space. This space is used for configuration data that must be accessible very early in the startup process.

The kernel config is stored in non-volatile flash memory. A backup of the previous data is made whenever new values are written to the kernel config. Should writing of any new data fail, (e.g. due to a power failure), the previous values are reused. Error correcting codes are used to protect against flash chip failure.

Config data is organized in a tree of sections and values.

Sample view of a configuration in Core4Manager

## CONTENTS

Following is a list of Sections and Values which are understood by the Core4 System.

"c4s_general"
  General configuration
  "c4t_gen_development_mode"
    Used during software development with Core4Manager.
  "c4t_gen_restrict_discovery"
    Allow access to configuration data only if debug jumper/DIP-Switch is on.
  "c4t_gen_timezone"
    Name of timezone file.
"c4s_network"
  Network configuration
  "c4t_net_mode"
    How network configuration is obtained.
  "c4t_net_ip"
    Static IP address
  "c4t_net_netmask"
    Static netmask
  "c4t_net_gw"
    Static default gateway
  "c4t_net_boot_ip"
    Static IP address of TFTP boot server.
  "c4t_net_boot_port"
    Static UDP Port number on TFTP boot server.
  "c4t_net_boot_path"
    Static path of firmware file on TFTP boot server.
"c4s_serial"
  Serial port configuration
  "c4s_ser_ttyS0", "c4s_ser_ttyS1", ..., "c4s_ser_ttyS31"
    Configuration for specific serial port.
    "c4t_ser_speed"
      Serial port speed.

## SEE ALSO

kconfig.setValue, kconfig.value