From: Anatolij Gustschin <agust@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] Displaying characters on the display in u-boot
Date: Wed, 27 Mar 2013 17:27:15 +0100 [thread overview]
Message-ID: <20130327172715.24dda4b4@crub> (raw)
In-Reply-To: <9827C66E1D129C4183B8AD771A4A57709A02936176@EXGMBX01.sasken.com>
Hi,
On Wed, 27 Mar 2013 21:05:55 +0530
Bhargav A K <bhargav.ak@sasken.com> wrote:
...
> > What U-Boot version do you use?
>
> U-Boot 1.1.4-geb3fa991 (Feb 21 2013 - 10:11:04)
> (output of version command)
Very old, ;-).
> > This video_set_lut() function is only needed if you use 8 bits per
> > pixel frame buffer.
>
> So can I comment it out, (or) just make a dummy call and dummy return from it.
> It wont affect my character(text) rendering on the display, correct ?
yes, just provide a dummy video_set_lut(). If you do not use the
GDF__8BIT_INDEX framebuffer format, the rendering will work.
> My last question, the board_video_init() function just initializes the board
> in display/video mode. For example if I have a GPIO to switch b/w command and
> video modes and a GPIO to switch on the LCD, etc., I'll have to do all such
> functions in it.
>
> But if all of those are already done, I can just return a dummy from the
> function ?
Yes. If board specific video initialisation is done elsewhere the
board_video_init() can be a dummy function. Some video drivers
expect board_video_init() to return frame buffer base address but
i.e. in omap3 driver it returns 0 for successful video init or an
error code in case the board specific video init fails, thus
preventing further initialisation in the cfb_console driver.
Thanks,
Anatolij
next prev parent reply other threads:[~2013-03-27 16:27 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-27 8:27 [U-Boot] Displaying characters on the display in u-boot Bhargav A K
2013-03-27 11:39 ` Anatolij Gustschin
[not found] ` <9827C66E1D129C4183B8AD771A4A57709A02936174@EXGMBX01.sasken.com>
2013-03-27 15:00 ` Anatolij Gustschin
2013-03-27 15:35 ` Bhargav A K
2013-03-27 16:27 ` Anatolij Gustschin [this message]
2013-03-27 16:34 ` Bhargav A K
2013-04-19 15:59 ` Bhargav A K
2013-04-27 20:20 ` Bhargav A K
2013-04-28 14:22 ` Anatolij Gustschin
2013-05-10 10:30 ` Bhargav A K
2013-05-10 11:38 ` Anatolij Gustschin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130327172715.24dda4b4@crub \
--to=agust@denx.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox