[U-Boot] Displaying characters on the display in u-boot

Hi All
I have been able to display a splash screen in u-boot by converting the splash image to a header (using GIMP) and loading it into a GFX register (OMAP 4470).
Now I have to display text(character) on the display. I read about CONFIG_CFB_CONSOLE in the u-boot documentation. How exactly does it work, is it the right method to display characters on the screen ? Please give me some direction with this issue..
Kind regards Bhargav
SASKEN BUSINESS DISCLAIMER: This message may contain confidential, proprietary or legally privileged information. In case you are not the original intended Recipient of the message, you must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message and you are requested to delete it and inform the sender. Any views expressed in this message are those of the individual sender unless otherwise stated. Nothing contained in this message shall be construed as an offer or acceptance of any offer by Sasken Communication Technologies Limited ("Sasken") unless sent with that express intent and with due authority of Sasken. Sasken has taken enough precautions to prevent the spread of viruses. However the company accepts no liability for any damage caused by any virus transmitted by this email. Read Disclaimer at http://www.sasken.com/extras/mail_disclaimer.html

Hi,
On Wed, 27 Mar 2013 13:57:38 +0530 Bhargav A K bhargav.ak@sasken.com wrote:
Hi All
I have been able to display a splash screen in u-boot by converting the splash image to a header (using GIMP) and loading it into a GFX register (OMAP 4470).
There is no need to embed the image data in the U-Boot binary. You can also use the "bmp" command or "splashimage" environment variable.
Now I have to display text(character) on the display. I read about CONFIG_CFB_CONSOLE in the u-boot documentation. How exactly does it work, is it the right method to display characters on the screen ?
First, when defining CONFIG_CFB_CONSOLE in the config file you additionally have to provide video_hw_init() function which returns an initialised GraphicDevice structure for your device. Also set "stdout" and "stderr" environment variables to "vga" and use printf() to display characters. You can use available drivers, i.e. drivers/video/omap3_dss.c, as reference.
SASKEN BUSINESS DISCLAIMER: This message may contain...
...
please avoid such disclaimers when posting to a public mainling list.
Thanks,
Anatolij
participants (2)
-
Anatolij Gustschin
-
Bhargav A K