Hi there, I have two Nvidia Jetson Developer Kits, one AGX Xavier and one Nano. I want to use CoreSight for self-hosted trace collection (i.e. without JTAG debug probe) on these boards. I built the kernel for CoreSight configuration, but the problem is that there are no CoreSight devices at /sys/bus/coresight/devices/. Does anyone have an idea how to fix this? Any help is highly appreciated!
Best regards, Vincent
Hi Vincent
On 14/10/2024 12:01, vincent.ernst@web.de wrote:
Hi there, I have two Nvidia Jetson Developer Kits, one AGX Xavier and one Nano. I want to use CoreSight for self-hosted trace collection (i.e. without JTAG debug probe) on these boards. I built the kernel for CoreSight configuration, but the problem is that there are no CoreSight devices at /sys/bus/coresight/devices/. Does anyone have an idea how to fix this? Any help is highly appreciated!
The drivers rely on the "platform firmware descriptions" (read DT or ACPI) of the CoreSight components discovery. You may need to modify the DT/ACPI with the information, which may be usually found in the Technical Spec for your board. e.g., see the Juno board dts:
$linux/arch/arm64/boot/dts/arm/juno-base.dtsi and juno-cs-r1r2.dtsi.
There are DT bindings for each component available here :
linux$ ls Documentation/devicetree/bindings/arm/arm,coresight*
If you are using a Arm-v9 based CPU, then you may be able to use ETE and TRBE where you don't need to "find" the addresses of the components, but DT/ACPI update is required
Kind regards Suzuki
Best regards, Vincent _______________________________________________ CoreSight mailing list -- coresight@lists.linaro.org To unsubscribe send an email to coresight-leave@lists.linaro.org