Accessing my kernel rpmsg buffer from user space

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Accessing my kernel rpmsg buffer from user space

跳至解决方案
1,143 次查看
ababatola
Contributor III

Hi,

I have been able to communicate between my imx8mp MPU and the MCU.  However, I want to access the data in the shared memory from the user space.  Is there an example for this?

I would also like to ask if the imx_rpmsg_pinpong.c device driver can be extended to handle linux Userspace I/O for the communication between the kernel space and the user space.

Thanks

标签 (1)
标记 (3)
0 项奖励
回复
1 解答
1,085 次查看
hector_delgado
NXP TechSupport
NXP TechSupport

Hi @ababatola ,

I hope you're doing well! Sorry for the late reply.

I'd recommend taking a look at the rpmsg_lite_str_echo_rtos multicore example found in the i.MX 8M Plus SDK. It's a simple application which allows you to send a message from the Cortex A to the Cortex M and then M4 displays what is received, and echoes back the same message as an acknowledgement. 

You can build and download the SDK from https://mcuxpresso.nxp.com/

Let me know if this works for you.

Best regards,
Hector.

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,086 次查看
hector_delgado
NXP TechSupport
NXP TechSupport

Hi @ababatola ,

I hope you're doing well! Sorry for the late reply.

I'd recommend taking a look at the rpmsg_lite_str_echo_rtos multicore example found in the i.MX 8M Plus SDK. It's a simple application which allows you to send a message from the Cortex A to the Cortex M and then M4 displays what is received, and echoes back the same message as an acknowledgement. 

You can build and download the SDK from https://mcuxpresso.nxp.com/

Let me know if this works for you.

Best regards,
Hector.

0 项奖励
回复