<?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 stuck after porting LPDDR2 base on IMX7ULP in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/u-boot-stuck-after-porting-LPDDR2-base-on-IMX7ULP/m-p/848209#M129833</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;igorpadykov,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Thanks for your help ,according to your advise&amp;nbsp; the u-boot on my customer board can correctly working.&lt;/P&gt;&lt;P&gt;(the SDRAM size in my customer board is 1Gibits=128MiB)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually I'm not only&amp;nbsp; modify "&lt;SPAN data-darkreader-inline-bgcolor="" data-darkreader-inline-color="" style="color: #cabda8; background-color: #212127;"&gt;#define PHYS_SDRAM_SIZE&amp;nbsp; SZ_128M " but&amp;nbsp;&lt;/SPAN&gt;also modify the parameter as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//==&amp;nbsp;[mx7ulp_evk.h] =================================&lt;/P&gt;&lt;P&gt;from:&lt;/P&gt;&lt;P&gt;"#define CONFIG_SYS_MALLOC_LEN (8*SZ_1M)"&amp;nbsp;&lt;/P&gt;&lt;P&gt;to:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"#define CONFIG_SYS_MALLOC_LEN (4*SZ_1M)"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;//===============================================&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But now my customer board just can boot up till "Starting kernel ..." message ,and then it's halt .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I also trace the u-boot source code ,it's seem to stuck at&amp;nbsp;"kernel_entry(0, machid, r2);" in bootm.c file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Whether&amp;nbsp;change the parameter&amp;nbsp;&lt;SPAN&gt;"#define CONFIG_SYS_MALLOC_LEN (4*SZ_1M)" affect the Linux kernel?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Or there are other reasons cause this bug?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Could you give me some hits of this issue.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Jul 2018 03:05:38 GMT</pubDate>
    <dc:creator>sam_liu</dc:creator>
    <dc:date>2018-07-13T03:05:38Z</dc:date>
    <item>
      <title>u-boot stuck after porting LPDDR2 base on IMX7ULP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/u-boot-stuck-after-porting-LPDDR2-base-on-IMX7ULP/m-p/848207#M129831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp; In my project is base on I.MX7ULP and porting SDRAM LPDDR2 on my project EVB and BSP :imx-4.9.51-8mq_ga.&lt;/P&gt;&lt;P&gt;&amp;nbsp; (Original&amp;nbsp; BSP SDRAM setting in is for LPDDR3)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I already porting the setting of DCD table in imximage.cfg file.But when I power on my EVB the u-boot will stuck at "DRAM:" line and then no log anymore&amp;nbsp; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;log show as below:&amp;nbsp;&lt;/P&gt;&lt;P&gt;---------------------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;U-Boot 2017.03-imx_v2017.03_4.9.51_imx8m_ga+g2537522 (Jul 04 2018 - 14:27:51 +0800)&lt;/P&gt;&lt;P&gt;CPU: Freescale i.MX7ULP rev2.0 at 500 MHz&lt;BR /&gt;Reset cause: POR&lt;BR /&gt;Boot mode: Dual boot&lt;BR /&gt;Model: NXP i.MX7ULP EVK&lt;BR /&gt;DRAM:&lt;/P&gt;&lt;P&gt;----------------------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then I trace the u-boot source code ,u-boot will stuck at the command :&lt;STRONG&gt; "size += gd-&amp;gt;bd-&amp;gt;bi_dram[i].size;"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;in "&lt;SPAN&gt;static int show_dram_config(void)"&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;function&amp;nbsp; &amp;nbsp;of the "board_f.c" file .&lt;/P&gt;&lt;P&gt;u-boot source code&amp;nbsp;&amp;nbsp;show as below:&lt;/P&gt;&lt;P&gt;==========================================================================&lt;/P&gt;&lt;P&gt;static int show_dram_config(void)&lt;BR /&gt;{&lt;BR /&gt; unsigned long long size;&lt;/P&gt;&lt;P&gt;#ifdef CONFIG_NR_DRAM_BANKS&lt;BR /&gt; int i;&lt;/P&gt;&lt;P&gt;debug("\nRAM Configuration:\n");&lt;BR /&gt; for (i = size = 0; i &amp;lt; CONFIG_NR_DRAM_BANKS; i++) {&lt;BR /&gt; &lt;STRONG&gt;size += gd-&amp;gt;bd-&amp;gt;bi_dram[i].size;&lt;/STRONG&gt;&lt;BR /&gt; debug("Bank #%d: %llx ", i,&lt;BR /&gt; (unsigned long long)(gd-&amp;gt;bd-&amp;gt;bi_dram[i].start));&lt;BR /&gt;#ifdef DEBUG&lt;BR /&gt; print_size(gd-&amp;gt;bd-&amp;gt;bi_dram[i].size, "\n");&lt;BR /&gt;#endif&lt;BR /&gt; }&lt;BR /&gt; debug("\nDRAM: ");&lt;BR /&gt;#else&lt;BR /&gt; size = gd-&amp;gt;ram_size;&lt;BR /&gt;#endif&lt;/P&gt;&lt;P&gt;print_size(size, "");&lt;BR /&gt; board_add_ram_info(0);&lt;BR /&gt; putc('\n');&lt;/P&gt;&lt;P&gt;return 0;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;==========================================================================&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It's seem like that execute "&lt;STRONG&gt;gd-&amp;gt;bd-&amp;gt;bi_dram[i].size;&lt;/STRONG&gt;" operation will cause the error.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Does anyone can help me whether I porting the imximage.cfg (for change SDRAM to LPDDR2&amp;nbsp; on my EVB )incorrect ?&lt;/P&gt;&lt;P&gt;Or other&amp;nbsp;reason cause this error ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks~&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2018 07:55:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/u-boot-stuck-after-porting-LPDDR2-base-on-IMX7ULP/m-p/848207#M129831</guid>
      <dc:creator>sam_liu</dc:creator>
      <dc:date>2018-07-04T07:55:09Z</dc:date>
    </item>
    <item>
      <title>Re: u-boot stuck after porting LPDDR2 base on IMX7ULP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/u-boot-stuck-after-porting-LPDDR2-base-on-IMX7ULP/m-p/848208#M129832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sam&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can check #define PHYS_SDRAM_SIZE&amp;nbsp; in uboot/include/configs/mx7ulp_evk.h&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://source.codeaurora.org/external/imx/uboot-imx/tree/include/configs/mx7ulp_evk.h?h=imx_v2017.03_4.9.88_2.0.0_ga" title="https://source.codeaurora.org/external/imx/uboot-imx/tree/include/configs/mx7ulp_evk.h?h=imx_v2017.03_4.9.88_2.0.0_ga"&gt;mx7ulp_evk.h\configs\include - uboot-imx - i.MX U-Boot&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note, only Linux 4.9.88_2.0.0 BSP should be used for i.MX7ULP, as only this release&lt;/P&gt;&lt;P&gt;currently supports this processor, as stated in Release Notes included in documentation:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/webapp/Download?colCode=L4.9.88_2.0.0_LINUX_DOCS&amp;amp;Parent_nodeId=1337699481071706174845&amp;amp;Parent_pageType=product" title="https://www.nxp.com/webapp/Download?colCode=L4.9.88_2.0.0_LINUX_DOCS&amp;amp;Parent_nodeId=1337699481071706174845&amp;amp;Parent_pageType=product"&gt;https://www.nxp.com/webapp/Download?colCode=L4.9.88_2.0.0_LINUX_DOCS&amp;amp;Parent_nodeId=1337699481071706174845&amp;amp;Parent_pageTyp…&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&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>Sat, 07 Jul 2018 07:49:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/u-boot-stuck-after-porting-LPDDR2-base-on-IMX7ULP/m-p/848208#M129832</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2018-07-07T07:49:43Z</dc:date>
    </item>
    <item>
      <title>Re: u-boot stuck after porting LPDDR2 base on IMX7ULP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/u-boot-stuck-after-porting-LPDDR2-base-on-IMX7ULP/m-p/848209#M129833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;igorpadykov,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Thanks for your help ,according to your advise&amp;nbsp; the u-boot on my customer board can correctly working.&lt;/P&gt;&lt;P&gt;(the SDRAM size in my customer board is 1Gibits=128MiB)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually I'm not only&amp;nbsp; modify "&lt;SPAN data-darkreader-inline-bgcolor="" data-darkreader-inline-color="" style="color: #cabda8; background-color: #212127;"&gt;#define PHYS_SDRAM_SIZE&amp;nbsp; SZ_128M " but&amp;nbsp;&lt;/SPAN&gt;also modify the parameter as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//==&amp;nbsp;[mx7ulp_evk.h] =================================&lt;/P&gt;&lt;P&gt;from:&lt;/P&gt;&lt;P&gt;"#define CONFIG_SYS_MALLOC_LEN (8*SZ_1M)"&amp;nbsp;&lt;/P&gt;&lt;P&gt;to:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"#define CONFIG_SYS_MALLOC_LEN (4*SZ_1M)"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;//===============================================&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But now my customer board just can boot up till "Starting kernel ..." message ,and then it's halt .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I also trace the u-boot source code ,it's seem to stuck at&amp;nbsp;"kernel_entry(0, machid, r2);" in bootm.c file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Whether&amp;nbsp;change the parameter&amp;nbsp;&lt;SPAN&gt;"#define CONFIG_SYS_MALLOC_LEN (4*SZ_1M)" affect the Linux kernel?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Or there are other reasons cause this bug?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Could you give me some hits of this issue.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jul 2018 03:05:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/u-boot-stuck-after-porting-LPDDR2-base-on-IMX7ULP/m-p/848209#M129833</guid>
      <dc:creator>sam_liu</dc:creator>
      <dc:date>2018-07-13T03:05:38Z</dc:date>
    </item>
    <item>
      <title>Re: u-boot stuck after porting LPDDR2 base on IMX7ULP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/u-boot-stuck-after-porting-LPDDR2-base-on-IMX7ULP/m-p/848210#M129834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sam&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;had you run ddr test for that part as for example for i.MX6Q (&lt;A href="https://community.nxp.com/docs/DOC-105652"&gt;i.MX6/7 DDR Stress Test Tool V2.90&lt;/A&gt;&amp;nbsp;)&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-340303"&gt;i.MX7ULP Register Programming Aids&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As i.MX7ULP is still in preproduction stage this tool is not publicly available yet, you will have to wait its&lt;/P&gt;&lt;P&gt;public release&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/applications/solutions/internet-of-things/smart-things/healthcare/hearing-aids/i.mx-7ulp-family-ultra-low-power-with-graphics:i.MX7ULP" title="https://www.nxp.com/applications/solutions/internet-of-things/smart-things/healthcare/hearing-aids/i.mx-7ulp-family-ultra-low-power-with-graphics:i.MX7ULP"&gt;i.MX 7ULP Applications Processor | Single Arm® Cortex®-A7 + Cortex-M4 with ultra low power |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;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jul 2018 11:40:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/u-boot-stuck-after-porting-LPDDR2-base-on-IMX7ULP/m-p/848210#M129834</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2018-07-13T11:40:36Z</dc:date>
    </item>
    <item>
      <title>Re: u-boot stuck after porting LPDDR2 base on IMX7ULP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/u-boot-stuck-after-porting-LPDDR2-base-on-IMX7ULP/m-p/848211#M129835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/SamLiu98115"&gt;SamLiu98115&lt;/A&gt;‌:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How you solve this ? I am also facing same.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jun 2020 16:21:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/u-boot-stuck-after-porting-LPDDR2-base-on-IMX7ULP/m-p/848211#M129835</guid>
      <dc:creator>rakesh_patel</dc:creator>
      <dc:date>2020-06-25T16:21:39Z</dc:date>
    </item>
    <item>
      <title>Re: u-boot stuck after porting LPDDR2 base on IMX7ULP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/u-boot-stuck-after-porting-LPDDR2-base-on-IMX7ULP/m-p/848212#M129836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;Rakesh Patel,&lt;/P&gt;&lt;P&gt;This case has passed for quite a while, but I remember that in the file: /u-boot-imx/.../mx7ulp_evk.c, there is a gpio default setting that conflicts with our EVB pin. You can try to find Whether there is a conflict.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jun 2020 02:24:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/u-boot-stuck-after-porting-LPDDR2-base-on-IMX7ULP/m-p/848212#M129836</guid>
      <dc:creator>sam_liu</dc:creator>
      <dc:date>2020-06-29T02:24:33Z</dc:date>
    </item>
  </channel>
</rss>

