From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smarthost01b.sbp.mail.zen.net.uk (smarthost01b.sbp.mail.zen.net.uk [212.23.1.3]) by mx.groups.io with SMTP id smtpd.web08.20253.1657480441005464469 for ; Sun, 10 Jul 2022 12:14:01 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=permerror, err=parse error for token &{10 18 sdn.klaviyomail.com}: permanent DNS error (domain: starlabs.systems, ip: 212.23.1.3, mailfrom: sean@starlabs.systems) Received: from [217.155.46.38] (helo=starbook.lan) by smarthost01b.sbp.mail.zen.net.uk with esmtp (Exim 4.90_1) (envelope-from ) id 1oAcNR-0002iv-Sm; Sun, 10 Jul 2022 19:13:57 +0000 From: "Sean Rhodes" To: devel@edk2.groups.io Cc: Sean Rhodes , Guo Dong , Ray Ni , Maurice Ma , Benjamin You Subject: [PATCH 1/2] UefiPayloadPkg: Enable Boot Logo Date: Sun, 10 Jul 2022 20:13:53 +0100 Message-Id: <6fedc8d511e9c86171e2e7d1e668b1eca88694f0.1657480273.git.sean@starlabs.systems> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 X-Originating-smarthost01b-IP: [217.155.46.38] Feedback-ID: 217.155.46.38 Content-Transfer-Encoding: quoted-printable Cc: Guo Dong Cc: Ray Ni Cc: Maurice Ma Cc: Benjamin You Signed-off-by: Sean Rhodes --- .../Library/PlatformBootManagerLib/PlatformBootManager.c | 3 +++ .../Library/PlatformBootManagerLib/PlatformBootManagerLib.inf | 1 + UefiPayloadPkg/UefiPayloadPkg.dsc | 2 ++ UefiPayloadPkg/UefiPayloadPkg.fdf | 2 ++ 4 files changed, 8 insertions(+) diff --git a/UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformBootMana= ger.c b/UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManager.c index 0eb577313a..93f7776fbc 100644 --- a/UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManager.c +++ b/UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManager.c @@ -252,6 +252,9 @@ PlatformBootManagerAfterConsole ( Black.Blue =3D Black.Green =3D Black.Red =3D Black.Reserved =3D 0;=0D White.Blue =3D White.Green =3D White.Red =3D White.Reserved =3D 0xFF;=0D =0D + gST->ConOut->ClearScreen (gST->ConOut);=0D + BootLogoEnableLogo ();=0D +=0D EfiBootManagerConnectAll ();=0D EfiBootManagerRefreshAllBootOption ();=0D =0D diff --git a/UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformBootMana= gerLib.inf b/UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformBootMana= gerLib.inf index 9f58c460cd..7ec93420f2 100644 --- a/UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.= inf +++ b/UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.= inf @@ -39,6 +39,7 @@ UefiRuntimeServicesTableLib=0D UefiLib=0D UefiBootManagerLib=0D + BootLogoLib=0D PcdLib=0D DxeServicesLib=0D MemoryAllocationLib=0D diff --git a/UefiPayloadPkg/UefiPayloadPkg.dsc b/UefiPayloadPkg/UefiPayload= Pkg.dsc index cfcf38578d..7d390ac8eb 100644 --- a/UefiPayloadPkg/UefiPayloadPkg.dsc +++ b/UefiPayloadPkg/UefiPayloadPkg.dsc @@ -212,6 +212,7 @@ CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf= =0D SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeS= ecurityManagementLib.inf=0D UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManag= erLib.inf=0D + BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf=0D CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/Customize= dDisplayLib.inf=0D FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltL= ib.inf=0D =0D @@ -561,6 +562,7 @@ !endif=0D UefiCpuPkg/CpuDxe/CpuDxe.inf=0D MdeModulePkg/Universal/BdsDxe/BdsDxe.inf=0D + MdeModulePkg/Logo/LogoDxe.inf=0D MdeModulePkg/Application/UiApp/UiApp.inf {=0D =0D NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf= =0D diff --git a/UefiPayloadPkg/UefiPayloadPkg.fdf b/UefiPayloadPkg/UefiPayload= Pkg.fdf index c7b04978ad..2beef7ba10 100644 --- a/UefiPayloadPkg/UefiPayloadPkg.fdf +++ b/UefiPayloadPkg/UefiPayloadPkg.fdf @@ -158,6 +158,8 @@ INF MdeModulePkg/Universal/EbcDxe/EbcDxe.inf INF UefiPayloadPkg/BlSupportDxe/BlSupportDxe.inf=0D =0D INF MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf=0D +INF MdeModulePkg/Logo/LogoDxe.inf=0D +=0D #=0D # PCI Support=0D #=0D --=20 2.34.1