Utilities; Garz & Fricke System Configuration; Power Down Mode - GARZ&FRICKE GUF-Yocto-34.0-r5756-0-VINCELL User Manual

Embedded computer systems
Table of Contents

Advertisement

4.2 Utilities

4.2.1 Garz & Fricke system configuration
The
/etc/init.d/sharedconf
shared system configuration. For this purpose, there is a link to the script at
without the absolute path:
root@vincell:~# sconfig
If called without any parameters, the command prints the usage:
Usage: /usr/bin/sconfig {start | list | <setting> [value]}
Call without [value] to read a setting, call with [value] to write it.
Available settings:
serialdiag
switch serial debug console on or off
dhcp
switch DHCP on or off
ip
set IP address
mask
set subnet mask
gateway
set standard network gateway
mac
set MAC address
name
set device name
serial
set serial number (affects MAC address and device name)
rotation
set display rotation
If a 2.Ethernet is present, it may be configured via serial2, mac2, etc.
If the script is called with a setting as parameter, the setting is read from the XML configuration and displayed
on the console. If additionally a value is appended, this value is written to the according setting in the XML
configuration.
The 'name' set with sconfig is also used as hostname for the device. It defaults to GFMM<serial number>.
Example 1: To activate DHCP on the device, type:
root@vincell:~# sconfig dhcp on
Example 2: To deactivate DHCP and set a static IP address, type:
root@vincell:~# sconfig dhcp off
root@vincell:~# sconfig ip 192.168.1.123
Note: The settings require a reboot to take effect.

4.2.2 Power down mode

The system can enter a power down mode to reduce power consumption when the system is not in use. In this
mode all PLLs are disabled, CPU voltages are lowered and several hardware components are powered down.
The overall power consumption should be less than 500 mW in this mode but actually depends on the device and
its hardware assembly option.
Power down mode is entered using the following command:
root@vincell:~# echo mem > /sys/power/state
The average time it takes to enter power down mode has been measured 364
until voltage drop on VDDSOC).
There are different possibilities to make the system wake up from the power down mode. Wakeup sources have
to be configured before entering power down mode, otherwise the system cannot be woken up.
I
script (see
[
4.1.7 Garz & Fricke shared
GUF-Yocto-34.0-r5756-0
configuration]) can be used to change the
/usr/bin/sconfig
5 ms (last byte on UART RX
¦
VINCELL
User Manual
¡
¡
which can be called
21

Advertisement

Table of Contents
loading

Table of Contents