Update Nvidia/Mellanox Packages 2025-06-07 (#423129)
This commit is contained in:
commit
28f2a9f88b
@ -1,8 +1,10 @@
|
|||||||
{
|
{
|
||||||
stdenv,
|
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
|
git,
|
||||||
lib,
|
lib,
|
||||||
python3,
|
python3,
|
||||||
|
rpm,
|
||||||
|
stdenv,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
@ -36,19 +38,24 @@ let
|
|||||||
in
|
in
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
pname = "bfscripts";
|
pname = "bfscripts";
|
||||||
version = "unstable-2023-05-15";
|
version = "unstable-2025-06-27";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Mellanox";
|
owner = "Mellanox";
|
||||||
repo = "bfscripts";
|
repo = "bfscripts";
|
||||||
rev = "1da79f3ece7cdf99b2571c00e8b14d2e112504a4";
|
rev = "ed8ede79fa002a2d83719a1bef6fbe0f7dcf37a4";
|
||||||
hash = "sha256-pTubrnZKEFmtAj/omycFYeYwrCog39zBDEszoCrsQNQ=";
|
hash = "sha256-x+hpH6D5HTl39zD0vYj6wRFw881M4AcfM+ePcgXMst8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
python3
|
python3
|
||||||
];
|
];
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
git
|
||||||
|
rpm
|
||||||
|
];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
${lib.concatStringsSep "\n" (map (b: "install -D ${b} $out/bin/${b}") binaries)}
|
${lib.concatStringsSep "\n" (map (b: "install -D ${b} $out/bin/${b}") binaries)}
|
||||||
'';
|
'';
|
||||||
@ -58,6 +65,9 @@ stdenv.mkDerivation {
|
|||||||
homepage = "https://github.com/Mellanox/bfscripts";
|
homepage = "https://github.com/Mellanox/bfscripts";
|
||||||
license = licenses.bsd2;
|
license = licenses.bsd2;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
maintainers = with maintainers; [ nikstur ];
|
maintainers = with maintainers; [
|
||||||
|
nikstur
|
||||||
|
thillux
|
||||||
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -6,13 +6,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "mlxbf-bootctl";
|
pname = "mlxbf-bootctl";
|
||||||
version = "1.1-6";
|
version = "unstable-2025-01-16";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Mellanox";
|
owner = "Mellanox";
|
||||||
repo = "mlxbf-bootctl";
|
repo = "mlxbf-bootctl";
|
||||||
rev = "mlxbf-bootctl-${version}";
|
rev = "278160ca8e08251cff5e7989e5a1010bd247a6ae";
|
||||||
hash = "sha256-F49ZZtty+NARXA/doAFLhsQn4XkPW6GWLXGy4waIaM0=";
|
hash = "sha256-qS35wCb8zvuF2Zs/5hPZkoZAapr7fwKQ/0ZOBPtrkRQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
@ -27,6 +27,9 @@ stdenv.mkDerivation rec {
|
|||||||
# This package is supposed to only run on a BlueField. Thus aarch64-linux
|
# This package is supposed to only run on a BlueField. Thus aarch64-linux
|
||||||
# is the only relevant platform.
|
# is the only relevant platform.
|
||||||
platforms = [ "aarch64-linux" ];
|
platforms = [ "aarch64-linux" ];
|
||||||
maintainers = with lib.maintainers; [ nikstur ];
|
maintainers = with lib.maintainers; [
|
||||||
|
nikstur
|
||||||
|
thillux
|
||||||
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -7,11 +7,11 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "mlxbf-bootimages";
|
pname = "mlxbf-bootimages";
|
||||||
version = "4.10.0-13520";
|
version = "4.11.0-13611";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://linux.mellanox.com/public/repo/bluefield/${version}/bootimages/prod/${pname}-signed_${version}_arm64.deb";
|
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 = [
|
nativeBuildInputs = [
|
||||||
|
@ -16,13 +16,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "rshim-user-space";
|
pname = "rshim-user-space";
|
||||||
version = "2.2.4";
|
version = "2.4.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Mellanox";
|
owner = "Mellanox";
|
||||||
repo = "rshim-user-space";
|
repo = "rshim-user-space";
|
||||||
rev = "rshim-${version}";
|
rev = "rshim-${version}";
|
||||||
hash = "sha256-z0Uk520vsBERbeVtxBqXPXSWhO0sLD5GCQy1dQsJdEg=";
|
hash = "sha256-J/gCACqpUY+KraVOLWpd+UVyZ1f2o77EfpAgUVtZL9w=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -26,13 +26,13 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
installPhase = ''
|
installTargets = [ "modules_install" ];
|
||||||
runHook preInstall
|
installFlags = [
|
||||||
|
"-C"
|
||||||
install -D ${pname}.ko $out/lib/modules/${kernel.modDirVersion}/extra/${pname}.ko
|
"${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"
|
||||||
|
"INSTALL_MOD_PATH=${placeholder "out"}"
|
||||||
runHook postInstall
|
"M=$(PWD)"
|
||||||
'';
|
] ++ makeFlags;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Kernel module for Nvidia NIC firmware update";
|
description = "Kernel module for Nvidia NIC firmware update";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user