From 523500471fbc28972d750aad6dc1b8379a6632d6 Mon Sep 17 00:00:00 2001 From: dan Date: Fri, 17 Oct 2025 00:51:39 +0800 Subject: nongnu: Add mali-csf-firmware. * nongnu/packages/linux.scm (mali-csf-firmware): New variable. Signed-off-by: Hilton Chain --- nongnu/packages/linux.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/nongnu/packages/linux.scm b/nongnu/packages/linux.scm index 3a936db..9ccb8b6 100644 --- a/nongnu/packages/linux.scm +++ b/nongnu/packages/linux.scm @@ -29,6 +29,7 @@ ;;; Copyright © 2024, 2025 Maxim Cournoyer ;;; Copyright © 2025 David Wilson ;;; Copyright © 2025 Murilo +;;; Copyright © 2025 dan (define-module (nongnu packages linux) #:use-module (gnu packages) @@ -1489,3 +1490,23 @@ audio DSPs that can be found on the Intel Skylake architecture. This firmware can be built from source but need to be signed by Intel in order to be loaded by Linux.") (license bsd-3))) + +(define-public mali-csf-firmware + (package + (inherit linux-firmware) + (name "mali-csf-firmware") + (arguments + (cons* #:license-file-regexp "LICENCE.mali_csffw" + (substitute-keyword-arguments (package-arguments linux-firmware) + ((#:phases phases #~%standard-phases) + #~(modify-phases #$phases + (add-after 'unpack 'select-firmware + #$(select-firmware "^arm/mali/arch10.8/mali_csffw.bin"))))))) + (home-page "https://developer.arm.com/Architectures/Valhall") + (synopsis "Nonfree firmware for ARM Mali Valhall 3rd generation GPUs") + (description "Nonfree firmware for ARM Mali Valhall 3rd generation GPUs. +This package is required for the Panthor kernel driver.") + (license + (nonfree (string-append + "https://git.kernel.org/pub/scm/linux/kernel/git/firmware" + "/linux-firmware.git/plain/LICENCE.mali_csffw"))))) -- cgit v1.2.3