4.7.7. hrut_boardid
hrut_boardid is used to retrieve and output the current board’s ID. This command obtains the system’s board ID by reading the /sys/class/socinfo/board_id file and prints the result.
4.7.7.1. Syntax Description
Below is the Usage output from executing hrut_boardid -h:
hrut_boardid -h
Usage:
hrut_boardid: prints current boardid
-h: Print this message
4.7.7.2. Option Arguments Description
Below are the options supported by hrut_boardid and their descriptions:
hrut_boardid: Prints the current board ID number.-h: Displays help information explaining how to use the command.
4.7.7.3. Command Options and Function Descriptions
Default Usage
Command:
root@buildroot:~# hrut_boardid
Function:
Outputs the current board ID. The value following board_id is the actual ID of the board. See Hardware Board ID Overview.
Output:
board_id: 0x0202
Display Help Information
Command:
root@buildroot:~# hrut_boardid -h
Function:
This command displays help information explaining how to use the command.
Output:
Usage:
hrut_boardid: prints current boardid
-h: Print this message