i.MX6 Dual Lite hang at u-boot because IPUIRQ_2_STATREG check

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

i.MX6 Dual Lite hang at u-boot because IPUIRQ_2_STATREG check

1,023 次查看
m_c
Senior Contributor I

Customer found i.MX6 Dual Lite hang randomly at u-boot because IPUIRQ_2_STATREG check.

It only happen power supply 2 min, and shutdown 1 min at 60C. But not happen at 25~30C.

Also not happen power always supply at 60C by reboot at kernel.

i.MX6 Dual Lite

DDR3 2GB

Yocto 1.7

u-boot 2014.04

kernel 3.14.28

<uboot_root>/driver/video/ipu_disp.c

void ipu_dp_dc_disable(ipu_channel_t channel, unsigned char swap)

{

...

                /* Make sure that we leave at the irq starting edge */

                __raw_writel(IPUIRQ_2_MASK(irq), IPUIRQ_2_STATREG(irq));

                do {

                        reg = __raw_readl(IPUIRQ_2_STATREG(irq));

                } while (!(reg & IPUIRQ_2_MASK(irq)));

}

(PS: IPUIRQ_2_MASK(irq)=8, IPUIRQ_2_STATREG(irq) = 0x2600238)

标签 (1)
0 项奖励
3 回复数

588 次查看
igorpadykov
NXP Employee
NXP Employee

Hi m.c.

as this depends on temperature, may be suggested to

check Design Check List, in particular capacitor recommendations

and check power suppiles with oscilloscope during power up sequence

https://community.freescale.com/docs/DOC-93819  

Also please check that no external voltages were applied to processor before power-up.

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励

588 次查看
chrislin_wpi
Contributor II

Dear Igor,

We also have same problem at temperature 25C.

Our BSP U-boot version is U-Boot 2016.03. Kernel version is 4.1.15_2.0.0_ga.

The fail rate is 10%.

Do you have any suggestion for the hardware check point?

For the firmware, I found the patch on the website as below:

[U-Boot] imx: ipu: fix occasional hang following disabling of channel - Patchwork 

it add 50ms delay after ipu_dp_dc_disable(channel, 0).

Do you have any comment for it?

Best Regards

Chris Lin

0 项奖励

588 次查看
igorpadykov
NXP Employee
NXP Employee
0 项奖励