Hi Ivaylo,

> Am 31.10.2022 um 10:58 schrieb Ivaylo Dimitrov <ivo.g.dimitrov...@gmail.com>:
> 
> 
> 
> On 31.10.22 г. 9:57 ч., H. Nikolaus Schaller wrote:
>>> Am 31.10.2022 um 08:44 schrieb H. Nikolaus Schaller <h...@goldelico.com>:
>>> 
>>> Hi Ivaylo,
>>> 
>>>> Am 31.10.2022 um 08:05 schrieb Ivaylo Dimitrov 
>>>> <ivo.g.dimitrov...@gmail.com>:
>>>> 
>>>> HI Nikolaus,
>>>> 
>>>> On 31.10.22 г. 0:08 ч., H. Nikolaus Schaller wrote:
>>>>> Hi Ivaylo,
>>>>> it took a while until I found time to test newer kernels (mainline + 
>>>>> Letux additions)
>>>>> on the OMAP5 Pyra but unfortunately I did not get screen display for 
>>>>> v6.1. Even worse,
>>>>> the console was flooded by
>>>> 
>>>> Could you elaborate on that - do you have anything on the display (during 
>>>> boot or dunno). Do you have simplefb enabled, so boot log to be visible on 
>>>> the display?
>>> 
>>> No bootlog enabled but I have some printk in the panel driver. It is 
>>> initially enabled, then disabled and enabled again. Then the issues start...
>>> 
>>>> Is that wayland you are trying to run? Do you have PVR driver enabled? Did 
>>>> you try to boot vanilla kernel?
>>> 
>>> I have tested with Debian Stretch with standard Xorg with "omap" driver. 
>>> PVR is not enabled.
>> Have cross-checked: my setup uses the fbdev driver.
> 
> omapfb and not omapdrm? or I am missing something.

I just have "fbdev" in the xorg.conf. Certainly not the best choice but it 
seems to be the most generic setup without having to tweak every combination of 
user-space release and kernel version and hardware variant.

Section "Monitor"
                Identifier              "lcd"
                VendorName              "BOE"
                ModelName               "W677L"
                Option                  "Rotate" "right"        # use TILER 
rotation
                DisplaySize             111 62          # LCD size in 
millimeters
EndSection

Section "Device"
                Identifier              "display0"
                Driver                  "fbdev"
                Option                  "Monitor-DSI-1" "lcd"
                Option                  "HWcursor" "False"
EndSection

Of course the kernel config uses DRM_OMAP:

root@letux:~# uname -a
Linux letux 6.1.0-rc2-letux-lpae+ #11029 SMP PREEMPT Sun Oct 30 22:41:25 CET 
2022 armv7l GNU/Linux
root@letux:~# 
root@letux:~# ls -l /sys/devices/platform/omapdrm.0/drm/card1/card1-DSI-1
total 0
lrwxrwxrwx 1 root root    0 Oct 31 10:03 device -> ../../card1
-r--r--r-- 1 root root 4096 Oct 31 10:03 dpms
-r--r--r-- 1 root root    0 Oct 31 10:03 edid
-r--r--r-- 1 root root 4096 Oct 31 10:03 enabled
-r--r--r-- 1 root root 4096 Oct 31 10:03 modes
drwxr-xr-x 2 root root    0 Oct 31 10:03 power
-rw-r--r-- 1 root root 4096 Oct 31 10:03 status
lrwxrwxrwx 1 root root    0 Oct 31 10:00 subsystem -> 
../../../../../../class/drm
-rw-r--r-- 1 root root 4096 Oct 31 10:00 uevent
root@letux:~# 
root@letux:~# gunzip </proc/config.gz | fgrep DRM | fgrep =
CONFIG_DRM=m
CONFIG_DRM_MIPI_DSI=y
CONFIG_DRM_KMS_HELPER=m
CONFIG_DRM_FBDEV_EMULATION=y
CONFIG_DRM_FBDEV_OVERALLOC=100
CONFIG_DRM_LOAD_EDID_FIRMWARE=y
CONFIG_DRM_DISPLAY_HELPER=m
CONFIG_DRM_DISPLAY_HDMI_HELPER=y
CONFIG_DRM_GEM_DMA_HELPER=m
CONFIG_DRM_SCHED=m
CONFIG_DRM_I2C_NXP_TDA998X=m
CONFIG_DRM_ATMEL_HLCDC=m
CONFIG_DRM_OMAP=m
CONFIG_DRM_TILCDC=m
CONFIG_DRM_STM=m
CONFIG_DRM_PANEL=y
CONFIG_DRM_PANEL_DSI_CM=m
CONFIG_DRM_PANEL_SIMPLE=m
CONFIG_DRM_PANEL_BOE_BTL507212_W677L=m
CONFIG_DRM_PANEL_SONY_ACX565AKM=m
CONFIG_DRM_PANEL_TPO_TD028TTEC1=m
CONFIG_DRM_PANEL_TPO_TD043MTEA1=m
CONFIG_DRM_BRIDGE=y
CONFIG_DRM_PANEL_BRIDGE=y
CONFIG_DRM_DISPLAY_CONNECTOR=m
CONFIG_DRM_SIMPLE_BRIDGE=m
CONFIG_DRM_TI_TFP410=m
CONFIG_DRM_TI_TPD12S015=m
CONFIG_DRM_DW_HDMI=m
CONFIG_DRM_DW_HDMI_CEC=m
CONFIG_DRM_IMX=m
CONFIG_DRM_IMX_PARALLEL_DISPLAY=m
CONFIG_DRM_IMX_TVE=m
CONFIG_DRM_IMX_LDB=m
CONFIG_DRM_IMX_HDMI=m
CONFIG_DRM_VC4=m
CONFIG_DRM_VC4_HDMI_CEC=y
CONFIG_DRM_ETNAVIV=m
CONFIG_DRM_ETNAVIV_THERMAL=y
CONFIG_DRM_MXS=y
CONFIG_DRM_MXSFB=m
CONFIG_SGX_DRM=y
CONFIG_DRM_MXC_EPDC=m
CONFIG_DRM_LEGACY=y
CONFIG_DRM_PANEL_ORIENTATION_QUIRKS=m
CONFIG_DRM_NOMODESET=y
root@letux:~# 
root@letux:~# lsmod | fgrep drm
omapdrm               225280  4
cec                    45056  1 omapdrm
drm_kms_helper        110592  2 display_connector,omapdrm
syscopyarea            16384  1 drm_kms_helper
sysfillrect            16384  1 drm_kms_helper
sysimgblt              16384  1 drm_kms_helper
fb_sys_fops            16384  1 drm_kms_helper
drm                   380928  7 
panel_boe_btl507212_w677l,ti_tpd12s015,pvrsrvkm_omap5_sgx544_116,display_connector,omapdrm,drm_kms_helper
drm_panel_orientation_quirks    16384  1 drm
root@letux:~# 

Hope this is useful information,
Nikolaus

Reply via email to