暂不支持热升级固件。
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> |
激活模式。 |
|
<type> |
热升级类型。
|
|
项目 |
描述 |
---|---|
Loading firmware image succeed and active now. |
立即激活成功。 |
Loading firmware image succeed and active later. |
延迟激活成功。 |
1 2 3 4 5 6 7 8 9 10 11 | hinicadm3 updatefw -i hinic0 -f Hinic3_flash.bin -a hot Version check succeed. The running version can be hot upgraded to the target version. download : patch_0 Please do not remove driver or network device. Loading... Firmware update start: 2022-04-21 03:15:48 [>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>] [100%][\] Firmware update finish: 2022-04-21 03:17:10 Firmware update time used: 82s Loading firmware image succeed. Please hot activate the firmware. |
1 2 3 4 5 6 7 8 9 10 11 12 | hinicadm3 updatefw -i hinic0 -f Hinic3_flash.bin -a hot -t npu Version check succeed. The running version can be hot upgraded to the target version. download : patch_0 Please do not remove driver or network device. Loading... Firmware update start: 2022-04-21 03:15:48 [>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>] [100%][\] Firmware update finish: 2022-04-21 03:17:10 Firmware update time used: 82s Loading firmware image succeed. NPU firmware is activing. Please waiting... Set update hot active successful! |