<?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 [imx8mm][Linux] Missing CPU frequency in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/imx8mm-Linux-Missing-CPU-frequency/m-p/1283550#M174635</link>
    <description>&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;According to your linux user guide documentation : &lt;A href="https://www.nxp.com/docs/en/user-guide/IMX_LINUX_USERS_GUIDE.pdf#_OPENTOPIC_TOC_PROCESSING_d672e10126" target="_blank"&gt;https://www.nxp.com/docs/en/user-guide/IMX_LINUX_USERS_GUIDE.pdf#_OPENTOPIC_TOC_PROCESSING_d672e10126&lt;/A&gt;.&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;To check the maximum frequency:&lt;/P&gt;&lt;PRE&gt;cat /sys/devices/system/cpu/*/cpufreq/cpuinfo_max_freq&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;On my running IM8MM board, none of those 'cpufreq' folders exist :&lt;/P&gt;&lt;PRE&gt;imx8mmevk:~$ ls /sys/devices/system/cpu/cpu*/cpufreq/*&lt;BR /&gt;ls: cannot access '/sys/devices/system/cpu/cpu*/cpufreq/*': No such file or directory&lt;/PRE&gt;&lt;P&gt;Also, '/proc/cpuinfo' does not report any CPU frequency either :&lt;/P&gt;&lt;PRE&gt;imx8mmevk:~$ cat /proc/cpuinfo &lt;BR /&gt;processor : 0&lt;BR /&gt;BogoMIPS : 16.00&lt;BR /&gt;Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid&lt;BR /&gt;CPU implementer : 0x41&lt;BR /&gt;CPU architecture: 8&lt;BR /&gt;CPU variant : 0x0&lt;BR /&gt;CPU part : 0xd03&lt;BR /&gt;CPU revision : 4&lt;BR /&gt;&lt;BR /&gt;processor : 1&lt;BR /&gt;BogoMIPS : 16.00&lt;BR /&gt;Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid&lt;BR /&gt;CPU implementer : 0x41&lt;BR /&gt;CPU architecture: 8&lt;BR /&gt;CPU variant : 0x0&lt;BR /&gt;CPU part : 0xd03&lt;BR /&gt;CPU revision : 4&lt;BR /&gt;&lt;BR /&gt;processor : 2&lt;BR /&gt;BogoMIPS : 16.00&lt;BR /&gt;Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid&lt;BR /&gt;CPU implementer : 0x41&lt;BR /&gt;CPU architecture: 8&lt;BR /&gt;CPU variant : 0x0&lt;BR /&gt;CPU part : 0xd03&lt;BR /&gt;CPU revision : 4&lt;BR /&gt;&lt;BR /&gt;processor : 3&lt;BR /&gt;BogoMIPS : 16.00&lt;BR /&gt;Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid&lt;BR /&gt;CPU implementer : 0x41&lt;BR /&gt;CPU architecture: 8&lt;BR /&gt;CPU variant : 0x0&lt;BR /&gt;CPU part : 0xd03&lt;BR /&gt;CPU revision : 4&lt;/PRE&gt;&lt;P&gt;The image I'm using has been built using Yocto :&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Version : imx-linux-gatesgarth&lt;/LI&gt;&lt;LI&gt;Documentation : &lt;A href="https://source.codeaurora.org/external/imx/imx-manifest/tree/README?h=imx-linux-gatesgarth" target="_blank"&gt;https://source.codeaurora.org/external/imx/imx-manifest/tree/README?h=imx-linux-gatesgarth&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;PRE&gt;repo init -u https://source.codeaurora.org/external/imx/imx-manifest -b imx-linux-gatesgarth -m imx-5.10.9-1.0.0.xml&lt;BR /&gt;repo sync&lt;BR /&gt;MACHINE=imx8mmevk DISTRO=fsl-imx-xwayland source ./imx-setup-release.sh -b bld-xwayland&lt;BR /&gt;bitbake imx-image-full&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there anything special that needs to be done to enable cpu frequency reporting working properly ? Did I do something wrong ?&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;Olivier.&lt;/P&gt;</description>
    <pubDate>Thu, 27 May 2021 14:36:24 GMT</pubDate>
    <dc:creator>Nonifier</dc:creator>
    <dc:date>2021-05-27T14:36:24Z</dc:date>
    <item>
      <title>[imx8mm][Linux] Missing CPU frequency</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8mm-Linux-Missing-CPU-frequency/m-p/1283550#M174635</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;According to your linux user guide documentation : &lt;A href="https://www.nxp.com/docs/en/user-guide/IMX_LINUX_USERS_GUIDE.pdf#_OPENTOPIC_TOC_PROCESSING_d672e10126" target="_blank"&gt;https://www.nxp.com/docs/en/user-guide/IMX_LINUX_USERS_GUIDE.pdf#_OPENTOPIC_TOC_PROCESSING_d672e10126&lt;/A&gt;.&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;To check the maximum frequency:&lt;/P&gt;&lt;PRE&gt;cat /sys/devices/system/cpu/*/cpufreq/cpuinfo_max_freq&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;On my running IM8MM board, none of those 'cpufreq' folders exist :&lt;/P&gt;&lt;PRE&gt;imx8mmevk:~$ ls /sys/devices/system/cpu/cpu*/cpufreq/*&lt;BR /&gt;ls: cannot access '/sys/devices/system/cpu/cpu*/cpufreq/*': No such file or directory&lt;/PRE&gt;&lt;P&gt;Also, '/proc/cpuinfo' does not report any CPU frequency either :&lt;/P&gt;&lt;PRE&gt;imx8mmevk:~$ cat /proc/cpuinfo &lt;BR /&gt;processor : 0&lt;BR /&gt;BogoMIPS : 16.00&lt;BR /&gt;Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid&lt;BR /&gt;CPU implementer : 0x41&lt;BR /&gt;CPU architecture: 8&lt;BR /&gt;CPU variant : 0x0&lt;BR /&gt;CPU part : 0xd03&lt;BR /&gt;CPU revision : 4&lt;BR /&gt;&lt;BR /&gt;processor : 1&lt;BR /&gt;BogoMIPS : 16.00&lt;BR /&gt;Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid&lt;BR /&gt;CPU implementer : 0x41&lt;BR /&gt;CPU architecture: 8&lt;BR /&gt;CPU variant : 0x0&lt;BR /&gt;CPU part : 0xd03&lt;BR /&gt;CPU revision : 4&lt;BR /&gt;&lt;BR /&gt;processor : 2&lt;BR /&gt;BogoMIPS : 16.00&lt;BR /&gt;Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid&lt;BR /&gt;CPU implementer : 0x41&lt;BR /&gt;CPU architecture: 8&lt;BR /&gt;CPU variant : 0x0&lt;BR /&gt;CPU part : 0xd03&lt;BR /&gt;CPU revision : 4&lt;BR /&gt;&lt;BR /&gt;processor : 3&lt;BR /&gt;BogoMIPS : 16.00&lt;BR /&gt;Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid&lt;BR /&gt;CPU implementer : 0x41&lt;BR /&gt;CPU architecture: 8&lt;BR /&gt;CPU variant : 0x0&lt;BR /&gt;CPU part : 0xd03&lt;BR /&gt;CPU revision : 4&lt;/PRE&gt;&lt;P&gt;The image I'm using has been built using Yocto :&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Version : imx-linux-gatesgarth&lt;/LI&gt;&lt;LI&gt;Documentation : &lt;A href="https://source.codeaurora.org/external/imx/imx-manifest/tree/README?h=imx-linux-gatesgarth" target="_blank"&gt;https://source.codeaurora.org/external/imx/imx-manifest/tree/README?h=imx-linux-gatesgarth&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;PRE&gt;repo init -u https://source.codeaurora.org/external/imx/imx-manifest -b imx-linux-gatesgarth -m imx-5.10.9-1.0.0.xml&lt;BR /&gt;repo sync&lt;BR /&gt;MACHINE=imx8mmevk DISTRO=fsl-imx-xwayland source ./imx-setup-release.sh -b bld-xwayland&lt;BR /&gt;bitbake imx-image-full&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there anything special that needs to be done to enable cpu frequency reporting working properly ? Did I do something wrong ?&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;Olivier.&lt;/P&gt;</description>
      <pubDate>Thu, 27 May 2021 14:36:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8mm-Linux-Missing-CPU-frequency/m-p/1283550#M174635</guid>
      <dc:creator>Nonifier</dc:creator>
      <dc:date>2021-05-27T14:36:24Z</dc:date>
    </item>
    <item>
      <title>Re: [imx8mm][Linux] Missing CPU frequency</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8mm-Linux-Missing-CPU-frequency/m-p/1283756#M174646</link>
      <description>&lt;P&gt;Hi Olivier&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;one can check cpufreq linux kernel configuration described in sect.2.5.3.4 Menu Configuration Options&lt;/P&gt;
