Syscall proxying on Zephyr #601
Replies: 3 comments 6 replies
-
Hello @rhaberkorn |
Beta Was this translation helpful? Give feedback.
-
The platform_poll() and remoteproc_get_notifiaction() are used baremetal (mostly for zynqmp platform) and linux apps (linux userspace apps that is using OpenAMP library). Whole apps directory needs to be refactored. |
Beta Was this translation helpful? Give feedback.
-
btw. it even seems, I cannot currently enable the Proxy library ( |
Beta Was this translation helpful? Give feedback.
-
Hello!
I am struggling to use syscall (file IO) proxying in a Zephyr firmware running on a slave MCU (M4 core on STM32MP157C). The master will be running Linux.
Unfortunately, the rpc_demo example is not written for Zephyr. So I tried to adapt code from the rpmsg_multi_services.
I have to call
rpmsg_rpc_init()
and passplaform_poll
which is unfortunately not defined on Zephyr. I believe it should be similar to this:Do I understand correctly, that I will have to implement something like
platform_create_proc()
as well in order to initializestruct remoteproc
?This leads of course into a rabbit hole, since I will now have to provide
remoteproc_ops
as well. I feel, I might be misunderstanding something fundamentally.Beta Was this translation helpful? Give feedback.
All reactions