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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

Jump to solution
1,026 Views
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?

Labels (4)
Tags (3)
0 Kudos
1 Solution
752 Views
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!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

2 Replies
753 Views
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!
-----------------------------------------------------------------------------------------------------------------------

751 Views
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 Kudos