imx8m change display mipi dsi - TechNexion/u-boot-edm GitHub Wiki
Change default display to 5-inch MIPI-DSI panel (ILI9881 controller)
Method 1. Change to load the DTB with enabled MIPI under u-boot prompt
setenv fdt_file pico-8m-dcss-ili9881c.dtb
saveenv
Method 2. Change to load the DTB with enabled MIPI via uENV.txt (Yocto 2.2 doesn't support)
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