All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sanchayan <maitysanchayan@gmail.com>
To: Oleksij Rempel <o.rempel@pengutronix.de>
Cc: devicetree@vger.kernel.org, kernel@pengutronix.de,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, Rob Herring <robh+dt@kernel.org>,
	Mark Rutland <mark.rutland@arm.com>,
	Russell King <linux@armlinux.org.uk>,
	Shawn Guo <shawnguo@kernel.org>,
	Fabio Estevam <fabio.estevam@nxp.com>,
	Ohad Ben-Cohen <ohad@wizery.com>,
	Bjorn Andersson <bjorn.andersson@linaro.org>,
	linux-remoteproc@vger.kernel.org
Subject: Re: [RFC PATCH 0/3] provide imx rproc driver
Date: Mon, 19 Jun 2017 10:43:38 +0530	[thread overview]
Message-ID: <20170619051338.GA3064@Sanchayan-Arch> (raw)
In-Reply-To: <20170614204855.18347-1-o.rempel@pengutronix.de>

Hello Oleksij,

On 17-06-14 22:48:52, Oleksij Rempel wrote:
> Hallo all,
> 
> this is RFC patchset to provide remoteproc functionality on
> imx7d SoC.
> Since current kernel do not have devicetrees for board which
> I used for testing, this RFC patchset includes this too.
> 
> For testing I used this simple counter written in ASM:
> ======================================
>         .syntax unified
>         .text
>         .thumb
>         .int 0x10020000                 @ Initial SP value
>         .int reset + 1
> 
> reset:
> 
>         mov     r0, #0x55
>         ldr     r1, =(0x40)
> 1:
>         str     r0, [r1]
>         add     r0, 1
>         b       1b
> 
>         /* Dummy data, required by remoteproc loader */
>         /* Please FIXME, this part seem to be incorrect */
>         .data
>         .section .resource_table, "aw"
>         .word   1, 0, 0, 0      /* struct resource_table base */
>         .word   0               /* uint32_t offset[1] */
> ============================================================
> compiled with:
> ${CROSS}as -o imx7m4.o imx7m4.S
> ${CROSS}ld -Ttext=0x0 -o imx7m4.elf imx7m4.o
> cp imx7m4.elf /srv/nfs/sid-armhf/lib/firmware/rproc-imx_rproc-fw
> 
> Functionality was confirmed with current OpenOCD master.
> OpenOCD cfg file can be found here:
> https://github.com/olerem/openocd/blob/imx7-2017.06.14/tcl/target/imx7.cfg
> 
> Comment and suggestions are welcome.

Have you by chance also tried testing this with FreeRTOS code running on the
M4 side?

Regards,
Sanchayan.

> 
> Regards,
> Oleksij
> 
> Oleksij Rempel (3):
>   ARM: dts: imx7d: add imx7d-phyboard-zeta
>   remoteproc: imx_rproc: add a NXP/Freescale imx rproc driver
>   ARM: dts: imx7s: add rproc node
> 
>  arch/arm/boot/dts/Makefile                |   1 +
>  arch/arm/boot/dts/imx7d-pba-c-09.dtsi     | 272 ++++++++++++++++++++++++++++++
>  arch/arm/boot/dts/imx7d-peb-av-02.dtsi    | 104 ++++++++++++
>  arch/arm/boot/dts/imx7d-peb-eval-02.dtsi  | 130 ++++++++++++++
>  arch/arm/boot/dts/imx7d-phyboard-zeta.dts | 144 ++++++++++++++++
>  arch/arm/boot/dts/imx7d-phycore-som.dtsi  | 272 ++++++++++++++++++++++++++++++
>  arch/arm/boot/dts/imx7d-pinfunc-lpsr.h    |  76 +++++++++
>  arch/arm/boot/dts/imx7s.dtsi              |   9 +
>  drivers/remoteproc/Kconfig                |   8 +
>  drivers/remoteproc/Makefile               |   1 +
>  drivers/remoteproc/imx_rproc.c            | 264 +++++++++++++++++++++++++++++
>  11 files changed, 1281 insertions(+)
>  create mode 100644 arch/arm/boot/dts/imx7d-pba-c-09.dtsi
>  create mode 100644 arch/arm/boot/dts/imx7d-peb-av-02.dtsi
>  create mode 100644 arch/arm/boot/dts/imx7d-peb-eval-02.dtsi
>  create mode 100644 arch/arm/boot/dts/imx7d-phyboard-zeta.dts
>  create mode 100644 arch/arm/boot/dts/imx7d-phycore-som.dtsi
>  create mode 100644 arch/arm/boot/dts/imx7d-pinfunc-lpsr.h
>  create mode 100644 drivers/remoteproc/imx_rproc.c
> 
> -- 
> 2.11.0
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-remoteproc" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

