下载:升级文件包
一、只超频CPU到1.6GHz,不超频AI算力的方法:
1. 首先将Ascend310B-firmware-7.3.t3.0.b309-rc-signed-8t-1.6ghz-20240428.run上传到OPi AI Pro开发板的Linux系统中2. 然后添加执行权限:
chmod +x Ascend310B-firmware-7.3.t3.0.b309-rc-signed-8t-1.6ghz-20240428.run
3. 然后运行 ./Ascend310B-firmware-7.3.t3.0.b309-rc-signed-8t-1.6ghz-20240428.run --full 命令更新固件
./Ascend310B-firmware-7.3.t3.0.b309-rc-signed-8t-1.6ghz-20240428.run --full
4. 然后输入小写的 y 确认开始更新
5. 更新完成后的打印输出如下所示:(base) root@orangepiaipro:~# ./Ascend310B-firmware-7.3.t3.0.b309-rc-signed-8t-1.6ghz-20240428.run --fullVerifying archive integrity... 100% SHA256 checksums are OK. All good.Uncompressing ASCEND310B FIRMWARE RUN PACKAGE 100% [Firmware] [2024-05-16 18:32:24] [INFO]Start time: 2024-05-16 18:32:24[Firmware] [2024-05-16 18:32:24] [INFO]LogFile: /var/log/ascend_seclog/ascend_install.log[Firmware] [2024-05-16 18:32:24] [INFO]OperationLogFile: /var/log/ascend_seclog/operation.log[Firmware] [2024-05-16 18:32:24] [INFO]base version is 7.1.T11.0.B226.[Firmware] [2024-05-16 18:32:24] [WARNING]Do not power off or restart the system during the installation/upgrade[Firmware] [2024-05-16 18:32:24] [INFO]Firmware package has been installed on the path /usr/local/Ascend, the version is 7.1.T11.0.B226, and the version of this package is 7.3.T3.0.B309,do you want to continue? [y/n] y[Firmware] [2024-05-16 18:33:02] [INFO]upgradePercentage: 0%[Firmware] [2024-05-16 18:33:10] [INFO]upgradePercentage: 4%[Firmware] [2024-05-16 18:33:19] [INFO]upgradePercentage: 36%[Firmware] [2024-05-16 18:33:28] [INFO]upgradePercentage: 99%[Firmware] [2024-05-16 18:33:33] [INFO]upgradePercentage: 100%[Firmware] [2024-05-16 18:33:33] [INFO]Firmware package installed successfully! Reboot now or after driver installation for the installation/upgrade to take effect.[Firmware] [2024-05-16 18:33:33] [INFO]End time: 2024-05-16 18:33:336. 然后断电重启即可使用新的1.6ghz的固件
7.执行以下命令查看cpu频率和NPU算力
grep "aicore freq" /var/log/npu/slog/device-0/device-0*
[INFO] LPM(-1,null):1970-01-01-00:00:15.393000 [avs] [AvsProfileLimitUpdate 55] profile[1] aicore freq[750] cpu freq[1600] config done
如果使用下面的命令能看到aicore freq变为了750(原先是500),说明切换到了12T的AI算力 ; cpu freq[1600] 表示已经升级到1.6G
二、超频CPU到1.6GHz,同时超频AI算力到12T的方法:
1. 首先将Ascend310B-firmware-7.3.t10.0.b528-rc-signed-opiaipro-12t-1.6ghz-20240605.run上传到OPi AI Pro开发板的Linux系统中2. 然后添加执行权限:
chmod +x Ascend310B-firmware-7.3.t10.0.b528-rc-signed-opiaipro-12t-1.6ghz-20240605.run
3. 然后运行 ./Ascend310B-firmware-7.3.t10.0.b528-rc-signed-opiaipro-12t-1.6ghz-20240605.run --full 命令更新固件
./Ascend310B-firmware-7.3.t10.0.b528-rc-signed-opiaipro-12t-1.6ghz-20240605.run --full
4. 然后输入小写的 y 确认开始更新
5. 更新完成后的打印输出如下所示:(base) root@orangepiaipro:~# ./Ascend310B-firmware-7.3.t10.0.b528-rc-signed-opiaipro-12t-1.6ghz-20240605.run --fullVerifying archive integrity... 100% SHA256 checksums are OK. All good.Uncompressing ASCEND310B FIRMWARE RUN PACKAGE 100% [Firmware] [2024-05-16 18:32:24] [INFO]Start time: 2024-0x-xx 18:32:24[Firmware] [2024-05-16 18:32:24] [INFO]LogFile: /var/log/ascend_seclog/ascend_install.log[Firmware] [2024-05-16 18:32:24] [INFO]OperationLogFile: /var/log/ascend_seclog/operation.log[Firmware] [2024-05-16 18:32:24] [INFO]base version is 7.x.xx.[Firmware] [2024-05-16 18:32:24] [WARNING]Do not power off or restart the system during the installation/upgrade[Firmware] [2024-05-16 18:32:24] [INFO]Firmware package has been installed on the path /usr/local/Ascend, the version is 7.x.xx., and the version of this package is 7.x.xx.,do you want to continue? [y/n] y[Firmware] [2024-05-16 18:33:02] [INFO]upgradePercentage: 0%[Firmware] [2024-05-16 18:33:10] [INFO]upgradePercentage: 4%[Firmware] [2024-05-16 18:33:19] [INFO]upgradePercentage: 36%[Firmware] [2024-05-16 18:33:28] [INFO]upgradePercentage: 99%[Firmware] [2024-05-16 18:33:33] [INFO]upgradePercentage: 100%[Firmware] [2024-05-16 18:33:33] [INFO]Firmware package installed successfully! Reboot now or after driver installation for the installation/upgrade to take effect.[Firmware] [2024-05-16 18:33:33] [INFO]End time: 2024-06-13 18:33:336. 然后断电重启系统7. 重启系统后使用下面的命令切换到12T的AI算力档位:
(base) root@orangepiaipro:~# npu-smi set -t nve-level -i 0 -c 0 -d 1
Status : OK
Message : The nve-level of the chip is set successfully.8. 然后重启系统,如果使用下面的命令能看到aicore freq变为了750,说明切换到了12T的AI算力(base) root@orangepiaipro:~# [INFO] LPM(-1,null):1970-01-01-00:00:14.817000 [avs] [AvsProfileLimitUpdate 55] profile[1] aicore freq[750] cpu freq[1600] config done[INFO] LPM(-1,null):1970-01-01-00:00:14.456000 [avs] [AvsProfileLimitUpdate 55] profile[1] aicore freq[750] cpu freq[1600] config done
三、如果您拿到的开发板使用的三星16GB内存,但是在Linux系统中使用free -h命令只能看到8GB,请更新下Ascend310B-firmware-7.3.t3.0.b309-rc-signed-8t-1.6ghz-20241022.run这个固件,方法如下所示:
1. 首先将Ascend310B-firmware-7.3.t3.0.b309-rc-signed-8t-1.6ghz-20241022.run上传到OPi AI Pro开发板的Linux系统中2. 然后添加执行权限:
chmod +x Ascend310B-firmware-7.3.t3.0.b309-rc-signed-8t-1.6ghz-20241022.run
3. 然后运行 ./Ascend310B-firmware-7.3.t3.0.b309-rc-signed-8t-1.6ghz-20241022.run --full 命令更新固件
./Ascend310B-firmware-7.3.t3.0.b309-rc-signed-8t-1.6ghz-20241022.run --full
4. 然后输入小写的 y 确认开始更新
5. 更新完后断电重启即可6. 然后在Linux系统中使用free -h命令看到的内存大小应该就正常了