Hi NVIDIA team,
I am trying to enable ARM CoreSight ETM tracing on Jetson Orin Nano (T234), but I cannot bring up any CoreSight devices even after rebuilding the kernel with CoreSight options enabled.
Environment
- Board: Jetson Orin Nano Devkit
- SoC: T234
- JetPack/L4T: JetPack 6 / R36.4.3
- Kernel:
5.15.148-tegra
What I changed
I rebuilt the kernel and enabled:
CONFIG_CORESIGHT=yCONFIG_CORESIGHT_LINKS_AND_SINKS=yCONFIG_CORESIGHT_LINK_AND_SINK_TMC=yCONFIG_CORESIGHT_SOURCE_ETM4X=y
I replaced kernel image + DTB and rebooted successfully.
Reproduction / Current status
zcat /proc/config.gz | grep CORESIGHT
Output:
CONFIG_CORESIGHT=y
CONFIG_CORESIGHT_LINKS_AND_SINKS=y
CONFIG_CORESIGHT_LINK_AND_SINK_TMC=y
CONFIG_CORESIGHT_SINK_TPIU=y
CONFIG_CORESIGHT_SINK_ETBV10=y
CONFIG_CORESIGHT_SOURCE_ETM4X=y
ls -la /sys/bus/coresight/devices
Output:
total 0
drwxr-xr-x 2 root root 0 ...
drwxr-xr-x 4 root root 0 ...
sudo dmesg | grep -i coresight
Output:
[ ...] cs_system_cfg: CoreSight Configuration manager initialised
Also, decompiling the running DTB does not show coresight/etm/tmc/funnel/replicator nodes.
My understanding
This no longer looks like a kernel Kconfig issue.
It seems T234 CoreSight DT/platform description is missing in my current source/release.
I saw forum comments mentioning:
hardware/nvidia/soc/t23x/kernel-dts/tegra234-soc/tegra234-soc-coresight.dtsi
but I cannot find a usable public file/patch for this on my side.
Request
Could you please provide one of the following for R36.4.3 (or the nearest supported release):
- A working
tegra234-soc-coresight.dtsi; or - A patch set (DTS/DTSI + dependencies) that can be applied directly; or
- A clear statement that ETM is not supported on this release, and recommended alternatives.
If supported, please share:
- ETM/TMC/Funnel/Replicator MMIO addresses
- required clock/reset bindings
- ports/endpoints topology
- expected validation output (
/sys/bus/coresight/devicesnode list)
Thanks in advance.