<?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>i.MX ProcessorsのトピックRe: A strange hang on custom imx6ull</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/A-strange-hang-on-custom-imx6ull/m-p/1393732#M185294</link>
    <description>&lt;P&gt;one can try to perform other tests, check for example temperature dependency: heat or cool.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
    <pubDate>Mon, 03 Jan 2022 10:46:59 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2022-01-03T10:46:59Z</dc:date>
    <item>
      <title>A strange hang on custom imx6ull</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/A-strange-hang-on-custom-imx6ull/m-p/1393618#M185273</link>
      <description>&lt;P&gt;Hi, NXP experts&lt;/P&gt;&lt;P&gt;I encountered a very strange hang on my custom imx6ull board.&amp;nbsp;My board has 2 RMII ethernet interfaces and 2 USB host interfaces and 1GB DDR3.&amp;nbsp; My&amp;nbsp;&lt;SPAN&gt;hardware design use rmii with&amp;nbsp;50MHz&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;clk from&lt;/SPAN&gt;&amp;nbsp;MAC to &lt;SPAN&gt;PHY.&amp;nbsp;The 1GB DDR3 has been calibrated using NXP DDR tools, and the overnight stress test has been successfully carried out without error.&amp;nbsp;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;The calibrated DDR parameters have been integrated into u-boot.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Our software is based on&lt;SPAN&gt;&amp;nbsp;L5&lt;/SPAN&gt;&lt;SPAN class=""&gt;.4&lt;/SPAN&gt;&lt;SPAN&gt;.70_2.3.0 BSP.&amp;nbsp;&lt;/SPAN&gt;My board gos well, but the&amp;nbsp;strange hang can be reproducted if ifconfig down both eth0 and eth1 and then wait a small while.&amp;nbsp; I am sure the CPU is hang, because at that time shell can not input any more and hang forever, but if enable imx-watchdog, i can see watchdog reset.&lt;/P&gt;&lt;P&gt;Any of the below condition can not&amp;nbsp;reproduct the hang:&lt;/P&gt;&lt;P&gt;1. Do not ifconfig down both eth0 and eth1.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;only ifconfig down one of two do not lead to hang.&lt;/P&gt;&lt;P&gt;2. If&amp;nbsp;ifconfig down both eth0 and eth1, and then quickly run cmd 'top -d 1' , will also not lead to hang.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;but w&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;ill hang soon after quitting&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;the&amp;nbsp;cmd 'top -d 1'.&lt;/P&gt;&lt;P&gt;3. One or both of the two USB interfaces &lt;SPAN&gt;enumerate usb device(eg. a USB drive), will not lead to hang.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; if unplug all usb devices&amp;nbsp;w&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;ill hang soon.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;4. Force u-boot using EVK board default 512MB DDR parameters&amp;nbsp;also&amp;nbsp;not lead to hang. That is change the u-boot only.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;5. Change linux kernel&amp;nbsp;CPUfreq Governor to 'performance' from 'ondemand' also&amp;nbsp;not lead to hang.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;I cannot distinguish whether it is belong to a software issue (such as DDR parameters, MAC/PHY driver) or a hardware issue (such as a power supply system, but hardware team can not find any misbehave supply).&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;A&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;ny suggestion to narrow down the case? &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Any help is appreciated.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 02 Jan 2022 14:52:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/A-strange-hang-on-custom-imx6ull/m-p/1393618#M185273</guid>
      <dc:creator>changbaoma</dc:creator>
      <dc:date>2022-01-02T14:52:02Z</dc:date>
    </item>
    <item>
      <title>Re: A strange hang on custom imx6ull</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/A-strange-hang-on-custom-imx6ull/m-p/1393639#M185277</link>
      <description>&lt;P&gt;Hi Changbao&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;one can try to disable OP-TEE as described in sect.5.6.10 OP-TEE enablement attached Yocto&lt;/P&gt;
