热升级固件

暂不支持热升级固件。

命令功能

MPU/NPU热升级功能。

命令格式

<tool name> updatefw -i <device name> -f <firmware file> -a <active mode> [-t <type>]

入参说明

参数

参数说明

取值

<device name>

设备名称。

物理设备名,例如:hinic0、hinic1。

<firmware file>

目标固件镜像文件路径。

例如:Hi1822_flash.bin。

<active mode>

激活模式。

  • hot:热激活。
  • cold:冷激活。

<type>

热升级类型。
  • 不加“-t”时,只传包,不激活。
  • 注意微码热升级,使用第0个配置文件,暂不支持指定使用其他索引号。
  • MPU
  • NPU
  • all

出参说明

项目

描述

Loading firmware image succeed and active now.

立即激活成功。

Loading firmware image succeed and active later.

延迟激活成功。

使用指南

使用实例