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

Hello,
Our board is customised board based on PXA255 processor, in that we have the samsung Color LCD Controller( S6B33B0A) .
The LCD is not interfaced to the Default PXA255 LCD pins. IN our board the LCD controller ChipsSelect is connected to the Static Chipselect 4 of PXA255 The LCD is a 16bpp LCD.
We are able to initialise the LCD. We are able to get the plain colors sucessfully. We are trying to display u-boot logo on this 16bpp LCD. But it is not displaying..
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.
But our LCD controller is external & doesn't have pallette RAM. It only has a standard DisplayRAM . The 16 bit colors which this controller supports doesn't have the Pallete information.
How can we display the logo of 16bpp color depth image onto the LCD.in U-boot?
Thanks Reagrds Praveen

On Fri, 25 Feb 2005 11:23:00 +0530, Praveen VS praveen@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.
participants (2)
-
Andrew Dyer
-
Praveen VS