From patchwork Fri Jan 24 19:26:26 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 240075 List-Id: U-Boot discussion From: festevam at gmail.com (Fabio Estevam) Date: Fri, 24 Jan 2020 16:26:26 -0300 Subject: U-Boot Logo showing incorrect colors with eLCDIF In-Reply-To: <20200123153641.4fdc3e1b@crub> References: <20200123153641.4fdc3e1b@crub> Message-ID: Hi Anatolij, On Thu, Jan 23, 2020 at 11:36 AM Anatolij Gustschin 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: 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 --- 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 {