All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vanessa Maegima <vanessa.maegima@nxp.com>
To: meta-freescale@yoctoproject.org
Cc: Vanessa Maegima <vanessa.maegima@nxp.com>
Subject: [PATCH] imx-m4fwloader: Add recipe
Date: Fri,  9 Mar 2018 10:27:41 -0300	[thread overview]
Message-ID: <1520602061-30160-1-git-send-email-vanessa.maegima@nxp.com> (raw)

This patch includes a tool for loading firmware to the M4 core from Linux user space
on the i.MX6SX and i.MX7D boards.

Tested on an i.MX7D SabreSD board.

Signed-off-by: Vanessa Maegima <vanessa.maegima@nxp.com>
---
 .../imx-m4fwloader/imx-m4fwloader_0.1.bb           | 28 ++++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 recipes-devtools/imx-m4fwloader/imx-m4fwloader_0.1.bb

diff --git a/recipes-devtools/imx-m4fwloader/imx-m4fwloader_0.1.bb b/recipes-devtools/imx-m4fwloader/imx-m4fwloader_0.1.bb
new file mode 100644
index 0000000..104c6b9
--- /dev/null
+++ b/recipes-devtools/imx-m4fwloader/imx-m4fwloader_0.1.bb
@@ -0,0 +1,28 @@
+# Copyright 2018 NXP
+
+DESCRIPTION = "Tool for loading firmware to M4 core from Linux user space"
+SECTION = "devel"
+
+LICENSE = "GPLv2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=2c1c00f9d3ed9e24fa69b932b7e7aff2"
+
+SRCBRANCH = "github.com/master"
+SRC_URI = "git://source.codeaurora.org/external/imx/cafatgithub/imx-m4fwloader;protocol=https;branch=${SRCBRANCH}"
+SRCREV = "8cf4d17a09ba23250d43381b49ba00d92406fad9"
+
+SRC_URI[md5sum] = "98b49c87b4242a6c2cc3b7be6b5b46d9"
+SRC_URI[sha256sum] = "b3d5cf9a81e5ced9586d7d7b093f3d4e7166892c05383be14b21515c3d266ba9"
+
+S = "${WORKDIR}/git"
+
+do_compile() {
+	${CC} m4fwloader.c ${LDFLAGS} -o m4fwloader
+}
+
+do_install() {
+	install -m 0755 -D ${S}/m4fwloader ${D}/${bindir}/m4fwloader
+}
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+COMPATIBLE_MACHINE = "(mx6sx|mx7d)"
-- 
2.7.4



             reply	other threads:[~2018-03-10  3:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-09 13:27 Vanessa Maegima [this message]
2018-03-12 11:50 ` [PATCH] imx-m4fwloader: Add recipe Gary Bisson
2018-03-13 16:25   ` Vanessa Maegima
2018-03-13 18:45   ` Otavio Salvador

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

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

  git send-email \
    --in-reply-to=1520602061-30160-1-git-send-email-vanessa.maegima@nxp.com \
    --to=vanessa.maegima@nxp.com \
    --cc=meta-freescale@yoctoproject.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.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.