Unlocking the cycle counter register.
#1
Hello, I have a problem unlocking the cycle counter register on Pinebook Pro (or, even, rk3399 in general, from what I've gathered).

A common way to unlock it is to load a kernel module that executes an unlock command from the inside, however, the modules that I tried do not work (for example this one https://code.videolan.org/janne/arm64-cycle-cnt, which works on Raspberry Pi 4). I can only access the register inside the module that unlocked it, printing the value to dmesg for example.

One way of unlocking it is building a custom kernel that enables the register on startup, however, this is less than ideal for me, so I was wondering if anybody else encountered this issue.
  Reply


Messages In This Thread
Unlocking the cycle counter register. - by CATFELLA - 04-11-2021, 08:06 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)