WARNING: multiple messages have this Message-ID (diff)
From: maitysanchayan@gmail.com (Sanchayan)
To: linux-arm-kernel@lists.infradead.org
Subject: [RFC PATCH 0/3] provide imx rproc driver
Date: Mon, 19 Jun 2017 10:43:38 +0530	[thread overview]
Message-ID: <20170619051338.GA3064@Sanchayan-Arch> (raw)
In-Reply-To: <20170614204855.18347-1-o.rempel@pengutronix.de>

Hello Oleksij,

On 17-06-14 22:48:52, Oleksij Rempel wrote:
> Hallo all,
> 
> this is RFC patchset to provide remoteproc functionality on
> imx7d SoC.
> Since current kernel do not have devicetrees for board which
> I used for testing, this RFC patchset includes this too.
> 
> For testing I used this simple counter written in ASM:
> ======================================
>         .syntax unified
>         .text
>         .thumb
>         .int 0x10020000                 @ Initial SP value
>         .int reset + 1
> 
> reset:
> 
>         mov     r0, #0x55
>         ldr     r1, =(0x40)
> 1:
>         str     r0, [r1]
>         add     r0, 1
>         b       1b
> 
>         /* Dummy data, required by remoteproc loader */
>         /* Please FIXME, this part seem to be incorrect */
>         .data
>         .section .resource_table, "aw"
>         .word   1, 0, 0, 0      /* struct resource_table base */
>         .word   0               /* uint32_t offset[1] */
> ============================================================
> compiled with:
> ${CROSS}as -o imx7m4.o imx7m4.S
> ${CROSS}ld -Ttext=0x0 -o imx7m4.elf imx7m4.o
> cp imx7m4.elf /srv/nfs/sid-armhf/lib/firmware/rproc-imx_rproc-fw
> 
> Functionality was confirmed with current OpenOCD master.
> OpenOCD cfg file can be found here:
> https://github.com/olerem/openocd/blob/imx7-2017.06.14/tcl/target/imx7.cfg
> 
> Comment and suggestions are welcome.

Have you by chance also tried testing this with FreeRTOS code running on the
M4 side?

Regards,
Sanchayan.

> 
> Regards,
> Oleksij
> 
> Oleksij Rempel (3):
>   ARM: dts: imx7d: add imx7d-phyboard-zeta
>   remoteproc: imx_rproc: add a NXP/Freescale imx rproc driver
>   ARM: dts: imx7s: add rproc node
> 
>  arch/arm/boot/dts/Makefile                |   1 +
>  arch/arm/boot/dts/imx7d-pba-c-09.dtsi     | 272 ++++++++++++++++++++++++++++++
>  arch/arm/boot/dts/imx7d-peb-av-02.dtsi    | 104 ++++++++++++
>  arch/arm/boot/dts/imx7d-peb-eval-02.dtsi  | 130 ++++++++++++++
>  arch/arm/boot/dts/imx7d-phyboard-zeta.dts | 144 ++++++++++++++++
>  arch/arm/boot/dts/imx7d-phycore-som.dtsi  | 272 ++++++++++++++++++++++++++++++
>  arch/arm/boot/dts/imx7d-pinfunc-lpsr.h    |  76 +++++++++
>  arch/arm/boot/dts/imx7s.dtsi              |   9 +
>  drivers/remoteproc/Kconfig                |   8 +
>  drivers/remoteproc/Makefile               |   1 +
>  drivers/remoteproc/imx_rproc.c            | 264 +++++++++++++++++++++++++++++
>  11 files changed, 1281 insertions(+)
>  create mode 100644 arch/arm/boot/dts/imx7d-pba-c-09.dtsi
>  create mode 100644 arch/arm/boot/dts/imx7d-peb-av-02.dtsi
>  create mode 100644 arch/arm/boot/dts/imx7d-peb-eval-02.dtsi
>  create mode 100644 arch/arm/boot/dts/imx7d-phyboard-zeta.dts
>  create mode 100644 arch/arm/boot/dts/imx7d-phycore-som.dtsi
>  create mode 100644 arch/arm/boot/dts/imx7d-pinfunc-lpsr.h
>  create mode 100644 drivers/remoteproc/imx_rproc.c
> 
> -- 
> 2.11.0
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-remoteproc" in
> the body of a message to majordomo at vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

