CCilot XA and CCpilot XS
Product revision: 0.12
Software guide
2018-03-19
www.crosscontrol.com
7
o
This is the main operation mode which includes all drivers to available hardware,
system libraries, graphical applications and tools described in this and other
documents.
Rescue or Backup system
o
This is only for device updates and recovery use. It contains only basic
maintenance tools. Updating the main system should be done from backup system.
Most of the hardware is not available while on backup system.
Each of these modes is a completely separate a Linux operating system, each of which is a custom
built i.MX53 ARM Linux version consisting of a kernel and a root file system with system binaries
and configuration files. Such a system is started with the Linux kernel execution, which turns over
the execution process to the init system in the root file system. That in turn loads drivers and
programs according to the configuration files, and eventually loads the user applications. The
startup time of the system is normally defined as the time from power on until the user application
can begin to execute.
Depending on the level of functionality needed by the application, it can be started at different
startup levels. A very fast startup level means that some of the hardware might not yet have been
initialized properly, and thus the application needs to handle that properly. On the other hand, a
slower startup level guarantees that the required functionality is available upon application
initialization.
3.2.1.
Boot count
If the main system fails to boot successfully for 5 times in a row, the device can automatically boot
to rescue system instead of normal system. The reason for failed main system boot can then be
examined and corrected in the backup system.
As a control point, the boot is deemed successful if the system start-up process gets to level 60. This
means that the script file
/etc/rc3.d/S60system-up
executes successfully.
It is possible to start user applications before or after this control point. See chapter Start-up scripts
(7.1.4) for a description of start-up scripts.
3.3.
Status LED indication
This section describes the basic default status LED behavior. The LED is located in different
locations depending on the device type, see
Technical Manual
for details. Note that the status LED
behavior can be disabled totally and/or overridden by user software through the CCAux API.
3.3.1.
Start-up sequence
During start-up, the LED indications are as follows:
1.
Flashing YELLOW at 1 Hz. Pre-heating is activated and in effect, start-up is delayed while
the device is heated.
2.
Flashing YELLOW at 2 Hz. Device start-up phase begins.
3.
Operating system is then started, and specific service software begins to execute.
4.
Static GREEN. System is operational.