From ecff374e1cd2e6cf9f36761ebbaa9c76beb8cbed Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 31 Jan 2018 21:08:12 +0200 Subject: [PATCH] gnu: arm-trusted-firmware-pine64-plus: New variable. * gnu/packages/firmware.scm (arm-trusted-firmware-pine64-plus): New variable. --- gnu/packages/firmware.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) 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 @@ (define* (make-arm-trusted-firmware platform #:optional (arch "aarch64")) @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")))))))