Inter-processor communication between Linux and RTOS in imx6 sabrelite

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

Inter-processor communication between Linux and RTOS in imx6 sabrelite

3,382 次查看
saravanankrish
Contributor I

Hello All,

I am using imx6 sabrelite board in which #Linux OS running on core0 and #RTOS on core2. My task is to establish inter-processor communication between two operating systems. My idea is to create shared memory section and allow read-write access using Software Generated Interrupts(SGI) between the cores. It would be really helpful for me if someone share their experience in this topic or suggest me some other approaches to accomplish this task.

Thanks in advance.

0 项奖励
回复
4 回复数

2,682 次查看
igorpadykov
NXP Employee
NXP Employee

Hi saravanan

one can look at Chapter 51 Remote Processor Messaging

attached Linux Manual

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

0 项奖励
回复

2,682 次查看
saravanankrish
Contributor I

Hi,

I have gone through the documentation.

But , how can i implement the same on RTOS side? How can I send data from RTOS to Linux OS ?

Any suggestions from your side ? Thanks in advance

0 项奖励
回复

2,682 次查看
wangzhimin
Contributor II

Can you solved this problem? I also encountered this problem. I would like to ask a question. To use SGI interrupts in both cores, do you need to register the interrupt function in both cores separately. if this will cause interference?

0 项奖励
回复

2,682 次查看
saravanankrish
Contributor I

Hello Igor,

Thanks a lot for your suggestion. i will look into the manual.

0 项奖励
回复