WARNING: multiple messages have this Message-ID (diff)
From: Sanchayan <maitysanchayan-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Oleksij Rempel <o.rempel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
Cc: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	kernel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Rob Herring <robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
	Mark Rutland <mark.rutland-5wv7dgnIgG8@public.gmane.org>,
	Russell King <linux-I+IVW8TIWO2tmTQ+vhA3Yw@public.gmane.org>,
	Shawn Guo <shawnguo-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
	Fabio Estevam <fabio.estevam-3arQi8VN3Tc@public.gmane.org>,
	Ohad Ben-Cohen <ohad-Ix1uc/W3ht7QT0dZR+AlfA@public.gmane.org>,
	Bjorn Andersson
	<bjorn.andersson-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>,
	linux-remoteproc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [RFC PATCH 0/3] provide imx rproc driver
Date: Mon, 19 Jun 2017 10:43:38 +0530	[thread overview]
Message-ID: <20170619051338.GA3064@Sanchayan-Arch> (raw)
In-Reply-To: <20170614204855.18347-1-o.rempel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>

Hello Oleksij,

On 17-06-14 22:48:52, Oleksij Rempel wrote:
> Hallo all,
> 
> this is RFC patchset to provide remoteproc functionality on
> imx7d SoC.
> Since current kernel do not have devicetrees for board which
> I used for testing, this RFC patchset includes this too.
> 
> For testing I used this simple counter written in ASM:
> ======================================
>         .syntax unified
>         .text
>         .thumb
>         .int 0x10020000                 @ Initial SP value
>         .int reset + 1
> 
> reset:
> 
>         mov     r0, #0x55
>         ldr     r1, =(0x40)
> 1:
>         str     r0, [r1]
>         add     r0, 1
>         b       1b
> 
>         /* Dummy data, required by remoteproc loader */
>         /* Please FIXME, this part seem to be incorrect */
>         .data
>         .section .resource_table, "aw"
>         .word   1, 0, 0, 0      /* struct resource_table base */
>         .word   0               /* uint32_t offset[1] */
> ============================================================
> compiled with:
> ${CROSS}as -o imx7m4.o imx7m4.S
> ${CROSS}ld -Ttext=0x0 -o imx7m4.elf imx7m4.o
> cp imx7m4.elf /srv/nfs/sid-armhf/lib/firmware/rproc-imx_rproc-fw
> 
> Functionality was confirmed with current OpenOCD master.
> OpenOCD cfg file can be found here:
> https://github.com/olerem/openocd/blob/imx7-2017.06.14/tcl/target/imx7.cfg
> 
> Comment and suggestions are welcome.

Have you by chance also tried testing this with FreeRTOS code running on the
M4 side?

Regards,
Sanchayan.

