* [U-Boot-Users] 16bit BPP color depth image on LCD
@ 2005-02-24 14:03 Praveen VS
2005-02-25 17:45 ` Hinko Kocevar
0 siblings, 1 reply; 4+ messages in thread
From: Praveen VS @ 2005-02-24 14:03 UTC (permalink / raw)
To: u-boot
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot-Users] 16bit BPP color depth image on LCD
@ 2005-02-25 5:53 Praveen VS
2005-02-25 16:25 ` Andrew Dyer
0 siblings, 1 reply; 4+ messages in thread
From: Praveen VS @ 2005-02-25 5:53 UTC (permalink / raw)
To: u-boot
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot-Users] 16bit BPP color depth image on LCD
2005-02-25 5:53 Praveen VS
@ 2005-02-25 16:25 ` Andrew Dyer
0 siblings, 0 replies; 4+ messages in thread
From: Andrew Dyer @ 2005-02-25 16:25 UTC (permalink / raw)
To: u-boot
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.
--
Hardware, n.:
The parts of a computer system that can be kicked.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot-Users] 16bit BPP color depth image on LCD
2005-02-24 14:03 [U-Boot-Users] 16bit BPP color depth image on LCD Praveen VS
@ 2005-02-25 17:45 ` Hinko Kocevar
0 siblings, 0 replies; 4+ messages in thread
From: Hinko Kocevar @ 2005-02-25 17:45 UTC (permalink / raw)
To: u-boot
Praveen VS wrote:
>
> 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..
>
I have some patch laying around - it was submited to this list some time
ago but I guess it didn't make it in... You are probably interested in
just one function here - bitmap_plot().
If I recall correctly it was working for me, but right now I'm not in
position to test it.
HTH,
hk
--
hinko <dot> kocevar <at> iskramedical <dot> si
Hinko Kocevar, embedded systems developer
Iskra Medical d.o.o., Stegne 23, 1k LJ, SLO-EU
"A? r?n" | [Analects XII:22]
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: arm-lcd.patch
Url: http://lists.denx.de/pipermail/u-boot/attachments/20050225/e2b80efa/attachment.txt
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-02-25 17:45 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-24 14:03 [U-Boot-Users] 16bit BPP color depth image on LCD Praveen VS
2005-02-25 17:45 ` Hinko Kocevar
-- strict thread matches above, loose matches on Subject: below --
2005-02-25 5:53 Praveen VS
2005-02-25 16:25 ` Andrew Dyer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox