From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=17.171.2.31; helo=mail-in21.apple.com; envelope-from=afish@apple.com; receiver=edk2-devel@lists.01.org Received: from mail-in21.apple.com (mail-out21.apple.com [17.171.2.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id A9C262097DD37 for ; Wed, 18 Jul 2018 13:51:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; d=apple.com; s=mailout2048s; c=relaxed/simple; q=dns/txt; i=@apple.com; t=1531947117; x=2395860717; h=From:Sender:Reply-To:Subject:Date:Message-id:To:Cc:MIME-version:Content-type: Content-transfer-encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-reply-to:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=iF7alx5msyKDgqiOfYXYyOfCF2J/fJDbxlmTvzW9XJA=; b=2NMjvg+4iJGkoboqBZdQwzdFTWqD/2+b7kEAPL9HXc0lOil+ls/gYfklN8f3UmKN QMmHUo+EQFAlM1y3IUw8vhd6c2X9e90ra0wqSB+58Ujnj9rXqmhFMI/2cCPL8Vqf 1hJh4RRv0sPQhIICxEG7EAqjaDi+Xb3sNwbs6lXlwZ6P6f62poPPNuovzUy4begi 9wHrZO0lkskrZXeG95/IjTM+rx8MCVggiFNRnqp9CWreIUBO1zyx51uHkArNtocX J07FVKLXDARsuaEuma+4kfwmm4qz1oTypWNlZcYpxpGiIT6rXVHUaZlHO9s/dmzV qxwykSV9mqgZGvrH85ztcA==; X-AuditID: 11ab0215-217ff70000002a18-3c-5b4fa86db1fc Received: from mr2-mtap-s03.rno.apple.com (mr2-mtap-s03.rno.apple.com [17.179.226.135]) (using TLS with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mail-in21.apple.com (Apple Secure Mail Relay) with SMTP id 2C.66.10776.D68AF4B5; Wed, 18 Jul 2018 13:51:57 -0700 (PDT) MIME-version: 1.0 Received: from ma1-mmpp-sz08.apple.com (ma1-mmpp-sz08.apple.com [17.171.128.176]) by mr2-mtap-s03.rno.apple.com (Oracle Communications Messaging Server 8.0.2.3.20180614 64bit (built Jun 14 2018)) with ESMTPS id <0PC200GDBXYKKBB0@mr2-mtap-s03.rno.apple.com>; Wed, 18 Jul 2018 13:51:57 -0700 (PDT) Received: from process_viserion-daemon.ma1-mmpp-sz08.apple.com by ma1-mmpp-sz08.apple.com (Oracle Communications Messaging Server 8.0.2.3.20180614 64bit (built Jun 14 2018)) id <0PC200E00XD20600@ma1-mmpp-sz08.apple.com>; Wed, 18 Jul 2018 13:51:56 -0700 (PDT) X-Va-A: X-Va-T-CD: 1fc820ee8ec419f2a7aed3fe81e67522 X-Va-E-CD: fc8617871d4bfc1537f7de1c406bd4f1 X-Va-R-CD: 86be01d67c70ac9cda703860c709a74a X-Va-CD: 0 X-Va-ID: acba92a3-442a-4743-93a5-21f1551034ef X-V-A: X-V-T-CD: 1fc820ee8ec419f2a7aed3fe81e67522 X-V-E-CD: fc8617871d4bfc1537f7de1c406bd4f1 X-V-R-CD: 86be01d67c70ac9cda703860c709a74a X-V-CD: 0 X-V-ID: 71ea3cd9-f052-4295-9f7f-44e521643528 Received: from process_milters-daemon.ma1-mmpp-sz08.apple.com by ma1-mmpp-sz08.apple.com (Oracle Communications Messaging Server 8.0.2.3.20180614 64bit (built Jun 14 2018)) id <0PC200I00XP39500@ma1-mmpp-sz08.apple.com>; Wed, 18 Jul 2018 13:51:55 -0700 (PDT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-07-18_06:,, signatures=0 X-Proofpoint-Scanner-Instance: ma-grpmailp-qapp23.corp.apple.com-10000_instance1 Received: from [17.234.180.30] by ma1-mmpp-sz08.apple.com (Oracle Communications Messaging Server 8.0.2.3.20180614 64bit (built Jun 14 2018)) with ESMTPSA id <0PC200933XYGZT70@ma1-mmpp-sz08.apple.com>; Wed, 18 Jul 2018 13:51:55 -0700 (PDT) Sender: afish@apple.com From: Andrew Fish In-reply-to: Date: Wed, 18 Jul 2018 13:51:51 -0700 Cc: "edk2-devel@lists.01.org" Message-id: References: To: Sven Auhagen X-Mailer: Apple Mail (2.3445.6.18) X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrGIsWRmVeSWpSXmKPExsUiuPlRu27uCv9ogwnX9C32HDrKbPHo5wMm ByaP7tn/WDxunH/GEsAUxWWTkpqTWZZapG+XwJWx98l1toLfEhUXXh1hbWB8LdLFyMkhIWAi 8frodLYuRi4OIYGDTBIL1y1nBUnwCghK/Jh8j6WLkYODWUBdYsqUXIia9UwSP5bfZQKpERLo YpKYeTcCYhC7xJ9fO1ggbG2Jx6+eM8LYS0/fY4Kx7zYch7K5JBZsPc0KYetKtM6cwAxhs0ms P7EEqkZL4t3yJyww9sLVyxhh7DOrb7BD2JwS579MhLJ1JHonXWOEOLSTSWLTtW6ohmyJK6f+ QxUFSKxZ+BOq6CujxLHWH2CbhQXEJd6d2QRlq0v8/93PBmKzCShLrJj/gR0UEpwCDhIH2gNA wiwCqhLnWhrBypkFzCVmXPjCBGFrSzx5dwEaiDYS53c9YwVpFRKwl5h1QhIkLAJ0546mBpYJ jIqzkIJ6FiKoZyEZtICReRWjcG5iZo5uZp6RoV5iQUFOql5yfu4mRlBCWM0kuoNx/ivDQ4wC HIxKPLwZf32jhVgTy4orcw8xSnOwKInzftwlFi0kkJ5YkpqdmlqQWhRfVJqTWnyIkYmDU6qB keEYz3MhllDzeetNSnOEtVe6TOien7bQM2J/o7D0jgYGLY82ru0x3U6iTrpdcr8mbog5e7p9 xo/Ffvvu7/7S5qmpeu9c/PJPE85O+RnmUchqv/bYX7sL7H/9f8dVWon5dp8LenxOdbHZjezm mwVZFdW2ISkNjbEXX58J5aqZVVlrNmWSn0WCEktxRqKhFnNRcSIAsP2R2ekCAAA= Subject: Re: Boot Logo Questions X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jul 2018 20:51:58 -0000 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: quoted-printable > On Jul 17, 2018, at 11:01 PM, Sven Auhagen = wrote: >=20 > Hi, >=20 > Is there a way to add a text/ascii boot logo to the splash screen? > Is there any example for this, >=20 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.=20 The edk2 definition is here: = https://github.com/tianocore/edk2/blob/master/MdePkg/Include/Protocol/Simp= leTextOut.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.=20 = https://github.com/tianocore/edk2/blob/master/MdePkg/Library/UefiLib/Conso= le.c#L397 The CustomDisplayLib has a PrintAt() function that may also be useful.=20= = https://github.com/tianocore/edk2/blob/master/MdeModulePkg/Library/Customi= zedDisplayLib/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/Conso= le/TerminalDxe/TerminalConOut.c#L24 This is done by sending a BOXDRAW = Unicode character to SimpleTextOut->OutputString().=20 Thanks, Andrew Fish > I am on an aarch64 platform and only have a serial console on my = device. >=20 > Best and thank you > Sven >=20 > Beste Gr=C3=BC=C3=9Fe/Best Regards >=20 > Sven Auhagen > Dipl. Math. oec., M.Sc. >=20 > Voleatech GmbH > HRB: B 754643 > USTID: DE303643180 > Grathwohlstr. 5 > 72762 Reutlingen > Tel: +49 7121539550 > Fax: +49 7121539551 > E-Mail: sven.auhagen@voleatech.de >=20 > www.voleatech.de > Diese Information ist ausschlie=C3=9Flich f=C3=BCr den Adressaten = bestimmt und kann vertraulich oder gesetzlich gesch=C3=BCtzte = Informationen enthalten. Wenn Sie nicht der bestimmungsgem=C3=A4=C3=9Fe = Adressat sind, unterrichten Sie bitte den Absender und vernichten Sie = diese Mail. Anderen als dem bestimmungsgem=C3=A4=C3=9Fen Adressaten ist = es untersagt, diese E-Mail zu lesen, zu speichern, weiterzuleiten oder = ihren Inhalt auf welche Weise auch immer zu verwenden. F=C3=BCr den = Adressaten sind die Informationen in dieser Mail nur zum pers=C3=B6nlichen= Gebrauch. Eine Weiterleitung darf nur nach R=C3=BCcksprache mit dem = Absender erfolgen. Wir verwenden aktuelle Virenschutzprogramme. F=C3=BCr = Sch=C3=A4den, die dem Empf=C3=A4nger gleichwohl durch von uns zugesandte = mit Viren befallene E-Mails entstehen, schlie=C3=9Fen wir jede Haftung = aus. >=20 > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel