efuse-tool工具用于烧写熔丝器件,包括检查对应域段熔丝是否烧写,烧写是否正常以及对开放域段熔丝进行烧写。
熔丝器件一旦烧写无法回退,使用efuse-tool工具前请确认是否需要烧录对应功能域段,请谨慎操作,避免导致产品无法恢复到烧写前的功能,影响正常使用。
efuse-tool -h用于查询命令帮助信息。
efuse-tool 0 check -hboot2 用于查询hboot2域段是否被烧写。
efuse-tool 0 burn -hboot2 用于烧写hboot2域段。
类型 |
参数 |
描述 |
---|---|---|
device_id |
0 |
设备ID |
option |
-hboot2 |
开放域段参数 |
- |
-h |
帮助信息 |
- |
check |
检查参数 |
- |
burn |
烧写参数 |
efuse-tool工具不支持在非root用户、虚拟机和容器下运行。
此处以Atlas 200I DK A2 开发者套件为例。
cd /opt
tar -xzvf efuse-tool.tar.gz
cd efusetool
./Ascend-hdk-310b-npu-firmware-soc_x.x.x.x.X.run --upgrade
./Ascend-hdk-310b-npu-driver-soc_<version>_linux-aarch64.run --upgrade
若有软实时OS需求,该命令为./Ascend-hdk-310b-npu-driver-soc_<version>_linux-rt-aarch64.run --upgrade。
reboot
cd /opt/efusetool
./efuse-tool 0 check -hboot2
出现如下回显,表示域段正常且未烧写。
The domain segment has not been burned
./efuse-tool 0 burn -hboot2
出现如下回显,表示域段烧写成功。
The domain segment has been burned