IPC@CHIP® RTOS-LNX – API Documentation

Header image

Main page


Command shell: Other commands


BATCHMODE 0/1: Set batch file execution mode
Sets the batch file execution mode of application programs for either concurrent or sequential execution.
See BATCHMODE CHIP.INI initialization documentation for more details.
Example:
batchmode 1      ; Selects sequential batch file processing mode
batchmode 0      ; Selects concurrent batch file processing mode
Since
V0.80


HELP: Display list of all console commands
Displays a list of all available console commands.
Example:
help
Since
V0.80


REBOOT: Restart the system
Restarts the system. First, the file system is closed, then the watchdog is configured to issue a reset. Please note that the tasks are not informed of this restart!
Example:
reboot
Since
V0.80


WAIT secs: Suspends the command interpreter
Suspends execution of the command interpreter for the specified interval. The time interval is defined in seconds.
Example:
wait 1
Since
V0.80


CON [device] ...: Direct console I/O
Define what device is used as the console. Possible devices are UART1 - UART6, TELNET and SSH. Multiple devices are possible.
Example:
con UART1 UART4 TELNET
Since
V0.83


KMOD [-a <path> <parameters> | -r <name> | -p <name> <parameters>| -c <name>]: List/add/remove kernel module
If no arguments are given to the command, it will list all loaded kernel modules.

The -a parameter followed by the path to the kernel module can be used to load a kernel module that is located at some user drive.

The -p parameter followed by the kernel module name can be used to load a kernel module that is located in the internal rootfs. This command will check what other kernel modules are needed and will add these dependencies automatically.

The -r parameter followed by the name of the kernel module can be used to remove a kernel module.

The -c parameter followed by the name of the kernel module can be used to remove a kernel module. This command will check what other kernel modules are no longer needed and will remove these dependencies automatically.
Example:
kmod
kmod -a A:/mykernelmodule.ko
kmod -a A:/mykernelmodule.ko param1=xyz param2=abc
kmod -p modulename
kmod -p modulename param1=xyz param2=abc
kmod -r mykernelmodulename
kmod -c modulename
Since
V1.05
Changes:
V1.17 - Add -p and -c options


DTOV <name> <path>: Load device tree overlay
The first parameter must specify a unique name for the overlay that should be loaded. The second parameter must specify the path name of the device tree overlay "dtbo" file.
Example:
dtov overlay1 myoverlay.dtbo
Since
V1.17





Top of page | Main page

Copyright © 2018 Beck IPC GmbH
Generated on Tue Jul 10 2018 14:54:14 by Doxygen 1.8.13