LS1028a-rdb doesn't detect display

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LS1028a-rdb doesn't detect display

1,321 Views
andrejk
Contributor I

Hi!

I'm trying to make the DP port work, I tried several monitors and HDMI/DP cables, LSDK 19.06, 19.09 and 20.04, two versions of firmwares (23029 and the one from 20.04 -> 32955). But no matter what I do, the display driver doesn't detect the monitor, see below:

[ 0.000000] Linux version 4.19.90 (root@fbubuntu) (gcc version 7.5.0 (Ubuntu/Linaro 7.5.0-3ubuntu1~18.04)) #2 SMP PREEMPT Tue May 12 12:51:02 CEST 2020
[ 0.000000] Machine model: LS1028A RDB Board

...
Kernel command line: console=ttyS0,115200 root=/dev/ram0 earlycon=uart8250,mmio,0x21c0500 ramdisk_size=0x2000000 default_hugepagesz=2m hugepagesz=2m hugepages=256 video=1920x1080-32@60 cma=256M iommu.passthrough=1 arm-smmu.disable_bypass=0

...

[ 3.484345] [drm] found ARM Mali-DP500 version r1p2
[ 3.489400] [drm] Resolution 3840x2160@60 is enabled
[ 3.494391] [drm] Resolution 1920x1080@60 is enabled
[ 3.499374] [drm] Resolution 1280x720@60 is enabled
[ 3.504273] [drm] Resolution 720x480@60 is enabled
[ 3.509084] i.mx8-hdp f200000.hdp: lane_mapping 0x4e
[ 3.514070] i.mx8-hdp f200000.hdp: edp_link_rate 0x06
[ 3.519141] i.mx8-hdp f200000.hdp: dp_num_lanes 0x04
[ 3.524203] [drm] Started firmware!
[ 3.527707] [drm] CDN_API_CheckAlive returned ret = 0
[ 3.532781] [drm] Firmware version: 23029, Lib version: 20691
[ 3.538572] [drm] CDN_API_MainControl_blocking (ret = 0 resp = 1)
[ 3.544727] [drm] CDN_API_General_Test_Echo_Ext_blocking (ret = 0 echo_resp = echo test)
[ 3.552859] [drm] CDN_API_General_Write_Register_blockin ... setting LANES_CONFIG
[ 3.560429] [drm] pixel engine reset
[ 3.564026] [drm] CDN_*_Write_Register_blocking ... setting LANES_CONFIG 4e
[ 3.572787] [drm] AFE_init
[ 3.575512] [drm] deasserted reset
[ 3.579009] Wait for A2 ACK
[ 3.603650] [drm] AFE_power exit
[ 3.606892] [drm] CDN_API_DPTX_SetVideo_blocking (ret = 0)
[ 3.612484] mali-dp f080000.malidp: bound f200000.hdp (ops imx_hdp_imx_ops)
[ 3.619619] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 3.626263] [drm] No driver support for vblank timestamp query.
[ 3.632262] [drm] Cannot find any crtc or sizes
[ 3.637107] [drm] Initialized mali-dp 1.0.0 20160106 for f080000.malidp on minor 0

...

[    3.814000] [drm] HDMI/DP Cable Plug Out

Unfortunately the user manual is very inconsistent, because it has info for some old LSDK version apparently, e.g.

# insmod drm_panel_orientation_quirks.ko # insmod drm.ko  # insmod drm_kms_helper.ko # insmod imx_hdp_common.ko # insmod mali-dp.ko  # insmod imx-hdptx.ko

...

[ 2.588772] mali-dp f080000.display: bound f1f0000.phy (ops imx_hdp_imx_ops)

imx-hdptx doesn't even exist, as far as I can see...

Any ideas how to solve this? It seems that the 5.4 kernel is even more out of sync with the documentation, I couldn't easily enable the HDP driver there, even (perhaps the LS1028 DRM stuff is unsupported there?)...

0 Kudos
Reply
3 Replies

1,225 Views
andrejk
Contributor I

Update: Switched to a DP-DP cable and DP monitor, it seems to work now. I wonder which HDMI/DP cables are supported then...

0 Kudos
Reply

1,225 Views
baiyu
Contributor I

Hi, Andrej Krutak

1.as you mentioned you used a DP-DP cable to connect the monitor?Which port do you used on the board?UART2?

pastedImage_1.png

2. Does that means the openil can only be displayed by this method?

Thanks a lot.

0 Kudos
Reply

1,225 Views
andrejk
Contributor I

Not sure how this correlates, but UART1. There were multiple issues I had toworkaround, including - DP-HDMI is apparently not supported (out-of-box) with LSDK 19.09 - instead 'i2c mw ox66 0x54 0x0' has to be done to enable power to DP_PWR. That's fixed in LSDK 20.04 uboot. Then HDP firmware has to match the linux driver and it seems to work...

0 Kudos
Reply