I am using i.MX 8M NANO Evaluation kit connected with 10.5inch Capacitive Touch AMOLED, HDMI, 2560×1600 2K Resolution, Optical Bonding. I can find that "fsl-imx8mn-ddr4-evk-rm67191.dtb" fdt file is booting up but getting error at the last as mentioned below and supports only one resolution 1080x1920.
Please do guide me to resolve the errors and also provide an fdt file that supports 2560x1600 2k resolution.
imx_sec_dsim_drv 32e10000.mipi_dsi: wait pkthdr tx done time out
[ 7.571675] panel-raydium-rm67191 32e10000.mipi_dsi.0: [drm:rad_panel_enable] *ERROR* Failed to send MCS (-16)
[ 7.581734] imx_sec_dsim_drv 32e10000.mipi_dsi: panel enable failed: -16
iMX8MNANO
you can refer to the driver for rm76191, change it according to your panel
https://github.com/nxp-imx/linux-imx/blob/lf-6.1.y/drivers/gpu/drm/panel/panel-raydium-rm67191.c
static const struct drm_display_mode default_mode = {
.clock = 121000,
.hdisplay = 1080,
.hsync_start = 1080 + 20,
.hsync_end = 1080 + 20 + 2,
.htotal = 1080 + 20 + 2 + 34,
.vdisplay = 1920,
.vsync_start = 1920 + 10,
.vsync_end = 1920 + 10 + 2,
.vtotal = 1920 + 10 + 2 + 4,
.width_mm = 68,
.height_mm = 121,
.flags = DRM_MODE_FLAG_NHSYNC |
DRM_MODE_FLAG_NVSYNC,
};
Hi Joanxie,
Thank you for your response. I would like to get the detailed instructions for making the changes in the drm rm76191 including the path of the file and how to compile the file and boot on the i.MX 8M nano Evk board. It will be of great help for me.
Thank you,
Rohan R E
don't have such document, you need porting by yourself according to rm67191, if you have any issue when you porting, you can contact us, for how to deploy and build uboot or kernel, you can refer to the enclosed file
if you need nxp help you porting, you can consult this from professional support