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

* Re: [PATCH] imx-m4fwloader: Add recipe
  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
  0 siblings, 2 replies; 4+ messages in thread
From: Gary Bisson @ 2018-03-12 11:50 UTC (permalink / raw)
  To: Vanessa Maegima; +Cc: meta-freescale Mailing List

Hi Vanessa,

On Fri, Mar 9, 2018 at 2:27 PM, Vanessa Maegima <vanessa.maegima@nxp.com> wrote:
> 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.

How long will m4fwloader be maintained?

It seems that NXP has started yet another project to control the M4
from user-space which works for both 6SX/7D and i.MX8?
https://source.codeaurora.org/external/imxsupport/m4ctrl/

Regards,
Gary


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

* Re: [PATCH] imx-m4fwloader: Add recipe
  2018-03-12 11:50 ` Gary Bisson
@ 2018-03-13 16:25   ` Vanessa Maegima
  2018-03-13 18:45   ` Otavio Salvador
  1 sibling, 0 replies; 4+ messages in thread
From: Vanessa Maegima @ 2018-03-13 16:25 UTC (permalink / raw)
  To: Gary Bisson; +Cc: meta-freescale

Hi Gary,

On Seg, 2018-03-12 at 12:50 +0100, Gary Bisson wrote:
> Hi Vanessa,
> 
> On Fri, Mar 9, 2018 at 2:27 PM, Vanessa Maegima <vanessa.maegima@nxp.
> com> wrote:
> > 
> > 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.
> How long will m4fwloader be maintained?
> 
> It seems that NXP has started yet another project to control the M4
> from user-space which works for both 6SX/7D and i.MX8?
> https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fso
> urce.codeaurora.org%2Fexternal%2Fimxsupport%2Fm4ctrl%2F&data=02%7C01%
> 7Cvanessa.maegima%40nxp.com%7Cfd8981c142f547baf9c808d5880f644b%7C686e
> a1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C636564522053862180&sdata=RF6kC
> tvoNPL9cU2ylhpNZAIy5jUhWOnVPVMGrmKJ7dg%3D&reserved=0
> 

I was not aware of this tool, thanks for pointing this. I have just
tested it myself and it seems like a more complete tool. I will try to
add support for this instead of imx-m4fwloader.

Thanks!

Best,
Vanessa

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

* Re: [PATCH] imx-m4fwloader: Add recipe
  2018-03-12 11:50 ` Gary Bisson
  2018-03-13 16:25   ` Vanessa Maegima
@ 2018-03-13 18:45   ` Otavio Salvador
  1 sibling, 0 replies; 4+ messages in thread
From: Otavio Salvador @ 2018-03-13 18:45 UTC (permalink / raw)
  To: Gary Bisson; +Cc: meta-freescale Mailing List, Vanessa Maegima

On Mon, Mar 12, 2018 at 8:50 AM, Gary Bisson
<gary.bisson@boundarydevices.com> wrote:
> Hi Vanessa,
>
> On Fri, Mar 9, 2018 at 2:27 PM, Vanessa Maegima <vanessa.maegima@nxp.com> wrote:
>> 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.
>
> How long will m4fwloader be maintained?
>
> It seems that NXP has started yet another project to control the M4
> from user-space which works for both 6SX/7D and i.MX8?
> https://source.codeaurora.org/external/imxsupport/m4ctrl/

Using a single one makes sense.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


^ permalink raw reply	[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.