[U-Boot] How to implement starting logo?
Anatolij Gustschin
agust at denx.de
Tue Feb 17 20:07:10 CET 2009
Hello,
first of all, please reduce the size of lines in your emails to
this list to max. 80 characters per line. TIA!
lzhmail wrote:
> Hi,
> I want to display a starting logo on LCD when my custome
> board power up, so what shoud I do to achieve this purpose?
> The U-Boot version is 1.1.1, the processor is AT91RM9200, and
> the display controller is SAMSUNG S1D13506. should I implement
> framebuffer driver for the display controller?
Currently there is no support for S1D13506 in U-Boot code, whether
in version 1.1.1, nor in the current U-Boot git tree. So, you have
to implement simple frame buffer driver for Epson S1D13506. Take a
look at other available drivers in 'drivers/sed13806.c' or
'drivers/ct69000.c' for version 1.1.1 or at drivers in
'drivers/video/' in the current version. You have to implement
S1D13506-specific video_hw_init() and video_set_lut() at least.
Then download Epson S1D13506 data sheet and get FPM/EDO-DRAM data
sheet of the DRAM in question. Read them to acquire knowledge
how to initialize S1D13506 and how to program S1D13506 memory
controller to be able to access to the video RAM. Program the
initialization sequence and ensure that the video RAM access
works properly. Also get the data sheet of your LCD panel and read
the info about panel clock and timings, then program the S1D13506
display controller accordingly. All these init steps are usually
done in video_hw_init(). You also probably need to implement
backlight/display brightness control.
> Or Just simply add "SPLASH SCREEN" support according to instruction
> of the U-Boot document "README".
In README it is assumed that a working frame buffer driver is
already there. The CONFIG_SPLASH_SCREEN option only enables
the possibility to display a BMP image instead of the logo,
copyright and system information on the LCD.
You also have to add CONFIG_VIDEO, CONFIG_CFB_CONSOLE,
CONFIG_VIDEO_SW_CURSOR etc. to the board configuration.
It is preferred to use latest U-Boot code, so please use it,
add your S1D13506 driver and then consider to post S1D13506
patches to the list, :-).
Best regards,
Anatolij
More information about the U-Boot
mailing list