[U-Boot] [PATCH] tt01: add MMC and video support --> howto avoid LOGO blobs

Helmut Raiger helmut.raiger at hale.at
Thu Jan 19 13:08:09 CET 2012


On 11/14/2011 12:21 PM, Stefano Babic wrote:
>
>> index 0000000000000000000000000000000000000000..efdbb4d097abb7ba7ac69e6960030ecb7e19e3cc
>> GIT binary patch
>> literal 27238
>> zcmeHOy^Acz5ua&>WoLJ0Zuj<P at 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.



More information about the U-Boot mailing list