unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Danny Milosavljevic <dannym@scratchpost.org>
To: 30446@debbugs.gnu.org
Subject: [bug#30446] [PATCH 2/3] gnu: Add intelmetool.
Date: Tue, 13 Feb 2018 19:01:44 +0100	[thread overview]
Message-ID: <20180213180145.4412-2-dannym@scratchpost.org> (raw)
In-Reply-To: <20180213180145.4412-1-dannym@scratchpost.org>

* gnu/packages/flashing-tools.scm (intelmetool): New variable.
---
 gnu/packages/flashing-tools.scm | 41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

diff --git a/gnu/packages/flashing-tools.scm b/gnu/packages/flashing-tools.scm
index c29982551..78981f4b6 100644
--- a/gnu/packages/flashing-tools.scm
+++ b/gnu/packages/flashing-tools.scm
@@ -35,6 +35,7 @@
   #:use-module (gnu packages compression)
   #:use-module (gnu packages flex)
   #:use-module (gnu packages elf)
+  #:use-module (gnu packages pciutils)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages libusb)
   #:use-module (gnu packages libftdi)
@@ -365,3 +366,43 @@ referred to as the \"Odin 3 protocol\".")
       (description "This package provides @ifdtool}, a program to
 dump Intel Firmware Descriptor data of an image file.")
       (license license:gpl2))))
+
+(define-public intelmetool
+  (let ((commit "1b64ae1119fc7891b043d5d29bf93859ef9dbfa1")
+        (revision "0"))
+    (package
+      (name "intelmetool")
+      (version (git-version "0.0" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://review.coreboot.org/p/coreboot")
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "0i3h9ns5f0z9ffapmlcj1mcgi5b1kzdlakixs2i8s4mkjn0aidsc"))))
+      (build-system gnu-build-system)
+      (inputs
+       `(("pciutils" ,pciutils)
+         ("zlib" ,zlib)))
+      (arguments
+       `(#:make-flags
+         (list "CC=gcc"
+               "INSTALL=install"
+               (string-append "PREFIX=" (assoc-ref %outputs "out")))
+         #:phases
+         (modify-phases %standard-phases
+          (add-after 'unpack 'chdir
+            (lambda _
+              (chdir "util/intelmetool")
+              #t))
+          (delete 'configure)
+          (delete 'check))))
+      (home-page "https://github.com/zamaudio/intelmetool")
+      (synopsis "Intel ME tools")
+      (description "This package provides tools for working with Intel
+Management Engine (ME).  You need to @code{sudo rmmod mei_me} and
+@code{sudo rmmod mei} before using this tool.  Also pass
+@code{iomem=relaxed} to the Linux kernel command line.")
+      (license license:gpl2))))

  reply	other threads:[~2018-02-13 18:02 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-13 18:00 [bug#30446] [PATCH 0/3] Add Intel ME tools Danny Milosavljevic
2018-02-13 18:01 ` [bug#30446] [PATCH 1/3] gnu: Add ifdtool Danny Milosavljevic
2018-02-13 18:01   ` Danny Milosavljevic [this message]
2018-02-13 19:20     ` [bug#30446] [PATCH 2/3] gnu: Add intelmetool Leo Famulari
2018-02-13 20:36       ` Danny Milosavljevic
2018-02-14  3:06         ` Leo Famulari
2018-02-13 18:01   ` [bug#30446] [PATCH 3/3] gnu: Add me-cleaner Danny Milosavljevic
2018-02-13 19:21     ` Leo Famulari
2018-02-13 21:29       ` Danny Milosavljevic
2018-02-13 19:18   ` [bug#30446] [PATCH 1/3] gnu: Add ifdtool Leo Famulari
2018-02-13 20:37     ` Danny Milosavljevic
2018-02-13 21:50       ` Marius Bakke
2018-02-14  3:00         ` Leo Famulari

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180213180145.4412-2-dannym@scratchpost.org \
    --to=dannym@scratchpost.org \
    --cc=30446@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).