Rpmsg Shared memory in DDR

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

Rpmsg Shared memory in DDR

1,562件の閲覧回数
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)
タグ(1)
0 件の賞賛
返信
1 返信

1,405件の閲覧回数
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 件の賞賛
返信