From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by mx.groups.io with SMTP id smtpd.web10.4223.1646871990229919912 for ; Wed, 09 Mar 2022 16:26:31 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=dNe1uZCu; spf=pass (domain: intel.com, ip: 134.134.136.31, mailfrom: ray.ni@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1646871990; x=1678407990; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=uPW8fsLSOiqS3c2WB3hDALpWPrLC8VLH3Js+uXosDOA=; b=dNe1uZCuSdfPNQ9aqETvM09cbKkKzByeUBA5IxRvmwKAJ7ECvZWgwuZa cbCTAY2/+Y5YrdYbyNKfa0tPUQxyPBuh6h6rPqt5KDiL1F1tsPRZIHbG7 wzJ1bpQgca9y+sKXSRxdTK68Zf3dZjpX5UJ4ykqWAaWLdORzBhBTmQGAj h+PuHrOHqWkfyPmiSWKS2gPCpk5a627vnNUGCx1oDVtlgdLv4dFnmLi1R LLZjg9nV1C8gNGrzcAJGDE51qJTrSzNLa93HNJ8zyL0fNOgn7dVjiV8Zu GMU/G295fMK8rXVk8KMkk9A/dE/jD0WsKqDn1yxXRerTSImIw9P+2/wlm A==; X-IronPort-AV: E=McAfee;i="6200,9189,10281"; a="315839697" X-IronPort-AV: E=Sophos;i="5.90,169,1643702400"; d="scan'208";a="315839697" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Mar 2022 16:26:29 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,169,1643702400"; d="scan'208";a="642353127" Received: from fmsmsx605.amr.corp.intel.com ([10.18.126.85]) by fmsmga002.fm.intel.com with ESMTP; 09 Mar 2022 16:26:29 -0800 Received: from fmsmsx605.amr.corp.intel.com (10.18.126.85) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21; Wed, 9 Mar 2022 16:26:28 -0800 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21 via Frontend Transport; Wed, 9 Mar 2022 16:26:28 -0800 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.171) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.21; Wed, 9 Mar 2022 16:26:28 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GRXvehzvi8YsyHXk3Xq+vd8hEcpgdQwsHMupdx5Zl7GsIT55Nrni0n31szSBGkbESSk6NVjQ0jr6wHsnKDJ54rVpSyNjQFCOu/55CohPLDLMCM4EJl0ApuYV24945WUNo8QRE/eeU6NqnLJIggNVApQ+KG8Wsluw7XDV2Fs8zO3Ip0A687jok+ByR0FZ4+Ihv8f1XJJRDairjCDDfZS54nMjpEYcmd9mhfcHX9pq9PaRtSTqM3hZZ44TS37h0bneFpWa2GhXssf3rwv2XvUXFvJvy8sxzUH5ZpTXN0Gg+EuC5JxkHDLvfSXtBx7zMcFvla+WEG0v7tMTtkJFUXefuQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=7vrl6y9sx2Jk5N6guiyBrA0U56vjygm70hCUAn1IjhU=; b=OTk26aXw8jKqK5GNvzx1MF3rFb99qkUTEkOAsriF4rEQbJ/C+N9loH6CxVLeq9hFT6pb9qO3nLPOCFXOfk8uxWOomGXTHAXL2y9CKGpFQXkBFUcP5PgMgwJLp+/jKD7hjVZiK/9lsjB+GTS31w8YgpYUqHh/4uF8PgWSB4uiIxRMlIaCNaid/YKw3KYXVeCWIt5hmCh4o4XhCi97zt+a+zTyr1kLUnBcv2o3CTpx+vsqKczDJqRYsPHayQ4h25X8PyVVa2mt4F6G2KZRI35eh1J8kZ6qs3UclQ2L+xTzsK/QAdcyCYX1aAdyKG7wx+kRH+BBprmkzNnIRKISWtpRWA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from MWHPR11MB1631.namprd11.prod.outlook.com (2603:10b6:301:10::10) by DM5PR1101MB2250.namprd11.prod.outlook.com (2603:10b6:4:4d::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5038.19; Thu, 10 Mar 2022 00:26:15 +0000 Received: from MWHPR11MB1631.namprd11.prod.outlook.com ([fe80::99b6:d326:2925:4d2f]) by MWHPR11MB1631.namprd11.prod.outlook.com ([fe80::99b6:d326:2925:4d2f%3]) with mapi id 15.20.5038.027; Thu, 10 Mar 2022 00:26:15 +0000 From: "Ni, Ray" To: "Rhodes, Sean" , "devel@edk2.groups.io" CC: "Dong, Guo" , "Rhodes, Sean" , "Ma, Maurice" , "You, Benjamin" Subject: Re: [PATCH] UefiPayloadPkg: Use Boot Splash Thread-Topic: [PATCH] UefiPayloadPkg: Use Boot Splash Thread-Index: AQHYMBuPJ/M9KgrXL0yeFnfSZ7IeC6y3yqKQ Date: Thu, 10 Mar 2022 00:26:14 +0000 Message-ID: References: <39d5ac597e48764877ad572cc4d94ad256e0640b.1646434780.git.sean@starlabs.systems> In-Reply-To: <39d5ac597e48764877ad572cc4d94ad256e0640b.1646434780.git.sean@starlabs.systems> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 8ffe00f4-c0e0-47e5-2362-08da022c9655 x-ms-traffictypediagnostic: DM5PR1101MB2250:EE_ x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: VYqG7T0QVgsbyGeLqhe4GSFMvHsc2DfTXtx5/NUhZB2ARa1O/bu+pGshfF2Ux0SFxOhA84A6n5GqckD0/zrC2sQHAh4y2bULEjnO8WHl9TKzH9AJ01JQSyLJDwpvAm6syN6KMAZWrMZ2cTEn6QU47UuFLk9yt/W1UBcye9fLcGKqLZ0bSFu+uy8rWnLB89Fgniqx64/WQes3+G1S2ArSPN9NRRoK86nkDfYh/pzkmxETyWYAQui9BxO2B8cZ/4gg18KbpMi6th8AlP7eyq0Xxx/MaLyUB7D27EC/wKBUkXNmTeKw4b00LSazLE1VoXuogtk/YWgZxmdtZ50sVin1n8kpP+jiLR6IJX2gR6InpdFHMALrIQ+I6mawon1OPiJ1BQ8VTF9i3pBlF4/7GMZoWxSnzmgz/P2cMvOWJ5L6DkNERXRFoOSwhLZENgdzhMN/l3dHEeNLVZoNCcHMcQlX14EGb4euzGBC/OjCB2gCOt+r853ZM9kAVeddhkZQ3QuhnfPMLC8ZUI+/YZ64/VzDfgcFPV5R9QIZVsVaZCYN6QYGRY0pO9+WGxSgK6f3jDDD2F2FOfHjwT/1TTZQETZnOYOvjB2FDLRJbqxrk6mGOLzgPMRXoCcrEnjoR2eVdLlFtlRrnbekCsb6ZPUfxQHG4Uwyk7FbCvDYQXxnLXCZxeY+7GGosY/9hB/5F5saHlFDBUUk4zgYFo+HkjHENILtlg== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MWHPR11MB1631.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(366004)(38070700005)(2906002)(508600001)(5660300002)(52536014)(86362001)(53546011)(55016003)(71200400001)(7696005)(76116006)(33656002)(6506007)(83380400001)(82960400001)(66556008)(66476007)(66446008)(64756008)(66946007)(4326008)(122000001)(107886003)(26005)(38100700002)(186003)(316002)(9686003)(54906003)(8936002)(110136005)(8676002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?+n5A7GlKgrBIv0eBZ7LfLohak/pelaOPqIlXaWKAO/XlQ0WA+vNA5fiHOVMB?= =?us-ascii?Q?HZdNO2FXviP+IQYbWpqBuwFXIVdd9Tw/ql8WnMNdsrJQHBx7iArbUfdd/pB6?= =?us-ascii?Q?P/+47Na3hslVM81KdnC+l1OIYLhgmYlupsqJjdtY0K36FLv5tb8/ox7KuMII?= =?us-ascii?Q?49eOv4mMHu+05vG9N0ivI+ZCupsw0gmBg+yfbmjDeZ3s+ibj3lZZ2njJYfW3?= =?us-ascii?Q?gPJc1dLroy3+mrO3uSgseRVzVxU3MvgqHAhcLMNVT1FrT6kY1BIDs6kwM+BM?= =?us-ascii?Q?0pxjA9P2ZTrdqg+bcmj0bIIcAv4ve+ftlaUV0Cs1wPL8La1dgngEeZre1QZi?= =?us-ascii?Q?S5FsR2PttyTiu5SZrJ+TlbKelUjrNz/KBhqC6GEgYPvXoMIT3YkenGIRrW4Q?= =?us-ascii?Q?ETLvCdDcCrNIkesmxYBNkLTUOxXwtVMmMSc4gZyyyuGY01wZOtRWk11abeWc?= =?us-ascii?Q?s5WFX/pCQSoPV7zsmt4RLOLXriJU2Yeo3sBUoDQDYPQiq+vAHD2H9Tt7h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ZeJ5s95CU0TbvyE97/1dqODiuN6mD2WvCPxGR?= =?us-ascii?Q?MlGzTtERz7HQA6YmBcMNm9lGBVdpqmTqgNNebI1APD6nrKq+e+xgIhavIgj9?= =?us-ascii?Q?SrC1Tm4xALtuaKz7zu1SCl+fgo3oNlfTAdk44/jL4wnxCxtMU41+D1OJg2bv?= =?us-ascii?Q?bf9QYok40h3y10ffsgeh7adRkU2CjyL1XrM1qJjOJ1RdXvV2kNoKrsjfNNYl?= =?us-ascii?Q?DbX/WRWITwFaLkhQCGw4+c8=3D?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MWHPR11MB1631.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8ffe00f4-c0e0-47e5-2362-08da022c9655 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Mar 2022 00:26:14.8918 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: Iwlkz2a+v6GTlHnegy3nMxC9ZLLaz8olbiThzTeIIxJ3IvkJvOcrKcjFw4579sEy1Xo8hKJ6ftdnoDcVISTlkQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR1101MB2250 Return-Path: ray.ni@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Ray Ni -----Original Message----- From: Sean Rhodes =20 Sent: Saturday, March 5, 2022 7:00 AM To: devel@edk2.groups.io Cc: Dong, Guo ; Rhodes, Sean ; N= i, Ray ; Ma, Maurice ; You, Benjami= n Subject: [PATCH] UefiPayloadPkg: Use Boot Splash 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 4fe81a61d6..1f8d48b7f1 100644 --- a/UefiPayloadPkg/UefiPayloadPkg.dsc +++ b/UefiPayloadPkg/UefiPayloadPkg.dsc @@ -210,6 +210,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 @@ -548,6 +549,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