AGX Orin Development Kit Coresight Issue

Hi, we have been trying to use the Coresight component on AGX Orin development kit to collect the CPU complex runtime trace lately. However we are experiencing issues that is strange and we were wondering if there are any implementation issues on the AGX Orin CPU.

The way we set up the Coresight is compiling the kernel with Coresight driver option enabled and the device tree file is also changed to enable the Coresight components, including TMC/TPIU/ETM/etc. However, when we try to operate the Coresight to collect and dump the trace via sysfs the Coresight driver just always fails, see the following screenshot.

Upon further investigation, we noticed that the TMC driver probe always fails which could potentially lead to the problem. We suspect that the memory address of TMC which is provided in the device tree files is not correct. We were wondering if NVDIA engineers ever had this issue before? Please let me know if you need any other information. Thank you!

Kernel version: Jetson_Linux_R35.2.1

This would need other users to share experience. By default we have tegrastats to check loading of hardware blocks. You can execute sudo tegrastats to get runtime frequency and loading of each CPU core.

Thanks! These are the output from the tegrastats command.

03-01-2023 21:52:24 RAM 2341/30589MB (lfb 6709x4MB) SWAP 0/15294MB (cached 0MB) CPU [1%@729,0%@729,0%@729,0%@729,0%@729,0%@729,0%@729,0%@729,off,off,off,off] EMC_FREQ 0% GR3D_FREQ 0% GR3D2_FREQ 0%@0 CV0@-256C CPU@40.687C Tboard@30C SOC2@38.281C Tdiode@31C SOC0@38.906C CV1@-256C GPU@-256C tj@40.625C SOC1@37.875C CV2@-256C

However I don’t think it shows anything specific with the Coresight or any other debug components of the CPU complex? I was also checking over the technical reference manual but it did not mention anything about the memory mapped io physical address of on chip components. Could you please enlighten me where can I find those information if possible? I remember those info are available on TX2 platform technical reference manual. Thanks!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.