summary refs log tree commit diff
path: root/pkgs/os-specific/linux/firmware/raspberrypi
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@viric.name>2013-01-27 17:49:02 +0000
committerLluís Batlle i Rossell <viric@viric.name>2013-01-27 17:49:02 +0000
commita87fba9619c461e8ee4b3103d091c0eb12389272 (patch)
tree535dc864eb35a02a0d55af338e88377e262e9b9b /pkgs/os-specific/linux/firmware/raspberrypi
parent3b26ba70197f8a420e85def67582aab7799427d8 (diff)
downloadnixpkgs-a87fba9619c461e8ee4b3103d091c0eb12389272.tar
nixpkgs-a87fba9619c461e8ee4b3103d091c0eb12389272.tar.gz
nixpkgs-a87fba9619c461e8ee4b3103d091c0eb12389272.tar.bz2
nixpkgs-a87fba9619c461e8ee4b3103d091c0eb12389272.tar.lz
nixpkgs-a87fba9619c461e8ee4b3103d091c0eb12389272.tar.xz
nixpkgs-a87fba9619c461e8ee4b3103d091c0eb12389272.tar.zst
nixpkgs-a87fba9619c461e8ee4b3103d091c0eb12389272.zip
Adding the firmware files for raspberrypi
Diffstat (limited to 'pkgs/os-specific/linux/firmware/raspberrypi')
-rw-r--r--pkgs/os-specific/linux/firmware/raspberrypi/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/firmware/raspberrypi/default.nix b/pkgs/os-specific/linux/firmware/raspberrypi/default.nix
new file mode 100644
index 00000000000..02d7194b500
--- /dev/null
+++ b/pkgs/os-specific/linux/firmware/raspberrypi/default.nix
@@ -0,0 +1,23 @@
+{stdenv, fetchurl }:
+
+stdenv.mkDerivation {
+  name = "raspberrypi-firmware-20160106";
+
+  src = fetchurl {
+    url = "https://github.com/raspberrypi/firmware/archive/4ade27942e.tar.gz";
+    sha256 = "0f4p920vr7dcj4hprgil8baqqbnsjx1jykz0pkdx29mqy0n0xanl";
+  };
+
+  installPhase = ''
+    mkdir -p $out/share/raspberrypi/boot
+    cp -R boot/* $out/share/raspberrypi/boot
+    cp -R hardfp/opt/vc/* $out
+    cp opt/vc/LICENCE $out/share/raspberrypi
+  '';
+  
+  meta = {
+    description = "Firmware for the Raspberry Pi board";
+    homepage = https://github.com/raspberrypi;
+    license = "non-free";
+  };
+}