talos-rpi5/config/config.txt
Mathias Beaulieu-Duncan 3cfbe794f7
All checks were successful
Build Talos CM5 Image / build (push) Successful in 3m20s
Fix PCIe Gen 3 on CM5: custom DT overlay for missing pciex1 alias
The CM5 DTB (bcm2712-rpi-cm5-cm5io.dtb) lacks the pciex1 alias that
the Pi 5 DTB provides, making dtparam=pciex1_gen=3 silently fail.

Add a custom device tree overlay (pcie-gen3.dtbo) that targets
/axi/pcie@1000110000 directly to set max-link-speed = <3>. The overlay
is embedded in the SBC installer and written to /boot/EFI/overlays/
during install/upgrade.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-16 19:08:26 -05:00

33 lines
1.1 KiB
Plaintext

# See https://www.raspberrypi.com/documentation/computers/configuration.html
# Reduce GPU memory to give more to CPU.
gpu_mem=32
# Enable maximum compatibility on both HDMI ports;
# only the one closest to the power/USB-C port will work in practice.
hdmi_safe:0=1
hdmi_safe:1=1
# Load U-Boot.
kernel=u-boot.bin
# Forces the kernel loading system to assume a 64-bit kernel.
arm_64bit=1
# Run as fast as firmware / board allows.
arm_boost=1
# Enable the primary/console UART (globally).
enable_uart=1
# Disable UART on Pi5 to avoid U-Boot compatibility issue.
# The debug UART (ttyAMA10) is always active regardless of this setting.
[pi5]
enable_uart=0
# Enable PCIe Gen 3 for NVMe (~800 MB/s vs ~400 MB/s Gen 2)
# CM5 DTB lacks the pciex1 alias needed for dtparam=pciex1_gen=3,
# so we use a custom overlay that targets pcie@1000110000 directly.
dtoverlay=pcie-gen3
[all]
# Disable Bluetooth.
dtoverlay=disable-bt
# Disable Wireless Lan.
dtoverlay=disable-wifi
# CM5 Overclock — 2.6GHz stable on Compute Blade with heatsink
arm_freq=2600
over_voltage_delta=50000
arm_boost=1