<?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 SerDes configuration in Layerscape</title>
    <link>https://community.nxp.com/t5/Layerscape/SerDes-configuration/m-p/1357233#M9117</link>
    <description>&lt;P&gt;Hello everyone.&lt;/P&gt;&lt;P&gt;I have been trying to perform this task for several days:&lt;/P&gt;&lt;P&gt;&lt;FONT face="book antiqua,palatino"&gt;&lt;STRONG&gt;&lt;FONT size="5"&gt;Target:&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;I want to set the &lt;STRONG&gt;SerDes&lt;/STRONG&gt; protocol with the value &lt;STRONG&gt;4555h&lt;/STRONG&gt; according to the table shown in the document &lt;STRONG&gt;QorIQ LS1043A Reference Manual, Rev. 6, 07/2020&lt;/STRONG&gt; &lt;STRONG&gt;(Pag. 1916)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;FONT face="book antiqua,palatino" size="5"&gt;&lt;STRONG&gt;What have I done:&lt;/STRONG&gt; &lt;/FONT&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;I performed a custom boot (with &lt;STRONG&gt;Flex-Builder&lt;/STRONG&gt;) in which i changed the parameter value of &lt;STRONG&gt;SRDS_PRTCL_S1&lt;/STRONG&gt;. The procedure I followed, for creating a custom boot from SD is well described and can be found in the following link:&lt;A href="https://community.nxp.com/t5/Layerscape/Boot-problem-with-PBI/m-p/1350416#M9044" target="_self"&gt;Procedure to disable CPU.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;In order to change the Serdes protocol, In the file &lt;STRONG&gt;rcw_1600_sdboot.rcw, &lt;/STRONG&gt;i changed the&amp;nbsp;&lt;STRONG&gt;SRDS_PRTCL_S1&lt;/STRONG&gt; parameter with the following value &lt;STRONG&gt;SRDS_PRTCL_S1=17749. &lt;/STRONG&gt;This is because the value 4555h in decimal corresponds to 17749 in decimal.&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;BR /&gt;#include &amp;lt;../ls1043aqds/ls1043a.rcwi&amp;gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;SYS_PLL_RAT=4&lt;BR /&gt;MEM_PLL_RAT=16&lt;BR /&gt;CGA_PLL1_RAT=16&lt;BR /&gt;CGA_PLL2_RAT=10&lt;BR /&gt;&lt;FONT color="#FF00FF"&gt;SRDS_PRTCL_S1=17749&lt;/FONT&gt;&lt;BR /&gt;FM1_MAC_RAT=1&lt;BR /&gt;SRDS_PLL_REF_CLK_SEL_S1=2&lt;BR /&gt;SRDS_DIV_PEX=1&lt;BR /&gt;DDR_FDBK_MULT=2&lt;BR /&gt;DDR_REFCLK_SEL=1&lt;BR /&gt;PBI_src=6&lt;BR /&gt;IFC_MODE=64&lt;BR /&gt;HWA_CGA_M1_CLK_SEL=6&lt;BR /&gt;DRAM_LAT=1&lt;BR /&gt;SYS_PLL_SPD=1&lt;BR /&gt;UART_BASE=7&lt;BR /&gt;IRQ_OUT=1&lt;BR /&gt;TVDD_VSEL=0&lt;BR /&gt;DVDD_VSEL=2&lt;BR /&gt;EVDD_VSEL=2&lt;BR /&gt;IIC2_EXT=0&lt;BR /&gt;SYSCLK_FREQ=600&lt;BR /&gt;HWA_CGA_M2_CLK_SEL=1&lt;BR /&gt;BOOT_HO=0&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;.pbi&lt;BR /&gt;write 0xee0094, 0x0000000e&lt;BR /&gt;.end&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;#include &amp;lt;../ls1043aqds/atf_address.rcw&amp;gt;&lt;BR /&gt;#include &amp;lt;../ls1043aqds/cci_barrier_disable.rcw&amp;gt;&lt;BR /&gt;#include &amp;lt;../ls1043aqds/a009929.rcw&amp;gt;&lt;BR /&gt;#include &amp;lt;../ls1043aqds/usb_phy_freq.rcw&amp;gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT face="book antiqua,palatino" size="5"&gt;Problem: &lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;If I generate the boot with the SerDes modified by me, the boot does not start (I don't see U-Boot), while if I leave the default value the boot starts normally and shows me U-Boot.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;FONT face="book antiqua,palatino" size="5"&gt;&lt;STRONG&gt;Question:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;Why does this happen?&lt;BR /&gt;Because if I boot with the SerDes modified by me the board does not start, while with the default SerDes it starts quietly.&lt;BR /&gt;What's wrong?&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Thank you very much for your availability.&lt;/P&gt;&lt;P&gt;Below you will find the link to download the file &lt;STRONG&gt;rcw_1600_sdboot.rcw &lt;/STRONG&gt;and &lt;STRONG&gt;firmware_ls1043ardb_sdboot.img &lt;/STRONG&gt;&lt;A href="https://drive.google.com/drive/folders/18zKhsb9FdmXU3vcmPnsjSC6z4hXM0UUR?usp=sharing" target="_self"&gt;.img &amp;amp; rcw&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 18 Oct 2021 13:41:44 GMT</pubDate>
    <dc:creator>notshure</dc:creator>
    <dc:date>2021-10-18T13:41:44Z</dc:date>
    <item>
      <title>SerDes configuration</title>
      <link>https://community.nxp.com/t5/Layerscape/SerDes-configuration/m-p/1357233#M9117</link>
      <description>&lt;P&gt;Hello everyone.&lt;/P&gt;&lt;P&gt;I have been trying to perform this task for several days:&lt;/P&gt;&lt;P&gt;&lt;FONT face="book antiqua,palatino"&gt;&lt;STRONG&gt;&lt;FONT size="5"&gt;Target:&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;I want to set the &lt;STRONG&gt;SerDes&lt;/STRONG&gt; protocol with the value &lt;STRONG&gt;4555h&lt;/STRONG&gt; according to the table shown in the document &lt;STRONG&gt;QorIQ LS1043A Reference Manual, Rev. 6, 07/2020&lt;/STRONG&gt; &lt;STRONG&gt;(Pag. 1916)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;FONT face="book antiqua,palatino" size="5"&gt;&lt;STRONG&gt;What have I done:&lt;/STRONG&gt; &lt;/FONT&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;I performed a custom boot (with &lt;STRONG&gt;Flex-Builder&lt;/STRONG&gt;) in which i changed the parameter value of &lt;STRONG&gt;SRDS_PRTCL_S1&lt;/STRONG&gt;. The procedure I followed, for creating a custom boot from SD is well described and can be found in the following link:&lt;A href="https://community.nxp.com/t5/Layerscape/Boot-problem-with-PBI/m-p/1350416#M9044" target="_self"&gt;Procedure to disable CPU.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;In order to change the Serdes protocol, In the file &lt;STRONG&gt;rcw_1600_sdboot.rcw, &lt;/STRONG&gt;i changed the&amp;nbsp;&lt;STRONG&gt;SRDS_PRTCL_S1&lt;/STRONG&gt; parameter with the following value &lt;STRONG&gt;SRDS_PRTCL_S1=17749. &lt;/STRONG&gt;This is because the value 4555h in decimal corresponds to 17749 in decimal.&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;BR /&gt;#include &amp;lt;../ls1043aqds/ls1043a.rcwi&amp;gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;SYS_PLL_RAT=4&lt;BR /&gt;MEM_PLL_RAT=16&lt;BR /&gt;CGA_PLL1_RAT=16&lt;BR /&gt;CGA_PLL2_RAT=10&lt;BR /&gt;&lt;FONT color="#FF00FF"&gt;SRDS_PRTCL_S1=17749&lt;/FONT&gt;&lt;BR /&gt;FM1_MAC_RAT=1&lt;BR /&gt;SRDS_PLL_REF_CLK_SEL_S1=2&lt;BR /&gt;SRDS_DIV_PEX=1&lt;BR /&gt;DDR_FDBK_MULT=2&lt;BR /&gt;DDR_REFCLK_SEL=1&lt;BR /&gt;PBI_src=6&lt;BR /&gt;IFC_MODE=64&lt;BR /&gt;HWA_CGA_M1_CLK_SEL=6&lt;BR /&gt;DRAM_LAT=1&lt;BR /&gt;SYS_PLL_SPD=1&lt;BR /&gt;UART_BASE=7&lt;BR /&gt;IRQ_OUT=1&lt;BR /&gt;TVDD_VSEL=0&lt;BR /&gt;DVDD_VSEL=2&lt;BR /&gt;EVDD_VSEL=2&lt;BR /&gt;IIC2_EXT=0&lt;BR /&gt;SYSCLK_FREQ=600&lt;BR /&gt;HWA_CGA_M2_CLK_SEL=1&lt;BR /&gt;BOOT_HO=0&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;.pbi&lt;BR /&gt;write 0xee0094, 0x0000000e&lt;BR /&gt;.end&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;#include &amp;lt;../ls1043aqds/atf_address.rcw&amp;gt;&lt;BR /&gt;#include &amp;lt;../ls1043aqds/cci_barrier_disable.rcw&amp;gt;&lt;BR /&gt;#include &amp;lt;../ls1043aqds/a009929.rcw&amp;gt;&lt;BR /&gt;#include &amp;lt;../ls1043aqds/usb_phy_freq.rcw&amp;gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT face="book antiqua,palatino" size="5"&gt;Problem: &lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;If I generate the boot with the SerDes modified by me, the boot does not start (I don't see U-Boot), while if I leave the default value the boot starts normally and shows me U-Boot.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;FONT face="book antiqua,palatino" size="5"&gt;&lt;STRONG&gt;Question:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;Why does this happen?&lt;BR /&gt;Because if I boot with the SerDes modified by me the board does not start, while with the default SerDes it starts quietly.&lt;BR /&gt;What's wrong?&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Thank you very much for your availability.&lt;/P&gt;&lt;P&gt;Below you will find the link to download the file &lt;STRONG&gt;rcw_1600_sdboot.rcw &lt;/STRONG&gt;and &lt;STRONG&gt;firmware_ls1043ardb_sdboot.img &lt;/STRONG&gt;&lt;A href="https://drive.google.com/drive/folders/18zKhsb9FdmXU3vcmPnsjSC6z4hXM0UUR?usp=sharing" target="_self"&gt;.img &amp;amp; rcw&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Oct 2021 13:41:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/SerDes-configuration/m-p/1357233#M9117</guid>
      <dc:creator>notshure</dc:creator>
      <dc:date>2021-10-18T13:41:44Z</dc:date>
    </item>
    <item>
      <title>Re: SerDes configuration</title>
      <link>https://community.nxp.com/t5/Layerscape/SerDes-configuration/m-p/1357329#M9119</link>
      <description>&lt;P&gt;It is needed to explicitly disable PLL2 of the SerDes:&lt;/P&gt;
