AnsweredAssumed Answered

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

Question asked by m.c on Sep 13, 2016
Latest reply on Sep 13, 2016 by igorpadykov

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)

Outcomes