Whether RPMsg and SRTM can be used for communicate between virtual partition in LS1028A

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Whether RPMsg and SRTM can be used for communicate between virtual partition in LS1028A

2,612件の閲覧回数
jiaweilin
Contributor III

Hello,

I noticed the addition of RPMSG and SRTM capabilities for inter-core communication and device sharing in RT-Edge v2.3.

However, the documentation I found for RPMSG and SRTM was for the i.MX8 product platform, and I didn't see more detailed instructions.

Where can I find more detailed instructions on how to use RPMSG and SRTM?

Whether RPMsg and SRTM can be used for inter-core communication and device sharing between virtualized partitions in LS1028A?

0 件の賞賛
返信
4 返答(返信)

2,568件の閲覧回数
jiaweilin
Contributor III

Thank you for the reply. 

I have the following two questions.

1.Whether it can be done that implement inter-partition communication of jailhouse based on RPMsg on LS1028 by modifying DeviceTree or Linux driver? Can you provide relevant modification cases or explain what needs to be modified?

2. Does RT-Edge provide Jailhouse's original shared memory-based inter-partition communication API? Or where can I find instructions for the Jailhouse Interpartition communication API?

thanks!

0 件の賞賛
返信

2,540件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

1.
In real-time-edge-v2.3, RPMSG and SRTM are only used for virtual uart case between A-core(linux) and M-core(RTOS),
if want to use it in jailhouse, you should porting and modify the related code to Linux kernel or inmate system in jailhouse,
you can refer to drivers/tty/rpmsg_tty.c in linux.



2.
In jailhouse, there is inbuilt virtual NIC based on shared memory, you can refer to the keyword "JAILHOUSE_SHMEM_PROTO_VETH" in jailhouse code,
the virtual NIC can implement Interpartition communication.

0 件の賞賛
返信

2,577件の閲覧回数
jiaweilin
Contributor III

Could you give me some advice?

0 件の賞賛
返信

2,572件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

RPMsg and SRTM can't be used in LS1028A platform in RT-edge v2.3

about RPmsg, you can refer to the following link:
https://www.kernel.org/doc/html/latest/staging/rpmsg.html

thanks