查询dpu_tool -s帮助信息

命令功能

查询dpu_tool -s帮助信息。

命令格式

dpu_tool -s help

入参说明

无。

出参说明

项目

描述

result

帮助信息。

使用指南

无。

使用实例

查询dpu_tool -s帮助信息。
  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
dpu_tool -s help
available target commands are : 
	help :show this help message
	wdt :	Set watch dog state 
			usage: -- ./dpu_tool -s wdt/op/1.$value:2.1:3.$value
			usage: -- ./dpu_tool -s wdt/op/1.$value:2.1:
			usage: -- ./dpu_tool -s wdt/op/1.$value:2.0:
			     Configuring Watchdog Information
			     $type: 1--Watchdog Type.
			           $value: 0--BIOS boot.
			           $value: 1--OS boot.
			           $value: 2--PXE boot.
			           $$value: 4--OS running phase.
			     $type: 2--Watchdog Switch
			           $value: 0--Power off.
			           $value: 1--Power on.
			     $type: 3--Watchdog timeout interval
			           $value: 0--Invalid.
			           $value: other--Watchdog timeout interval.
			usage: -- ./dpu_tool -s wdt/c
			     Send the command for feeding the watchdog.

	flash :	Set flash choice flag 
			usage: -- ./dpu_tool -s flash/n/$type:$level
			     $type[1-2] 1--MRC Print Level, 2--UEFI Print Level
			     $level[1-2] 1--Compact Print, 2--All Print
			usage: -- ./dpu_tool -s flash/b/$value
			     Set 1620s next startup flash area
			     $value: 0--Main Flash Area.
			     $value: 1--Backup Flash Area.
			usage: -- ./dpu_tool -s flash/s/$value
			     Set 1620s current operating flash area
			     $value: 0--Main Flash Area.
			     $value: 1--Backup Flash Area.
			usage: -- ./dpu_tool -s flash/p/$type.$value
			     Configuring 1620s flash write protection
			     $type: 0--Main Flash Area.
			           $value: 0--close flash write protection.
			           $value: 1--open flash write protection.
			     $type: 1--Backup Flash Area.
			           $value: 0--close flash write protection.
			           $value: 1--open flash write protection.
			usage: -- ./dpu_tool -s flash/checksign/xxx.bin
			     Check signature of 1620s flash firmware

	cfg :	Set some configuration 
			usage: -- ./dpu_tool -s cfg/boot_m/1.$value:$type.$value:
			     Configuring Startup Options
			     Tip : Must set type 1 along with another type.
			     $type: 1--Configuring Solidification Options.
			           $value: 0--Effective at one time.
			           $value: 1--Permanently effective.
			     $type: 2--Boot mode of the OS booted by the BIOS
			           $value: 0--Unset.
			           $value: 1--PXE boot.
			           $value: 2--Local Disk Boot.
			     $type: 3--Boot Disk Selection
			           $value: 0--Unset.
			           $value: 1--Booting the OS from the Slot2 M.2 Disk.
			           $value: 2--Starting the OS from the Slot1 M.2 Disk.
			     $type: 4--OS Disk Boot Location
			           $value: 0--Unset.
			           $value: 1--Start OS1.
			           $value: 2--Start OS2.
			     $type: 5--PXE switch
			           $value: 0--Disable.
			           $value: 1--Enable.
			     $type: 6--PXE Retry Count
			           $value: 0~98--Retry Count.
			           $value: 99--Retry until success.
			usage: -- ./dpu_tool -s cfg/device_st/$type.$value:
			     Setting the Running Status of the Device
			     $type: 6--Running status of OS
			           $value: 0--OS is not started.
			           $value: 1--The BIOS starts to boot the OS .
			           $value: 2--Failed to boot the OS from the BIOS.
			           $value: 3--OS startup complete
			           $value: 4--OS startup timeout
			           $value: 5--BIOS didn't obtain the boot disk selection.
			usage: -- ./dpu_tool -s cfg/scene/$value
			     Sets the status flag of the VM bare metal mode.
			           $value: 0--Virtual Machine(VM) Mode
			           $value: 1--Bare Metal Machine(BM) Mode
			usage: -- ./dpu_tool -s cfg/rep_errcode/$effect.$errcode.$level
			     Reporting Error Code
			     $effect: 00--Alarm generated
			     $effect: FF--Alarm cleared
			     $errcode:?--according to the errcode acquired
			     $level: 1--Minor alarm
			     $level: 2--Major alarm
			     $level: 3--Critical alarm
			usage: -- ./dpu_tool -s cfg/mcu_time/$time
			     Configuring the UTC Time of the MCU
			     $time: xx:xx:xx:xx:xx:xx:xx  YY-MM-DD-HH-mm-SS-WW
			usage: -- ./dpu_tool -s cfg/reboot_mcu
			     Reset the MCU.
			usage: -- ./dpu_tool -s cfg/effect_cpld
			     Effect CPLD firmware.
			usage: -- ./dpu_tool -s cfg/reboot_timeout/$time
			     Set the reboot timeout(s).
			usage: -- ./dpu_tool -s cfg/nvme_power/$nvmeId.$switch: 
			     Switch on or off the power of specify nvme.
                             $nvmeId: M.2 disk serial number,the value range is [0, 1].
                             $switch: 0--power off,1--power on (default).
			usage: -- ./dpu_tool -s cfg/uce_frquency/$time.$uce: 
                             $time: 0~255--Error correction time.
                             $uce: 0~255--Uce numbers.
			usage: -- ./dpu_tool -s cfg/delete_https: 
                             Delete https certificate.
                        usage: -- ./dpu_tool -s cfg/func_switch/$type.$value: 
                             Enable or disable func_switch.
                             $type: 1--Heartbeat check switch between spu and mcu.
                                   $value: 0--Disable.
                                   $value: 1--Enable.
                             $type: 2--Secure boot switch.
                                   $value: 0--Disable.
                                   $value: 1--Enable.
                             $type: 3--EEPROM write protection switch.
                                   $value: 0--Disable.
                                   $value: 1--Enable.
                             $type: 4--PXE function switch.
                                   $value: 0--UEFI PXE(IPV4).
                                   $value: 1--https PXE(IPV4 & IPV6).
                                   $value: 2--https PXE(IPV4).
                                   $value: 3--https PXE(IPV6).
                                   $value: 4--UEFI PXE(IPV6).
                                   $value: 5--UEFI PXE(IPV4 & IPV6).
                             $type: 5--LLDP functions.
                                   $value: 0--port0:disable;port1:disable.
                                   $value: 1--port0:enable;port1:disable.
                                   $value: 2--port0:disable;port1:enable.
                                   $value: 3--port0:enable;port1:enable.
                             $type: 6--Random 2-bit UCE error correction swtich.
                                   $value: 0--Disable.
                                   $value: 1--Enable.
                        usage: -- ./dpu_tool -s cfg/u/1.$value:$type.$value:
                             Configuring Serial Port Management Options
                             $type: 1--Configuration consolidation.
                                   $value: 0--Temporary Configuration.
                                   $value: 1--solidified configuration.
                             $type: 2--Serial port channel selection
                                   $value: 0--Unset.
                                   $value: 1--Passthrough BMC UART.
                                   $value: 2--UART over SMBUS.
                             $type: 3--Serial port baud rate selection
                                   $value: 0--Unset.
                                   $value: 1--9600.
                                   $value: 2--19200.
                                   $value: 3--38400.
                                   $value: 4--57600.
                                   $value: 5--115200(default).
                             $type: 4--Serial port enabling
                                   $value: 0--Disable.
                                   $value: 1--Enable.
                             $type: 5--Serial port switch
                                   $value: 0--close.
                                   $value: 1--SPU.
                                   $value: 2--MPU.
                                   $value: 3--MCU UART0.
                                   $value: 4--1860.
                                   $value: 7--M7.
                                   $value: 8--IMU.
        board : Set board information