Upgrading the MCU
The MCU is an out-of-band management module of the Atlas 300T training card to provide functions such as board monitoring and fault reporting. The Atlas 300T training card has been integrated with the initial version. To ensure that all functions are available, upgrade the MCU to the latest version.
The MCU can be upgraded by using:
- npu-smi tool
- iBMC
Only the MCU of 2.2.1 or later can be used for a PCIe training card with Ascend 910 Pro B to provide multiply-add computing.
MCU version upgrade has the following constraints:
- 2.0.4 or later cannot be rolled back to a version earlier than 2.0.4.
- To upgrade to 2.2.1 or later, upgrade to 2.1.6 first. Rollback to 2.1.3 or earlier is not supported.
- There are VRD changes in MCU 1.4.9, 1.4.10, 2.0.5, 2.1.1, and 2.2.1. If the VRD version changes after the upgrade, power off and then power on the host to update the VRD firmware 30 seconds after the upgrade.
To query the MCU version, run npu-smi upgrade -b mcu -i NPU ID.
Upgrading the MCU by Using the npu-smi Tool
The npu-smi tool can be used to upgrade the MCU of a single Atlas 300T training card. To upgrade multiple Atlas 300T training cards, you need to upgrade them one by one. This section uses the A300t-9000-mcu_x.x.x.bin package of the Atlas 300T training card as an example to describe how to upgrade the MCU.
Procedure
- Obtain the installation package A300t-9000-mcu_x.x.x.bin. For details, see Preparations for Upgrade.
- Log in to the server where the Atlas 300T training card is located as user root.
- Upload the A300t-9000-mcu_x.x.x.bin package to any directory on the Linux OS, for example, /opt.
- Go to the directory where A300t-9000-mcu_x.x.x.bin is stored, for example, /opt.
cd /opt
- Run the following command to start the upgrade:
npu-smi upgrade -t mcu -i NPU ID -f A300t-9000-mcu_x.x.x.bin
- Run the following command for the new version to take effect:
npu-smi upgrade -a mcu -i NPU ID
- After the new version takes effect, wait for 30 seconds and check the MCU version to ensure that the upgrade is successful.
npu-smi upgrade -b mcu -i NPU ID
- NPU ID indicates the device ID of the Atlas 300T training card. You can run the npu-smi info -l command to query the device ID. For details, see the Atlas 300T Training Card npu-smi Command Reference (Model 9000).
- x.x.x indicates the MCU version.
- If the version after upgrade is not the target version, perform the upgrade again. If the upgrade still fails, record the fault information and steps you have taken, and contact Huawei technical support.
Upgrading the MCU by Using the iBMC
The iBMC is the server management software, which can be used to upgrade the MCU. It can be used to upgrade the MCUs of all Atlas 300T training cards on a server. You can use either of the following interfaces to perform the upgrade:
- Web user interface (WebUI)
- Command-line interface (CLI)
The following uses the A300t-9000-mcu_x.x.x.hpm package of the Atlas 300T training card as an example to describe how to upgrade the MCU.
Using the WebUI
Procedure
- Obtain the installation package A300t-9000-mcu_x.x.x.hpm. For details, see Preparations for Upgrade.
- Open your browser, enter https://IP_address_of_the_iBMC_management_network_port in the address box, and press Enter. The login page is displayed.
Enter the user name and password to log in to the iBMC WebUI. For details about the default user name and password, see Atlas Hardware Product User List.
- Click Upgrade.
- Select the upgrade file and click Upgrade.
- Wait for the upgrade to complete.
- Check the target version.
- On the iBMC WebUI, choose System > System Info > Others.
- In the PCIe Cards area, view the MCU firmware version.
If the version after upgrade is not the target version, perform the upgrade again. If the upgrade still fails, record the fault information and steps you have taken, and contact Huawei technical support.
Using the CLI
Procedure
- Obtain the installation package A300t-9000-mcu_x.x.x.hpm. For details, see Preparations for Upgrade.
- Enter the host IP address, username, and password to log in to the iBMC CLI using PuTTY.
For details about the default user name and password, see Atlas Hardware Product User List.
- Upload the A300t-9000-mcu_x.x.x.hpm package to the /tmp directory.
- Run the following iBMC command to start the upgrade:
ipmcset -d upgrade -v /tmp/A300t-9000-mcu_x.x.x.hpm
For example, run the following command:
ipmcset -d upgrade -v /tmp/A300t-9000-mcu_x.x.x.hpm
The following information is displayed:
Please make sure the iBMC is working while upgrading. Updating... 100% Upgrade successfully.
- /tmp/A300t-9000-mcu_x.x.x.hpm indicates the upgrade package with an absolute path.
- x.x.x indicates the MCU version.
If the version after upgrade is not the target version, perform the upgrade again. If the upgrade still fails, record the fault information and steps you have taken, and contact Huawei technical support.