Hello, since Apalis imx6 board doesn’t interact with 1920x720 custom monitor (LA123WF4)
Here is what I have been done so far
- With devshell command, I have modified mxc_hdmi.c / mxc_edid.c / mxc_edid_h as following in HDMI LCD Screen Resolution 1920x720 (vidargs not working)! - Technical Support - Toradex Community
in mxc_hdmi.c
static const struct fb_videomode vga_mode = {
/* 1920x720 @ 60 Hz, 31.5 kHz hsync */
NULL, 60, 1920, 720, 11112, 56, 56, 4, 4, 16, 2,
FB_VMODE_NONINTERLACED | FB_VMODE_ASPECT_8_3, 0
};
in mxc_edid.c
/* #48: 1920x720p@60 16:9 */
[48] = {
NULL, 60, 1920, 720, 11112, 56, 56, 4, 4, 16, 2,
FB_VMODE_NONINTERLACED | FB_VMODE_ASPECT_8_3, 0
},
in mxc_edid.h
#define FB_VMODE_ASPECT_8_3 0x40
#define FB_VMODE_ASPECT_MASK (FB_VMODE_ASPECT_4_3 | FB_VMODE_ASPECT_16_9 | FB_VMODE_ASPECT_8_3)
-
compiling all the changes, and building all images including zImage and dts with yocto
-
in uboot, I have changed
setenv vidargs ‘video=mxcfb0:dev=hdmi,1920x720@60,if=RGB24 video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off fbmem=32M’
But still, it does not work well, the display only gives white screen.
I suspect sereral possible reasons.
-
Might hdmi_timing is wrong calculated. If it is, I was wondering if you could check it out with https://www.lcdtek.co.uk/img/cms/PDF/LA123WF4-SL01_2017.pdf detail information
-
Might use HDMI_ASPECT_64_27 not FB_VMODE_ASPECT_8_3, because I already confirmed that the display works well with the raspberry pie 3 board and below command in config.txt
hdmi_timings=1920 0 0 2 126 720 0 2 2 4 0 0 0 60 0 89456640 8
The last 8 option means HDMI_ASPECT_64_27. So if it is, how can I need to change in mxc_edid.h#define FB_VMODE_ASPECT_64_27 ???
-
Based on the display T-Con board specifications, its input is DVI input using HDMI cable (TMDS), it might be a problem?
Thanks in advance!