<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>LayerscapeのトピックRe: Set CPU frequency not working</title>
    <link>https://community.nxp.com/t5/Layerscape/Set-CPU-frequency-not-working/m-p/2077014#M15599</link>
    <description>&lt;P&gt;In the default LSDK2108.&lt;/P&gt;
&lt;P&gt;root@localhost:~# cd /sys/devices/system/cpu/cpu0/cpufreq&lt;/P&gt;
&lt;P&gt;root@localhost:/sys/devices/system/cpu/cpu0/cpufreq# ls&lt;/P&gt;
&lt;P&gt;affected_cpus&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cpuinfo_max_freq&amp;nbsp; cpuinfo_transition_latency&amp;nbsp; scaling_available_frequencies&amp;nbsp; scaling_cur_freq&amp;nbsp; scaling_governor&amp;nbsp; scaling_min_freq&amp;nbsp; stats&lt;/P&gt;
&lt;P&gt;cpuinfo_cur_freq&amp;nbsp; cpuinfo_min_freq&amp;nbsp; related_cpus&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; scaling_available_governors&amp;nbsp;&amp;nbsp;&amp;nbsp; scaling_driver&amp;nbsp;&amp;nbsp;&amp;nbsp; scaling_max_freq&amp;nbsp; scaling_setspeed&lt;/P&gt;
&lt;P&gt;root@localhost:/sys/devices/system/cpu/cpu0/cpufreq# cat scaling_available_governors&lt;/P&gt;
&lt;P&gt;ondemand userspace performance&lt;/P&gt;
&lt;P&gt;root@localhost:/sys/devices/system/cpu/cpu0/cpufreq# echo userspace &amp;gt; scaling_governor&lt;/P&gt;
&lt;P&gt;root@localhost:/sys/devices/system/cpu/cpu0/cpufreq# cat scaling_cur_freq&lt;/P&gt;
&lt;P&gt;600000&lt;/P&gt;
&lt;P&gt;root@localhost:/sys/devices/system/cpu/cpu0/cpufreq# cat scaling_available_frequencies&lt;/P&gt;
&lt;P&gt;1500000 1200000 750000 600000 375000 300000&lt;/P&gt;
&lt;P&gt;root@localhost:/sys/devices/system/cpu/cpu0/cpufreq# echo 750000 &amp;gt; scaling_setspeed&lt;/P&gt;
&lt;P&gt;root@localhost:/sys/devices/system/cpu/cpu0/cpufreq# cat scaling_cur_freq&lt;/P&gt;
&lt;P&gt;750000&lt;/P&gt;</description>
    <pubDate>Wed, 09 Apr 2025 09:49:35 GMT</pubDate>
    <dc:creator>June_Lu</dc:creator>
    <dc:date>2025-04-09T09:49:35Z</dc:date>
    <item>
      <title>Set CPU frequency not working</title>
      <link>https://community.nxp.com/t5/Layerscape/Set-CPU-frequency-not-working/m-p/2075588#M15586</link>
      <description>&lt;P&gt;I am following directions on this page (&lt;A href="https://docs.nxp.com/bundle/GUID-39A0A446-70E5-4ED7-A580-E7508B61A5F1/page/GUID-40BE9AD5-DF6B-4D99-A3FB-5988A50DACA2.html" target="_blank" rel="noopener"&gt;https://docs.nxp.com/bundle/GUID-39A0A446-70E5-4ED7-A580-E7508B61A5F1/page/GUID-40BE9AD5-DF6B-4D99-A3FB-5988A50DACA2.html&lt;/A&gt;) about switching CPU frequency by writing to a file in /sys.&lt;/P&gt;&lt;P&gt;When I try to run the command&lt;/P&gt;&lt;PRE&gt;echo 799999 &amp;gt; /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed&lt;/PRE&gt;&lt;P&gt;I see the following error:&lt;/P&gt;&lt;P&gt;-bash: echo: write error: Invalid argument&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What am I doing wrong? I tried other values like 300000, and I also tried putting the value in quotes, using the -n flag for echo, etc. I used chmod to add write permission to scaling_setspeed. Is there something else I need to do?&lt;/P&gt;</description>
      <pubDate>Tue, 08 Apr 2025 01:55:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Set-CPU-frequency-not-working/m-p/2075588#M15586</guid>
      <dc:creator>noahw</dc:creator>
      <dc:date>2025-04-08T01:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: Set CPU frequency not working</title>
      <link>https://community.nxp.com/t5/Layerscape/Set-CPU-frequency-not-working/m-p/2075769#M15590</link>
      <description>&lt;P&gt;Please kindly share the MPU part number and SW version, thanks&lt;/P&gt;</description>
      <pubDate>Tue, 08 Apr 2025 05:42:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Set-CPU-frequency-not-working/m-p/2075769#M15590</guid>
      <dc:creator>June_Lu</dc:creator>
      <dc:date>2025-04-08T05:42:17Z</dc:date>
    </item>
    <item>
      <title>Re: Set CPU frequency not working</title>
      <link>https://community.nxp.com/t5/Layerscape/Set-CPU-frequency-not-working/m-p/2076361#M15594</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/204495"&gt;@June_Lu&lt;/a&gt;&amp;nbsp;This is the LS1028ARDB running LSDK 21.08, kernel 5.10.35.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Apr 2025 16:34:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Set-CPU-frequency-not-working/m-p/2076361#M15594</guid>
      <dc:creator>noahw</dc:creator>
      <dc:date>2025-04-08T16:34:01Z</dc:date>
    </item>
    <item>
      <title>Re: Set CPU frequency not working</title>
      <link>https://community.nxp.com/t5/Layerscape/Set-CPU-frequency-not-working/m-p/2077014#M15599</link>
      <description>&lt;P&gt;In the default LSDK2108.&lt;/P&gt;
&lt;P&gt;root@localhost:~# cd /sys/devices/system/cpu/cpu0/cpufreq&lt;/P&gt;
&lt;P&gt;root@localhost:/sys/devices/system/cpu/cpu0/cpufreq# ls&lt;/P&gt;
&lt;P&gt;affected_cpus&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cpuinfo_max_freq&amp;nbsp; cpuinfo_transition_latency&amp;nbsp; scaling_available_frequencies&amp;nbsp; scaling_cur_freq&amp;nbsp; scaling_governor&amp;nbsp; scaling_min_freq&amp;nbsp; stats&lt;/P&gt;
&lt;P&gt;cpuinfo_cur_freq&amp;nbsp; cpuinfo_min_freq&amp;nbsp; related_cpus&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; scaling_available_governors&amp;nbsp;&amp;nbsp;&amp;nbsp; scaling_driver&amp;nbsp;&amp;nbsp;&amp;nbsp; scaling_max_freq&amp;nbsp; scaling_setspeed&lt;/P&gt;
&lt;P&gt;root@localhost:/sys/devices/system/cpu/cpu0/cpufreq# cat scaling_available_governors&lt;/P&gt;
&lt;P&gt;ondemand userspace performance&lt;/P&gt;
&lt;P&gt;root@localhost:/sys/devices/system/cpu/cpu0/cpufreq# echo userspace &amp;gt; scaling_governor&lt;/P&gt;
&lt;P&gt;root@localhost:/sys/devices/system/cpu/cpu0/cpufreq# cat scaling_cur_freq&lt;/P&gt;
&lt;P&gt;600000&lt;/P&gt;
&lt;P&gt;root@localhost:/sys/devices/system/cpu/cpu0/cpufreq# cat scaling_available_frequencies&lt;/P&gt;
&lt;P&gt;1500000 1200000 750000 600000 375000 300000&lt;/P&gt;
&lt;P&gt;root@localhost:/sys/devices/system/cpu/cpu0/cpufreq# echo 750000 &amp;gt; scaling_setspeed&lt;/P&gt;
&lt;P&gt;root@localhost:/sys/devices/system/cpu/cpu0/cpufreq# cat scaling_cur_freq&lt;/P&gt;
&lt;P&gt;750000&lt;/P&gt;</description>
      <pubDate>Wed, 09 Apr 2025 09:49:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Set-CPU-frequency-not-working/m-p/2077014#M15599</guid>
      <dc:creator>June_Lu</dc:creator>
      <dc:date>2025-04-09T09:49:35Z</dc:date>
    </item>
  </channel>
</rss>

