<?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: Building SPL/u-boot to boot from SD on i.MX 8M QUAD EVK in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Building-SPL-u-boot-to-boot-from-SD-on-i-MX-8M-QUAD-EVK/m-p/737010#M114724</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The documentation suggests getting bl31.bin is done directly from &lt;STRONG&gt;Arm Trusted Firmware&lt;/STRONG&gt;.&amp;nbsp;What platform do you use to building the firmware components?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Asher&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Mar 2018 19:30:07 GMT</pubDate>
    <dc:creator>AsherKariv</dc:creator>
    <dc:date>2018-03-09T19:30:07Z</dc:date>
    <item>
      <title>Building SPL/u-boot to boot from SD on i.MX 8M QUAD EVK</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Building-SPL-u-boot-to-boot-from-SD-on-i-MX-8M-QUAD-EVK/m-p/737006#M114720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to build SPL/u-boot from&amp;nbsp; source code and boot from SD, but&amp;nbsp;SPL gets stuck in&amp;nbsp;lpddr4_800M_cfg_phy() when calling wait_ddrphy_training_complete().&lt;/P&gt;&lt;P&gt;I am building the code from &lt;STRONG&gt;https: //source.codeaurora.org/external/imx/uboot-imx&lt;/STRONG&gt; , branch is &lt;STRONG&gt;imx_v2017.03_4.9.51_imx8m_beta&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;I am using the&amp;nbsp;&lt;STRONG&gt;imx8mq_evk_defconfig&lt;/STRONG&gt; configuration.&amp;nbsp;Below is the SPL output.&lt;/P&gt;&lt;P&gt;Any idea what am I missing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;ASher&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri;"&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri;"&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri;"&gt;&lt;EM&gt;U-Boot SPL 2017.03-dirty (Mar 07 2018 - 16:08:12)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;PMIC: PFUZE100 ID=0x10&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;start to config phy: p0=3200mts, p1=667mts with 1D2D training&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;check ddr4_pmu_train_imem code&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;check ddr4_pmu_train_imem code pass&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;check ddr4_pmu_train_dmem code&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;check ddr4_pmu_train_dmem code pass&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;config to do 3200 1d training.&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2018 00:34:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Building-SPL-u-boot-to-boot-from-SD-on-i-MX-8M-QUAD-EVK/m-p/737006#M114720</guid>
      <dc:creator>AsherKariv</dc:creator>
      <dc:date>2018-03-08T00:34:58Z</dc:date>
    </item>
    <item>
      <title>Re: Building SPL/u-boot to boot from SD on i.MX 8M QUAD EVK</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Building-SPL-u-boot-to-boot-from-SD-on-i-MX-8M-QUAD-EVK/m-p/737007#M114721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Asher&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please follow sect.4.5.13 How to build imx-boot image attached Linux Guide&lt;/P&gt;&lt;P&gt;from documentation below&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/support/developer-resources/run-time-software/i.mx-developer-resources/i.mx-6-i.mx-7-i.mx-8-series-software-and-development-tool-resources:IMX_SW" title="https://www.nxp.com/support/developer-resources/run-time-software/i.mx-developer-resources/i.mx-6-i.mx-7-i.mx-8-series-software-and-development-tool-resources:IMX_SW"&gt;i.MX Software|NXP&lt;/A&gt;&amp;nbsp;&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>Thu, 08 Mar 2018 07:47:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Building-SPL-u-boot-to-boot-from-SD-on-i-MX-8M-QUAD-EVK/m-p/737007#M114721</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2018-03-08T07:47:57Z</dc:date>
    </item>
    <item>
      <title>Re: Building SPL/u-boot to boot from SD on i.MX 8M QUAD EVK</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Building-SPL-u-boot-to-boot-from-SD-on-i-MX-8M-QUAD-EVK/m-p/737008#M114722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the information. I am trying to build a standalone u-boot, for eventually loading Windows (UEFI), which we have done on other platforms like Sabre i.MX6/7, and used directly the NXP u-boot repos with gcc toolchain. I am currently using (gcc-linaro-7.2.1-2017.11). Do you think there something else in the Yocto project, that is missing when building it this way?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will try using the Yocto SDK,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Asher&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2018 19:49:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Building-SPL-u-boot-to-boot-from-SD-on-i-MX-8M-QUAD-EVK/m-p/737008#M114722</guid>
      <dc:creator>AsherKariv</dc:creator>
      <dc:date>2018-03-08T19:49:53Z</dc:date>
    </item>
    <item>
      <title>Re: Building SPL/u-boot to boot from SD on i.MX 8M QUAD EVK</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Building-SPL-u-boot-to-boot-from-SD-on-i-MX-8M-QUAD-EVK/m-p/737009#M114723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It appears I was missing the patch DDR patch (&lt;A class="" data-dtmassettype="Download" data-dtmname="L4.9.51_8MQ_BETA_LINUX_PATCH" href="https://www.nxp.com/webapp/Download?colCode=L4.9.51_8MQ_BETA_LINUX_PATCH&amp;amp;appType=license" style="color: #3d9ce7; background-color: transparent; font-weight: bold; text-decoration: underline; font-size: 16px;" target="_blank"&gt;L4.9.51_8MQ_BETA_LINUX_PATCH&lt;/A&gt;). Once I applied the patch SPL DDR initialization completes successfully .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;Asher&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2018 17:42:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Building-SPL-u-boot-to-boot-from-SD-on-i-MX-8M-QUAD-EVK/m-p/737009#M114723</guid>
      <dc:creator>AsherKariv</dc:creator>
      <dc:date>2018-03-09T17:42:48Z</dc:date>
    </item>
    <item>
      <title>Re: Building SPL/u-boot to boot from SD on i.MX 8M QUAD EVK</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Building-SPL-u-boot-to-boot-from-SD-on-i-MX-8M-QUAD-EVK/m-p/737010#M114724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The documentation suggests getting bl31.bin is done directly from &lt;STRONG&gt;Arm Trusted Firmware&lt;/STRONG&gt;.&amp;nbsp;What platform do you use to building the firmware components?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Asher&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2018 19:30:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Building-SPL-u-boot-to-boot-from-SD-on-i-MX-8M-QUAD-EVK/m-p/737010#M114724</guid>
      <dc:creator>AsherKariv</dc:creator>
      <dc:date>2018-03-09T19:30:07Z</dc:date>
    </item>
    <item>
      <title>Re: Building SPL/u-boot to boot from SD on i.MX 8M QUAD EVK</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Building-SPL-u-boot-to-boot-from-SD-on-i-MX-8M-QUAD-EVK/m-p/737011#M114725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So found out that the bl31.bin is built from&amp;nbsp;&lt;STRONG&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fsource.codeaurora.org%2Fexternal%2Fimx%2Fimx-atf" rel="nofollow" target="_blank"&gt;https://source.codeaurora.org/external/imx/imx-atf&lt;/A&gt;&lt;/STRONG&gt; branch i&lt;STRONG&gt;mx_4.9.51_imx8m_beta. bl31.bin&amp;nbsp;&lt;/STRONG&gt;is built using&amp;nbsp;&lt;STRONG&gt;make PLAT=imx8mq bl31.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;So after applying the DDR patch, and building the firmware binary using:&lt;BR /&gt;&lt;STRONG&gt;make SOC=iMX8M flash_spl_uboot,&amp;nbsp;&lt;/STRONG&gt;SPL/u-boot (flash.bin) successfully boots!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;again,&lt;/P&gt;&lt;P&gt;Asher&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2018 21:10:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Building-SPL-u-boot-to-boot-from-SD-on-i-MX-8M-QUAD-EVK/m-p/737011#M114725</guid>
      <dc:creator>AsherKariv</dc:creator>
      <dc:date>2018-03-09T21:10:16Z</dc:date>
    </item>
  </channel>
</rss>

