Meaning of m4_tcm in device-tree

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

Meaning of m4_tcm in device-tree

2,019 次查看
georgefff
Contributor II

Hi all,

I was wondering what was the use of including node "m4_tcm" in the device-tree. I know that is used to tell kernel to have knowledge about the M4 core but..

What should I use in device-tree if I link the M4's firmware in the OCRAM? Should I maintain the "m4_tcm" in the device-tree? In that case, should I disable &ocram node in device-tree?

Thanks in advance

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

1,822 次查看
igorpadykov
NXP Employee
NXP Employee

Hi George

if M4's firmware is in the OCRAM, device-tree can be changed accordingly.

Note it is already used in dts by linux, so one can try to disable &ocram node:

imx7d-sdb-m4.dtsi\dts\boot\arm\arch - linux-imx - i.MX Linux kernel 

Memory usage is described in AN5317 Loading Code on Cortex-M4 from Linux for the i.MX 6SoloX and

i.MX7Dual/7Solo Application Processors
https://www.nxp.com/docs/en/application-note/AN5317.pdf 

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

0 项奖励
回复

1,822 次查看
georgefff
Contributor II

Thank you for your fast response and for attached document.

Nevertheles, I can't figure out the purpose of m4_tcm in the device tree. I read somewhere that it's just for kick the M4 MCU from Linux, that's why I'm asking for it's usage even with OCRAM/DDR

Regards

0 项奖励
回复