On 11-03-16 07:44, Mike Looijmans wrote:
...
The 'prescaler hack' is apparently still present in the 4.4 kernel code. The
problem is that it no longer works, not even on the speedgrade 1 devices (with
only 333 and 666 MHz setpoints).
Did a quick test on the board. The prescaler is applied correctly, so what's
causing the trouble?
# devmem 0xF8001000
0x00000015
# echo 333333 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed
# devmem 0xF8001000
0x00000013
# echo 666666 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed
# devmem 0xF8001000
0x00000015
Bits 1..4 are the prescaler values, at 666 it's set to 0b111 (7) and at 333
it's set to 0b110 (6). The register is a power-of-two value, so "7" means 2^8
and "6" means 2^7.
Kind regards,
Mike Looijmans
System Expert
TOPIC Embedded Products
Eindhovenseweg 32-C, NL-5683 KH Best
Postbus 440, NL-5680 AK Best
Telefoon: +31 (0) 499 33 69 79
E-mail: [email protected]
Website: www.topicproducts.com
Please consider the environment before printing this e-mail
--
_______________________________________________
meta-xilinx mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-xilinx