&lt;P&gt;SRDS_PLL_PD_S1[168:169] = 01&lt;/P&gt;</description>
      <pubDate>Mon, 18 Oct 2021 16:44:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/SerDes-configuration/m-p/1357329#M9119</guid>
      <dc:creator>ufedor</dc:creator>
      <dc:date>2021-10-18T16:44:33Z</dc:date>
    </item>
    <item>
      <title>Re: SerDes configuration</title>
      <link>https://community.nxp.com/t5/Layerscape/SerDes-configuration/m-p/1362377#M9199</link>
      <description>&lt;P&gt;&lt;FONT color="#000000"&gt;So inside the&amp;nbsp;&lt;STRONG&gt;ls1043ardb_rcw_sd.cfg&lt;/STRONG&gt; file there must be this:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF00FF"&gt;#PBL preamble and RCW header&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF00FF"&gt;aa55aa55 01ee0100&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF00FF"&gt;# RCW&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF00FF"&gt;06100010 0a000000 00000000 00000000&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF00FF"&gt;&lt;FONT color="#000000"&gt;4555&lt;/FONT&gt;0002 80&lt;FONT color="#000000"&gt;4&lt;/FONT&gt;04012 60040000 c1002000&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF00FF"&gt;00000000 00000000 00000000 00038800&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF00FF"&gt;00000000 00001100 00000096 00000001&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;The &lt;FONT color="#000000"&gt;&lt;STRONG&gt;ls1043ardb_rcw_sd.cfg&lt;/STRONG&gt;&lt;/FONT&gt; file is located in the following path: &lt;STRONG&gt;flexbuilder/packages/firmware/u-boot/board/freescale/ls1043ardb.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Oct 2021 10:42:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/SerDes-configuration/m-p/1362377#M9199</guid>
      <dc:creator>notshure</dc:creator>
      <dc:date>2021-10-27T10:42:56Z</dc:date>
    </item>
    <item>
      <title>Re: SerDes configuration</title>
      <link>https://community.nxp.com/t5/Layerscape/SerDes-configuration/m-p/1362606#M9201</link>
      <description>&lt;P&gt;It is required to edit the ".rcw" file.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Oct 2021 16:39:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/SerDes-configuration/m-p/1362606#M9201</guid>
      <dc:creator>ufedor</dc:creator>
      <dc:date>2021-10-27T16:39:56Z</dc:date>
    </item>
    <item>
      <title>Re: SerDes configuration</title>
      <link>https://community.nxp.com/t5/Layerscape/SerDes-configuration/m-p/1363048#M9204</link>
      <description>&lt;P&gt;&lt;FONT color="#000000"&gt;To generate the boot I am using flex-builder, in particular &lt;STRONG&gt;flexbuild_lsdk1712&lt;/STRONG&gt;. I saw from the documentation &lt;STRONG&gt;Layerscape Software Development Kit 17.12 Documentation, Rev. 0, 02/201&lt;/STRONG&gt; that it is possible to make the file&amp;nbsp;&lt;STRONG&gt;firmware_ls1043ardb_uboot_sdboot.img&amp;nbsp;&lt;/STRONG&gt;with the following command:&amp;nbsp;&lt;STRONG&gt;flex-builder -i mkfw -m ls1043ardb -b sd -B uboot.&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;I do this because I need to generate the boot from SD with U-Boot 2017 on it.&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;is it okay to edit file &lt;STRONG&gt;ls1043ardb_rcw_sd.cfg&lt;/STRONG&gt; if i am using &lt;STRONG&gt;flexbuild_lsdk1712 ?&lt;BR /&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Oct 2021 07:24:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/SerDes-configuration/m-p/1363048#M9204</guid>
      <dc:creator>notshure</dc:creator>
      <dc:date>2021-10-28T07:24:40Z</dc:date>
    </item>
  </channel>
</rss>

