<?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: u-boot cpu speed in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/u-boot-cpu-speed/m-p/782881#M121508</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So that means&amp;nbsp;that no matter what the processor will always start up at 792MHz, even if I change it in the plugin.s code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I read that there's a low power mode for this processor.&amp;nbsp; Is there a way to enable that at startup? It's in section 8.11 of the reference manual, call USB low power boot. There's a mode that has all the clocks running at fairly low frequencies.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Nov 2018 13:22:49 GMT</pubDate>
    <dc:creator>dluberger</dc:creator>
    <dc:date>2018-11-28T13:22:49Z</dc:date>
    <item>
      <title>u-boot cpu speed</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/u-boot-cpu-speed/m-p/782877#M121504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I realize it's not a "supported" feature, but I really need to set the cpu speed to a lower setting during boot. I know I can set the default governor in the kernel configuration, but how do i do that for u-boot? I'm fine with modifying the source code, I just don't see where to do that. I looked at arch/arm/cpu/armv7/mx7/soc.c and i see some code for displaying speed grades, but nothing about actually setting the speed. i don't see anywhere to set the speed via register settings in the board.c file either.&amp;nbsp; I'm using the mx6sxsabresd board. my custom board will not work if i can't limit the power draw, and it seems right now i can only do that in the rootfs via frequency governors. in u-boot and kernel, i want those to be forced to always use the lowest cpu frequency possible (which seems to be 198 MHz).&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2018 18:22:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/u-boot-cpu-speed/m-p/782877#M121504</guid>
      <dc:creator>dluberger</dc:creator>
      <dc:date>2018-11-20T18:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: u-boot cpu speed</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/u-boot-cpu-speed/m-p/782878#M121505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can look at baremetal sdk example (zip can be found on &lt;A href="https://community.nxp.com/thread/432859"&gt;SMP Enable in IMX6&lt;/A&gt;&amp;nbsp;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;../cpu_utility/..cpu_workpoint.c&lt;/P&gt;&lt;P&gt;in uboot codes can be added to plugin.S.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2018 23:36:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/u-boot-cpu-speed/m-p/782878#M121505</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2018-11-20T23:36:59Z</dc:date>
    </item>
    <item>
      <title>Re: u-boot cpu speed</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/u-boot-cpu-speed/m-p/782879#M121506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is way over my head.&amp;nbsp; I can find the plugin.s file for the eval board mx6sxsabresd but it looks like all assembler code. i don't see how i can use the code in the cpu_workpoint.c file to modify plugin.s.&amp;nbsp; Aside from that, my understanding is that the cpu frequency for this processor is "hard coded" in the boot rom.&amp;nbsp; It seems that I'd need to modify boot rom code. Is that what the plugin.s code is?&amp;nbsp; I'm very confused by all of this.&amp;nbsp; Can't I just set some register value in plugin.S to set the cpu frequency for u-boot?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2018 15:58:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/u-boot-cpu-speed/m-p/782879#M121506</guid>
      <dc:creator>dluberger</dc:creator>
      <dc:date>2018-11-27T15:58:53Z</dc:date>
    </item>
    <item>
      <title>Re: u-boot cpu speed</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/u-boot-cpu-speed/m-p/782880#M121507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you are right, changing cpu speed is compex procedure and it is not just&lt;/P&gt;&lt;P&gt;changing some register value in plugin.S. Also it is correct that&lt;/P&gt;&lt;P&gt;cpu frequency for processor is "hard coded" in the boot rom. However&lt;/P&gt;&lt;P&gt;plugin.S is special procedure when processor exits from rom for performing&lt;/P&gt;&lt;P&gt;customer codes (not "hard coded"), this allows for any changes including&lt;/P&gt;&lt;P&gt;changing arm core (or ddr) frequency.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Nov 2018 02:51:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/u-boot-cpu-speed/m-p/782880#M121507</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2018-11-28T02:51:50Z</dc:date>
    </item>
    <item>
      <title>Re: u-boot cpu speed</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/u-boot-cpu-speed/m-p/782881#M121508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So that means&amp;nbsp;that no matter what the processor will always start up at 792MHz, even if I change it in the plugin.s code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I read that there's a low power mode for this processor.&amp;nbsp; Is there a way to enable that at startup? It's in section 8.11 of the reference manual, call USB low power boot. There's a mode that has all the clocks running at fairly low frequencies.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Nov 2018 13:22:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/u-boot-cpu-speed/m-p/782881#M121508</guid>
      <dc:creator>dluberger</dc:creator>
      <dc:date>2018-11-28T13:22:49Z</dc:date>
    </item>
    <item>
      <title>Re: u-boot cpu speed</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/u-boot-cpu-speed/m-p/782882#M121509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt;So that means that no matter what the processor will always start up at 792MHz, &lt;BR /&gt;&amp;gt;even if I change it in the plugin.s code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you are right that processor always start up at 792MHz, however after executing ROM&lt;BR /&gt;codes it executes plugin.s, so you can change its frequency in plugin.s, after that&lt;/P&gt;&lt;P&gt;it can start uboot with new arm frequency.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;I read that there's a low power mode for this processor.&amp;nbsp; Is there a way to enable that at startup?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes with BT_FREQ, please check sect.8.4.3 Clocks at boot time i.MX6DQ Reference Manual &lt;BR /&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/www.nxp.com/docs/en/reference-manual/IMX6DQRM.pdf" rel="nofollow" target="_blank"&gt;http://www.nxp.com/docs/en/reference-manual/IMX6DQRM.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2018 01:03:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/u-boot-cpu-speed/m-p/782882#M121509</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2018-11-29T01:03:58Z</dc:date>
    </item>
    <item>
      <title>Re: u-boot cpu speed</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/u-boot-cpu-speed/m-p/782883#M121510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure that's what I'm talking about. With BT_FREQ, the SYSTEM_PLL is 792MHz regardless of that setting. What I'm referring to is LPB_BOOT described in section 8.10.&amp;nbsp; It shows the ARM_CLK_ROOT as low as 132MHz.&amp;nbsp; I need to know how to set that mode.&amp;nbsp; My understanding is that if I need to boot from fuses, I can't use the GPIO boot overrides for setting the boot device, so setting fuses seems very complicated.&amp;nbsp; Is there a guide to tell me how to use the u-boot fuse command along with exactly which fuse banks and values to use to duplicate the eval board gpio overrides and use LPB_BOOT only without changing or setting any other fuses?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2018 14:18:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/u-boot-cpu-speed/m-p/782883#M121510</guid>
      <dc:creator>dluberger</dc:creator>
      <dc:date>2018-11-29T14:18:48Z</dc:date>
    </item>
  </channel>
</rss>

