Validating Firmware
Function
The npu-smi upgrade -a item -i id command is used to make the new firmware version take effect after the firmware is upgraded.
Syntax
npu-smi upgrade -a item -i id
Parameters
Parameter |
Description |
---|---|
id |
Device ID. The NPU ID obtained by running the npu-smi info -l command is the device ID. |
item |
Upgrade type. The option is mcu. |
Restrictions
This command must be run as the root user on a physical machine. If it is run as a non-root user on the physical machine, in a container, or on a VM, an error is reported.
Example
# Make the MCU firmware of the new version take effect on device 2.
npu-smi upgrade -a mcu -i 2
Status : OK
Message : Active upgrade warm reboot successfully.