Revert vc4/panel_cwu50 to boot.kernelModules (stage-2 loading)

Loading via boot.kernelModules ensures they're loaded after
initrd, by which time RP1 PCIe southbridge is initialized (~12s).
This avoids the 'Cannot find any crtc' error from premature probe.

- boot.kernelModules: explicit vc4 + panel_cwu50 (stage-2)
- boot.initrd.kernelModules: only ocp8178_bl (backlight)
This commit is contained in:
2026-06-09 22:46:43 -04:00
parent 67418f037a
commit 4f1864af70

View File

@@ -181,13 +181,16 @@ in
"rtl8xxxu" # RTL8188/8192/8723 USB WiFi
"rtl2832_sdr" # RTL-SDR kernel module
"dvb_usb_rtl28xxu" # RTL-SDR DVB-T
# Display drivers — loaded in stage-2 AFTER RP1 PCIe ready (~12s)
# NOT in initrd — RP1 southbridge isn't initialized yet
"panel_cwu50" # uConsole DSI panel driver
"vc4" # VideoCore 4 KMS GPU driver
];
boot.blacklistedKernelModules = [ ];
# Rex-style: vc4/panel_cwu50 NOT loaded in initrd or forced
# udev auto-loads them when RP1 PCIe southbridge is ready (~12s)
# This avoids "Cannot find any crtc" from premature probe
# Rex-style: Rien dans initrd pour le display
# ocp8178_bl (backlight) chargé ici car indépendant de RP1
boot.initrd.kernelModules = lib.mkForce [ "ocp8178_bl" ];
# ============================================================