Openamp with vitis 2025.1 and kernel 6.12 #656
-
Hello, I am encountering some problems in order to run openamp on kernel 6.12 (rpmsg_char on A53 and freertos on R5). When I am trying to run a demo app in v6.12. I see the name server channel and the control channel. But no users channel is created. I have tried several device tree configurations taking these examples: but it does not work. Could you tell me which one is the correct one to use and if I have to consider others changes in order to make openamp running. Thanks in advance |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
I suspect that something has changed regarding IPI channels used in the linux kernel but I don't see any documentation regarding the changes. |
Beta Was this translation helpful? Give feedback.
-
With 6.12 kernel there are new bindings in effect: With new bindings following is expected:
Please refer here: https://docs.amd.com/v/u/en-US/ug1085-zynq-ultrascale-trm -> Page 318. Ideally any buffer is fine as long as both side (Linux and remote) uses same address space. |
Beta Was this translation helpful? Give feedback.
With 6.12 kernel there are new bindings in effect:
https://github.com/torvalds/linux/blob/v6.12/Documentation/devicetree/bindings/remoteproc/xlnx%2Czynqmp-r5fss.yaml
With new bindings following is expected:
reserved memory regions should drop "rpu0" and "rpu1" prefix in node name.
rpu0vdev0vring0@xxxx -> vdev0vring0@xxxx
rpu0vdev1vring0@xxxx -> vdev0vring1@xxxx
etc..
cluster node name should be
remoteproc
notrf5ss
https://github.com/torvalds/linux/blob/v6.12/Documentation/devicetree/bindings/remoteproc/xlnx%2Czynqmp-r5fss.yaml#L281
reg
representation with 2 addresss cells and 2 size cells that s…