昇腾社区首页
中文
注册

升级功能帮助

命令功能

npu-smi upgrade -h | --help 用于显示升级命令的帮助信息。

命令格式

npu-smi upgrade -h

npu-smi upgrade --help

参数说明

使用指南

表1 Atlas 200I DK A2 开发者套件Atlas 200I A2 加速模块(RC场景)部署场景

Linux物理机

Linux物理机容器

Linux虚拟机

root用户

运行用户组(非root用户)

root用户

root用户

Y

Y

Y

NA

表2 Atlas 500 A2 智能小站部署场景

Linux物理机

Linux物理机容器

Linux虚拟机

root用户

运行用户组(非root用户)

root用户

root用户

Y

N

Y

NA

表3 Atlas 200I A2 加速模块(EP场景)部署场景

Linux物理机

Linux物理机容器

Linux虚拟机

root用户

运行用户组(非root用户)

root用户

root用户

Y

Y

Y

Y

使用实例

显示升级命令的帮助信息,以Atlas 500 A2 智能小站的root用户为例,回显信息如下所示。

npu-smi upgrade -h
Usage: npu-smi upgrade <-h|-t type|-q type|-b type|-a type> [Options...]

Commands:
       -h, --help     Show this help text and exit
       -t type        Upgrade device firmware
       -q type        Query the upgrade status
       -b type        Query the firmware version
       -a type        Active the firmware version
                      type: mcu bootloader vrd

Options:
       -i ID          Upgrade for this card ID
       -f file        The firmware file path

输出说明

表4 打印信息说明

字段

说明

-h

命令的帮助信息

--help

命令的帮助信息

-t type

升级设备固件

-q type

查询升级状态

-b type

查询固件版本

-a type

激活固件版本

类型:mcu、bootloader、vrd

-i ID

设备id

-f file

固件文件路径