From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mx.groups.io with SMTP id smtpd.web10.305.1659561249264140218 for ; Wed, 03 Aug 2022 14:14:09 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=bkeFiwIO; spf=pass (domain: intel.com, ip: 192.55.52.88, mailfrom: guo.dong@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1659561249; x=1691097249; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=h8k1xXYxB0hRIXwFqeb0Nfz1jQJXRu9dumfsyclsL/Y=; b=bkeFiwIOHRs+O8s6sagHK9GkZaZuzmZZaxLvIAwWmn2zyZ+1nQzcbRJu VwCRf1VqyYlbRJborx/n5w+4v1ld/t34XwN3CnIwW6yYP/UHeUZTEqNbg C25YuKXMU1YTXTlavWkjsGt3kUZRqls7hrHn0e14UIQYqp+eNzjLdaw6w 5RApKwRmTYZq5IsRUSAMMA0wKYfMSfeUtdGI1jbQh583Wqb204nVmG0hz us3CMES9VytbvHLZQekwharChj6JkfbxTSjaP/zh3ZvkJ/VBoQBYl0V0r SGebM2B11xaTLFZ+XeT0L4rqCRw3CXWmd8Tq68h9gpA37ava7iySplj16 Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10428"; a="315648231" X-IronPort-AV: E=Sophos;i="5.93,214,1654585200"; d="scan'208";a="315648231" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Aug 2022 14:14:08 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,214,1654585200"; d="scan'208";a="662249405" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by fmsmga008.fm.intel.com with ESMTP; 03 Aug 2022 14:14:08 -0700 Received: from orsmsx608.amr.corp.intel.com (10.22.229.21) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.28; Wed, 3 Aug 2022 14:14:08 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx608.amr.corp.intel.com (10.22.229.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.28 via Frontend Transport; Wed, 3 Aug 2022 14:14:08 -0700 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.168) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2375.28; Wed, 3 Aug 2022 14:14:08 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ePl70cBijYkmAKxB8yrQ5Y35B0v4/1bQ50GmjRU07ymaE6nd5yrUG3iY1/jx3ZsA+3sLBNxORgnhG1XOQQS/SAZmgwm2QO78CnTDzjy0L5bLplWgjEkvXHElIWqWmoaL6GkqoR5iIzJW5BfjeIchNkcYWIi91yIkj1KXWpoUvFNI4pGOLILGMYnyLLGg2lI4NreL8ymyQ3lcE8NXjeVKimHoj9nm7khEB6cO8bYIf1WjOsmlOfrwr+OK92FttFLSi1pUURBzgAJf12x3CwTx/CVEQVzszbOI/lPRqs+cNffh/e2PD4VxWKfVQRVkmLqR57WTxJPi6KgdEyO8L0FNyQ== 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=VUeVJ5WH8PAZz7MFOovm6esGYAjQb+IC8V1HwFqAzY0=; b=KYPcpYCFX2VBYi2gCF9ftkYVCbhrpv63djuuKU779QwxUEDAKNoE0D6XcO53YpipiFONcBgKt7ZuWDD+xKKr4RwwpihQLajMm1pisg0I+MyKhEL4g8Rb/XzUDE7Owe8KFNc1AkcFJmoastxAbPnYd2jOE4eBkk89HO/XH9eiNw/2x2LHLcEXSy2yIPOgxKEh91Ap6FMPhtzJIK05xZWo4wf3Hdajadqx8QirC5E7Cjl4XKmP9+dUcjEMlmYPx5zTODrQeCK6F6J094bQ1LPp5rRzbucRWmokmAFM+qB/5+AZdVNlQHec1Yo26xRxYxEGjr69bcbxeHaevoTPTRh6sQ== 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 CY5PR11MB6260.namprd11.prod.outlook.com (2603:10b6:930:23::16) by DS0PR11MB6495.namprd11.prod.outlook.com (2603:10b6:8:c1::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5504.14; Wed, 3 Aug 2022 21:14:05 +0000 Received: from CY5PR11MB6260.namprd11.prod.outlook.com ([fe80::d51:f743:8ca2:8160]) by CY5PR11MB6260.namprd11.prod.outlook.com ([fe80::d51:f743:8ca2:8160%5]) with mapi id 15.20.5504.014; Wed, 3 Aug 2022 21:14:05 +0000 From: "Guo Dong" To: "devel@edk2.groups.io" , "Rhodes, Sean" CC: "Ni, Ray" Subject: Re: [edk2-devel] [PATCH 1/2] UefiPayloadPkg: Add a Macro to enable Boot Logo Thread-Topic: [edk2-devel] [PATCH 1/2] UefiPayloadPkg: Add a Macro to enable Boot Logo Thread-Index: AQHYpqqe7PgDdlAxx0SjpWPpcrM9x62dro9g Date: Wed, 3 Aug 2022 21:14:05 +0000 Message-ID: References: <657766b60de4e2ecb2ba835a015d2274699a9ba5.1659470421.git.sean@starlabs.systems> In-Reply-To: <657766b60de4e2ecb2ba835a015d2274699a9ba5.1659470421.git.sean@starlabs.systems> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.6.500.17 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: c6653fad-67d8-49ed-bf21-08da75951909 x-ms-traffictypediagnostic: DS0PR11MB6495:EE_ x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: kEX3PN0fvU3ZCWRg+KjEsxRgKv1rGjDOLEHG2g1fhSM96QYmonM/YCKZxuBN/eE5LwwP9ci6UHzYPUeeDAzC10xIS/UCUzhWh8MZdeB5jPxvxVJsM6Y3bx5P2NKetp4MDf2vAd/XaUDp5jO2+QtP41UFtAAp2OcT337spJH4rc5yJZXVFgmCt9Uwgz6ZZC1WFAYLLEfc6IkvwOj3lDklorlwjP7rr+NOcFcENCZM0wTqkYDVb0BwXxgkmv8fgLDrIsM1pNo2DLdCuceZarK0pcGncves0c2nLzf+zQb0S7cOCfSvtsjcuM2naA37w9VkmGlNd7SHdnrG+ng4kCdSr4BoU8XbCx78ktSFGm4jHnc3zkkTv1+bWYrKy9G416O3cIsC7omyeDM5ii0MEGGgQv1kEwaC54Cq9LmlLe/uts3PcM9+443DO/9gI4/7nyqr0fJ/jra7Xl9WVdFISLGmp+7BRRLHjPNlXhGBgLimU3oNtX+V4g3jCBtdzTOyHmlm0sPF6EJR+UhBpEouP5xQHEi5T277DjzKyixYNLrHHZrt6hcRYZpMRCCIuTi/0bkODZcrwbIOhgBSwfHBYfb+/++DwnNpMXOKAdHeE+ypl3LaOCcV8y9ksdYZd63LT++3NNby4N3jBoqI6dy1kbIGJZl6U6x1EkDTSRp0Sn1fhUxQP6UKWdLc/XBpnRo54ZYf/cvwT6zIESC3GCiSOHrYzCAltIkNtuDpBDaiBp1puNjKT448uZNl7GLp47riS9srORduKb2snkQ3+3bNKaq7fh3UwJT0FbRrJt7CDo9OJi7ZXqMb0XUclt8x7vLkgBmVp3RsiqNlZ8Bh5wV3YkKMz1IbHIH8+k4FJXPjuldN4rcPAhEJ8EilHv7ISqEYL1Pl x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CY5PR11MB6260.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(136003)(376002)(346002)(366004)(396003)(39860400002)(38070700005)(33656002)(26005)(76116006)(38100700002)(66446008)(66476007)(8676002)(82960400001)(4326008)(41300700001)(64756008)(66946007)(66556008)(122000001)(86362001)(55016003)(2906002)(8936002)(52536014)(83380400001)(107886003)(5660300002)(316002)(7696005)(53546011)(6506007)(9686003)(966005)(71200400001)(110136005)(478600001)(186003);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?byRdFi6W/wIsYciyQdBE/i9BvYtpYTHT5HPsA9XWZYDvQ8b2eAb8A0pg54iT?= =?us-ascii?Q?tlKYH4wYdmUcJ/OiYlsATXOaNxUwHUBdgTLDe1EEE0XPs6bDItGQeXRBY7Ko?= =?us-ascii?Q?5B4jfBwnHtuxwtjceGE+vHGgtuC6LW6odgj5fl+DPIxETKIz7EZGg7TiFBxw?= =?us-ascii?Q?lq3LrU89GYuoQDdauvMv+EwivVLr1fQX+ruUys9wi5wvNqf89Wmpoeh0GB/e?= =?us-ascii?Q?cjp5vwGzf6eyUHy9EsdnCxvODmOhEnf+Z7z4cYt/QF3xZ2de4Db4gySIhhNx?= =?us-ascii?Q?VTYefXSRHvD9Xvq95wYb/M9WGY+J1Nf82A9dEid9eTg2OCUFfQ6kP8IlQmXF?= =?us-ascii?Q?+gxs+emTqN9Mak5j7Q1IaWvN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?Q?lbghLNA0VwjE5KqnnVTcihLkTNSHq1lpe97APd6/gUdAhltk9cQCn0+Wo1WX?= =?us-ascii?Q?t7Eqv5SBRDpGueQnW06UPIdR5OH+A1vLSyQpNis7nycLLKs4ylBLLOQ9kmAj?= =?us-ascii?Q?fn/aBE8iDZqjOGK1aRvSibnYYxZUQ/BbvDJeOFPwL+g9Rvka25jOqUeEGVBg?= =?us-ascii?Q?Iq2T/H9E2zL4h6u4HpKQ721bTk2U5XUXrtxNCvTDCyhCWfOP1PqVf5R7ltrr?= =?us-ascii?Q?nY5rJs1cRzEZWb9CWtvtF91x2Vbee3KQLAY0nBOodJzI/5vq8tLlb/QqybO/?= =?us-ascii?Q?kY1JQtedOFjGd2wM0pIrXhLXRy543A+lEVIqMMLJ?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CY5PR11MB6260.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: c6653fad-67d8-49ed-bf21-08da75951909 X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Aug 2022 21:14:05.6836 (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: WXn5Utwp7jbZpBs1QiYsJ7sSspYCsdDYbYEtCobjAMwV2qu8c3yNW0IGBNaFhQDpYPIkBRF8W8Bb27LFmq0wqQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR11MB6495 Return-Path: guo.dong@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Guo Dong -----Original Message----- From: devel@edk2.groups.io On Behalf Of Sean Rhodes Sent: Tuesday, August 2, 2022 1:00 PM To: devel@edk2.groups.io Cc: Rhodes, Sean ; Dong, Guo ; N= i, Ray Subject: [edk2-devel] [PATCH 1/2] UefiPayloadPkg: Add a Macro to enable Boo= t Logo Add a macro called BOOTSPLASH_IMAGE, which when enabled, will display a log= o at boot time. Cc: Guo Dong Cc: Ray Ni Signed-off-by: Sean Rhodes --- .../Library/PlatformBootManagerLib/PlatformBootManager.c | 9 +++++++++ .../PlatformBootManagerLib/PlatformBootManagerLib.inf | 1 + UefiPayloadPkg/UefiPayloadPkg.dsc | 6 ++++++ UefiPayloadPkg/UefiPayloadPkg.fdf | 4 ++++ 4 files changed, 20 insertions(+) diff --git a/UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformBootMana= ger.c b/UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManager.c index b360e29dfe..a3b98f713d 100644 --- a/UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManager.c +++ b/UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManager. +++ c @@ -243,6 +243,8 @@ PlatformBootManagerAfterConsole ( { EFI_GRAPHICS_OUTPUT_BLT_PIXEL Black; EFI_GRAPHICS_OUTPUT_BLT_PIXEL = White;+ EDKII_PLATFORM_LOGO_PROTOCOL *PlatformLogo;+ EFI_STATUS = Status; if (mUniversalPayloadPlatformBootManagerOverrideIn= stance !=3D NULL) { mUniversalPayloadPlatformBootManagerOverrideInstanc= e->AfterConsole ();@@ -252,6 +254,13 @@ PlatformBootManagerAfterConsole ( Black.Blue =3D Black.Green =3D Black.Red =3D Black.Reserved =3D 0; Whi= te.Blue =3D White.Green =3D White.Red =3D White.Reserved =3D 0xFF; + Statu= s =3D gBS->LocateProtocol (&gEdkiiPlatformLogoProtocolGuid, NULL, (VOID **)= &PlatformLogo);++ if (!EFI_ERROR (Status)) {+ gST->ConOut->ClearScreen = (gST->ConOut);+ BootLogoEnableLogo ();+ }+ EfiBootManagerConnectAll (= ); EfiBootManagerRefreshAllBootOption (); diff --git a/UefiPayloadPkg/Lib= rary/PlatformBootManagerLib/PlatformBootManagerLib.inf b/UefiPayloadPkg/Lib= rary/PlatformBootManagerLib/PlatformBootManagerLib.inf index 9f58c460cd..7ec93420f2 100644 --- a/UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.= inf +++ b/UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManagerL +++ ib.inf @@ -39,6 +39,7 @@ UefiRuntimeServicesTableLib UefiLib UefiBootManagerLib+ BootLogoLib= PcdLib DxeServicesLib MemoryAllocationLibdiff --git a/UefiPayloadPkg= /UefiPayloadPkg.dsc b/UefiPayloadPkg/UefiPayloadPkg.dsc index e78e959ce4..abe1a42709 100644 --- a/UefiPayloadPkg/UefiPayloadPkg.dsc +++ b/UefiPayloadPkg/UefiPayloadPkg.dsc @@ -42,6 +42,7 @@ DEFINE CRYPTO_PROTOCOL_SUPPORT =3D FALSE DEFINE SD_MMC_TIMEOUT = =3D 1000000 DEFINE USE_CBMEM_FOR_CONSOLE =3D FALSE+ D= EFINE BOOTSPLASH_IMAGE =3D FALSE # # NULL: NullMemoryTe= stDxe@@ -229,6 +230,7 @@ CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf = SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSe= curityManagementLib.inf UefiBootManagerLib|MdeModulePkg/Library/UefiBootM= anagerLib/UefiBootManagerLib.inf+ BootLogoLib|MdeModulePkg/Library/BootLog= oLib/BootLogoLib.inf CustomizedDisplayLib|MdeModulePkg/Library/Customized= DisplayLib/CustomizedDisplayLib.inf FrameBufferBltLib|MdeModulePkg/Librar= y/FrameBufferBltLib/FrameBufferBltLib.inf @@ -432,6 +434,7 @@ gUefiPayloadPkgTokenSpaceGuid.PcdDispatchModuleAbove4GMemory|$(ABOVE_4G= _MEMORY) gUefiPayloadPkgTokenSpaceGuid.PcdBootManagerEscape|$(BOOT_MANAGE= R_ESCAPE)+ gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1800000= !if $(CRYPTO_PROTOCOL_SUPPORT) =3D=3D TRUE@@ -616,6 +619,9 @@ !endif UefiCpuPkg/CpuDxe/CpuDxe.inf MdeModulePkg/Universal/BdsDxe/BdsD= xe.inf+!if $(BOOTSPLASH_IMAGE)+ MdeModulePkg/Logo/LogoDxe.inf+!endif Mde= ModulePkg/Application/UiApp/UiApp.inf { NULL|Mde= ModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.infdiff --git a/Uef= iPayloadPkg/UefiPayloadPkg.fdf b/UefiPayloadPkg/UefiPayloadPkg.fdf index afdd6447a7..d7c9db191c 100644 --- a/UefiPayloadPkg/UefiPayloadPkg.fdf +++ b/UefiPayloadPkg/UefiPayloadPkg.fdf @@ -165,6 +165,10 @@ INF MdeModulePkg/Universal/EbcDxe/EbcDxe.inf INF UefiPayloadPkg/BlSupportDxe/BlSupportDxe.inf INF MdeModulePkg/Univers= al/SmbiosDxe/SmbiosDxe.inf+!if $(BOOTSPLASH_IMAGE)+INF MdeModulePkg/Logo/Lo= goDxe.inf+!endif+ # # PCI Support #-- 2.34.1 -=3D-=3D-=3D-=3D-=3D-=3D Groups.io Links: You receive all messages sent to this group. View/Reply Online (#92059): https://edk2.groups.io/g/devel/message/92059 Mute This Topic: https://groups.io/mt/92779006/1781375 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [guo.dong@intel.com] -=3D-=3D-=3D-=3D-=3D-=3D