-
Notifications
You must be signed in to change notification settings - Fork 7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add remoteproc target driver #79605
add remoteproc target driver #79605
Conversation
btw I don't use an actual AMP SOC, my project uses remoteproc over PCIe (x86 master and a Zynq 7000 PCIe card). |
6306368
to
3f8ced5
Compare
endpoint can now be added in the dts:
|
add OpenAMP RemoteProc driver as a counterpart to the Linux RemoteProc framework and a RPMSG endpoint as a log backend. Signed-off-by: Simon Maurer <mail@maurer.systems>
Signed-off-by: Simon Maurer <mail@maurer.systems>
rename vdev to a more accurate name Signed-off-by: Simon Maurer <mail@maurer.systems>
Signed-off-by: Simon Maurer <mail@maurer.systems>
Signed-off-by: Simon Maurer <mail@maurer.systems>
Signed-off-by: Simon Maurer <mail@maurer.systems>
Hello @mausys
|
Hi @arnopo |
I'm preparing a new version of the driver in a new pull request. The DTS of the new version will probably look something like this:
|
New development branch: https://github.com/mausys/zephyr/tree/openamp |
New pull request: #83754 |
This is just a proof of concept for a deeper integration of OpenAMP in Zephyr. A lot of stuff is missing like a driver API. Also it needs a lot of cleanup. The idea is to configure the RemoteProc target in the devicetree and the application just needs to implement the RPMSG endpoint logic. The Zephyr RemoteProc target driver would be a counterpart to the Linux kernel RemoteProc master driver. So the dts file would include something like this:
For example I wrote a logging backend that sends the log messages over RPMSG to the master with a fallback to the ram console. That would be a rpmsg bus member. Obviously it needs a lot of work, but I think it's better to get feedback early. Thoughts?