&lt;P&gt;Guide and then debug it using AN4553 Using Open Source Debugging Tools for Linux on i.MX Processors&lt;BR /&gt;&lt;A href="https://www.nxp.com/docs/en/application-note/AN4553.pdf" target="_blank"&gt;https://www.nxp.com/docs/en/application-note/AN4553.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
      <pubDate>Sun, 02 Jan 2022 23:35:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/A-strange-hang-on-custom-imx6ull/m-p/1393639#M185277</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2022-01-02T23:35:52Z</dc:date>
    </item>
    <item>
      <title>Re: A strange hang on custom imx6ull</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/A-strange-hang-on-custom-imx6ull/m-p/1393663#M185285</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/37066"&gt;@igorpadykov&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&amp;nbsp;&amp;nbsp;In my project OP-TEE have been disabled.&lt;/P&gt;&lt;P&gt;Beside kernel GDB, any other suggestion?&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jan 2022 05:54:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/A-strange-hang-on-custom-imx6ull/m-p/1393663#M185285</guid>
      <dc:creator>changbaoma</dc:creator>
      <dc:date>2022-01-03T05:54:04Z</dc:date>
    </item>
    <item>
      <title>Re: A strange hang on custom imx6ull</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/A-strange-hang-on-custom-imx6ull/m-p/1393701#M185288</link>
      <description>&lt;P&gt;one can verify that uboot imx_v2020.04 version used in the case and try to rebuild all from scratch:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://source.codeaurora.org/external/imx/uboot-imx/tree/?h=imx_v2020.04_5.4.70_2.3.0" target="_blank"&gt;https://source.codeaurora.org/external/imx/uboot-imx/tree/?h=imx_v2020.04_5.4.70_2.3.0&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jan 2022 09:07:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/A-strange-hang-on-custom-imx6ull/m-p/1393701#M185288</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2022-01-03T09:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: A strange hang on custom imx6ull</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/A-strange-hang-on-custom-imx6ull/m-p/1393728#M185293</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/37066"&gt;@igorpadykov&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have used NXP yocto project&amp;nbsp;&lt;SPAN&gt;Linux 5.4.70_2.3.0​ +&amp;nbsp;Linux 5.4.70_2.3.4 Patch, the u-boot version of which is already&amp;nbsp;imx_v2020.04. And i also tried the old version u-boot 2016, the situation do not make any differences&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best&amp;nbsp;regards&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jan 2022 10:27:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/A-strange-hang-on-custom-imx6ull/m-p/1393728#M185293</guid>
      <dc:creator>changbaoma</dc:creator>
      <dc:date>2022-01-03T10:27:57Z</dc:date>
    </item>
    <item>
      <title>Re: A strange hang on custom imx6ull</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/A-strange-hang-on-custom-imx6ull/m-p/1393732#M185294</link>
      <description>&lt;P&gt;one can try to perform other tests, check for example temperature dependency: heat or cool.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jan 2022 10:46:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/A-strange-hang-on-custom-imx6ull/m-p/1393732#M185294</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2022-01-03T10:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: A strange hang on custom imx6ull</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/A-strange-hang-on-custom-imx6ull/m-p/1393755#M185296</link>
      <description>&lt;P&gt;The value readed from&amp;nbsp;/sys/devices/virtual/thermal/thermal_zone0/temp is 36500 which seems keep in line with my r&lt;SPAN&gt;oom temperature environment.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jan 2022 11:53:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/A-strange-hang-on-custom-imx6ull/m-p/1393755#M185296</guid>
      <dc:creator>changbaoma</dc:creator>
      <dc:date>2022-01-03T11:53:16Z</dc:date>
    </item>
    <item>
      <title>Re: A strange hang on custom imx6ull</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/A-strange-hang-on-custom-imx6ull/m-p/1393776#M185297</link>
      <description>&lt;P&gt;please try to test with heating/cooling board, not at room temperature.&lt;/P&gt;