> 
> Regards,
> Oleksij
> 
> Oleksij Rempel (3):
>   ARM: dts: imx7d: add imx7d-phyboard-zeta
>   remoteproc: imx_rproc: add a NXP/Freescale imx rproc driver
>   ARM: dts: imx7s: add rproc node
> 
>  arch/arm/boot/dts/Makefile                |   1 +
>  arch/arm/boot/dts/imx7d-pba-c-09.dtsi     | 272 ++++++++++++++++++++++++++++++
>  arch/arm/boot/dts/imx7d-peb-av-02.dtsi    | 104 ++++++++++++
>  arch/arm/boot/dts/imx7d-peb-eval-02.dtsi  | 130 ++++++++++++++
>  arch/arm/boot/dts/imx7d-phyboard-zeta.dts | 144 ++++++++++++++++
>  arch/arm/boot/dts/imx7d-phycore-som.dtsi  | 272 ++++++++++++++++++++++++++++++
>  arch/arm/boot/dts/imx7d-pinfunc-lpsr.h    |  76 +++++++++
>  arch/arm/boot/dts/imx7s.dtsi              |   9 +
>  drivers/remoteproc/Kconfig                |   8 +
>  drivers/remoteproc/Makefile               |   1 +
>  drivers/remoteproc/imx_rproc.c            | 264 +++++++++++++++++++++++++++++
>  11 files changed, 1281 insertions(+)
>  create mode 100644 arch/arm/boot/dts/imx7d-pba-c-09.dtsi
>  create mode 100644 arch/arm/boot/dts/imx7d-peb-av-02.dtsi
>  create mode 100644 arch/arm/boot/dts/imx7d-peb-eval-02.dtsi
>  create mode 100644 arch/arm/boot/dts/imx7d-phyboard-zeta.dts
>  create mode 100644 arch/arm/boot/dts/imx7d-phycore-som.dtsi
>  create mode 100644 arch/arm/boot/dts/imx7d-pinfunc-lpsr.h
>  create mode 100644 drivers/remoteproc/imx_rproc.c
> 
> -- 
> 2.11.0
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-remoteproc" in
> the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2017-06-19  5:13 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-14 20:48 [RFC PATCH 0/3] provide imx rproc driver Oleksij Rempel
2017-06-14 20:48 ` Oleksij Rempel
2017-06-14 20:48 ` Oleksij Rempel
2017-06-14 20:48 ` [RFC PATCH 1/3] ARM: dts: imx7d: add imx7d-phyboard-zeta Oleksij Rempel
2017-06-14 20:48   ` Oleksij Rempel
2017-06-14 20:48 ` [RFC PATCH 2/3] remoteproc: imx_rproc: add a NXP/Freescale imx rproc driver Oleksij Rempel
2017-06-14 20:48   ` Oleksij Rempel
2017-06-14 20:48   ` Oleksij Rempel
2017-06-15 19:01   ` Suman Anna
2017-06-15 19:01     ` Suman Anna
2017-06-15 19:01     ` Suman Anna
2017-06-16 16:20     ` Suman Anna
2017-06-16 16:20       ` Suman Anna
2017-06-16 16:20       ` Suman Anna
2017-06-19  7:43     ` Oleksij Rempel
2017-06-19  7:43       ` Oleksij Rempel
2017-06-21 21:09       ` Suman Anna
2017-06-21 21:09         ` Suman Anna
2017-06-21 21:09         ` Suman Anna
2017-06-23 14:35         ` Oleksij Rempel
2017-06-23 14:35           ` Oleksij Rempel
2017-06-23 14:35           ` Oleksij Rempel
2017-06-23 14:35           ` Oleksij Rempel
2017-06-23 18:52           ` Suman Anna
2017-06-23 18:52             ` Suman Anna
2017-06-23 18:52             ` Suman Anna
2017-06-25 20:41   ` Bjorn Andersson
2017-06-25 20:41     ` Bjorn Andersson
2017-07-04 10:48     ` Oleksij Rempel
2017-07-04 10:48       ` Oleksij Rempel
2017-06-14 20:48 ` [RFC PATCH 3/3] ARM: dts: imx7s: add rproc node Oleksij Rempel
2017-06-14 20:48   ` Oleksij Rempel
2017-06-14 20:48   ` Oleksij Rempel
2017-06-19  5:13 ` Sanchayan [this message]
2017-06-19  5:13   ` [RFC PATCH 0/3] provide imx rproc driver Sanchayan
2017-06-19  5:13   ` Sanchayan
2017-06-19  7:31   ` Oleksij Rempel
2017-06-19  7:31     ` Oleksij Rempel

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=20170619051338.GA3064@Sanchayan-Arch \
    --to=maitysanchayan@gmail.com \
    --cc=bjorn.andersson@linaro.org \
    --cc=devicetree@vger.kernel.org \
    --cc=fabio.estevam@nxp.com \
    --cc=kernel@pengutronix.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-remoteproc@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=mark.rutland@arm.com \
    --cc=o.rempel@pengutronix.de \
    --cc=ohad@wizery.com \
    --cc=robh+dt@kernel.org \
    --cc=shawnguo@kernel.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.