<?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>i.MX Processors中的主题 Re: How to disable DDR/BUS frequency scaling from kernel space?</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-to-disable-DDR-BUS-frequency-scaling-from-kernel-space/m-p/975644#M145199</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" class="" data-content-finding="Community" data-userid="352957" data-username="maxwellp@poliac.com" href="https://community.nxp.com/people/maxwellp@poliac.com"&gt;Maxwell Pung&lt;/A&gt; ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As mentioned in the section &lt;STRONG&gt;2.3.4.2.&lt;/STRONG&gt; of the document&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.nxp.com/docs/en/reference-manual/i.MX_Reference_Manual_Linux.pdf" title="https://www.nxp.com/docs/en/reference-manual/i.MX_Reference_Manual_Linux.pdf"&gt;https://www.nxp.com/docs/en/reference-manual/i.MX_Reference_Manual_Linux.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;There is no menu-configuration option for disabling the DDR/BUS frequency scaling.&lt;/P&gt;&lt;P&gt;But you can set &lt;STRONG&gt;bus_freq_scaling_is_active&lt;/STRONG&gt; to 0 in "arch/arm/mach-imx/busfreq-imx.c" to disable DDR/BUS frequency scaling as shown in below link:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://git.congatec.com/arm/imx6_kernel_3.14/commit/ea53bf7f19c0e4c0e9d90d1e8b86616708e5867b" title="https://git.congatec.com/arm/imx6_kernel_3.14/commit/ea53bf7f19c0e4c0e9d90d1e8b86616708e5867b"&gt;imx:busfreq: disable busfreq driver by default (ea53bf7f) · Commits · ARM / imx6_kernel_3.14 · GitLab&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let us know in case of any concern.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Karan Gajjar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Dec 2019 12:48:08 GMT</pubDate>
    <dc:creator>karangajjar</dc:creator>
    <dc:date>2019-12-16T12:48:08Z</dc:date>
    <item>
      <title>How to disable DDR/BUS frequency scaling from kernel space?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-disable-DDR-BUS-frequency-scaling-from-kernel-space/m-p/975643#M145198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am creating a linux distribution using the yocto project that runs on an iMX6UL processor (Variscite DART6UL SOM in particular). Currently, at startup during runtime (via rc.local) the DDR/BUS frequency scaling gets disabled with the following command:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;# Disable runtime power management to avoid deadlock&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;echo 0 &amp;gt; /sys/devices/soc0/soc/soc:busfreq/enable&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here we can see that DDR/BUS frequency scaling is being disabled from user space. I would like to make the distro use a read-only file system but disabling DDR/BUS frequency scaling from user space is preventing me from being able to do this. I can't simply just remove this statement because deadlock must be avoided.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I disable DDR/BUS frequency scaling from kernel space? If such a thing isn't possible, I am open to alternative approaches, maybe disabling via uboot somehow or something.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Dec 2019 14:22:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-disable-DDR-BUS-frequency-scaling-from-kernel-space/m-p/975643#M145198</guid>
      <dc:creator>maxwellp</dc:creator>
      <dc:date>2019-12-12T14:22:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to disable DDR/BUS frequency scaling from kernel space?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-disable-DDR-BUS-frequency-scaling-from-kernel-space/m-p/975644#M145199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" class="" data-content-finding="Community" data-userid="352957" data-username="maxwellp@poliac.com" href="https://community.nxp.com/people/maxwellp@poliac.com"&gt;Maxwell Pung&lt;/A&gt; ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As mentioned in the section &lt;STRONG&gt;2.3.4.2.&lt;/STRONG&gt; of the document&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.nxp.com/docs/en/reference-manual/i.MX_Reference_Manual_Linux.pdf" title="https://www.nxp.com/docs/en/reference-manual/i.MX_Reference_Manual_Linux.pdf"&gt;https://www.nxp.com/docs/en/reference-manual/i.MX_Reference_Manual_Linux.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;There is no menu-configuration option for disabling the DDR/BUS frequency scaling.&lt;/P&gt;&lt;P&gt;But you can set &lt;STRONG&gt;bus_freq_scaling_is_active&lt;/STRONG&gt; to 0 in "arch/arm/mach-imx/busfreq-imx.c" to disable DDR/BUS frequency scaling as shown in below link:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://git.congatec.com/arm/imx6_kernel_3.14/commit/ea53bf7f19c0e4c0e9d90d1e8b86616708e5867b" title="https://git.congatec.com/arm/imx6_kernel_3.14/commit/ea53bf7f19c0e4c0e9d90d1e8b86616708e5867b"&gt;imx:busfreq: disable busfreq driver by default (ea53bf7f) · Commits · ARM / imx6_kernel_3.14 · GitLab&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let us know in case of any concern.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Karan Gajjar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Dec 2019 12:48:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-disable-DDR-BUS-frequency-scaling-from-kernel-space/m-p/975644#M145199</guid>
      <dc:creator>karangajjar</dc:creator>
      <dc:date>2019-12-16T12:48:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to disable DDR/BUS frequency scaling from kernel space?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-disable-DDR-BUS-frequency-scaling-from-kernel-space/m-p/975645#M145200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Karan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you that patch is exactly what I was looking for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~ Maxwell&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Dec 2019 19:59:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-disable-DDR-BUS-frequency-scaling-from-kernel-space/m-p/975645#M145200</guid>
      <dc:creator>maxwellp</dc:creator>
      <dc:date>2019-12-16T19:59:11Z</dc:date>
    </item>
  </channel>
</rss>

