From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f48.google.com (mail-wm1-f48.google.com [209.85.128.48]) by mx.groups.io with SMTP id smtpd.web12.9451.1609945716939767239 for ; Wed, 06 Jan 2021 07:08:37 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@9elements.com header.s=google header.b=DFrfITmQ; spf=pass (domain: 9elements.com, ip: 209.85.128.48, mailfrom: patrick.rudolph@9elements.com) Received: by mail-wm1-f48.google.com with SMTP id k10so2702810wmi.3 for ; Wed, 06 Jan 2021 07:08:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=9elements.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=b6ru1aAoAwxcCjnRbGc52vR1s4hPg14f15f5gPY6Zc8=; b=DFrfITmQK0PdPWS+GzHK5aN4NA5K8mwJdZ0rz98cNKiaFXsPU29ORaAuspFJ6cnsS5 IP09b2pYT6TkCgb+u4Blj6yH4ZSi2UceWZG2vUr5TxDQxsMuXDcHgS2wXDJyBAst10kk 8eIPaii4KjXSgWDfTxt70JBrbJrS4NeK1yWGhAr+uscSBjX3mW9lFTQOlaYKdfF9ly7U gA0s/eZuqSe3RY1Zj76HX3tg1CaA3I983vaObSxzIG1DTPi0yqEbIifiYLWFh5wcaUQW 3smVM0PnLapi6IwTwPUvb587ah/Vc818U8VlQw290+B0V3iRSTc4n+rcnUnh95ZbNmxE JVSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=b6ru1aAoAwxcCjnRbGc52vR1s4hPg14f15f5gPY6Zc8=; b=A5s+Q50FOEh6CJ3lTkySx9lolxa3MfbTD0EcpVBdxq1rRkwTtUl7u+I5a9m4IlDB9v YJe5BmbOH9CiHNn6kQjssevtMlGWFe2c+sLOyqNMUDvsZ56m8hq8IIiIaqodwGYVLc78 Exy2H+lKkZOa7qMpng6MBzP+B5RrENaCMeHlPLCVkyJbs7WIc/+NZwDe3gxTML6cMYYJ 5uWltRoBBsBFKgt34gbtzCGSF6SywFDV8ezVPHfu1SZTANmbnA9QbftkpwPqKZkYl6ws G5x/dIh5yqMZ81nIDYAnBJj2LrwJIrAS2cc3DSQ59rlofcYurmhQUZx/75IQ7KYMeg9a rFIw== X-Gm-Message-State: AOAM533ELHY9VvGWdN5BucdEm3sluVOretgC7mxgHEwM/TgrkreNxn+2 f6NSB/WsmMCOEi2qLTZVtX2nrqRTQdyR8A== X-Google-Smtp-Source: ABdhPJzHi1sk8xS8XHdkHu990I3S0ujzfboZnMWGDZ2zm7h5frkARomuvgda9MjQ5lX4weD8uGUVJw== X-Received: by 2002:a1c:e3c4:: with SMTP id a187mr4066792wmh.58.1609945715175; Wed, 06 Jan 2021 07:08:35 -0800 (PST) Return-Path: Received: from localhost.localdomain (ip-178-200-253-193.hsi07.unitymediagroup.de. [178.200.253.193]) by smtp.gmail.com with ESMTPSA id z8sm3308241wmg.17.2021.01.06.07.08.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Jan 2021 07:08:34 -0800 (PST) From: "Patrick Rudolph" To: devel@edk2.groups.io Cc: maurice.ma@intel.com, guo.dong@intel.com, benjamin.you@intel.com Subject: [PATCH 1/2] UefiPayloadPkg: Enable boot logo Date: Wed, 6 Jan 2021 16:08:29 +0100 Message-Id: <20210106150830.11110-2-patrick.rudolph@9elements.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210106150830.11110-1-patrick.rudolph@9elements.com> References: <20210106150830.11110-1-patrick.rudolph@9elements.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Tim Crawford Signed-off-by: Patrick Rudolph --- UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManager.c |= 3 +++ UefiPayloadPkg/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 c5c6af0abc..2df2d5a02d 100644 --- a/UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManager.c +++ b/UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManager.c @@ -216,6 +216,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 1f5a0bcad0..beba973a70 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 ae62a9c4d6..1a084c479e 100644 --- a/UefiPayloadPkg/UefiPayloadPkg.dsc +++ b/UefiPayloadPkg/UefiPayloadPkg.dsc @@ -169,6 +169,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 @@ -389,6 +390,7 @@ MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf=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 a97ace7395..98d3fdea4a 100644 --- a/UefiPayloadPkg/UefiPayloadPkg.fdf +++ b/UefiPayloadPkg/UefiPayloadPkg.fdf @@ -112,6 +112,8 @@ INF MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngi= neDxe.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.26.2