&lt;P&gt;From description this may be caused by ddr errors. So may be suggested to run ddr test&lt;/P&gt;
&lt;P&gt;at various temperatures or with memtester.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jan 2022 13:45:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/A-strange-hang-on-custom-imx6ull/m-p/1393776#M185297</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2022-01-03T13:45:42Z</dc:date>
    </item>
    <item>
      <title>Re: A strange hang on custom imx6ull</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/A-strange-hang-on-custom-imx6ull/m-p/1394218#M185356</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/37066"&gt;@igorpadykov&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Today i put my imx6ull board(with 1GB DDR) into a environment test chamber with&amp;nbsp;high/low temperature(environment setting is 65~0℃)&amp;nbsp; and do memtest testing.&amp;nbsp; Everything works fine if i do not do ifconfig eth0 and eth1 down. see below:&lt;/P&gt;&lt;P&gt;root@root:~# cat /sys/devices/system/cpu/cpufreq/policy0/scaling_governor&lt;BR /&gt;ondemand&lt;BR /&gt;root@Orona:~# free&lt;BR /&gt;total used free shared buff/cache available&lt;BR /&gt;Mem: 1024968 23488 966972 8856 34508 978312&lt;BR /&gt;Swap: 0 0 0&lt;BR /&gt;root@root:~# memtester 900M 5&lt;BR /&gt;memtester version 4.3.0 (32-bit)&lt;BR /&gt;Copyright (C) 2001-2012 Charles Cazabon.&lt;BR /&gt;Licensed under the GNU General Public License version 2 (only).&lt;/P&gt;&lt;P&gt;pagesize is 4096&lt;BR /&gt;pagesizemask is 0xfffff000&lt;BR /&gt;want 900MB (943718400 bytes)&lt;BR /&gt;got 900MB (943718400 bytes), trying mlock ...locked.&lt;BR /&gt;Loop 1/5:&lt;BR /&gt;Stuck Address : ok&lt;BR /&gt;Random Value : ok&lt;BR /&gt;Compare XOR : ok&lt;BR /&gt;Compare SUB : ok&lt;BR /&gt;Compare MUL : ok&lt;BR /&gt;Compare DIV : ok&lt;BR /&gt;Compare OR : ok&lt;BR /&gt;Compare AND : ok&lt;BR /&gt;Sequential Increment: ok&lt;BR /&gt;Solid Bits : ok&lt;BR /&gt;Block Sequential : ok&lt;BR /&gt;Checkerboard : ok&lt;BR /&gt;Bit Spread : ok&lt;BR /&gt;Bit Flip : ok&lt;BR /&gt;Walking Ones : ok&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Loop 5/5:&lt;BR /&gt;Stuck Address : ok&lt;BR /&gt;Random Value : ok&lt;BR /&gt;Compare XOR : ok&lt;BR /&gt;Compare SUB : ok&lt;BR /&gt;Compare MUL : ok&lt;BR /&gt;Compare DIV : ok&lt;BR /&gt;Compare OR : ok&lt;BR /&gt;Compare AND : ok&lt;BR /&gt;Sequential Increment: ok&lt;BR /&gt;Solid Bits : ok&lt;BR /&gt;Block Sequential : ok&lt;BR /&gt;Checkerboard : ok&lt;BR /&gt;Bit Spread : ok&lt;BR /&gt;Bit Flip : ok&lt;BR /&gt;Walking Ones : ok&lt;BR /&gt;Walking Zeroes : ok&lt;/P&gt;&lt;P&gt;Done.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;High/low temperature&amp;amp;memtest&lt;SPAN&gt;&amp;nbsp;will test continue a overnight . &lt;STRONG&gt;(update： 24Hours pass and cpu runs well )&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Memtester test pass&amp;nbsp;&lt;SPAN&gt;at room temperature too.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;A month ago, 7x24Hours&amp;nbsp;high/low temperature testing without memtest is also passed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It seems that the environment temperature do not cause DDR errors and hang the CPU.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Any other suggestions?&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/37066"&gt;@igorpadykov&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jan 2022 14:27:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/A-strange-hang-on-custom-imx6ull/m-p/1394218#M185356</guid>
      <dc:creator>changbaoma</dc:creator>
      <dc:date>2022-01-05T14:27:41Z</dc:date>
    </item>
    <item>
      <title>Re: A strange hang on custom imx6ull</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/A-strange-hang-on-custom-imx6ull/m-p/1395932#M185506</link>
      <description>&lt;P&gt;from the description the issue looks more related with DDR,&lt;BR /&gt;if the DDR timing/training were not generated properly, it will lead hangs/not work in &lt;BR /&gt;CAAM/PMIC/HDMI and other modules randomly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jan 2022 05:50:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/A-strange-hang-on-custom-imx6ull/m-p/1395932#M185506</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2022-01-07T05:50:39Z</dc:date>
    </item>
    <item>
      <title>Re: A strange hang on custom imx6ull</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/A-strange-hang-on-custom-imx6ull/m-p/1399159#M185793</link>
      <description>&lt;P&gt;Hi，&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/37066"&gt;@igorpadykov&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe i have found the root cause. I use the new version v1.1 DDR config tool(&lt;A href="https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/i-MX6UL-ULL-ULZ-DRAM-Register-Programming-Aids/ta-p/1124015" target="_blank"&gt;https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/i-MX6UL-ULL-ULZ-DRAM-Register-Programming-Aids/ta-p/1124015&lt;/A&gt; ) to create DDR3 parameters instand of the old version v0.01(&lt;A href="https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/i-MX6ULL-DDR3-Script-Aid/ta-p/1127297)" target="_blank"&gt;https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/i-MX6ULL-DDR3-Script-Aid/ta-p/1127297)&lt;/A&gt;. Now with the new DDR3 parameters, i can't reproduce the&amp;nbsp;strange hang.&lt;/P&gt;&lt;P&gt;The main difference of those two&amp;nbsp;DDR3 parameters above is DDR refresh rate, as follow:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="changbaoma_0-1642121515080.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/167597i4764A807B05398B5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="changbaoma_0-1642121515080.png" alt="changbaoma_0-1642121515080.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I don't know how this difference cause&amp;nbsp;the&amp;nbsp;strange hang.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jan 2022 00:54:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/A-strange-hang-on-custom-imx6ull/m-p/1399159#M185793</guid>
      <dc:creator>changbaoma</dc:creator>
      <dc:date>2022-01-14T00:54:58Z</dc:date>
    </item>
  </channel>
</rss>

