This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

No events data on the ARM DS-5 streamline with the sabrelite i.mx6 quad core

I am currently trying to extract the performance events information from the sabrelite i.mx6q (https://boundarydevices.com/product/sabre-lite-imx6-sbc/ )

I have successfully integrated the gator daemon - driver after kernel compiling in order to enable the recording data on the ds5 streamline analyzer (Streamline Performance Analyzer – DS-5 Development Studio – ARM Developer ).

The ARM energy probe is connected. on the DS-5 GUI after a test record, I can see the percentage of the CPU activity, the clock frequency/cycles and also othe informations (please see the attached figure). But the problem that is there are any information from the available events related to the cores-events or to the cache-events. all the values of these events are zero knowing that the cores execute applications during the records.

I would like to know what is the problem.

10206.zip
Parents
  • I had the same problem. To make sure that the PL310 counters were correctly programmed in the gator.ko module, I stepped through the gator.ko module with the DS-5 kernel debugger and DSTREAM unit. That accidentally made the PL310 performance counters come to life.

    This is actually described in i.MX6 errata ERR006259, although not very clear:

    ARM Errata Reference Title Description Workaround
    6259 ARM: Debug/trace functions (PMU, PTM and ETB) are disabled with
    absence of JTAG_TCK clock after POR

    When JTAG_TCK is not toggling after power-on reset (POR), the ARM PMU, PTM, and ETB stay
    in their disabled states so various debug and trace functions are not available.

    Provide at least 4 JTAG_TCK clock cycles following POR if the PMU, PTM and ETB functions
    will be used. A free-running JTAG_TCK can also be used.

     

    It looks like the Cortex-A9 PMU counters are not affected by the presence or absence of a JTAG clock, but the PL310 counters are.

Reply
  • I had the same problem. To make sure that the PL310 counters were correctly programmed in the gator.ko module, I stepped through the gator.ko module with the DS-5 kernel debugger and DSTREAM unit. That accidentally made the PL310 performance counters come to life.

    This is actually described in i.MX6 errata ERR006259, although not very clear:

    ARM Errata Reference Title Description Workaround
    6259 ARM: Debug/trace functions (PMU, PTM and ETB) are disabled with
    absence of JTAG_TCK clock after POR

    When JTAG_TCK is not toggling after power-on reset (POR), the ARM PMU, PTM, and ETB stay
    in their disabled states so various debug and trace functions are not available.

    Provide at least 4 JTAG_TCK clock cycles following POR if the PMU, PTM and ETB functions
    will be used. A free-running JTAG_TCK can also be used.

     

    It looks like the Cortex-A9 PMU counters are not affected by the presence or absence of a JTAG clock, but the PL310 counters are.

Children
No data