Closed saiyamd closed 6 years ago
Hi,
As NXP told you on the community, the PMU doesn't work on i.MX6 when a JTAG clock isn't provided: ERR006259 ARM: Debug/trace functions (PMU, PTM and ETB) are disabled with absence of JTAG_TCK clock after POR
Therefore this feature will not be supported in our kernel.
Regards
I am using i.MX6Q (ARM Cortex A9) based Nitrogen6x board running Android 7.1.1. Kernel (boundary-imx-n7.1.1_1.0.0-ga)
The issue I am facing is with hardware performance events support. Below is the kernel configuration.
and with these changes "armv7_a9_pmu_init" probe call succeeds and I am getting "hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available" kernel log message. But with 'simpleperf list' it's displaying no 'events' for hw-cache and hardware.
My question is, how to enable support of hardware events and specifically "cpu-cycle" in kernel?
Basically, I need to enabled hw perf events because we are getting a below failure while executing CTS_R13 on our device running Nougat 7.1.1.
Thanks, saiyam