Technical data

4. Packages
conservative
The CPU frequency will be adjusted depending on the current CPU usage. The
frequency is changed step by step.
powersave
The CPU allways runs with the lowest available frequency.
userspace
The CPU frequence kann be set manually or by an user script via the sysfs variable
/devices/system/cpu/cpu<n>/cpufreq/scaling_setspeed.
HWSUPP_LED_N Defines the number of LEDs. The number of LEDs of the hardware in
use should be entered here.
HWSUPP_LED_x Defines the information indicated by the LED. The following informations
are possible:
ready - the fli4l router ist ready for operation
6
online - the fli4l router has an active internet connection
trigger - LED is controlled by a kernel trigger
user - LED is controlled by an user script
The list of possible indications can be extended by other packages. For example, if the
WLAN package is loaded the information
wlan - WLAN is active
is possible.
In apppendix B.10 package developers can get some hints on how to create such exten-
sions.
HWSUPP_LED_x_DEVICE Specifies the LED device.
Here you either have to enter a LED device (to be found at /sys/class/leds/ in the
router’s file system) or a GPIO
7
number.
A list of valid LED device names for a specific HSUPP_TYPE can be found in the appendix
B.7.1.
The GPIO number has to be enterd in the format gpio::x. If a GPIO is entered, the
corresponding LED device will be created automatically. By preceding the char / the
GPIO functionality may be inverted.
Examples:
HWSUPP_LED_1_DEVICE='apu::1' # LED 1 on PC engines APU
HWSUPP_LED_2_DEVICE='gpio::237' # GPIO 237
HWSUPP_LED_3_DEVICE='/gpio::245' # inverted GPIO 245
6
If HWSUPP_LED_x=’ready’ is set, the boot progress is indicated by a blink sequence (see appendix B.9).
7
A GPIO (General Purpose Input/Output) is a generic pin on an integrated circuit whose behavior can be
programmed at run time, including whether it is an input or output pin.
129