IMX8mp uboot splash on generic native LVDS panel on LVDS1

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

IMX8mp uboot splash on generic native LVDS panel on LVDS1

1,323 Views
ufnguru
Contributor I

I need to support Uboot splash screen on native LVDS panel on LVDS1 on the EVK.

I saw the patches in: https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/Add-i-MX8MP-LVDS-driver-in-uboot/ta-p/14...

Those appear to be for a panel connected via the bridge or for a parallel interface panel.

Our panel works under Linux with the following device tree source:

// SPDX-License-Identifier: GPL-2.0+
/*
* Copyright 2023 JOI
*/

#include "imx8mp-evk.dts"

/ {
lvds1_panel {
compatible = "panel-lvds";
status = "okay";
backlight = <&lvds_backlight>;
data-mapping = "vesa-24";
width-mm = <216>;
height-mm = <135>;
panel-timing {
clock-frequency = <72400000>;
hactive = <1280>;
vactive = <800>;
hback-porch = <80>;
hfront-porch = <48>;
vback-porch = <3>;
vfront-porch = <29>;
hsync-len = <1>;
vsync-len = <6>;
};

port {
panel1_lvds_in: endpoint {
remote-endpoint = <&lvds1_out>;
};
};
};
};

&ldb {
status = "okay";

lvds-channel@1 {
fsl,data-mapping = "spwg";
fsl,data-width = <24>;
status = "okay";

port@1 {
reg = <1>;

lvds1_out: endpoint {
remote-endpoint = <&panel1_lvds_in>;
};
};
};
};

What should my Uboot device tree source look like to support displaying a splash image on our panel?

 

 

0 Kudos
Reply
7 Replies

1,289 Views
ufnguru
Contributor I

Also, can we place our splash screen (1280x800) .bmp file in the boot partition fat directory and it be found and displayed? Should it be named any specific name?

 

0 Kudos
Reply

1,287 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

A1) yes

A2) No.

Regards

0 Kudos
Reply

1,280 Views
ufnguru
Contributor I

Regarding my original question do I need to add our device tree source for our panel?

0 Kudos
Reply

1,290 Views
ufnguru
Contributor I

Can we add those lines to imx8mp_evk.h?

0 Kudos
Reply

926 Views
mengfei
Contributor III

can you achieve it ? and how to achieve it?

0 Kudos
Reply

1,290 Views
ufnguru
Contributor I

Our source code does not have u-boot-imx/include/configs/mx8_common.h

0 Kudos
Reply

1,293 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

All display support splash screen in the Linux BSP,

Comment the blow defined config in this location "u-boot-imx/include/configs/mx8_common.h"

#define CONFIG_SPLASH_SCREEN
#define CONFIG_SPLASH_SCREEN_ALIGN
#define CONFIG_BMP_16BPP
#define CONFIG_VIDEO_LOGO
#define CONFIG_VIDEO_BMP_LOGO

regards

0 Kudos
Reply