imx8m change display mipi dsi - TechNexion/u-boot-tn-imx GitHub Wiki
Change default display to 5-inch MIPI-DSI panel (ILI9881 controller)
Step 1. Change to load the DTB with enabled MIPI 5-inch panel under u-boot prompt
fdt_file
Method 1. Set up u-boot environment variable of For i.MX8MQ/i.MX8MM:
Please refer to:
uENV.txt
(Yocto 2.2 doesn't support)
Method 2. Change to load the DTB with enabled MIPI via Use mfgtool to mount eMMC as usb storage on host PC. Then open uEnv.txt file in first FAT partition.
Assign 'mipi5' for 'display' parameter in uEnv.txt
display=mipi5
bootcmd_mmc=run loadimage;run mmcboot;
uenvcmd=run bootcmd_mmc
To specify the resolution for HDMI output:
display=hdmi
displayinfo=video=HDMI-A-1:1280x720@60
mmcargs=setenv bootargs console=${console} root=${mmcroot} cma=${cma_size} ${displayinfo}
bootcmd_mmc=run loadimage;run mmcboot;
uenvcmd=run bootcmd_mmc
weston.ini
to correct coordinate of touch panel for 5 inch MIPI panel
Step 2. Change resolution settings in [output]
#name=HDMI-A-1
#mode=1920x1080@60
#transform=90
name=DSI-1
transform=90
mode=720x1280@60
[shell]
#size=1920x1080