<?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>topic Re: How to get CPU current frequency in Linux? in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-to-get-CPU-current-frequency-in-Linux/m-p/1955902#M228514</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I would suggest looking into the AN13814.pdf app note. The i.MX8ULP has a different approach to power management with the uPower module, and it seems it doesn't support cpufreq. The BSP doesn't have the cpufreq driver enabled in the Device tree for the i.MX8ulp.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/docs/en/application-note/AN13914.pdf?_gl=1*1vkki8n*_ga*ODUzNzE1ODEwLjE3MTgzMDc1NTI.*_ga_WM5LE0KMSH*MTcyNjYwMjY3Ni4yMi4xLjE3MjY2MDY0MDMuMC4wLjA." target="_self"&gt;https://www.nxp.com/docs/en/application-note/AN13914.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Alternatively, you can view the cpu frequency with the mhz cmd. However, it won't show the individual core frequencies.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Clay&lt;/P&gt;</description>
    <pubDate>Tue, 17 Sep 2024 21:04:05 GMT</pubDate>
    <dc:creator>clay_miller</dc:creator>
    <dc:date>2024-09-17T21:04:05Z</dc:date>
    <item>
      <title>How to get CPU current frequency in Linux?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-get-CPU-current-frequency-in-Linux/m-p/1955481#M228480</link>
      <description>&lt;P&gt;I've got i.MX8 ULP processor and built Yokto Linux image for it. I need to know exact current frequency of each Cortex-A35 core so I tried to use command from chapter 6.2 of &lt;A href="https://www.nxp.com/docs/en/user-guide/IMX_LINUX_USERS_GUIDE.pdf" target="_self"&gt;IMX_LINUX_USERS_GUIDE&lt;/A&gt; but nothing happens. &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;There is no any directory like that:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-SPOILER&gt;# cat /sys/devices/system/cpu/*/cpufreq/cpuinfo_cur_freq&lt;BR /&gt;cat: '/sys/devices/system/cpu/*/cpufreq/cpuinfo_cur_freq': No such file or directory&lt;/LI-SPOILER&gt;&lt;P&gt;It seems I didn't turn something on in the Linux core config.&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2024 08:06:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-get-CPU-current-frequency-in-Linux/m-p/1955481#M228480</guid>
      <dc:creator>paullegart</dc:creator>
      <dc:date>2024-09-17T08:06:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to get CPU current frequency in Linux?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-get-CPU-current-frequency-in-Linux/m-p/1955902#M228514</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I would suggest looking into the AN13814.pdf app note. The i.MX8ULP has a different approach to power management with the uPower module, and it seems it doesn't support cpufreq. The BSP doesn't have the cpufreq driver enabled in the Device tree for the i.MX8ulp.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/docs/en/application-note/AN13914.pdf?_gl=1*1vkki8n*_ga*ODUzNzE1ODEwLjE3MTgzMDc1NTI.*_ga_WM5LE0KMSH*MTcyNjYwMjY3Ni4yMi4xLjE3MjY2MDY0MDMuMC4wLjA." target="_self"&gt;https://www.nxp.com/docs/en/application-note/AN13914.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Alternatively, you can view the cpu frequency with the mhz cmd. However, it won't show the individual core frequencies.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Clay&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2024 21:04:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-get-CPU-current-frequency-in-Linux/m-p/1955902#M228514</guid>
      <dc:creator>clay_miller</dc:creator>
      <dc:date>2024-09-17T21:04:05Z</dc:date>
    </item>
  </channel>
</rss>

