imx8mm change display mipi dsi - TechNexion/u-boot-tn-imx GitHub Wiki
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
landscape mode
in wayland:
Change MIPI-DSI panel to 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