From: Mathieu Poirier <mathieu.poirier@linaro.org>
To: Julien Massot <julien.massot@iot.bzh>
Cc: bjorn.andersson@linaro.org, robh+dt@kernel.org,
geert+renesas@glider.be, linux-renesas-soc@vger.kernel.org,
linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH v2 0/2] Initial Renesas R-Car remoteproc support
Date: Wed, 1 Dec 2021 09:46:16 -0700 [thread overview]
Message-ID: <20211201164616.GA834591@p14s> (raw)
In-Reply-To: <20211130100049.129418-1-julien.massot@iot.bzh>
Good morning,
On Tue, Nov 30, 2021 at 11:00:47AM +0100, Julien Massot wrote:
> Most of the SoCs in the R-Car gen3 SoC series such as
> H3,M3 and E3 have an 'Arm Realtime Core'.
> This Realtime core is an Arm Cortex-R7 clocked at 800MHz.
> This series adds initial support to load a firmware and start
> this remote processor through the remoteproc subsystem.
>
> This series depends on
> https://patchwork.kernel.org/project/linux-renesas-soc/patch/20211022122101.66998-1-julien.massot@iot.bzh/
> to be able to set the Cortex-R7 boot address.
The above depencency is needed for this patchset to compile properly. Since
Geert has already applied it to his renesas-devel tree we can do two things:
1) Make this set go through Geert's tree.
2) Geert publishes an immutable branch I can pull the dependency from.
I'm good either way, just let me know what you want to do.
Thanks,
Mathieu
>
> One of the way to test this driver is to use the zephyr upstream support
> for h3ulcb board 'blinky' demo is my favorite testing firmware.
>
> To generate a firmware with the zephyr project.
>
> follow this starting guide
> https://docs.zephyrproject.org/2.7.0/getting_started/index.html
>
> Then compile your zephyr demo
> west build -b rcar_h3ulcb_cr7 zephyr/samples/basic/blinky \
> -DCONFIG_KERNEL_ENTRY=\"_vector_table\" \
> --build-dir h3-blinky
>
> Then you can use h3-blinky/zephyr/zephyr.elf as a testing
> firmware.
>
> Patch 1/2 adds the dt-bindings
>
> Patch 2/2 is a small driver to cover basic remoteproc
> usage: loading firmware from filesystem, starting and stopping the
> Cortex-r7 processor.
>
> Device tree modifications have been dropped in this patchset version.
> Reason is that memory range used by the Cortex-R7 depends on
> design choice.
> One thing we could do in the future is to add CR7 node
> in the different Gen3 SoCs dtsi files such as r8a77951.dtsi, r8a77990.dtsi,
> r8a77961.dtsi..
>
> Julien Massot (2):
> dt-bindings: remoteproc: Add Renesas R-Car
> remoteproc: Add Renesas rcar driver
>
> .../remoteproc/renesas,rcar-rproc.yaml | 65 +++++
> drivers/remoteproc/Kconfig | 11 +
> drivers/remoteproc/Makefile | 1 +
> drivers/remoteproc/rcar_rproc.c | 226 ++++++++++++++++++
> 4 files changed, 303 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/remoteproc/renesas,rcar-rproc.yaml
> create mode 100644 drivers/remoteproc/rcar_rproc.c
>
> --
> 2.33.1
>
>
next prev parent reply other threads:[~2021-12-01 16:46 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-30 10:00 [PATCH v2 0/2] Initial Renesas R-Car remoteproc support Julien Massot
2021-11-30 10:00 ` [PATCH v2 1/2] dt-bindings: remoteproc: Add Renesas R-Car Julien Massot
2021-12-02 13:22 ` Geert Uytterhoeven
2021-12-07 13:58 ` Julien Massot
2021-11-30 10:00 ` [PATCH v2 2/2] remoteproc: Add Renesas rcar driver Julien Massot
2021-12-01 16:46 ` Mathieu Poirier
2021-12-02 13:40 ` Geert Uytterhoeven
2021-12-07 17:03 ` Julien Massot
2021-12-01 16:46 ` Mathieu Poirier [this message]
2021-12-02 8:57 ` [PATCH v2 0/2] Initial Renesas R-Car remoteproc support Julien Massot
2021-12-02 13:41 ` Geert Uytterhoeven
2021-12-06 16:59 ` Mathieu Poirier
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=20211201164616.GA834591@p14s \
--to=mathieu.poirier@linaro.org \
--cc=bjorn.andersson@linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=geert+renesas@glider.be \
--cc=julien.massot@iot.bzh \
--cc=linux-remoteproc@vger.kernel.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=robh+dt@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).