U-Boot Logo showing incorrect colors with eLCDIF

Fabio Estevam festevam at gmail.com
Fri Jan 24 20:26:26 CET 2020


Hi Anatolij,

On Thu, Jan 23, 2020 at 11:36 AM Anatolij Gustschin <agust at denx.de> wrote:

> Do you have 'bits-per-pixel' property in your display node in DT?
> Is suitable CONFIG_VIDEO_BPPxx option enabled in your board_defconfig ?

Yes, I have it, but it has the wrong value. It should be 24bpp instead of 16bpp.

I did the following change:

--- a/arch/arm/dts/imx6ul-14x14-evk-u-boot.dtsi
+++ b/arch/arm/dts/imx6ul-14x14-evk-u-boot.dtsi
@@ -4,7 +4,6 @@
  */

        display0: display at 0 {
-               bits-per-pixel = <16>;
+               bits-per-pixel = <24>;
                bus-width = <24>;

                display-timings {

And now I see the U-Boot strings showing with a correct white color.

However, the logo does not print and I have the following error:

Error: 32 bit/pixel mode, but BMP has 8 bit/pixel

How can I fix this mismatch?

Thanks


More information about the U-Boot mailing list