Andrew,

Great, thank you.
That helps a lot.

Best
Sven

From: <[email protected]> on behalf of Andrew Fish <[email protected]>
Date: Wednesday, 18. July 2018 at 10:52 PM
To: Sven Auhagen <[email protected]>
Cc: "[email protected]" <[email protected]>
Subject: Re: [edk2] Boot Logo Questions



On Jul 17, 2018, at 11:01 PM, Sven Auhagen 
<[email protected]<mailto:[email protected]>> wrote:
Hi,
Is there a way to add a text/ascii boot logo to the splash screen?
Is there any example for this,

Sven,

UEFI Spec "Protocols -- Console Support"  chapter - "Simple Text Out Protocol" 
section is the Console abstraction for text (terminal emulation) and graphics. 
It supports 16-bit Unicode, attributes, and curser position.  Basically 
anything you could do with a PCANSI terminal you should be able to do with EFI. 
Note the terminal emulation you use could limit some of the features [1]. This 
is the same API the EFI Shell uses, so it can go to Graphics and serial too.

The edk2 definition is here: 
https://github.com/tianocore/edk2/blob/master/MdePkg/Include/Protocol/SimpleTextOut.h

The UefiLib has CreatePopUp(). That is probably a little more focused on a 
traditional BIOS Setup UI, but might give you some ideas, and it is trying to 
be pedantic from a Unicode point of view.
https://github.com/tianocore/edk2/blob/master/MdePkg/Library/UefiLib/Console.c#L397

The CustomDisplayLib has a PrintAt() function that may also be useful.
https://github.com/tianocore/edk2/blob/master/MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLibInternal.c#L968

[1] - As you can see there is some box draw support in the terminal driver, 
assuming your terminal supports it:  
https://github.com/tianocore/edk2/blob/master/MdeModulePkg/Universal/Console/TerminalDxe/TerminalConOut.c#L24
 This is done by sending a BOXDRAW Unicode character to 
SimpleTextOut->OutputString().

Thanks,

Andrew Fish

I am on an aarch64 platform and only have a serial console on my device.
Best and thank you
Sven
Beste Grüße/Best Regards
Sven Auhagen
Dipl. Math. oec., M.Sc.
Voleatech GmbH
HRB: B 754643
USTID: DE303643180
Grathwohlstr. 5
72762 Reutlingen
Tel: +49 7121539550
Fax: +49 7121539551
E-Mail: [email protected]<mailto:[email protected]>
www.voleatech.de<https://www.voleatech.de>
Diese Information ist ausschließlich für den Adressaten bestimmt und kann 
vertraulich oder gesetzlich geschützte Informationen enthalten. Wenn Sie nicht 
der bestimmungsgemäße Adressat sind, unterrichten Sie bitte den Absender und 
vernichten Sie diese Mail. Anderen als dem bestimmungsgemäßen Adressaten ist es 
untersagt, diese E-Mail zu lesen, zu speichern, weiterzuleiten oder ihren 
Inhalt auf welche Weise auch immer zu verwenden. Für den Adressaten sind die 
Informationen in dieser Mail nur zum persönlichen Gebrauch. Eine Weiterleitung 
darf nur nach Rücksprache mit dem Absender erfolgen. Wir verwenden aktuelle 
Virenschutzprogramme. Für Schäden, die dem Empfänger gleichwohl durch von uns 
zugesandte mit Viren befallene E-Mails entstehen, schließen wir jede Haftung 
aus.
_______________________________________________
edk2-devel mailing list
[email protected]<mailto:[email protected]>
https://lists.01.org/mailman/listinfo/edk2-devel



Beste Grüße/Best Regards

Sven Auhagen
Dipl. Math. oec., M.Sc.

Voleatech GmbH
HRB: B 754643
USTID: DE303643180
Grathwohlstr. 5
72762 Reutlingen
Tel: +49 7121539550
Fax: +49 7121539551
E-Mail: [email protected]

www.voleatech.de<https://www.voleatech.de>
Diese Information ist ausschließlich für den Adressaten bestimmt und kann 
vertraulich oder gesetzlich geschützte Informationen enthalten. Wenn Sie nicht 
der bestimmungsgemäße Adressat sind, unterrichten Sie bitte den Absender und 
vernichten Sie diese Mail. Anderen als dem bestimmungsgemäßen Adressaten ist es 
untersagt, diese E-Mail zu lesen, zu speichern, weiterzuleiten oder ihren 
Inhalt auf welche Weise auch immer zu verwenden. Für den Adressaten sind die 
Informationen in dieser Mail nur zum persönlichen Gebrauch. Eine Weiterleitung 
darf nur nach Rücksprache mit dem Absender erfolgen. Wir verwenden aktuelle 
Virenschutzprogramme. Für Schäden, die dem Empfänger gleichwohl durch von uns 
zugesandte mit Viren befallene E-Mails entstehen, schließen wir jede Haftung 
aus.

_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to