Require help to connect Waveshare 5 inch HDMI 800×480 display with IMX6Q-SDB running Linux

cancel
Showing results for 
Search instead for 
Did you mean: 

Require help to connect Waveshare 5 inch HDMI 800×480 display with IMX6Q-SDB running Linux

67 Views
amit29
Contributor I

I am trying to connect Waveshare 5 inch HDMI LCD (B), 800×480 display to MCIMX6Q-SDB running Linux
Link to the Display -> https://www.waveshare.com/wiki/5inch_HDMI_LCD_(B)
It is a 800x480 , 5inch 15:9 display

The EDID information is as follows
Pixel Clock: 32MHz
Horizontal Active: 800
Horizontal Blanking: 128
Vertical Active: 480
Vertical Blanking: 45
Horizontal Sync Offset: 40
Horizontal Sync Pulse: 48
Vertical Sync Offset: 13
Vertical Sync Pulse: 3
Horizontal Display Size: 108
Vertical Display Size: 68
Horizontal Border: 0
Vertical Border: 0
Interlaced: false
Stereo Mode: 0
Sync Type: 3


We edited the mxc_edid.c to add the following as per the above EDID information

/* #48: 800x480p@60Hz 15:9 --> Pixel Clock: 32MHz (1/32000000)*1000000000000 = 31250 */
[48] = {
NULL, 60, 800, 480, 31250, 128, 40, 45, 13, 48, 3,
FB_SYNC_HOR_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT,
FB_VMODE_NONINTERLACED, 0
},

and recompiled.

Then in UBoot  gave
setenv mmcargs 'setenv bootargs console=${console},${baudrate} ${smp} root=${mmcroot} video=mxcfb0:dev=hdmi,800x480M@60,if=RGB24'

But I am getting only garbled display. Can anyone guide me with the correct settings or am i doing something wrong ? 

Labels (1)
0 Kudos
1 Reply

58 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi amit29

 

one can try patches provided for such resolutions on

https://community.nxp.com/t5/i-MX-Processors/Bugs-fixed-in-Linux-imx6-HDMI-driver/m-p/393899

 

Best regards
igor

0 Kudos