Need kernel configuration/build settings for MIPI DSI on iMX8

Showing results for 
Search instead for 
Did you mean: 

Need kernel configuration/build settings for MIPI DSI on iMX8

Contributor I

Hello, I have an iMX8 mini with an NXP MX8_DSI_OLED1 MIPI monitor.  When I run the standard NXP load (Kernel 4.14.98_2) the monitor/display works fine.  I can put graphics up on it & get touch control.  However, in our product we have our own Yocto Linux (also Kernel 4.14.98_2).  I have the weston/waylan recipe enabled in my build and have tried several menuconfig options in the kernel options -> graphics support section related to iMX/MIPI/DRM/DSI etc, but can't seem to find the right combination of options.  The weston service fails on startup, this is the contents of the logfile.  Any info that might shed any light on what config options and/or other recipes/packages I need to get this working would be greatly appreciated, thanks...

root@device-063f68:~# uname -a
Linux device-063f68 4.14.98imx_4.14.98_2.0.0_ga+g5b9a786804bd #1 SMP PREEMPT Wed Sep 22 17:15:20 UTC 2021 aarch64 GNU/Linux

root@device-063f68:~# cat /var/log/weston.log
Date: 2021-09-21 UTC
[16:02:49.202] weston 5.0.0
Bug reports to:
Build: 5.0.0-33-gfb563901-dirty MGS-4627 [#ccc] weston will turn off when panel-psotion=none and use gplay (2019-03-14 11:30:30 +0800)
[16:02:49.202] Command line: /usr/bin/weston --log=/var/log/weston.log --xwayland --use-g2d=1
[16:02:49.202] OS: Linux, 4.14.98imx_4.14.98_2.0.0_ga+g5b9a786804bd, #1 SMP PREEMPT Wed Sep 22 17:15:20 UTC 2021, aarch64
[16:02:49.204] Using config file '/etc/xdg/weston/weston.ini'
[16:02:49.205] Output repaint window is 16 ms maximum.
[16:02:49.207] Loading module '/usr/lib/libweston-5/'
[16:02:49.215] initializing drm backend
[16:02:49.215] logind: not running in a systemd session
[16:02:49.215] logind: cannot setup systemd-logind helper (-61), using legacy fallback
[16:02:49.216] no drm device found
[16:02:49.216] fatal: failed to create compositor backend

0 Kudos
1 Reply

NXP TechSupport
NXP TechSupport

Hi Ron


for kernel options one can look at sect. Menu Configuration Options    i.MX Linux Reference Manual​

NXP does not support mainline or third party linux releases, for such issues one can post

question on meta-fsl-arm mailing list:


Best regards

0 Kudos