Rate This Document
Findability
Accuracy
Completeness
Readability

Basic Usage

This section describes the usage and command parameters of the CMF command line tool.

Go to the build/uapi folder where the command line tool is located and run the --help command to view all parameters.

./devcman --help

Table 1 describes the devcman command parameters.

Table 1 devcman command parameters

Parameter

Range

Default Value

Description

-h/--help

-

-

Prints the usage information about all parameters.

-m/--mode

l2-restrict

l2-restrict

(Mandatory) Only l2-restrict is valid for this parameter. If other modes are specified, error logs are printed.

-s/--start_cpu

Visible core ID, which is not greater than end_cpu.

-

(Mandatory) Indicates the start core ID. Ensure that the value range between start_cpu and end_cpu is within the configured CPU core range.

-e/--end_cpu

Visible core ID, which is not less than start_cpu.

-

(Mandatory) Indicates the end core ID. Ensure that the value range between start_cpu and end_cpu is within the configured CPU core range.

--reset

-

-

If this parameter is added, feature reset is performed based on the specified mode (which can only be l2-restrict) and CPU cores.

--d-mask

Hexadecimal string ranging from 0x0 to 0x3ff

0x0

Indicates the L2 D-cache mask.

--i-mask

Hexadecimal string ranging from 0x0 to 0x3ff

0x0

Indicates the L2 I-cache mask.