Skip to content

imx8mm change display mipi dsi

Ray Chang edited this page Jun 11, 2019 · 7 revisions

Change default display to 5-inch MIPI-DSI panel (ILI9881 controller)

Change to load the DTB with enabled MIPI under u-boot prompt

For PICO-IMX8MM

setenv fdt_file imx8mm-pico-pi-ili9881c.dtb
saveenv

For FLEX-IMX8MM

setenv fdt_file imx8mm-flex-pi-ili9881c.dtb
saveenv

Change MIPI-DSI panel to landscape mode in wayland:

By default, 5-inch MIPI-DSI panel(ILI9881) is portrait mode.

After booting into Yocto system, add settings in weston.ini as below:

vi /etc/xdg/weston/weston.ini

[output]
name=DSI-1
transform=90
mode=1280x720@60

Restart weston or reboot system to apply the settings.

systemctl restart weston