Rpmsg Shared memory in DDR

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

Rpmsg Shared memory in DDR

1,230 次查看
jk_vikramjk
Contributor I

Hello Nxp,

I am using IMX8 processor and working at M4 side. I am using Rpmsg protocol to communicate A35 - M4 and rpmsg shared memory is pointed to DDR memory. 

Before the Rpmsg driver initialization function is called I see there is lot of junk values on DDR shared memory.
My question is 
1) this Junk values will cause any effect on the message tx or rx ?
2) Do I need to clear the shared memory to zero before the rpmsg driver is initialized?

Thanks

标记 (1)
0 项奖励
1 回复

1,073 次查看
igorpadykov
NXP Employee
NXP Employee

Hi VJK

one can look at rpmsg driver description in Linux 4.19.35_1.1.0 Documentation

In general there is no need clear to shared memory. Also may be useful to check

various aspects of allocating memory described below

reserve_m4_memory.docx 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励