Update Nvidia/Mellanox Packages 2025-06-07 (#423129)

This commit is contained in:
nikstur 2025-07-14 10:16:31 +02:00 committed by GitHub
commit 28f2a9f88b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 33 additions and 20 deletions

View File

@ -1,8 +1,10 @@
{
stdenv,
fetchFromGitHub,
git,
lib,
python3,
rpm,
stdenv,
}:
let
@ -36,19 +38,24 @@ let
in
stdenv.mkDerivation {
pname = "bfscripts";
version = "unstable-2023-05-15";
version = "unstable-2025-06-27";
src = fetchFromGitHub {
owner = "Mellanox";
repo = "bfscripts";
rev = "1da79f3ece7cdf99b2571c00e8b14d2e112504a4";
hash = "sha256-pTubrnZKEFmtAj/omycFYeYwrCog39zBDEszoCrsQNQ=";
rev = "ed8ede79fa002a2d83719a1bef6fbe0f7dcf37a4";
hash = "sha256-x+hpH6D5HTl39zD0vYj6wRFw881M4AcfM+ePcgXMst8=";
};
buildInputs = [
python3
];
nativeBuildInputs = [
git
rpm
];
installPhase = ''
${lib.concatStringsSep "\n" (map (b: "install -D ${b} $out/bin/${b}") binaries)}
'';
@ -58,6 +65,9 @@ stdenv.mkDerivation {
homepage = "https://github.com/Mellanox/bfscripts";
license = licenses.bsd2;
platforms = platforms.linux;
maintainers = with maintainers; [ nikstur ];
maintainers = with maintainers; [
nikstur
thillux
];
};
}

View File

@ -6,13 +6,13 @@
stdenv.mkDerivation rec {
pname = "mlxbf-bootctl";
version = "1.1-6";
version = "unstable-2025-01-16";
src = fetchFromGitHub {
owner = "Mellanox";
repo = "mlxbf-bootctl";
rev = "mlxbf-bootctl-${version}";
hash = "sha256-F49ZZtty+NARXA/doAFLhsQn4XkPW6GWLXGy4waIaM0=";
rev = "278160ca8e08251cff5e7989e5a1010bd247a6ae";
hash = "sha256-qS35wCb8zvuF2Zs/5hPZkoZAapr7fwKQ/0ZOBPtrkRQ=";
};
installPhase = ''
@ -27,6 +27,9 @@ stdenv.mkDerivation rec {
# This package is supposed to only run on a BlueField. Thus aarch64-linux
# is the only relevant platform.
platforms = [ "aarch64-linux" ];
maintainers = with lib.maintainers; [ nikstur ];
maintainers = with lib.maintainers; [
nikstur
thillux
];
};
}

View File

@ -7,11 +7,11 @@
stdenv.mkDerivation rec {
pname = "mlxbf-bootimages";
version = "4.10.0-13520";
version = "4.11.0-13611";
src = fetchurl {
url = "https://linux.mellanox.com/public/repo/bluefield/${version}/bootimages/prod/${pname}-signed_${version}_arm64.deb";
hash = "sha256-lPclxhKmn1hvGXWI1A+Q1yXK7FZzKUcOtBoXG6KRsCA=";
hash = "sha256-bZpZ6qnC3Q/BuOngS4ZoU6vjeekPjVom0KdDoJF5iko=";
};
nativeBuildInputs = [

View File

@ -16,13 +16,13 @@
stdenv.mkDerivation rec {
pname = "rshim-user-space";
version = "2.2.4";
version = "2.4.2";
src = fetchFromGitHub {
owner = "Mellanox";
repo = "rshim-user-space";
rev = "rshim-${version}";
hash = "sha256-z0Uk520vsBERbeVtxBqXPXSWhO0sLD5GCQy1dQsJdEg=";
hash = "sha256-J/gCACqpUY+KraVOLWpd+UVyZ1f2o77EfpAgUVtZL9w=";
};
nativeBuildInputs = [

View File

@ -26,13 +26,13 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
installPhase = ''
runHook preInstall
install -D ${pname}.ko $out/lib/modules/${kernel.modDirVersion}/extra/${pname}.ko
runHook postInstall
'';
installTargets = [ "modules_install" ];
installFlags = [
"-C"
"${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"
"INSTALL_MOD_PATH=${placeholder "out"}"
"M=$(PWD)"
] ++ makeFlags;
meta = with lib; {
description = "Kernel module for Nvidia NIC firmware update";