short white screen after kernel boots

Chia-I Wu olv at openmoko.org
Fri Oct 31 15:10:52 CET 2008


Hi list,

There is a short period of white screen after kernel boots.  It is due
to that the glamo driver is initializing and the backlight is already
turned on by u-boot:

...
[    0.865000] glamo3362 glamo3362.0: Detected Glamo core 3650 Revision 0002 (49
-> screen turns white in glamo_init_script
[    0.905000] glamo3362 glamo3362.0: Glamo core now 49119232Hz CPU / 81887232Hz
[    0.905000] Detected S-Media IRQ# pullup, enabling interrupt
[    1.005000] glamo-spi-gpio glamo-spi-gpio.0: registering c039bb50: jbt6k74
[    1.035000] SMEDIA Glamo frame buffer driver (C) 2007 Openmoko, Inc.
-> screen turns black after glamofb_set_par
[    1.640000] Console: switching to colour frame buffer device 80x58
...

My idea is to avoid re-initialization if uboot has already done it.  Is
it sound ok?

BTW, the glamofb initializes the 4MB memory allocated to it during
initialization.  It takes about 0.5 seconds.  The attached patch cuts it
down to 0.1 seconds by only initializing the part used for framebuffer.
Please help review.

-- 
Regards,
olv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-glamofb-Initialize-only-visible-part-of-the-memory.patch
Type: text/x-diff
Size: 0 bytes
Desc: not available
Url : http://lists.openmoko.org/pipermail/openmoko-kernel/attachments/20081031/6f260751/attachment.patch 


More information about the openmoko-kernel mailing list