Part Number: AM5726
Other Parts Discussed in Thread: DRA752, AM5728, BEAGLEBOARD-X15
Tool/software: Linux
Hi all,
I have a Am572x IDK and got the latest linux source code from http://software-dl.ti.com/processor-sdk-linux-rt/esd/AM57X/latest/exports/am57xx-evm-linux-rt-sdk-src-03.03.00.04.tar.xz
Because DVFS is not a deterministic behavior I disabled CONFIG_CPU_FREQ and CONFIG_CPU_IDLE. As far as I understand is the CPU frequency set by the bootloader and wont be changed again. In the bootloaders menuconfig I saw that the MPU Voltage domain parameter is set to OPP_NOM and I assume that also the frequency is taken from this opp.
I want to set the frequency to 1.176 GHz so I just changed the lines of the opp_nom in the device tree from:
opp_table0 {
compatible = "operating-points-v2";
opp-shared;
linux,phandle = <0x3>;
phandle = <0x3>;
opp_nom@1000000000 {
opp-hz = <0x0 0x3b9aca00>;
opp-microvolt = <0x102ca0 0xcf850 0x118c30>;
opp-supported-hw = <0xff 0x1>;
opp-suspend;
};
...
};
to
opp_table0 {
compatible = "operating-points-v2";
opp-shared;
linux,phandle = <0x3>;
phandle = <0x3>;
opp_nom@1100000000 {
opp-hz = <0x0 0x46185600>;
opp-microvolt = <0x11b340 0xd8108 0x11b340>;
opp-supported-hw = <0xff 0x1>;
opp-suspend;
};
...
};
And I measure the frequency with the pert tool.
<sudo perf stat dd if=/dev/urandom of=/dev/null count=100000>
But unfortunately my sitara cpus still runs on 1.0 GHz. What am I doing wrong? What is the right way to set the frequency?
Regards,
Guy
