AnsweredAssumed Answered

Uboot 2013.04 of IMX6Solo hang at ipuv3_fb_shutdown()

Question asked by Phuoc Do on Sep 18, 2017
Latest reply on Sep 19, 2017 by igorpadykov

Hi all,

        I have done a reset test IMX6 Solo with Uboot 2013.04 and kernel 3.10.17, the system reset every 15 seconds after startup. After a day, the system hangs at ipuv3_fb_shutdown() function in Uboot. PLease help some advices for this issue! Thanks.

 

void ipuv3_fb_shutdown(void)
{
    printf("\n *********** IN FUNCTION  ipuv3_fb_shutdown\n");
     int i;
     struct ipu_stat *stat = (struct ipu_stat *)IPU_STAT;
    printf("\n *********** %s: ipuv3_fb_shutdown step 1\n", __FUNCTION__);
     for (i = 0; i < ARRAY_SIZE(mxcfb_info); i++) {
          struct fb_info *fbi = mxcfb_info[i];
          if (fbi) {
               struct mxcfb_info *mxc_fbi = fbi->par;
               ipu_disable_channel(mxc_fbi->ipu_ch);
               ipu_uninit_channel(mxc_fbi->ipu_ch);
          }
     }
    printf("\n *********** %s: ipuv3_fb_shutdown step 2 \n", __FUNCTION__);
     for (i = 0; i < ARRAY_SIZE(stat->int_stat); i++) {
          __raw_writel(__raw_readl(&stat->int_stat[i]),
                    &stat->int_stat[i]);
     }
    printf("\n *********** %s: ipuv3_fb_shutdown step 3 --> DONE\n", __FUNCTION__);
}

Best Regards

Phuoc Do

Attachments

Outcomes