From nobody Sun Nov 24 13:39:49 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+86851+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+86851+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1645528906; cv=none; d=zohomail.com; s=zohoarc; b=DSiQRwnj1qS5fzEvJpAeb1TJbZHZx0A/FmFbPuP7/uld8beYFh6zBhNpnhBfcSelnEi8flfJ2K0yqIRg80/Cq795H1MrjyGCbc+cs2/joCtLa28sZ4iQ3XAP+5kuZ0fX6PnoIJg8/FD8mKVKkW/V1nVOw1cx47erpn7fekv8DA0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1645528906; h=Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Sender:Subject:To; bh=XY0yjPU/PX9DflfWHZfUwpIKfc6KK8T8ovJDleEGPmk=; b=hhFaXsnCAYkfvnlUbFtYpVfnsa1tTvdKQTYSFQ6/Im8SS34P/rq+XYZfuu4Pz78ggZWT5PW859g8f7HHSvrjXg/xBHTpoNi5xELMsuug04hUWGfRFdb8eMDZJLBuB/x6E0Licomqh9EiwtJoPthDAlckxwz6On8HkYbY9J3PEqA= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+86851+1787277+3901457@groups.io Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1645528906190903.716591489205; Tue, 22 Feb 2022 03:21:46 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id nB6YYY1788612xg9PfYJhMB1; Tue, 22 Feb 2022 03:21:45 -0800 X-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.web12.11386.1645528902933193413 for ; Tue, 22 Feb 2022 03:21:43 -0800 X-Received: from [217.155.46.38] (helo=sean-StarBook.lan) by smarthost01b.sbp.mail.zen.net.uk with esmtp (Exim 4.90_1) (envelope-from ) id 1nMTEf-0002t1-8R; Tue, 22 Feb 2022 11:21:37 +0000 From: "Sean Rhodes" To: devel@edk2.groups.io Cc: guo.dong@intel.com, Sean Rhodes , Ray Ni , Maurice Ma , Benjamin You Subject: [edk2-devel] [PATCH] UefiPayloadPkg: Use Boot Splash Date: Tue, 22 Feb 2022 11:21:35 +0000 Message-Id: <30f3d3c08890ed583fb818f0a968383466940090.1645528895.git.sean@starlabs.systems> MIME-Version: 1.0 X-Originating-smarthost01b-IP: [217.155.46.38] Feedback-ID: 217.155.46.38 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,sean@starlabs.systems X-Gm-Message-State: DJsXIaA28QSqNv43ZXyH4XVwx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1645528905; bh=z4awIyW93FP/SrZWJY4mwWmJdZDRW0bw3Jks5Uy1o+Y=; h=Cc:Date:From:Reply-To:Subject:To; b=xHw7q/aS7F8jxMFD8nKr3G3i6aWCIbnHq1N1O38SLOlcOeRfRwoOl7BI4gfipiXeDmX beVJFu3VUkJSTtFdiVGKESwghfTwtMeZx/m4S5wrZLEzBmMuyzG/Xgh3OugaX8FJeyqOJ dgoUTGSCIGJ4gv6Jti/jUL5MmzjQ6FEsehY= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1645528907103100002 Content-Type: text/plain; charset="utf-8" Build with BootLogo using default image by default. 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 | 1 + 4 files changed, 7 insertions(+) diff --git a/UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformBootMana= ger.c b/UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManager.c index a8ead775ea..4dad595a3b 100644 --- a/UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManager.c +++ b/UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManager.c @@ -243,6 +243,9 @@ PlatformBootManagerAfterConsole ( Black.Blue =3D Black.Green =3D Black.Red =3D Black.Reserved =3D 0; White.Blue =3D White.Green =3D White.Red =3D White.Reserved =3D 0xFF; =20 + gST->ConOut->ClearScreen (gST->ConOut); + BootLogoEnableLogo (); + EfiBootManagerConnectAll (); EfiBootManagerRefreshAllBootOption (); =20 diff --git a/UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformBootMana= gerLib.inf b/UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformBootMana= gerLib.inf index 9c4a9da943..8749297d39 100644 --- a/UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.= inf +++ b/UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.= inf @@ -39,6 +39,7 @@ UefiRuntimeServicesTableLib UefiLib UefiBootManagerLib + BootLogoLib PcdLib DxeServicesLib MemoryAllocationLib diff --git a/UefiPayloadPkg/UefiPayloadPkg.dsc b/UefiPayloadPkg/UefiPayload= Pkg.dsc index 1ce96a51c1..1f602fb386 100644 --- a/UefiPayloadPkg/UefiPayloadPkg.dsc +++ b/UefiPayloadPkg/UefiPayloadPkg.dsc @@ -209,6 +209,7 @@ CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeS= ecurityManagementLib.inf UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManag= erLib.inf + BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/Customize= dDisplayLib.inf FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltL= ib.inf =20 @@ -545,6 +546,7 @@ !endif UefiCpuPkg/CpuDxe/CpuDxe.inf MdeModulePkg/Universal/BdsDxe/BdsDxe.inf + MdeModulePkg/Logo/LogoDxe.inf MdeModulePkg/Application/UiApp/UiApp.inf { NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf diff --git a/UefiPayloadPkg/UefiPayloadPkg.fdf b/UefiPayloadPkg/UefiPayload= Pkg.fdf index c7b04978ad..2c75f51f7a 100644 --- a/UefiPayloadPkg/UefiPayloadPkg.fdf +++ b/UefiPayloadPkg/UefiPayloadPkg.fdf @@ -158,6 +158,7 @@ INF MdeModulePkg/Universal/EbcDxe/EbcDxe.inf INF UefiPayloadPkg/BlSupportDxe/BlSupportDxe.inf =20 INF MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf +INF MdeModulePkg/Logo/LogoDxe.inf # # PCI Support # --=20 2.32.0 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#86851): https://edk2.groups.io/g/devel/message/86851 Mute This Topic: https://groups.io/mt/89289376/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-