树莓派5超频

我在 树莓派Raspberry Pi 5 上使用 Intel Optane(傲腾) M10 ,为了解决启动时稳定识别Intel Optane(傲腾)的问题,考虑通过超频设置提供更大电流来解决Optane初始化识别问题。本文为实施记录

启动配置

  • 修订 /boot/firmware/config.txt :

/boot/firmware/config.txt 添加配置
# For more options and information see
# http://rptl.io/configtxt
# Some settings may impact device functionality. See link above for details

# Uncomment some or all of these to enable the optional hardware interfaces
#dtparam=i2c_arm=on
#dtparam=i2s=on
#dtparam=spi=on

# Enable audio (loads snd_bcm2835)
dtparam=audio=on

# Additional overlays and parameters are documented
# /boot/firmware/overlays/README

# Automatically load overlays for detected cameras
camera_auto_detect=1

# Automatically load overlays for detected DSI displays
display_auto_detect=1

# Automatically load initramfs files, if found
auto_initramfs=1

# Enable DRM VC4 V3D driver
dtoverlay=vc4-kms-v3d
max_framebuffers=2

# Don't have the firmware create an initial video= setting in cmdline.txt.
# Use the kernel's default instead.
disable_fw_kms_setup=1

# Run in 64-bit mode
arm_64bit=1

# Disable compensation for displays with overscan
disable_overscan=1

# Run as fast as firmware / board allows
arm_boost=1

# change the cooling map
dtparam=cpu_tepid=43000,cpu_tepid_hyst=2000
dtparam=cpu_warm=48000,cpu_warm_hyst=3000
dtparam=cpu_hot=52000,cpu_hot_hyst=4000
dtparam=cpu_vhot=58000,cpu_vhot_hyst=5000

[cm4]
# Enable host mode on the 2711 built-in XHCI USB controller.
# This line should be removed if the legacy DWC2 controller is required
# (e.g. for USB device mode) or if USB support is not required.
otg_mode=1

[cm5]
dtoverlay=dwc2,dr_mode=host

[board-type=0x17]
# Pi5 overclocking
# Tell the DVFS algorithm to increase voltage by this amount (in µV; default 0).
over_voltage_delta=50000

# Set the Arm A76 core frequency (in MHz; default 2400).
arm_freq=2900

[all]
dtparam=pciex1
dtparam=pciex1_gen=3

说明:

  • over_voltage_delta 配置超频电压

  • arm_freq 设置CPU频率为 2.9GHz:

  • 没有对GPU超频:

  • cooling map 设置段落( 42-46 行)调整了树莓派针对不同温度的散热风扇转速,见下文

cooling map 配置

Changing Pi5 fan (case or active cooler) cooling map 帖子提供了一个 bcm2712-rpi-5-b_dtb_dts.zip ,解压缩以后将 bcm2712-rpi-5-b.dtb 文件复制到 /boot/firmware 目录下(替换)。然后结合上文 /boot/firmware/config.txt 配资可以在相同温度下调快散热风扇转速。我实测了一下,在 stress 全速压测时,可以降低CPU温度 8度 左右。

参考