iMX7 Dual Resource Domain Controller (RDC) support in Linux Kernel

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

iMX7 Dual Resource Domain Controller (RDC) support in Linux Kernel

1,805 次查看
nilesh_emqos
Contributor I

Hi,

I am looking for iMX7 Dual Resource Domain Controller (RDC) support in Linux Kernel 4.9.11 to access and share GPIOs and memory by both cortex-M4 and cortex-A7.

1. If support is provided, then please provide an example code on how to access/share GPIOs and memory by both cortex-M4 and cortex-A7 using RDC with/without sema4.

2. Can GPIO of same port be shared by both cortex-M4 and cortex-A7 at a time e.g. GPIO1's 1st port pin used cortex-M4 and  GPIO1's 2nd port pin used cortex-M4? Please provide example code.

3. Can MMC memory shared by both cortex-M4 and cortex-A7 at a time? Please provide example code.

4. Is the configure rdc supported in atf (ARM Trusted Firmware) for iMX7Dual, to set GPIO permissions for accessing  both by A7 and M4?

Please share web links for example code for the same ASAP.

Thanks,

Warm Regards,

Nilesh.

 

 

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

1,795 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Nilesh

 

for i.MX7 rdc support is provided in  FreeRTOS_BSP_iMX7D  ../drivers/src/rdc.c, rdc_semaphore.c

available on  Windows Installer: i.MX 7Dual/Solo FreeRTOS BSP for Cortex-M4

Rdc is not supported in linux kernel.

In theory resources like memory, gpio and other peripherals can be shared by cortex-M4 and cortex-A7,

however software examples are not available, sorry.

 

Best regards
igor

0 项奖励
回复