Syscall proxying on Zephyr #601
Unanswered
rhaberkorn
asked this question in
Q&A
Replies: 3 comments 6 replies
|
Hello @rhaberkorn |
1 reply
|
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. |
3 replies
|
btw. it even seems, I cannot currently enable the Proxy library ( |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
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_pollwhich 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_opsas well. I feel, I might be misunderstanding something fundamentally.All reactions