Patchwork [2/2] mmc-utils: Add user space mmc utilities for eMMC

login
register
mail settings
Submitter chase maupin
Date March 18, 2014, 11:56 a.m.
Message ID <1395143773-26375-2-git-send-email-Chase.Maupin@ti.com>
Download mbox | patch
Permalink /patch/68821/
State Accepted
Commit 9006f9b7063992bdfe934a49715d6bf3504b6774
Headers show

Comments

chase maupin - March 18, 2014, 11:56 a.m.
* The mmc-utils are useful userspace utilities for configuring and
  working with MMC devices.  These are particularly useful when
  working with eMMC devices to do the initial programming of the
  device.

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
---
 meta/recipes-devtools/mmc/mmc-utils_git.bb |   19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 meta/recipes-devtools/mmc/mmc-utils_git.bb
Otavio Salvador - March 20, 2014, 8:10 p.m.
On Tue, Mar 18, 2014 at 8:56 AM, Chase Maupin <Chase.Maupin@ti.com> wrote:
> * The mmc-utils are useful userspace utilities for configuring and
>   working with MMC devices.  These are particularly useful when
>   working with eMMC devices to do the initial programming of the
>   device.
>
> Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>

I am fine with those to be included in core; I think eMMC are quite
common nowadays and having an utility which makes easier to work with
it is quite important for installed. As soon as it is merged, I will
use it in meta-fsl-arm MfgTool images...

Patch

diff --git a/meta/recipes-devtools/mmc/mmc-utils_git.bb b/meta/recipes-devtools/mmc/mmc-utils_git.bb
new file mode 100644
index 0000000..abde4b1
--- /dev/null
+++ b/meta/recipes-devtools/mmc/mmc-utils_git.bb
@@ -0,0 +1,19 @@ 
+DESCRIPTION = "Userspace tools for MMC/SD devices"
+HOMEPAGE = "http://git.kernel.org/cgit/linux/kernel/git/cjb/mmc-utils.git/"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://mmc.c;beginline=1;endline=17;md5=d7747fc87f1eb22b946ef819969503f0"
+
+BRANCH ?= "master"
+SRCREV = "11f2ceabc4ad3f0dd568e0ce68166e4803e0615b"
+
+PV = "0.1"
+
+SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git;protocol=git;branch=${BRANCH}"
+
+
+S = "${WORKDIR}/git"
+
+do_install() {
+    install -d ${D}${bindir}
+    install -m 0755 mmc ${D}${bindir}
+}