From 4f1864af70935129414333d364a7dbd8e7708c8a Mon Sep 17 00:00:00 2001 From: Hermes Date: Tue, 9 Jun 2026 22:46:43 -0400 Subject: [PATCH] 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) --- hosts/uConsole/configuration.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/hosts/uConsole/configuration.nix b/hosts/uConsole/configuration.nix index 7767c06..e0781d5 100755 --- a/hosts/uConsole/configuration.nix +++ b/hosts/uConsole/configuration.nix @@ -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" ]; # ============================================================