Upgrading the Firmware
Function
The npu-smi upgrade -t item -i id -f file_path command is used to upgrade firmware.
Syntax
npu-smi upgrade -t item -i id -f file_path
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. |
file_path |
Path of the upgrade file. The file path can contain only letters, digits, underscores (_), periods (.), slashes (/), and hyphens (-). |
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
# Upgrade the MCU firmware on device 2.
npu-smi upgrade -t mcu -i 2 -f ./ A300T-9000-MCU_V136.bin [WARNING]: Do not power off or restart the system during the upgrade. file_len(254566)--offset(254566) [100]. transfile : successfully Status : start to upgrade Start upgrade [100]. Status : OK Message : Start device upgrade successfully Message : need active mcu
- The MCU upgrade package is A300t-9000-mcu_xxx.bin.
- Obtain the MCU upgrade package from the downloaded software package. External users can contact Huawei customer service managers to obtain the upgrade package.