Recovering from a Flash-Bypassing Hot Update Fault
You can add the bypass_flash option to the updatefw command of hinicadm3 to implement the flash-bypassing hot update capability. This capability is recommended for development and debugging. It should be noted that the original firmware will be loaded after a power cycle, and the firmware updated with the bypass_flash option will become invalid.
- Perform a flash-bypassing hot update.
hinicadm3 updatefw -i hinic0 -f {NPU firmware} -a hot -t bypass_flashIf information similar to the following is displayed, the update is successful:[root@localhost bypass_flash]# hinicadm3 updatefw -i hinic0 -f Hinic3_flash.bin -a hot -t bypass_flash Version check succeed. The running version can be hot upgraded to the target version. Please do not remove driver or network device. Loading... Firmware update start: 2025-04-27 15:30:36 [>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>] [100%][\] Firmware update finish: 2025-04-27 15:30:53 Firmware update time used: 17s Loading firmware image succeed. Do not operate the device during the hot upgrade. NPU firmware (bypass flash) is activing. Please waiting... Set update hot active successful
- If a fault occurs after the update, power cycle the device to restore the original firmware.
Parent topic: FAQs