Hello, We are trying to bring up our LVDS display with our custom board.
we've patched the device tree imx8mp-evk.dts for the kernel as follows:
lvds_backlight: lvds_backlight {
compatible = "pwm-backlight";
pwms = <&pwm2 0 100000 0>;
status = "okay";
brightness-levels = < 0 1 2 3 4 5 6 7 8 9
10 11 12 13 14 15 16 17 18 19
20 21 22 23 24 25 26 27 28 29
30 31 32 33 34 35 36 37 38 39
40 41 42 43 44 45 46 47 48 49
50 51 52 53 54 55 56 57 58 59
60 61 62 63 64 65 66 67 68 69
70 71 72 73 74 75 76 77 78 79
80 81 82 83 84 85 86 87 88 89
90 91 92 93 94 95 96 97 98 99
100>;
default-brightness-level = <80>;
};
lvds_panel0 {
compatible = "dlc,dlc1010gig";
backlight = <&lvds_backlight>;
port{
panel_lvds0_in: endpoint {
remote-endpoint=<&lvds_out>;
};
};
};
lvds_bridge: lvds-to-hdmi-bridge@4c {
compatible = "ite,it6263";
reg = <0x4c>;
reset-gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
status = "disabled";
port {
it6263_in: endpoint {
remote-endpoint = <&lvds_out>;
};
};
};
&ldb {
status = "okay";
lvds-channel@0 {
fsl,data-mapping = "jeida";
fsl,data-width = <24>;
status = "okay";
port@1{
reg=<1>;
lvds_out: endpoint{
remote-endpoint = <&panel_lvds0_in>;
};
};
};
};
&ldb_phy {
status = "okay";
};
We've built the imx-image-core to test out the LVDS, but at the start-up we get the following log:
[FAILED] Failed to start Weston, a …mpositor, as a system service.
See 'systemctl status weston.service' for details.
Then for the
root@imx8mp-lpddr4-evk:/# weston info
Date: 2022-11-08 UTC
[14:14:37.442] weston 11.0.1
https://wayland.freedesktop.org
Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
Build: lf-6.1.1-1.0.0+
[14:14:37.443] Command line: weston info
[14:14:37.443] OS: Linux, 6.1.1+g32c8c4ce7e52, #1 SMP PREEMPT Thu Mar 2 14:54:17 UTC 2023, aarch64
[14:14:37.443] Flight recorder: enabled
[14:14:37.443] Using config file '/etc/xdg/weston/weston.ini'
[14:14:37.443] Output repaint window is 16 ms maximum.
[14:14:37.443] Loading module '/usr/lib/libweston-11/wayland-backend.so'
[14:14:37.443] Failed to load module: /usr/lib/libweston-11/wayland-backend.so: cannot open shared object file: No such file or directory
[14:14:37.443] fatal: failed to create compositor backend
root@imx8mp-lpddr4-evk:/# systemctl status weston.service
x weston.service - Weston, a Wayland compositor, as a system service
Loaded: loaded (/lib/systemd/system/weston.service; enabled; preset: enabled)
Active: failed (Result: exit-code) since Tue 2022-11-08 14:17:34 UTC; 1min 21s ago
TriggeredBy: * weston.socket
Docs: man:weston(1)
man:weston.ini(5)
http://wayland.freedesktop.org/
Process: 603 ExecStart=/usr/bin/weston --log=${XDG_RUNTIME_DIR}/weston.log --modules=systemd-notify.>
Main PID: 603 (code=exited, status=1/FAILURE)
Nov 08 14:17:34 imx8mp-lpddr4-evk systemd[1]: Starting Weston, a Wayland compositor, as a system service>
Nov 08 14:17:34 imx8mp-lpddr4-evk systemd[1]: weston.service: Main process exited, code=exited, status=1>
Nov 08 14:17:34 imx8mp-lpddr4-evk systemd[1]: weston.service: Failed with result 'exit-code'.
Nov 08 14:17:34 imx8mp-lpddr4-evk systemd[1]: Failed to start Weston, a Wayland compositor, as a system >
root@imx8mp-lpddr4-evk:/# journalctl -xeu weston.service
--
-- A start job for unit weston.service has begun execution.
--
-- The job identifier is 118.
Nov 08 14:00:22 imx8mp-lpddr4-evk systemd[1]: weston.service: Main process exited, code=exited, status=1>
-- Subject: Unit process exited
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- An ExecStart= process belonging to unit weston.service has exited.
--
-- The process' exit code is 'exited' and its exit status is 1.
Nov 08 14:00:22 imx8mp-lpddr4-evk systemd[1]: weston.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- The unit weston.service has entered the 'failed' state with result 'exit-code'.
Nov 08 14:00:22 imx8mp-lpddr4-evk systemd[1]: Failed to start Weston, a Wayland compositor, as a system >
-- Subject: A start job for unit weston.service has failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A start job for unit weston.service has finished with a failure.
--
-- The job identifier is 118 and the job result is failed.
Nov 08 14:17:34 imx8mp-lpddr4-evk systemd[1]: Starting Weston, a Wayland compositor, as a system service>
-- Subject: A start job for unit weston.service has begun execution
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A start job for unit weston.service has begun execution.
--
-- The job identifier is 548.
Nov 08 14:17:34 imx8mp-lpddr4-evk systemd[1]: weston.service: Main process exited, code=exited, status=1>
-- Subject: Unit process exited
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- An ExecStart= process belonging to unit weston.service has exited.
--
-- The process' exit code is 'exited' and its exit status is 1.
Nov 08 14:17:34 imx8mp-lpddr4-evk systemd[1]: weston.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- The unit weston.service has entered the 'failed' state with result 'exit-code'.
Nov 08 14:17:34 imx8mp-lpddr4-evk systemd[1]: Failed to start Weston, a Wayland compositor, as a system >
-- Subject: A start job for unit weston.service has failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A start job for unit weston.service has finished with a failure.
--
-- The job identifier is 548 and the job result is failed.
lines 5-60/60 (END)
What could be wrong in our position. Thank you in advance!
Best Regards.