From: Helmut Raiger <helmut.raiger@hale.at>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] tt01: add MMC and video support --> howto avoid LOGO blobs
Date: Thu, 19 Jan 2012 13:08:09 +0100 [thread overview]
Message-ID: <4F1807A9.9010203@hale.at> (raw)
In-Reply-To: <4EC0F9C7.4050001@denx.de>
On 11/14/2011 12:21 PM, Stefano Babic wrote:
>
>> index 0000000000000000000000000000000000000000..efdbb4d097abb7ba7ac69e6960030ecb7e19e3cc
>> GIT binary patch
>> literal 27238
>> zcmeHOy^Acz5ua&>WoLJ0Zuj<P@0PdgP#8He4unIaT(SOx7YM9CSOO=;nM0*c491zk
>> znZd!sT%Z>S<3tk12n3Q7gFf&_Vg~|0{Hv<&>h9UuW8R_dxre6UW at oymKYsPAuCDH$
>> zd-b))Z)7a56j}CN-2EGWKgM64%{l%1kF)IQLjE`bmuJtOW&ir at qwL9>FX8Xy?0?U`
>> z&b~(4`@eWCyT$V@(!c!hN%r(-KgyoG^-}h?KmIEF1JeHc&(E{lw||g*{M(;r|M}um
>> ....
> ...but I am asking myself if it makes sense to add all these blobs to
> U-Boot.
>
> I know there are other examples in U_Boot, it is not bad they are only a
> few. I do not know if this should be competence for the video maintainer
> or generally for the project, so I added both custodians. By the way,
> should it not possible to get what you want with CONFIG_CMD_BMP (you
> have already set it) and CONFIG_PREBOOT to load your image from the
> media you prefer (and you could also exchange it without recompiling
> U-Boot) instead of adding it to the U-Boot image ?
>
> Best regards,
> Stefano Babi
Hi,
I tried to walk the preboot path, but it seems I can't get what I want.
CONFIG_VIDEO_LOGO leaves some space on the top left area of the display
for the logo AND the scrolling of the text (console redirected to VGA)
avoids this area.
Using CONFIG_CONSOLE_EXTRA_INFO places the data on the right side of
the logo (which again is not scrolled).
The only way I can think of to avoid blobs like our logo is to patch
cfb_console.c
to allow something like:
#define CONFIG_VIDEO_NO_LOGO(w) (w == 0 ? 100 : 200)
#ifdef CONFIG_VIDEO_NO_LOGO
#define VIDEO_LOGO_WIDTH CONFIG_VIDEO_NO_LOGO(0)
#define VIDEO_LOGO_HEIGHT CONFIG_VIDEO_NO_LOGO(1)
#else ... other cases
(or use 3 macros), then use preboot to display the logo where it is
supposed to be.
Still the extra info can't be put to the area right to the logo (to
prevent it to be scrolled away).
Any suggestions?
Helmut
--
Scanned by MailScanner.
next prev parent reply other threads:[~2012-01-19 12:08 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-27 16:11 [U-Boot] [PATCH] tt01: add MMC and video support Helmut Raiger
2011-10-27 16:16 ` Helmut Raiger
2011-11-14 11:21 ` Stefano Babic
2012-01-19 12:08 ` Helmut Raiger [this message]
2012-01-30 14:21 ` [U-Boot] [PATCH] tt01: add video support and setup for release Helmut Raiger
2012-01-30 14:21 ` [U-Boot] [PATCH 1/3] tt01: fix environment size Helmut Raiger
2012-02-17 8:48 ` Stefano Babic
2012-01-30 14:21 ` [U-Boot] [PATCH 2/3] tt01: add video support Helmut Raiger
2012-02-15 15:52 ` Stefano Babic
2012-02-16 8:40 ` [U-Boot] [PATCH V2 " Helmut Raiger
2012-02-17 8:48 ` Stefano Babic
2012-01-30 14:21 ` [U-Boot] [PATCH 3/3] tt01: fix hush parser config, add release config Helmut Raiger
2012-02-15 14:36 ` [U-Boot] [PATCH 3/3] imx31: " Helmut Raiger
2012-02-15 15:40 ` Stefano Babic
2012-02-17 8:48 ` [U-Boot] [PATCH 3/3] " Stefano Babic
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=4F1807A9.9010203@hale.at \
--to=helmut.raiger@hale.at \
--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