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

Help configuring PMU's

Hi,

I'm trying to enable PMU's on arm versatile juno r2 development board.

I've already read this manuals from arm:
ARM ® Cortex ® -A72 MPCore Processor
ARM® Cortex ® -A53 MPCore Processor
Juno r2 ARM® Development Platform SoC
ARM® Architecture Reference Manual ARMv8, for ARMv8-A architecture profile

Searching online I found this guides:
http://zhiyisun.github.io/2016/03/02/How-to-Use-Performance-Monitor-Unit-(PMU)-of-64-bit-ARMv8-A-in-Linux.html
http://valtrix.in/programming/programming-armv8-performance-counters
http://syndication2605.rssing.com/chan-30054360/latest.php#item4
https://github.com/thoughtpolice/enable_arm_pmu/blob/master/ko/enable_arm_pmu.c
http://ilinuxkernel.com/?p=1755

The code i'm trying to compile (from the github link) on my host machine is:



I have a Makefile:


I'm compiling with:


I'm getting this output logs:


Any ideas what I've done wrong?

Thanks,
Luís

0