TechNexion / tn-imx-yocto-manifest

TechNexion i.MX Yocto manifests
25 stars 11 forks source link

EDM-G-IMX8MP + LVDS display #30

Open miro-p opened 2 years ago

miro-p commented 2 years ago

There are no instructions on how to build an imx-image-desktop image for the EDM-G-IMX8MP on the WB motherboard with 10" LVDS display

wigcheng commented 2 years ago

We had Ubuntu instruction on our development wiki:

Release Notes: https://developer.technexion.com/docs/ubuntu-2004-gnome-release-notes

User Guide: https://developer.technexion.com/docs/building-ubuntu-2004-gnome

10"LVDS? That is a overlay file only, just need change u-boot argument.

Thanks.

miro-p commented 2 years ago

Hi, thanks for the information.

I paused u-boot and checked if overlay file for 10" LVDS display is present

u-boot=> fatls mmc 1 24887304 Image 8208 hello_world.bin 3879 imx8mp-edm-g-wb-hdmi2mipi-tc358743-dual.dtbo 2094 imx8mp-edm-g-wb-hdmi2mipi-tc358743-single-cam1.dtbo 2841 imx8mp-edm-g-wb-lvds-vl10112880.dtbo 2155 imx8mp-edm-g-wb-lvds-vl15613676.dtbo 2184 imx8mp-edm-g-wb-lvds-vl215192108.dtbo etc...

u-boot=> setenv dtoverlay "lvds-vl10112880"

u-boot=> saveenv Saving Environment to MMC... Writing to MMC(1)... OK

u-boot=> boot

Booting from mmc ... 85942 bytes read in 2 ms (41 MiB/s) Overlaying lvds-vl10112880... 2841 bytes read in 1 ms (2.7 MiB/s) Moving Image from 0x40480000 to 0x40600000, end=41ec0000 Flattened Device Tree blob at 43000000 Booting using the fdt blob at 0x43000000 Using Device Tree in place at 0000000043000000, end 0000000043020fff fail to get display timings probe video device failed, ret -22

Starting kernel ...

HDMI output is functional, but VL101-12880YL-C13 LVDS display still doesn't work.

miro-p commented 2 years ago

Hi, I checked HW and I found that there was a problem with 12V backlight voltage. After resolving of HW issue display started to work. Could you advise how to set correct resolution? I tried kanshi, wdisplays, wlr-randr. All attempts ended with "compositor doesn't support wlr-output-management-unstable-v1"