AnsweredAssumed Answered

i.MX6 DCIC freeze

Question asked by Mario Schuknecht on Mar 7, 2017
Latest reply on Mar 10, 2017 by Mario Schuknecht

We use DCIC in our system. Sometimes the system freezes.
We use kernel 4.1.15, Yocto as build environment, and the device tree is configured as follows:

 

dcic1: dcic@020e4000 {
   compatible = "fsl,imx6q-dcic";
   reg = <0x020e4000 0x4000>;
   interrupts = <0 124 IRQ_TYPE_LEVEL_HIGH>;
   clocks = <&clks IMX6QDL_CLK_DCIC1>, <&clks IMX6QDL_CLK_DCIC1>;
   clock-names = "dcic", "disp-axi";
   gpr = <&gpr>;
   status = "disabled";
};

 

&dcic1 {
   dcic_id = <0>;
   dcic_mux = "dcic-lvds0";
   status = "okay";
};

 

The demo program mxc_dcic_test.out from the imx-test package works without problems. 

I can create a similar behavior when the line 
      Ioctl (fd_fb0, FBIOBLANK, FB_BLANK_UNBLANK);

is removed in the main function from mxc_dcic_test.c.

 

echo 1 > /sys/class/graphics/fb0/blank
and
mxc_dcic_test.out -dev 0
cause the system to freeze immediately.

 

Has anyone observed this behavior? Or can give hints how I can find the error?

Outcomes