Apalis IMX8 booting stuck

Hello Community,
We are using Apalis IMX8QP and Apalis IMX8QM for LCD display applications, for that in the dtsi file we made some configurations according to our panel. We are able to up the LCD display and played our application on the display. This is working fine almost every time, but few times SOM getting stuck while booting, after some time booting is resuming and again stuck for sometime and this is happening for few minutes. After login i am able to send commands to SOM and playing a video using a command, in SOM terminal it showing like video playing without any issue, but the LCD display got stuck( no video is playing on the display).
I am attaching dtsi file , boot data and a video file ( it shows problem ).

imx8-apalis-v1.1.dtsi (47.0 KB)
Booting_Issue.txt (70.2 KB)

Hi @Muthyam ,

  1. Is this the custom image that you are booting?
  2. Do you see the same behaviour (booting stuck and resume) if display is not connected ?
  3. Please always send the device tree files in git diff format so that we can see the changes

Hello @sahil.tx

  1. Is this the custom image that you are booting?
    We have built the image from Yocto project only, in that image we made panel related changes in dtsi file.
    We have installed nginx and meta-webkit for browser related video playing application.(refer local.conf)

  2. Do you see the same behaviour (booting stuck and resume) if display is not connected ?
    Yes i observed the same behavior without Display also.

  3. Please always send the device tree files in git diff format so that we can see the changes
    I am attaching here a patch.txt file,
    Along side, i am also attaching local.conf file for your reference

    local.conf (11.8 KB)
    patch.txt (4.3 KB)

Hi @Muthyam,
Thanks for the answers. Can you also check if the same behavious is observed on Toradex default images?

Hello @sahil.tx
No issue observed with Toradex default image.

Hello @sahil.tx ,
Waiting for your reply.

Hi @Muthyam ,
By looking at the following boot logs shared by you

 20.189944] [drm:drm_atomic_helper_wait_for_dependencies] *ERROR* [CRTC:125:crtc-3] flip_done timed out
[   30.429923] [drm:drm_atomic_helper_wait_for_dependencies] *ERROR* [CONNECTOR:151:LVDS-1] flip_done timed out

It seems to be related to drm driver (drivers/gpu/drm/drm_atomic_helper.c) page flipping which may be reated to display timings.

How often you are seeing this issue and will you be able to share the steps to reproduce?
Also, is this happening with this display only or with other display as well?

Do you have similar display from different manufacturer to further test ? This will help us to narrow down issue if it is related to display timings or not.

Hello @sahil.tx,
We are observed that issue very frequently like once in 30 times( power cycle reset or reboot), later we found that in overlays (i.e in /boot folder) it default connected to hdmi, then we commented that overlay, from then the issue occurring frequency got reduced, but it is still present like once 80 times.

We tried this with two different displays, one display is from AUO and other one from SEC make.
But for the both displays, we are using same timings in dtsi file. There is no specific steps to reproduce the issue, do power cycle reset or system reboot continuously.

I am attaching panel timings of those two displays and patch file for dtsi modifications.

AUO Timing Specifications

SEC Timing Specifications

patch.txt (4.2 KB)

Hi @Muthyam,

Is the issue still persists ?

Hello @sahil.tx ,
Yes, the issue is still persist.