Hi,
I’m trying to configure the primary screen for apalis iMX8, i want LVDS output is primary, HDMI is extended.
I was able to configure both display success, but HDMI is now default primary screen. This will produce problem with Qt application when the HDMI is unplug and re-plug.
After reseach, i try to add “priamry;” to imx8qp-apalis-v1-1.dtsi as below:
lvds-channel@0 {
fsl,data-mapping = “spwg”;
fsl,data-width = <24>;
status = “okay”;
primary;
…
But it doesn’t work.
I also try to config the weston.ini but i don’t find how.
The weston.log indicate that the HDMI always load first.
[05:41:26.611] DRM: head ‘HDMI-A-1’ found, connector 148 is connected, EDID make ‘PHL’, model ‘PHL 243V5’, serial ‘ZV0163101444’
[05:41:26.611] DRM: head ‘LVDS-1’ found, connector 151 is connected, EDID make ‘unknown’, model ‘unknown’, serial ‘unknown’
The imx6 have a way to configure by uboot but i don’t find how to do with imx8 because imx8 use drm-backend not fbdev backend.
I believe that it can be configured by device tree but i don’t know how yet.
Please help,
Many thanks,
TDX Wayland with XWayland 5.7.2+build.21 (dunfell) apalis-imx8-07314487 ttyLP1
Apalis-iMX8_Reference-Multimedia-Image
Model: Toradex Apalis iMX8 QuadPlus 2GB V1.1C, Serial# 07314487