Hi all,
I am planning to make this example work for zynqmp board: https://github.com/OpenAMP/openamp-system-reference/tree/main/examples/zephy...
I see that ST has mailbox driver (ipm) for zephyr and is used for communication with host. I found that there is no mailbox driver available for zynqmp platform.
Dan’s virtio examples are using Xilinx IPI, however it is in sample directory: https://github.com/OpenAMP/zephyr-openamp-staging/blob/virtio-exp/samples/vi...
I feel that there is need for zynqmp mailbox driver that is using zynqmp IPI hardware for mailbox communication. Any suggestions on what will be accepted in upstream zephyr repository? Are we planning to merge virtio examples in upstream zephyr? If Dan’s approach is accepted upstream, I can use same file for rpmsg_multi_services. If not, I can take the same file and convert it into mailbox driver, then virtio example can use that driver.
I am not very familiar with processes of zephyr community so any suggestion regarding that will be helpful.
Thanks, Tanmay
+ Tammy
On 1/27/23 2:32 PM, Shah, Tanmay via Openamp-system-reference wrote:
Hi all,
I am planning to make this example work for zynqmp board: https://github.com/OpenAMP/openamp-system-reference/tree/main/examples/zephy...
I see that ST has mailbox driver (ipm) for zephyr and is used for communication with host. I found that there is no mailbox driver available for zynqmp platform.
Dan’s virtio examples are using Xilinx IPI, however it is in sample directory: https://github.com/OpenAMP/zephyr-openamp-staging/blob/virtio-exp/samples/vi...
I feel that there is need for zynqmp mailbox driver that is using zynqmp IPI hardware for mailbox communication. Any suggestions on what will be accepted in upstream zephyr repository? Are we planning to merge virtio examples in upstream zephyr? If Dan’s approach is accepted upstream, I can use same file for rpmsg_multi_services. If not, I can take the same file and convert it into mailbox driver, then virtio example can use that driver.
I am not very familiar with processes of zephyr community so any suggestion regarding that will be helpful.
Thanks, Tanmay
Hi Tanmay,
ST Restricted
-----Original Message----- From: Tanmay Shah via Openamp-system-reference <openamp-system- reference@lists.openampproject.org> Sent: vendredi 27 janvier 2023 23:37 To: Shah, Tanmay tanmay.shah@amd.com; openamp-system- reference@lists.openampproject.org Cc: Chan King Choy, Nathalie nathalie.chan-king-choy@amd.com; dan.milea@windriver.com; tammy.leino@siemens.com Subject: [OA-syst-ref] Re: RFC: zynqmp mailbox driver in zephyr
- Tammy
On 1/27/23 2:32 PM, Shah, Tanmay via Openamp-system-reference wrote:
Hi all,
I am planning to make this example work for zynqmp board: https://github.com/OpenAMP/openamp-system-
reference/tree/main/examples
/zephyr/rpmsg_multi_services
I see that ST has mailbox driver (ipm) for zephyr and is used for
communication with host.
I found that there is no mailbox driver available for zynqmp platform.
Dan’s virtio examples are using Xilinx IPI, however it is in sample directory: https://github.com/OpenAMP/zephyr-openamp-staging/blob/virtio-
exp/samp
les/virtio/hvl_net_rng_reloc/src/xlnx_ipi.c
I feel that there is need for zynqmp mailbox driver that is using zynqmp IPI
hardware for mailbox communication.
Any suggestions on what will be accepted in upstream zephyr repository?
The mailbox driver seems to me the most coherent: - similar to the implementation of other platforms on Zephyr - symmetrical to Linux kernel's Implementations (interesting for the system device tree)
Are we planning to merge virtio examples in upstream zephyr? If Dan’s approach is accepted upstream, I can use same file for rpmsg_multi_services. If not, I can take the same file and convert it into
mailbox driver, then virtio example can use that driver.
The middle term plan is to integrate Dan's work in OpenAMP main Branch Before that, there are some remaining work. The IPI support using mailbox should be one( at least from MPOV).
Regards, Arnaud
I am not very familiar with processes of zephyr community so any suggestion regarding that will be helpful.
Thanks, Tanmay
-- Openamp-system-reference mailing list -- openamp-system- reference@lists.openampproject.org To unsubscribe send an email to openamp-system-reference- leave@lists.openampproject.org
Hi Arnaud,
Thanks for your response. It was helpful.
I will start working on zynqmp IPI mailbox driver support on zephyr.
Tanmay
On 1/30/23 2:03 AM, Arnaud POULIQUEN wrote:
Hi Tanmay,
ST Restricted
-----Original Message----- From: Tanmay Shah via Openamp-system-reference <openamp-system- reference@lists.openampproject.org> Sent: vendredi 27 janvier 2023 23:37 To: Shah, Tanmay tanmay.shah@amd.com; openamp-system- reference@lists.openampproject.org Cc: Chan King Choy, Nathalie nathalie.chan-king-choy@amd.com; dan.milea@windriver.com; tammy.leino@siemens.com Subject: [OA-syst-ref] Re: RFC: zynqmp mailbox driver in zephyr
- Tammy
On 1/27/23 2:32 PM, Shah, Tanmay via Openamp-system-reference wrote:
Hi all,
I am planning to make this example work for zynqmp board: https://github.com/OpenAMP/openamp-system-
reference/tree/main/examples
/zephyr/rpmsg_multi_services
I see that ST has mailbox driver (ipm) for zephyr and is used for
communication with host.
I found that there is no mailbox driver available for zynqmp platform.
Dan’s virtio examples are using Xilinx IPI, however it is in sample directory: https://github.com/OpenAMP/zephyr-openamp-staging/blob/virtio-
exp/samp
les/virtio/hvl_net_rng_reloc/src/xlnx_ipi.c
I feel that there is need for zynqmp mailbox driver that is using zynqmp IPI
hardware for mailbox communication.
Any suggestions on what will be accepted in upstream zephyr repository?
The mailbox driver seems to me the most coherent:
- similar to the implementation of other platforms on Zephyr
- symmetrical to Linux kernel's Implementations (interesting for the system device tree)
Are we planning to merge virtio examples in upstream zephyr? If Dan’s approach is accepted upstream, I can use same file for rpmsg_multi_services. If not, I can take the same file and convert it into
mailbox driver, then virtio example can use that driver.
The middle term plan is to integrate Dan's work in OpenAMP main Branch Before that, there are some remaining work. The IPI support using mailbox should be one( at least from MPOV).
Regards, Arnaud
I am not very familiar with processes of zephyr community so any suggestion regarding that will be helpful.
Thanks, Tanmay
-- Openamp-system-reference mailing list -- openamp-system- reference@lists.openampproject.org To unsubscribe send an email to openamp-system-reference- leave@lists.openampproject.org
openamp-system-reference@lists.openampproject.org