Hi all!
I try to integrate Ortustech com43h4m78ulc mipi-dsi display with MX6Q-SabreSD board.
I passed to kernel this command line:
console=ttymxc0,115200 root=/dev/mmcblk2p2 rootwait rw video=mxcfb0:dev=mipi_dsi,TRULY-WVGA,if=RGB24
ang got this errors while booting:
mxc_mipi_dsi 21e0000.mipi: i.MX MIPI DSI driver probed
mxc_sdc_fb fb.24: registered mxc display driver mipi_dsi
mxc_mipi_dsi 21e0000.mipi: mipi_dsi_pkt_read err:-5, data:0x0.
mxc_mipi_dsi 21e0000.mipi: MIPI DSI LCD not detected!
mxc_mipi_dsi 21e0000.mipi: failed to init mipi lcd.
mxc_sdc_fb fb.24: enable error, dispdrv:mipi_dsi.
detected fb_set_par error, error code: -22
mxc_sdc_fb fb.24: Error fb_set_var ret:-22
mxc_sdc_fb: probe of fb.24 failed with error -22
I found that error appears in mxcfb_hx8369_wvga.c file, so, I disabled HX8369_ID check, but it did not help me.
I see
mxc_mipi_dsi 21e0000.mipi: i.MX MIPI DSI driver probed
mxc_sdc_fb fb.24: registered mxc display driver mipi_dsi
without errors, but the display is still black.
Solved! Go to Solution.
Hi all,
The start-up sequence for controller is a hardware-dependent. So the one need to configure mxcfb_hx8369_wvga.c file accordingly to display "Power-Up sequence" which you can find in the display controller datasheet. mipi-dsi driver is a hardware-independent, no need to configure it's code.
I configured my display driver with the help of superior Ortustech techsupport, so I attached it to this message as an example.
Hope this will be helpful.
Best regards.
Hi all,
The start-up sequence for controller is a hardware-dependent. So the one need to configure mxcfb_hx8369_wvga.c file accordingly to display "Power-Up sequence" which you can find in the display controller datasheet. mipi-dsi driver is a hardware-independent, no need to configure it's code.
I configured my display driver with the help of superior Ortustech techsupport, so I attached it to this message as an example.
Hope this will be helpful.
Best regards.
Dear Ivan,
I am using your code for a similar display (COM40H4M66ULC). but I have some doubts. Can I ask you for some clarification ?
In the fscl kernel code there is three possible point where the display driver is called:
mipi_dsi.c
mipi_dsi_northwest.c
mipi_dsi_samsung.c
which of the three did you use?
in the structure below I did not understand how the value 37880 was obtained.
static struct fb_videomode truly_lcd_modedb[] = {
{
"TRULY-WVGA", 64, 480, 800, 37880,
8, 8,
6, 6,
8, 6,
FB_SYNC_OE_LOW_ACT,
FB_VMODE_NONINTERLACED,
0,
},
};
Best regards.
Hi Ivan
please check lcd timings and clocks as described at
https://community.freescale.com/thread/355988
https://community.freescale.com/thread/305613
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------