On Fri, Jan 26, 2024 at 1:01 PM yfliu2008 <yfliu2...@qq.com.invalid> wrote:

> Dear experts,
>
>
>
>
> I am wondering where we can find high level introduction about the RPTUN
> and RPMSG concepts in NuttX?
>
>
>
2022 online workshop has a introduction presentation:
https://www.youtube.com/watch?v=6uehz3WQ0vU&t=211s


>
>
> I can't find explanations of the two NuttX drivers and their relationship
> with the two OpenAMP components "RemoteProc" and "RPMsg". Can we simply
> take that the "NuttX.RPTUN" abstracts the "OpenAMP.RemoteProc" and the
> "NuttX.RPMSG" wraps the "OpenAMP.RPMsg"?
>
>
Yes, NuttX.RPTUN equals OpenAMP.RemoteProc, which implements many OpenAMP
required functions, and defines a bunch of callbacks for customization.


>
> Can we also take that RPMSG models the communication channel between
> master and a remote core, like other master/slave buses such as SPI/I2C,
> thus various proxy drivers (like block, uart, syslog etc)&nbsp; for remote
> to use can be built on top of the RPMSG bus?
>
>
Yes, we are working on this area to:

   1. Decouple rpmsg from virtio
   2. Implement new rpmsg transport(e.g. SPI, UART)

Part of this work upstream recently, more will come soon:
https://github.com/apache/nuttx/pulls?q=is%3Apr+author%3Awyr8899+
After we finish all work, all high level rpmsg driver/service(e.g. rpmsg
syslog/uart/usrsock/fs...) will work for shared memory and spi/uart.



>
>
> Regards,
> yf

Reply via email to