Need kernel configuration/build settings for MIPI DSI on iMX8

cancel
Showing results for 
Search instead for 
Did you mean: 

Need kernel configuration/build settings for MIPI DSI on iMX8

78 Views
RonIovine
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
https://wayland.freedesktop.org
Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
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/drm-backend.so'
[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

60 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi Ron

 

for kernel options one can look at sect.6.4.2.4 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:   https://lists.yoctoproject.org/g/meta-freescale

 

Best regards
igor

0 Kudos