fix(display): use [pi5] config.txt section instead of [cm5]
Rex's Trixie images use [pi5] for the CM5 display overlays (clockworkpi-uconsole-cm5, vc4-kms-v3d-pi5). The nixos-uconsole module generates [cm5] which the firmware may not apply on some CM5 EEPROM configurations. Adding explicit [pi5] section ensures the display overlays are always loaded.
This commit is contained in:
@@ -205,6 +205,19 @@ in
|
||||
wayland.enable = true;
|
||||
};
|
||||
|
||||
# ============================================================
|
||||
# CM5 Config.txt Fix: use [pi5] section (not [cm5])
|
||||
# Rex's images use [pi5], the CM5 firmware may not detect [cm5]
|
||||
# ============================================================
|
||||
hardware.raspberry-pi.extra-config = ''
|
||||
[pi5]
|
||||
dtparam=pciex1=off
|
||||
dtoverlay=clockworkpi-uconsole-cm5
|
||||
dtoverlay=dwc2,dr_mode=host
|
||||
dtoverlay=vc4-kms-v3d-pi5,cma-384
|
||||
dtparam=nohdmi1=off
|
||||
'';
|
||||
|
||||
# ============================================================
|
||||
# CM5 Display Backlight Fix
|
||||
# The kernel driver initializes backlight, but some boots fail.
|
||||
|
||||
Reference in New Issue
Block a user