From 78b0ad98e52713704d1ec8664e8a4a6950fe8931 Mon Sep 17 00:00:00 2001 From: Jordan Holt Date: Wed, 25 Jun 2025 23:34:40 +0100 Subject: [PATCH] hosts/skycam: fix libcamera-rpi hangs Kernel patch from: https://github.com/raspberrypi/linux/pull/6429 --- hosts/skycam/hardware-configuration.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/hosts/skycam/hardware-configuration.nix b/hosts/skycam/hardware-configuration.nix index ebe6d62..ee2f874 100644 --- a/hosts/skycam/hardware-configuration.nix +++ b/hosts/skycam/hardware-configuration.nix @@ -14,6 +14,15 @@ ]; boot = { + kernelPatches = [ + { + name = "cache-ls-table-dmabuf"; + patch = pkgs.fetchurl { + url = "https://github.com/raspberrypi/linux/pull/6429.patch"; + sha256 = "sha256-fEd+SgnjQXjAm1UcZTkHHPafmVeK/IySdLzhKI7DbS0="; + }; + } + ]; kernelParams = [ "panic=0" ];