Introduction
-
i.MX8MP + LVDS/MIPI-DSI + LF5.15.71
Notice: The adaptations mentioned in this article are based on tests and demonstrations using LVDS (BOE EV121WXM-N10-1850) and MIPI-DSI (MX8-DSI-OLED1). Further adaptations will be required for customers using displays from different manufacturers and models.
Demo Videos Based on i.MX8MP+LVDS
-
i.MX 8MP EVK
-
LVDS Screen: LVDS BOE EV121WXM-N10-1850
-
LVDS Interface Adapter: XMX-LVDS-MINISAS Adapter
Demo Videos Based on i.MX8MP+MIPI-DSI
-
i.MX 8MP EVK
-
MIPI Screen:MX8-DSI-OLED1 (RM67191)
Notice: A new version of MIPI-DSI screens (RM67199, MX8-DSI-OLED1A) can also be used with the EVK. However, since it is a Smart Panel (with built-in RAM), it can maintain the display of the last frame even when data signals stop transmitting. Based on this feature, if customers choose to use a Smart Panel, we only need to ensure that the EN signal is not pulled low (and the PWM signal under backlight conditions is not pulled low) to achieve continuous display.
Relevant Modules and Modification Approach
U-Boot
-
Enable the LVDS (MIPI-DSI) screen we intend to use in U-Boot, ensuring that the NXP logo displays correctly.
Notice: The default version BSP does not support PWM during the U-Boot phase. If the screen used by the customer requires PWM, relevant drivers need to be added and enabled.
-
Ensure that the relevant modules are not turned off at the end of U-Boot. Let the system pause at the end of U-Boot during the startup process. Check the display of the NXP logo to ensure that the modifications to the U-Boot part are correct and complete.
-
Determine the frame buffer address used by LCDIF in U-Boot. This address will be set as reserved memory in the subsequent Kernel modifications to ensure it is not cleared or modified.
Kernel
-
Modify the driver and DTB in the Kernel to enable the LVDS (MIPI-DSI) screen we intend to use and ensure proper display during the startup process and Weston phase.
-
Set the U-Boot and Kernel startup processes to use the same frame buffer for display output and ensure it is not cleared or modified.
-
Ensure that the power supply connected to the LVDS (MIPI-DSI) screen can continuously supply power.
-
Ensure that the EN signal is not pulled low during the Kernel startup process. If the screen also introduces backlight, we need to ensure that the PWM signal is not pulled low during startup.
-
Modify the driver for the display-related modules. We hope to continue enabling the modules as in U-Boot, ensuring that there are no hardware operations on the display module during the Kernel startup that cause screen flickering.
-
Ensure that all the above modifications do not affect the normal startup and display of Weston.
Conclusion