&lt;UL style="box-sizing: border-box; margin-top: 0px; margin-bottom: 11px; padding-left: 1em; color: #20272d; font-family: Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt;
&lt;LI style="box-sizing: border-box; margin-bottom: 0.5em;"&gt;&lt;A style="box-sizing: border-box; background-color: transparent; color: #215bd6; text-decoration: none; cursor: pointer;" href="https://www.nxp.com/docs/en/user-guide/IMX_LINUX_USERS_GUIDE.pdf" target="_blank" rel="noopener"&gt;i.MX Linux User’s Guide​&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/design/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applications-processors:IMXLINUX?tab=In-Depth_Tab" target="_blank"&gt;https://www.nxp.com/design/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applications-processors:IMXLINUX?tab=In-Depth_Tab&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
      <pubDate>Fri, 28 May 2021 00:26:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8mm-Linux-Missing-CPU-frequency/m-p/1283756#M174646</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2021-05-28T00:26:19Z</dc:date>
    </item>
    <item>
      <title>Re: [imx8mm][Linux] Missing CPU frequency</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8mm-Linux-Missing-CPU-frequency/m-p/1283993#M174664</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/37066"&gt;@igorpadykov&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the quick reply.&lt;/P&gt;&lt;P&gt;The file you're referring to (/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq) is missing from my image.&amp;nbsp;That's my original point &lt;LI-EMOJI id="lia_grinning-face-with-smiling-eyes" title=":grinning_face_with_smiling_eyes:"&gt;&lt;/LI-EMOJI&gt;&lt;/P&gt;&lt;P&gt;None of the /cpufreq/ folder is present on my image. Do I need any Yocto configuration/step/recipe to have those /cpufreq/ kernel files configured in my image ?&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Olivier.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 May 2021 07:57:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8mm-Linux-Missing-CPU-frequency/m-p/1283993#M174664</guid>
      <dc:creator>Nonifier</dc:creator>
      <dc:date>2021-05-28T07:57:17Z</dc:date>
    </item>
    <item>
      <title>Re: [imx8mm][Linux] Missing CPU frequency</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8mm-Linux-Missing-CPU-frequency/m-p/1284097#M174670</link>
      <description>&lt;P&gt;could you try to reproduce issue on NXP EVK reference board.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
      <pubDate>Fri, 28 May 2021 10:15:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8mm-Linux-Missing-CPU-frequency/m-p/1284097#M174670</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2021-05-28T10:15:41Z</dc:date>
    </item>
    <item>
      <title>Re: [imx8mm][Linux] Missing CPU frequency</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8mm-Linux-Missing-CPU-frequency/m-p/1284115#M174675</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/37066"&gt;@igorpadykov&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm experiencing the issue on a i.MX8M Mini Evaluation Kit&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.nxp.com/design/development-boards/i-mx-evaluation-and-development-boards/evaluation-kit-for-the-i-mx-8m-mini-applications-processor:8MMINILPD4-EVK" target="_blank"&gt;https://www.nxp.com/design/development-boards/i-mx-evaluation-and-development-boards/evaluation-kit-for-the-i-mx-8m-mini-applications-processor:8MMINILPD4-EVK&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Not sure if this is considered as a "EVK reference board".&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Olivier.&lt;/P&gt;</description>
      <pubDate>Fri, 28 May 2021 10:48:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8mm-Linux-Missing-CPU-frequency/m-p/1284115#M174675</guid>
      <dc:creator>Nonifier</dc:creator>
      <dc:date>2021-05-28T10:48:14Z</dc:date>
    </item>
    <item>
      <title>Re: [imx8mm][Linux] Missing CPU frequency</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8mm-Linux-Missing-CPU-frequency/m-p/1287529#M175049</link>
      <description>&lt;P&gt;Any update on this by any chance ? &lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot,&lt;/P&gt;&lt;P&gt;Olivier.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jun 2021 12:23:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8mm-Linux-Missing-CPU-frequency/m-p/1287529#M175049</guid>
      <dc:creator>Nonifier</dc:creator>
      <dc:date>2021-06-04T12:23:32Z</dc:date>
    </item>
  </channel>
</rss>

