Hi, NXP experts
I encountered a very strange hang on my custom imx6ull board. My board has 2 RMII ethernet interfaces and 2 USB host interfaces and 1GB DDR3. My hardware design use rmii with 50MHz clk from MAC to PHY. The 1GB DDR3 has been calibrated using NXP DDR tools, and the overnight stress test has been successfully carried out without error. The calibrated DDR parameters have been integrated into u-boot.
Our software is based on L5.4.70_2.3.0 BSP. My board gos well, but the strange hang can be reproducted if ifconfig down both eth0 and eth1 and then wait a small while. 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.
Any of the below condition can not reproduct the hang:
1. Do not ifconfig down both eth0 and eth1.
only ifconfig down one of two do not lead to hang.
2. If ifconfig down both eth0 and eth1, and then quickly run cmd 'top -d 1' , will also not lead to hang.
but will hang soon after quitting the cmd 'top -d 1'.
3. One or both of the two USB interfaces enumerate usb device(eg. a USB drive), will not lead to hang.
if unplug all usb devices will hang soon.
4. Force u-boot using EVK board default 512MB DDR parameters also not lead to hang. That is change the u-boot only.
5. Change linux kernel CPUfreq Governor to 'performance' from 'ondemand' also not lead to hang.
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).
Any suggestion to narrow down the case?
Any help is appreciated.