<?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: LS1043a clock configuration issue?</title>
    <link>https://community.nxp.com/t5/Layerscape/LS1043a-clock-configuration-issue/m-p/1318048#M8644</link>
    <description>&lt;P&gt;Please customize RCW configuration file&amp;nbsp;packages/firmware/rcw/ls1043aqds/RR_FQPP_1455/rcw_1600_sdboot_qspi.rcw according to your custom board.&lt;/P&gt;
&lt;P&gt;Is&amp;nbsp;Sys Clock 100 MHz on your custom board?&lt;/P&gt;</description>
    <pubDate>Wed, 04 Aug 2021 09:54:04 GMT</pubDate>
    <dc:creator>yipingwang</dc:creator>
    <dc:date>2021-08-04T09:54:04Z</dc:date>
    <item>
      <title>LS1043a clock configuration issue?</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1043a-clock-configuration-issue/m-p/1316798#M8625</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Platform: LS1043a target board&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;LSDK: lsdk2012&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;QSPI FLASH: S25FS512SDSMFI011&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I generated the SD boot with the LSDK version lsdk2012, but the figure 1 below shows the baud rate was changed when it ran to BL31. The baud rate is correctly output at 115200 before BL31, then I measured the waveform it became 178000 after BL31. The figure 2 below shows the clock configuration data is incorrect.(The correct clock configuration is figure 3.) Is there anything I can modify?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MightLee_0-1627493098617.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/151118iC9A1B7706FEEE0ED/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MightLee_0-1627493098617.png" alt="MightLee_0-1627493098617.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MightLee_1-1627493108652.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/151119i565F1BE3039995F2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MightLee_1-1627493108652.png" alt="MightLee_1-1627493108652.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MightLee_0-1627917201485.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/151562iAF6BE683A86AA7FB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MightLee_0-1627917201485.png" alt="MightLee_0-1627917201485.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Aug 2021 15:19:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1043a-clock-configuration-issue/m-p/1316798#M8625</guid>
      <dc:creator>Might-Lee</dc:creator>
      <dc:date>2021-08-02T15:19:01Z</dc:date>
    </item>
    <item>
      <title>Re: LS1043a clock configuration issue?</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1043a-clock-configuration-issue/m-p/1317020#M8629</link>
      <description>&lt;P&gt;In atf source code, please define the following in&amp;nbsp;plat/nxp/soc-ls1043/ls1043aqds/platform_def.h&lt;/P&gt;
&lt;P&gt;/* UART related definition */&lt;BR /&gt;#define NXP_CONSOLE_ADDR NXP_UART_ADDR&lt;BR /&gt;#define NXP_CONSOLE_BAUDRATE 115200&lt;/P&gt;
&lt;P&gt;In u-boot source, please define the following in&amp;nbsp;include/configs/ls1043a_common.h.&lt;/P&gt;
&lt;P&gt;#define CONFIG_SYS_NS16550_CLK (get_serial_clock())&lt;/P&gt;
&lt;P&gt;Modify to&lt;/P&gt;
&lt;P&gt;#define CONFIG_SYS_NS16550_CLK 115200&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Aug 2021 03:40:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1043a-clock-configuration-issue/m-p/1317020#M8629</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2021-08-03T03:40:30Z</dc:date>
    </item>
    <item>
      <title>Re: LS1043a clock configuration issue?</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1043a-clock-configuration-issue/m-p/1317670#M8637</link>
      <description>&lt;P&gt;&lt;SPAN&gt;After I modified as you suggested, the baud rate value measured became to around 12M and it's over UART spec to output data.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Then I modified “#define CONFIG_SYS_NS16550_CLK 115200” to “#define CONFIG_SYS_NS16550_CLK (get_serial_clock())&lt;/SPAN&gt;” , the baud rate retrieved 178000.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;I think the root cause is the core frequency is changed from 1600MHz to 1066MHz to affect the baud rate.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How to correct the core frequency to 1600MHz?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Aug 2021 03:08:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1043a-clock-configuration-issue/m-p/1317670#M8637</guid>
      <dc:creator>Might-Lee</dc:creator>
      <dc:date>2021-08-04T03:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: LS1043a clock configuration issue?</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1043a-clock-configuration-issue/m-p/1318048#M8644</link>
      <description>&lt;P&gt;Please customize RCW configuration file&amp;nbsp;packages/firmware/rcw/ls1043aqds/RR_FQPP_1455/rcw_1600_sdboot_qspi.rcw according to your custom board.&lt;/P&gt;
