Updated on 2023-10-30 GMT+08:00

Upgrading the Ascend NPU Firmware

You can upgrade the firmware of Ascend NPUs for Atlas 800 (model 9000) training servers. This section uses the A800-9000-npu-firmware_x.x.x.run package as an example to describe how to upgrade NPU firmware.

Procedure

  1. Obtain the software package A800-9000-npu-firmware_x.x.x.run by referring to Preparing for Upgrade.
  2. Log in to the Atlas 800 (model: 9000) training server as the root user.
  3. Upload A800-9000-npu-firmware_x.x.x.run to any directory in the OS, for example, /opt.
  4. Go to the directory where A800-9000-npu-firmware_x.x.x.run is stored.

cd /opt

  1. Run the following command to change the permissions on A800-9000-npu-firmware_x.x.x.run:

chmod u+x A800-9000-npu-firmware_x.x.x.run

  1. Run the ./A800-9000-npu-firmware_x.x.x.run --check command to check the consistency and integrity of the software package.
  2. Upgrade the firmware.

You can run the ./A800-9000-npu-firmware_x.x.x.run --upgrade command to perform the upgrade.

If information similar to the following is displayed, the upgrade is successful:

Firmware package install success! Reboot needed for installation/upgrade to take effect!
  • x.x.x indicates the firmware version.
  • The logs generated during the upgrade are recorded in the /var/log/ascend_seclog/ascend_install.log file. You can run the vim /var/log/ascend_seclog/ascend_install.log command to open the log file.
  1. Reboot the system.

reboot

  1. Check the firmware version.

In the installation directory, run the following command to check whether the firmware version is correct:

cat version.info

  • The default installation directory is /usr/local/Ascend/firmware.