<?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: SPL spends 1.5 seconds in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/SPL-spends-1-5-seconds/m-p/540138#M85294</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before I met your answer, I added more debugging code into SPL and found &lt;SPAN style="color: #000000; font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif; font-size: 13px; background-color: #eeeeee;"&gt;a code which takes 1.5 secs in SPL. it is &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif; font-size: 13px; background-color: #eeeeee;"&gt;#ifdef CONFIG_SYS_MALLOC_CLEAR_ON_INIT&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif; font-size: 13px; background-color: #eeeeee;"&gt;memset((void *)mem_malloc_start, 0x0, size); &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif; font-size: 13px; background-color: #eeeeee;"&gt;debug("mem_malloc_init(1)\n");&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif; font-size: 13px; background-color: #eeeeee;"&gt;#endif&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I didn't know the size is 50MB but you gave me the right answer.. thanks a lot..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Jul 2016 07:38:45 GMT</pubDate>
    <dc:creator>hjpark71</dc:creator>
    <dc:date>2016-07-06T07:38:45Z</dc:date>
    <item>
      <title>SPL spends 1.5 seconds</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SPL-spends-1-5-seconds/m-p/540135#M85291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-style: inherit; font-weight: inherit; font-size: inherit; font-family: inherit;"&gt;Hi Guys,&lt;/P&gt;&lt;P style="font-style: inherit; font-weight: inherit; font-size: inherit; font-family: inherit;"&gt;&lt;/P&gt;&lt;P style="font-style: inherit; font-weight: inherit; font-size: inherit; font-family: inherit;"&gt;I found very strange number from booting speed measurement on variscite board what uses I.MAX6Q.&lt;/P&gt;&lt;P style="font-style: inherit; font-weight: inherit; font-size: inherit; font-family: inherit;"&gt;Please found the RED on the log from SPL. As see, it spends 1.5 seconds.&lt;/P&gt;&lt;P style="font-style: inherit; font-weight: inherit; font-size: inherit; font-family: inherit;"&gt;Do you know why this SPL is so slow on eMMC ?&lt;/P&gt;&lt;P style="font-style: inherit; font-weight: inherit; font-size: inherit; font-family: inherit;"&gt;Is it a bug on the code or H/W problem?&lt;/P&gt;&lt;P style="font-style: inherit; font-weight: inherit; font-size: inherit; font-family: inherit;"&gt;&lt;SPAN&gt;FYI, this u-boot is from "git clone &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fgithub.com%2Fvarigit%2Fuboot-imx" rel="nofollow" target="_blank"&gt;https://github.com/varigit/uboot-imx&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-style: inherit; font-weight: inherit; font-size: inherit; font-family: inherit;"&gt;&lt;/P&gt;&lt;P style="font-style: inherit; font-weight: inherit; font-size: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif; font-size: 1.3em; font-style: inherit; font-weight: inherit;"&gt;[0.000001 0.000001] &lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class="content" style="padding: 0 0 1px; font-style: inherit; font-weight: inherit; font-size: 1.3em; font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif;"&gt;[0.001007 0.001006] U-Boot SPL 2015.04-14426-gf45bfc9 (Jul 05 2016 - 15:24:26)&lt;BR /&gt;[0.062982 0.061975] &lt;BR /&gt;[0.063943 0.000961] Part number: VSM-DT6-302&lt;BR /&gt;[0.066099 0.002156] Assembly: AS160306088&lt;BR /&gt;[0.068105 0.002006] Date of production: 2016 Apr 13&lt;BR /&gt;&lt;SPAN style="color: #e23d39;"&gt;[1.553261 1.485156] MMC Boot Device: mmc1 (eMMC)&lt;/SPAN&gt;&lt;BR /&gt;[1.697154 0.143893] &lt;BR /&gt;[1.697221 0.000067] U-Boot 2015.04-14426-gf45bfc9 (Jul 05 2016 - 15:24:26)&lt;BR /&gt;[1.702165 0.004944] &lt;BR /&gt;[1.702240 0.000075] CPU: Freescale i.MX6Q rev1.5 at 792 MHz&lt;BR /&gt;[1.716127 0.013887] CPU: Temperature 47 C&lt;BR /&gt;[1.718401 0.002274] Reset cause: POR&lt;BR /&gt;[1.719626 0.001225] Board: Variscite VAR-SOM-MX6 Quad-PoP 792 MHz&lt;BR /&gt;[1.723541 0.003915] I2C: ready&lt;BR /&gt;[1.725097 0.001556] DRAM: 1 GiB&lt;BR /&gt;[1.768103 0.043006] PMIC: PFUZE100 ID=0x10&lt;BR /&gt;[1.781095 0.012992] MMC: FSL_SDHC: 0, FSL_SDHC: 1&lt;BR /&gt;[1.910019 0.128924] auto-detected panel VAR-WVGA&lt;BR /&gt;[1.913123 0.003104] Display: VAR-WVGA (800x480)&lt;BR /&gt;[2.124984 0.211861] In: serial&lt;BR /&gt;[2.127038 0.002054] Out: serial&lt;BR /&gt;[2.128119 0.001081] Err: serial&lt;BR /&gt;[2.249945 0.121826] switch to partitions #0, OK&lt;BR /&gt;[2.253238 0.003293] mmc1(part 0) is current device&lt;BR /&gt;[2.255963 0.002725] eMMC: 7.3 GiB&lt;BR /&gt;[2.257182 0.001219] Net: using phy at 7&lt;BR /&gt;[2.285979 0.028797] FEC [PRIME]&lt;BR /&gt;[2.287958 0.001979] Normal Boot&lt;BR /&gt;[2.288947 0.000989] Hit any key to stop autoboot: 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 &lt;BR /&gt;[3.413281 1.124334] switch to partitions #0, OK&lt;BR /&gt;[3.416414 0.003133] mmc1(part 0) is current device&lt;BR /&gt;[3.544225 0.127811] ** No boot file defined **&lt;BR /&gt;[3.551236 0.007011] reading uImage&lt;BR /&gt;[3.837130 0.285894] 5958784 bytes read in 286 ms (19.9 MiB/s)&lt;BR /&gt;[3.841167 0.004037] Booting from mmc ...&lt;BR /&gt;[3.847103 0.005936] reading imx6q-var-dart.dtb&lt;BR /&gt;[3.866032 0.018929] 43160 bytes read in 18 ms (2.3 MiB/s)&lt;BR /&gt;[3.869161 0.003129] ## Booting kernel from Legacy Image at 12000000 ...&lt;BR /&gt;[3.874070 0.004909] Image Name: Linux-4.1.15-gb8788ad&lt;BR /&gt;[3.877279 0.003209] Image Type: ARM Linux Kernel Image (uncompressed)&lt;BR /&gt;[3.882204 0.004925] Data Size: 5958720 Bytes = 5.7 MiB&lt;BR /&gt;[3.886116 0.003912] Load Address: 10008000&lt;BR /&gt;[3.888205 0.002089] Entry Point: 10008000&lt;BR /&gt;[3.891060 0.002855] Verifying Checksum ... OK&lt;BR /&gt;[3.961982 0.070922] ## Flattened Device Tree blob at 18000000&lt;BR /&gt;[3.965113 0.003131] Booting using the fdt blob at 0x18000000&lt;BR /&gt;[3.969140 0.004027] Loading Kernel Image ... OK&lt;BR /&gt;[4.044020 0.074880] Using Device Tree in place at 18000000, end 1800d897&lt;BR /&gt;[4.051925 0.007905] switch to ldo_bypass mode!&lt;BR /&gt;[4.054825 0.002900] &lt;BR /&gt;[4.054935 0.000110] Starting kernel ...&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jul 2016 15:50:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SPL-spends-1-5-seconds/m-p/540135#M85291</guid>
      <dc:creator>hjpark71</dc:creator>
      <dc:date>2016-07-05T15:50:23Z</dc:date>
    </item>
    <item>
      <title>Re: SPL spends 1.5 seconds</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SPL-spends-1-5-seconds/m-p/540136#M85292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi hj&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;spl is not supported in nxp bsp releases, however one can try fast boot:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/351590"&gt;imx6q, eMMC fast boot&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;igor&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2016 01:43:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SPL-spends-1-5-seconds/m-p/540136#M85292</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2016-07-06T01:43:18Z</dc:date>
    </item>
    <item>
      <title>Re: SPL spends 1.5 seconds</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SPL-spends-1-5-seconds/m-p/540137#M85293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to apply this patch and see if it helps:&lt;/P&gt;&lt;P&gt;&lt;A href="http://lists.denx.de/pipermail/u-boot/2015-November/235039.html" title="http://lists.denx.de/pipermail/u-boot/2015-November/235039.html"&gt;[U-Boot] [PATCH] arm: mx6: Reduce SPL malloc pool size&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2016 07:06:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SPL-spends-1-5-seconds/m-p/540137#M85293</guid>
      <dc:creator>JohnDoe1z</dc:creator>
      <dc:date>2016-07-06T07:06:21Z</dc:date>
    </item>
    <item>
      <title>Re: SPL spends 1.5 seconds</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SPL-spends-1-5-seconds/m-p/540138#M85294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before I met your answer, I added more debugging code into SPL and found &lt;SPAN style="color: #000000; font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif; font-size: 13px; background-color: #eeeeee;"&gt;a code which takes 1.5 secs in SPL. it is &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif; font-size: 13px; background-color: #eeeeee;"&gt;#ifdef CONFIG_SYS_MALLOC_CLEAR_ON_INIT&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif; font-size: 13px; background-color: #eeeeee;"&gt;memset((void *)mem_malloc_start, 0x0, size); &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif; font-size: 13px; background-color: #eeeeee;"&gt;debug("mem_malloc_init(1)\n");&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif; font-size: 13px; background-color: #eeeeee;"&gt;#endif&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I didn't know the size is 50MB but you gave me the right answer.. thanks a lot..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2016 07:38:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SPL-spends-1-5-seconds/m-p/540138#M85294</guid>
      <dc:creator>hjpark71</dc:creator>
      <dc:date>2016-07-06T07:38:45Z</dc:date>
    </item>
  </channel>
</rss>

