[U-Boot-Users] 16bit BPP color depth image on LCD

Andrew Dyer amdyer at gmail.com
Fri Feb 25 17:25:22 CET 2005


On Fri, 25 Feb 2005 11:23:00 +0530, Praveen VS <praveen at spacomp.com> wrote:
> Hello,
> 
> When we looked at code bmp_logo.c , we found utility called bmp_logo,
> which converts bmp file into header
> This header file is for 8 bpp & has a bmp palette field.
> It tries to write the Pallette info on to Palette Ram of PXA255.
> 

It sounds like you need to write a driver for your LCD controller chip...

If you look at the code which actually displays the image (don't have my
source tree handy right now) you'll see that it takes the palette data and
expands it out to the appropriate colors depending on the type of display
color setup you have.  We have it working fine on a 32 bpp display which
is 8-8-8 color, but the principle is the same for 5-6-5.


-- 
Hardware, n.:
        The parts of a computer system that can be kicked.




More information about the U-Boot mailing list