All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] imx-m4fwloader: Add recipe
@ 2018-03-09 13:27 Vanessa Maegima
  2018-03-12 11:50 ` Gary Bisson
  0 siblings, 1 reply; 4+ messages in thread
From: Vanessa Maegima @ 2018-03-09 13:27 UTC (permalink / raw)
  To: meta-freescale; +Cc: Vanessa Maegima

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



^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-03-13 19:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-09 13:27 [PATCH] imx-m4fwloader: Add recipe Vanessa Maegima
2018-03-12 11:50 ` Gary Bisson
2018-03-13 16:25   ` Vanessa Maegima
2018-03-13 18:45   ` Otavio Salvador

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.