惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Latest news
Latest news
B
Blog RSS Feed
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
博客园 - 三生石上(FineUI控件)
有赞技术团队
有赞技术团队
博客园 - Franky
博客园_首页
爱范儿
爱范儿
博客园 - 聂微东
月光博客
月光博客
博客园 - 叶小钗
酷 壳 – CoolShell
酷 壳 – CoolShell
量子位
IT之家
IT之家
J
Java Code Geeks
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Last Week in AI
Last Week in AI
博客园 - 司徒正美
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
V
V2EX
阮一峰的网络日志
阮一峰的网络日志
人人都是产品经理
人人都是产品经理
Scott Helme
Scott Helme
The Hacker News
The Hacker News
Jina AI
Jina AI
V
Visual Studio Blog
小众软件
小众软件
WordPress大学
WordPress大学
N
News and Events Feed by Topic
L
Lohrmann on Cybersecurity
P
Privacy International News Feed
美团技术团队
D
Darknet – Hacking Tools, Hacker News & Cyber Security
宝玉的分享
宝玉的分享
Spread Privacy
Spread Privacy
S
SegmentFault 最新的问题
C
Cyber Attacks, Cyber Crime and Cyber Security
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
Apple Machine Learning Research
Apple Machine Learning Research
P
Proofpoint News Feed
The GitHub Blog
The GitHub Blog
Hacker News: Ask HN
Hacker News: Ask HN
雷峰网
雷峰网
Martin Fowler
Martin Fowler
C
Cybersecurity and Infrastructure Security Agency CISA
A
Arctic Wolf
T
The Blog of Author Tim Ferriss
Recorded Future
Recorded Future
N
News and Events Feed by Topic

博客园 - ubirdy

在Cursor中使用Anthropic的Skills 切换至windows自带中文输入法后卡住的bug解决 用ikuai软路由提供内网NTP服务 在欧拉系统(openEuler)上安装uWSGI 在欧拉系统(openEuler)上安装Nginx 海康工业相机SDK错误码常见场景解析 ubuntu22.04 server安装nvidia cuda 12.08提示Nouveau 驱动已经在用 ubuntu22.04更换镜像源 ubuntu22.04安装CUDA ICMP时间戳漏洞CVE-1999-0524的处理 解决supervisor在香橙派AIpro上启动问题 用ffplay在香橙派AIPro上播放PCM文件 昇腾310B4在转换onnx格式至om格式时提示BrokenPipeError: [Errno 32] Broken pipe Python打包工具 Pyinstaller使用教程 FFplay命令参数 yoloV7训练结果分析 在windows中安装pytorch的GPU版本及torchvision Win11禁用右键菜单折叠改用经典右键菜单 Altas产品查询CANN软件包版本的方法
香橙派OrangePi_AiPro超频CPU与NPU
ubirdy · 2025-04-21 · via 博客园 - ubirdy

下载:升级文件包

一、只超频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 --full
Verifying 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:33
6. 然后断电重启即可使用新的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 --full
Verifying 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:33
6. 然后断电重启系统
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命令看到的内存大小应该就正常了