What are the addresses for coresight components (ETB, PTM) for i.MX6 Quad?

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

What are the addresses for coresight components (ETB, PTM) for i.MX6 Quad?

跳至解决方案
1,165 次查看
dariussuciu
Contributor II

I am trying to collect cpu (Cortex A-9) trace data using the coresight components (Program Trace Macrocell and Embedded Trace Buffer). There is a linux driver in place starting from linux 4.1. However I could not find anywhere the physical addresses for these components, for this board. (For i.MX 53, there is a system map listed in the  i.MX 53Multimedia Processor Reference Manual, which describes these adresses. Does anybody know where this system map is listed for i.MX6 processors ? Or the device tree entries needed for i.MX6 ( nitrogen_max) boards by the coresight driver?

标签 (4)
标记 (3)
0 项奖励
回复
1 解答
891 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Darius

please check Table 2-4. DAP memory map i.MX6DQ Reference Manual

http://cache.freescale.com/files/32bit/doc/ref_manual/IMX6DQRM.pdf

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

在原帖中查看解决方案

2 回复数
892 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Darius

please check Table 2-4. DAP memory map i.MX6DQ Reference Manual

http://cache.freescale.com/files/32bit/doc/ref_manual/IMX6DQRM.pdf

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

890 次查看
michalkurek
Contributor I

Hello,

table 2-4 contains all DAP memory addresses, however I cannot find any Device Tree for iMX6 platform containing coresight entries. I guess without proper DT, coresight drivers will not startup on the Linux 4.1.x. 

So my question is, how can I get it working on imx6q?

regards,

Michal

0 项奖励
回复