&lt;P&gt;Is&amp;nbsp;Sys Clock 100 MHz on your custom board?&lt;/P&gt;</description>
      <pubDate>Wed, 04 Aug 2021 09:54:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1043a-clock-configuration-issue/m-p/1318048#M8644</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2021-08-04T09:54:04Z</dc:date>
    </item>
    <item>
      <title>Re: LS1043a clock configuration issue?</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1043a-clock-configuration-issue/m-p/1318317#M8647</link>
      <description>&lt;P&gt;Yes, system clock is 100MHz on custom board.&lt;/P&gt;&lt;P&gt;BTW, I tested with the same custom RCW and DDR value based on LS1043ardb, the test result below shows the clock configuration is correct, but not for LS1043adqs.&lt;/P&gt;&lt;P&gt;Is there any difference between ls1043aqds and ls1043ardb on clock configuration?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MightLee_1-1628095084097.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/151830iAC9AAA609DEAB3FB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MightLee_1-1628095084097.png" alt="MightLee_1-1628095084097.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MightLee_2-1628095090298.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/151831iD8A5A699A50BE27C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MightLee_2-1628095090298.png" alt="MightLee_2-1628095090298.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Aug 2021 16:40:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1043a-clock-configuration-issue/m-p/1318317#M8647</guid>
      <dc:creator>Might-Lee</dc:creator>
      <dc:date>2021-08-04T16:40:10Z</dc:date>
    </item>
    <item>
      <title>Re: LS1043a clock configuration issue?</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1043a-clock-configuration-issue/m-p/1318641#M8649</link>
      <description>&lt;P&gt;Please run the following command to get the difference.&lt;/P&gt;&lt;P&gt;vimdiff packages/firmware/rcw/ls1043aqds/RR_FQPP_1455/rcw_1600_sdboot_qspi.rcw packages/firmware/rcw/ls1043ardb/RR_FQPP_1455/rcw_1600_sdboot.rcw&lt;/P&gt;&lt;P&gt;rcw_1600_sdboot_qspi.rcw enables QSPI in SD boot.&lt;/P&gt;&lt;P&gt;rcw_1600_sdboot.rcw enables IFC in SD boot.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Aug 2021 03:18:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1043a-clock-configuration-issue/m-p/1318641#M8649</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2021-08-05T03:18:20Z</dc:date>
    </item>
    <item>
      <title>Re: LS1043a clock configuration issue?</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1043a-clock-configuration-issue/m-p/1319184#M8659</link>
      <description>&lt;P&gt;The result below shows no difference.&lt;/P&gt;&lt;P&gt;Is it a bug for LS1043aqds on clock configuration? If yes, how to correct it?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MightLee_0-1628178721175.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/152025i5240DE411458CC10/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MightLee_0-1628178721175.png" alt="MightLee_0-1628178721175.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Aug 2021 15:52:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1043a-clock-configuration-issue/m-p/1319184#M8659</guid>
      <dc:creator>Might-Lee</dc:creator>
      <dc:date>2021-08-05T15:52:14Z</dc:date>
    </item>
    <item>
      <title>Re: LS1043a clock configuration issue?</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1043a-clock-configuration-issue/m-p/1319520#M8664</link>
      <description>&lt;P&gt;It seems that you used different RCW file in&amp;nbsp;packages/firmware/rcw/ls1043aqds/RR_FQPP_1455/rcw_1600_sdboot_qspi.rcw provided in LSDK 20.12.&lt;/P&gt;
&lt;P&gt;Please use the attached RCW file from LSDK20.12.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Aug 2021 06:55:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1043a-clock-configuration-issue/m-p/1319520#M8664</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2021-08-06T06:55:40Z</dc:date>
    </item>
    <item>
      <title>Re: LS1043a clock configuration issue?</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1043a-clock-configuration-issue/m-p/1319571#M8665</link>
      <description>&lt;P&gt;I currently tested on our custom board, so I should use custom RCW file rather than LS1043aQDS. It's weird that I generated the SDboot image with the same custom RCW file based on LS1043aRDB in LSDK2012 and LS1043aQDS in LSDK2012 separately. After SDboot on our custom board, I found the SDboot file by using LS1043aRDB in LSDK2012 generated works correctly, but not for LS1043aQDS in LSDK2012.&lt;BR /&gt;Apart from the RCW/DDR file, I didn't modify anything. Why the SDboot file generated from the LS1043aQDS in LSDK2012 works incorrectly?&lt;/P&gt;</description>
      <pubDate>Fri, 06 Aug 2021 07:50:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1043a-clock-configuration-issue/m-p/1319571#M8665</guid>
      <dc:creator>Might-Lee</dc:creator>
      <dc:date>2021-08-06T07:50:07Z</dc:date>
    </item>
    <item>
      <title>Re: LS1043a clock configuration issue?</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1043a-clock-configuration-issue/m-p/1319773#M8670</link>
      <description>&lt;P&gt;I found the root cause.&lt;/P&gt;&lt;P&gt;In the config setting of LS1043aQDS CONFIG_SYS_CLK_FREQ and CONFIG_DDR_CLK are obtained by using get_board_sys_clk() and get_board_ddr_clk().&lt;/P&gt;&lt;P&gt;LS1043aRDB sets the value directly at 100M.&lt;/P&gt;&lt;P&gt;After correcting this part in LS1043aQDS, the clock configuration is correct.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MightLee_0-1628266920926.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/152150i2F5DFCD43417C100/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MightLee_0-1628266920926.png" alt="MightLee_0-1628266920926.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Aug 2021 16:25:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1043a-clock-configuration-issue/m-p/1319773#M8670</guid>
      <dc:creator>Might-Lee</dc:creator>
      <dc:date>2021-08-06T16:25:56Z</dc:date>
    </item>
  </channel>
</rss>

