public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] Bad colors on BMP display on LCD
@ 2015-02-26 16:52 Guillaume Gardet
  2015-02-26 17:10 ` Hannes Petermaier
  2015-03-04  6:29 ` Michael Trimarchi
  0 siblings, 2 replies; 5+ messages in thread
From: Guillaume Gardet @ 2015-02-26 16:52 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot] Bad colors on BMP display on LCD
  2015-02-26 16:52 [U-Boot] Bad colors on BMP display on LCD Guillaume Gardet
@ 2015-02-26 17:10 ` Hannes Petermaier
  2015-03-03 14:55   ` Guillaume Gardet
  2015-03-04  6:29 ` Michael Trimarchi
  1 sibling, 1 reply; 5+ messages in thread
From: Hannes Petermaier @ 2015-02-26 17:10 UTC (permalink / raw)
  To: u-boot

Hi Guillaume,

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

best regards,
HAnnes

On 2015-02-26 17:52, Guillaume Gardet wrote:
> 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
>
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot] Bad colors on BMP display on LCD
  2015-02-26 17:10 ` Hannes Petermaier
@ 2015-03-03 14:55   ` Guillaume Gardet
  2015-03-04  6:10     ` Hannes Petermaier
  0 siblings, 1 reply; 5+ messages in thread
From: Guillaume Gardet @ 2015-03-03 14:55 UTC (permalink / raw)
  To: u-boot

Hi,


Le 26/02/2015 18:10, Hannes Petermaier a ?crit :
> 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".



> which u-boot framebuffer driver is used ?

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


Guillaume


>
> best regards,
> HAnnes
>
> On 2015-02-26 17:52, Guillaume Gardet wrote:
>> 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
>>
>>
>
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot] Bad colors on BMP display on LCD
  2015-03-03 14:55   ` Guillaume Gardet
@ 2015-03-04  6:10     ` Hannes Petermaier
  0 siblings, 0 replies; 5+ messages in thread
From: Hannes Petermaier @ 2015-03-04  6:10 UTC (permalink / raw)
  To: u-boot

On 2015-03-03 15:55, Guillaume Gardet wrote:
> Hi,
Hi Guillaume,
>
>
> Le 26/02/2015 18:10, Hannes Petermaier a ?crit :
>> 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".
>
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.
>
>
>> which u-boot framebuffer driver is used ?
>
> On snow config, this should be the exynos framebuffer driver.
>
>
> Guillaume
>
best regards,
Hannes

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot] Bad colors on BMP display on LCD
  2015-02-26 16:52 [U-Boot] Bad colors on BMP display on LCD Guillaume Gardet
  2015-02-26 17:10 ` Hannes Petermaier
@ 2015-03-04  6:29 ` Michael Trimarchi
  1 sibling, 0 replies; 5+ messages in thread
From: Michael Trimarchi @ 2015-03-04  6:29 UTC (permalink / raw)
  To: u-boot

Hi

Component order

Michael
 On 26 Feb 2015 17:53, "Guillaume Gardet" <guillaume.gardet@free.fr> wrote:

> 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
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-03-04  6:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-26 16:52 [U-Boot] Bad colors on BMP display on LCD Guillaume Gardet
2015-02-26 17:10 ` Hannes Petermaier
2015-03-03 14:55   ` Guillaume Gardet
2015-03-04  6:10     ` Hannes Petermaier
2015-03-04  6:29 ` Michael Trimarchi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox