Rpmsg Shared memory in DDR

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Rpmsg Shared memory in DDR

1,537 Views
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

Tags (1)
0 Kudos
Reply
1 Reply

1,380 Views
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 Kudos
Reply