Skip to contentSkip to conversation

Bad colors on BMP display on LCD

U-Boot Guillaume Gardet 3 participants 5 messages Feb 26, 2015 – Mar 4, 2015

lore
Share & tools
lore
#0 lore raw

Hi,

I am trying to display a BMP image on a Samsung Chromebook (snow), but I get wrong colors. The image is displayed but colors are bad.

I used my own image and images provided in tools/logos/ folder, thay are all ok on the Sabrelite board (HDMI output) but displayed in bad colors on the samsung chromebook (LCD screen).

What could be wrong? What am I missing?

Guillaume

#1 lore raw

Hi Guillaume,

which imageformat (bpp) do you have?
which u-boot framebuffer driver is used ?

best regards,
HAnnes

Quoted 20 lines · Guillaume Gardet

Hi,

I am trying to display a BMP image on a Samsung Chromebook (snow), but I get wrong colors. The image is displayed but colors are bad.

I used my own image and images provided in tools/logos/ folder, thay are all ok on the Sabrelite board (HDMI output) but displayed in bad colors on the samsung chromebook (LCD screen).

What could be wrong? What am I missing?

Guillaume

_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

#2 lore raw

Hi,

Le 26/02/2015 18:10, Hannes Petermaier a ?crit :

Quoted 3 lines

Hi Guillaume,

which imageformat (bpp) do you have?

It depends on images tested. Most of them are: "PC bitmap, Windows 3.x format, XXX x YY x 8". Just see tools/logos/*.bmp in U-Boot sources.

I also created my own BMP image using convert tool with the following option : "-depth 8 -colors 256 -compress none -alpha off".

Quoted 1 line

which u-boot framebuffer driver is used ?

On snow config, this should be the exynos framebuffer driver.

Guillaume

Quoted 24 lines

best regards,
HAnnes

Quoted 17 lines · Guillaume Gardet

Hi,

I am trying to display a BMP image on a Samsung Chromebook (snow), but I get wrong colors. The image is displayed but colors are bad.

I used my own image and images provided in tools/logos/ folder, thay are all ok on the Sabrelite board (HDMI output) but displayed in bad colors on the samsung chromebook (LCD screen).

What could be wrong? What am I missing?

Guillaume

_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

#3 lore raw
Quoted 1 line · Guillaume Gardet

Hi,

Hi Guillaume,

Quoted 5 lines

Le 26/02/2015 18:10, Hannes Petermaier a ?crit :

Quoted 2 lines

Hi Guillaume,

Quoted 8 lines
Quoted 1 line

which imageformat (bpp) do you have?

It depends on images tested. Most of them are: "PC bitmap, Windows 3.x format, XXX x YY x 8". Just see tools/logos/*.bmp in U-Boot sources.

I also created my own BMP image using convert tool with the following option : "-depth 8 -colors 256 -compress none -alpha off".

On my boards i use 24bpp BMPs maybe you try that. I will try display some logos out of tools/logos/*.bmp on my boards this evening.

Quoted 9 lines
Quoted 3 lines

which u-boot framebuffer driver is used ?

On snow config, this should be the exynos framebuffer driver.

Guillaume

best regards,
Hannes

#4 lore raw
In reply to Guillaume Gardet

Hi

Component order

Michael

Quoted 19 lines · Guillaume Gardet

Hi,

I am trying to display a BMP image on a Samsung Chromebook (snow), but I get wrong colors. The image is displayed but colors are bad.

I used my own image and images provided in tools/logos/ folder, thay are all ok on the Sabrelite board (HDMI output) but displayed in bad colors on the samsung chromebook (LCD screen).

What could be wrong? What am I missing?

Guillaume

_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot