summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2018-01-31 21:08:12 +0200
committerEfraim Flashner <efraim@flashner.co.il>2018-03-24 22:15:11 +0300
commitecff374e1cd2e6cf9f36761ebbaa9c76beb8cbed (patch)
tree1c190898a48d9d91a116b11dab967038ad2d6a12
parente9252fd11c9a22ded823d790418e815cb71ff1c0 (diff)
downloadguix-ecff374e1cd2e6cf9f36761ebbaa9c76beb8cbed.tar.gz
gnu: arm-trusted-firmware-pine64-plus: New variable.
* gnu/packages/firmware.scm (arm-trusted-firmware-pine64-plus): New
variable.
-rw-r--r--gnu/packages/firmware.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/firmware.scm b/gnu/packages/firmware.scm
index 42b58b7fc6..9e91ceca4e 100644
--- a/gnu/packages/firmware.scm
+++ b/gnu/packages/firmware.scm
@@ -384,3 +384,23 @@ such as:
 @end enumerate\n")
     (license (list license:bsd-3
                    license:bsd-2)))) ; libfdt
+
+(define-public arm-trusted-firmware-pine64-plus
+  (let ((base (make-arm-trusted-firmware "sun50iw1p1"))
+        ;; Vendor's arm trusted firmware branch hasn't been upstreamed yet.
+        (commit "ae78724247a01560164d607ed66db111c74d8df0")
+        (revision "1"))
+    (package
+      (inherit base)
+      (name "arm-trusted-firmware-pine64-plus")
+      (version (string-append "1.2-" revision "." (string-take commit 7)))
+      (source
+        (origin
+          (method git-fetch)
+          (uri (git-reference
+                 (url "https://github.com/apritzel/arm-trusted-firmware.git")
+                 (commit commit)))
+          (file-name (git-file-name name version))
+          (sha256
+           (base32
+            "0r4xnlq7v9khjfcg6gqp7nmrmnw4z1r8bipwdr07png1dcbb8214")))))))