amd-ucode: add AMD processor microcode patch version 2012-01-17

Enable by adding "hardware.firmware = [ pkgs.amdUcode ];" to configuration.nix.
This commit is contained in:
Peter Simons 2012-06-28 19:54:24 +02:00
parent 6e936640b0
commit aa5b45fc3e
2 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,22 @@
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "amd-ucode-2012-01-17";
src = fetchurl {
url = "http://www.amd64.org/pub/microcode/${name}.tar";
sha256 = "0mqnbs87khv6p874cbyf9nb8i4gc592ws67lyzhc4chmwvc9ln47";
};
installPhase = ''
mkdir -p $out/amd-ucode
mv microcode_amd_fam15h.bin microcode_amd.bin $out/amd-ucode/
'';
meta = {
description = "AMD Processor Microcode Patch";
homepage = "http://www.amd64.org/support/microcode.html";
license = "non-free";
};
}

View File

@ -5320,6 +5320,8 @@ let
afuse = callPackage ../os-specific/linux/afuse { };
amdUcode = callPackage ../os-specific/linux/firmware/amd-ucode { };
autofs5 = callPackage ../os-specific/linux/autofs/autofs-v5.nix { };
_915resolution = callPackage ../os-specific/linux/915resolution { };