Linux Remote Processor Subsystem development
 help / color / mirror / Atom feed
* R-Car V4H remoteproc and RPMsg support
@ 2026-12-03  4:24 Lê Việt Đức
  2026-12-03 13:50 ` Mathieu Poirier
  0 siblings, 1 reply; 3+ messages in thread
From: Lê Việt Đức @ 2026-12-03  4:24 UTC (permalink / raw)
  To: linux-renesas-soc; +Cc: wsa+renesas, geert+renesas, linux-remoteproc

Hi Wolfram, Geert and all,

I've recently been working on IPC between Linux and Zephyr on the
R-Car V4H Sparrow Hawk board.

So far, I have managed to get RPMsg communication working between the
Cortex-A76 and Cortex-R52 (RT0) using MFIS, shared memory and OpenAMP.
I've also run some stress tests, including virtqueue rollover and
backpressure handling, with good results.

Currently, I use U-Boot to start the R52 firmware and Linux to attach to it.

While looking through the mainline Linux source, I noticed that
rcar_rproc.c currently only supports Gen3, while the MFIS driver
already supports V4H.

I'm interested in extending the existing remoteproc driver to support
V4H, starting with attach-mode support and reusing the MFIS mailbox
driver.

Before going further, I'd like to check if anyone is already working
on this or has plans to support it. Also, do you think extending the
existing rcar_rproc.c would be a reasonable approach?

I'd be happy to work on this and contribute it upstream.

Thanks,

Duc Le

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

* Re: R-Car V4H remoteproc and RPMsg support
  2026-12-03  4:24 R-Car V4H remoteproc and RPMsg support Lê Việt Đức
@ 2026-12-03 13:50 ` Mathieu Poirier
  2026-12-03 16:13   ` Wolfram Sang
  0 siblings, 1 reply; 3+ messages in thread
From: Mathieu Poirier @ 2026-12-03 13:50 UTC (permalink / raw)
  To: Lê Việt Đức
  Cc: linux-renesas-soc, wsa+renesas, geert+renesas, linux-remoteproc

On Wed, 2 Dec 2026 at 22:24, Lê Việt Đức <levietduc0712@gmail.com> wrote:
>
> Hi Wolfram, Geert and all,
>
> I've recently been working on IPC between Linux and Zephyr on the
> R-Car V4H Sparrow Hawk board.
>
> So far, I have managed to get RPMsg communication working between the
> Cortex-A76 and Cortex-R52 (RT0) using MFIS, shared memory and OpenAMP.
> I've also run some stress tests, including virtqueue rollover and
> backpressure handling, with good results.
>
> Currently, I use U-Boot to start the R52 firmware and Linux to attach to it.
>
> While looking through the mainline Linux source, I noticed that
> rcar_rproc.c currently only supports Gen3, while the MFIS driver
> already supports V4H.
>
> I'm interested in extending the existing remoteproc driver to support
> V4H, starting with attach-mode support and reusing the MFIS mailbox
> driver.
>
> Before going further, I'd like to check if anyone is already working
> on this or has plans to support it. Also, do you think extending the
> existing rcar_rproc.c would be a reasonable approach?
>

Extending is always better than re-inventing.  We can revisit that
approach in time if need be.

> I'd be happy to work on this and contribute it upstream.
>
> Thanks,
>
> Duc Le
>

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

* Re: R-Car V4H remoteproc and RPMsg support
  2026-12-03 13:50 ` Mathieu Poirier
@ 2026-12-03 16:13   ` Wolfram Sang
  0 siblings, 0 replies; 3+ messages in thread
From: Wolfram Sang @ 2026-12-03 16:13 UTC (permalink / raw)
  To: Mathieu Poirier, Marek Vasut
  Cc: Lê Việt Đức, linux-renesas-soc,
	geert+renesas, linux-remoteproc

[-- Attachment #1: Type: text/plain, Size: 1313 bytes --]


> > I've recently been working on IPC between Linux and Zephyr on the
> > R-Car V4H Sparrow Hawk board.
> >
> > So far, I have managed to get RPMsg communication working between the
> > Cortex-A76 and Cortex-R52 (RT0) using MFIS, shared memory and OpenAMP.
> > I've also run some stress tests, including virtqueue rollover and
> > backpressure handling, with good results.
> >
> > Currently, I use U-Boot to start the R52 firmware and Linux to attach to it.
> >
> > While looking through the mainline Linux source, I noticed that
> > rcar_rproc.c currently only supports Gen3, while the MFIS driver
> > already supports V4H.
> >
> > I'm interested in extending the existing remoteproc driver to support
> > V4H, starting with attach-mode support and reusing the MFIS mailbox
> > driver.
> >
> > Before going further, I'd like to check if anyone is already working
> > on this or has plans to support it. Also, do you think extending the
> > existing rcar_rproc.c would be a reasonable approach?
> >
> 
> Extending is always better than re-inventing.  We can revisit that
> approach in time if need be.

I asked Marek the same question at ELCE in Prague and IIRC his answer
was that enabling cores on V4H needs to go via firmware from Linux.

Marek, do I remember this correctly?


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

end of thread, other threads:[~2026-12-03 16:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-03  4:24 R-Car V4H remoteproc and RPMsg support Lê Việt Đức
2026-12-03 13:50 ` Mathieu Poirier
2026-12-03 16:13   ` Wolfram Sang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox