From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 1142D9414AC for ; Sat, 16 Sep 2023 10:55:21 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=s6mk5IqN6Bi3/iJggxN7hgN/nTZGZitSmePWWCrGl1Y=; c=relaxed/simple; d=groups.io; h=ARC-Seal:ARC-Message-Signature:ARC-Authentication-Results:From:To:Subject:Thread-Topic:Thread-Index:Date:Message-ID:References:In-Reply-To:Accept-Language:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Language:Content-Type:Content-Transfer-Encoding; s=20140610; t=1694861720; v=1; b=Yo+MdLBGkKaWL3n7HrTOoJDn/63c33llSPH7GkNlxzq8URdEQ72RFMO2Oq1GPD9e4rD0b9a/ sRauuQjBolQxt/ar4rG/mlWDhZLOyEbexKGKVHEiNiNS+p+pFqGr1KxjvuznyOOMm4WZ7oTeBnr 30qnhzZPX62s4+xJyk2yOPnA= X-Received: by 127.0.0.2 with SMTP id 9SmzYY7687511xPaog6ugSlr; Sat, 16 Sep 2023 03:55:20 -0700 X-Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.65]) by mx.groups.io with SMTP id smtpd.web11.9505.1694861720174946938 for ; Sat, 16 Sep 2023 03:55:20 -0700 X-IronPort-AV: E=McAfee;i="6600,9927,10834"; a="383243997" X-IronPort-AV: E=Sophos;i="6.02,152,1688454000"; d="scan'208";a="383243997" X-Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Sep 2023 03:55:19 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10834"; a="888506178" X-IronPort-AV: E=Sophos;i="6.02,152,1688454000"; d="scan'208";a="888506178" X-Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by fmsmga001.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 16 Sep 2023 03:54:42 -0700 X-Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.32; Sat, 16 Sep 2023 03:55:19 -0700 X-Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.32; Sat, 16 Sep 2023 03:55:18 -0700 X-Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx612.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.32 via Frontend Transport; Sat, 16 Sep 2023 03:55:18 -0700 X-Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.108) 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.2507.32; Sat, 16 Sep 2023 03:55:18 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=COz/OqubbswNN6AK1d4KO3k3KLlVspFFTmwCNrl0cQ/Axu/+pSATynwTajTecEvYoIrmk0NeSngy+KVR2YNxqtFd+QQCffPnmTKSViRGXOOVcf+RGUM2SfAGtuHxqo7rLLChkcQU6x5vS6RiUSXoecZ482JVdm/aI5gIvqO07gQT1PrOnd8EKtX8anN8jCr3yM9xiiVtCFELS5yLCmeIk1mzxKk29v7FyGF3vzeDjdhJ/RaUIR6l0WIMM547ZNXl6Z3gxAUqYxzamulAsr1HBLO3b67biFSaEnlJCOlYMoNnikuFSlqThYUWWzMarKatFGLX5W6JLzhPwFKZzUeiEQ== 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=uIjfEEtHSbzIkBUvrrBVHkhUaKVjc1G0+1iKdTD/FKQ=; b=Pi7z+ujX+KgP6D20OjU8zhwiGKrbHG9jo5Mi6u84Db8uE4fl8YCONEBIFPKQSbOeXf5yANjYtQq+l+fQagFzhXEE7/qzPPtcDaJLq6ELQLcQyoycaav4I/gJ11hZVVDiWeRhsBfdwY/UpK0OWSqlnTHDxU+we9bkkG3aY/jHeO/0RDLn6z+l/zTiWQjite2NGU2sjS247zWrDXM1YNHoJvooEYW6iltIOoQuap16zSbL5x95EYvPa7N7U5XNVK0Zg2xiInEwy1zs72ZO550/ADhHKJBXaaqa+8S6RUpHTaZ+RLG9015cIcGLDBoPh6wCYtPtmfr8leObxfZlPIoE6g== 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 X-Received: from BL1PR11MB5478.namprd11.prod.outlook.com (2603:10b6:208:31d::12) by CY5PR11MB6186.namprd11.prod.outlook.com (2603:10b6:930:26::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6768.35; Sat, 16 Sep 2023 10:55:11 +0000 X-Received: from BL1PR11MB5478.namprd11.prod.outlook.com ([fe80::b852:2d61:939f:53ea]) by BL1PR11MB5478.namprd11.prod.outlook.com ([fe80::b852:2d61:939f:53ea%4]) with mapi id 15.20.6792.023; Sat, 16 Sep 2023 10:55:10 +0000 From: "Guo, Gua" To: "Wang, BruceX" , "devel@edk2.groups.io" Subject: Re: [edk2-devel] [PATCH v3 0/2] UefiPayloadPkg supports Fit Thread-Topic: [PATCH v3 0/2] UefiPayloadPkg supports Fit Thread-Index: AQHZ6IwHTtFvbXvOwkO4lrxWQHNnJbAdRzFQ Date: Sat, 16 Sep 2023 10:55:09 +0000 Message-ID: References: <20230916105318.1571-1-brucex.wang@intel.com> In-Reply-To: <20230916105318.1571-1-brucex.wang@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: BL1PR11MB5478:EE_|CY5PR11MB6186:EE_ x-ms-office365-filtering-correlation-id: b22c8215-1453-4dae-cdc0-08dbb6a3652a x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam-message-info: Hj39NfmydGM7aywVY5dAvrtvJOAxDANIBCBv0HdxpQEIi7yRNdQe7O/2n8IlipM/ekdleMYY4lTMJ/N1/yYHGGnNzvI2i1PyNiHvdiAYBT2XBQm3LMlzwH+9a1YyvpLtxEgCTVmak6/AheHBfqrU81jw2/uz/jKfk8qLFhNWSAYe1A/FMrPhmV7snk9F14eGaPs+XWOieeTfHQrzkXuJHwiGEK91Sk6tZxL8y6VUE5xvfeG5m+h2AFAIPEJK7HyCJaEtPo7FmcPy5NjrQ6GArtbPkWnGT3mqG1ouMLMsWzRiKELL5oW0x1HzeacH5Q8AnBeX3XGuaGX2qDsBX0R55lnvSo65+pxH/5nIVSKe/R11uNaE20GzDStCuRDuh27Cu8iJyYATaYRdaynW888VAWg6xIp97RJn2qY8jVkIGki/O/D/l7VDZLOjZ/RJCRBp6MAndi0yEnWEJw8WzfGmXs51pKyWgGu+haQWXXmNbaqhCNAE1t6d7pOFCxMyGKDS14gOEzm3oAaq8EsP3C+6sJhXyjTVHd/KHbU0GPscTOFIDXDIkyTDq9zQiU+DRNaR4qAkhxNJ2z9StuPXzixv1FoWO+wOTtAYuwfxuNN76d9ZWObcumllOxpvNfSZwkDR x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?gyWM9YTS+6iVYIFBThxoHkMZxAI5M6n6yZ+xf2U1Bs2Pm/21DgfqW/GLzxMI?= =?us-ascii?Q?Ur+PlMvyWBtxahrb0VXwOVUuLUkSW3renSQChkOD96dAsHteGgySjSXVAy+7?= =?us-ascii?Q?hmrIvSdZDjbPK9xpiVRT6/Tpj4zUwxoJB7LxLvbFOdO98lh642l43DfuDTKz?= =?us-ascii?Q?fCGW+xLyHNGwAjMCJhHzCDqeE79/0lXiC7sLZgRAlsu1XLayRQY7Jlaex4/T?= =?us-ascii?Q?P+0lHKvMfuykr+CchFQNZkseprVQXzLE/Q5S1iRMr0wqw6RhrR7cDzNdHVlW?= =?us-ascii?Q?QluNO1/1YEupDEqzcwEoplkWJ71BcsdBzVvCMS4HuvRL20usSFkvQX0REKq/?= =?us-ascii?Q?7DvsKmON84puP1INS6c4uNihhv4RL2RA5tvvGkCRNWDc9h8odCCq8UZ+V9kS?= =?us-ascii?Q?1bHwkn4uSGlSB6bL7rPGdt76VYu6BsRsjxxnn1rFriT+4haRY8EB8RhitsQC?= =?us-ascii?Q?JcjinUEcRXg9jYGz/4iPwOlwwn+W8qSXlPuaxnmmEo4ugwQh26hSF50grh9j?= =?us-ascii?Q?dGnZUt+EDu7aGzelZJbdVmK8D/Sg64ymIzPyqll+zfXsbhw8d3FKlG+cyXjd?= =?us-ascii?Q?KjbnHyMK73mi9TvlD09S1aSQl5cEdLZVGOcI2f+eTH8y+vcVKZMZV2rDeGDs?= =?us-ascii?Q?S906dU4WRHWyilYSfJvMUmd8NqMACgcGplNGGJWQ3mep0Rp8PI4yiyMnB8yG?= =?us-ascii?Q?QnguQdeDFS3EHjE2OglNPoXItmDAyg7eYNQhalzM2fLRoKj0OUkGzstuYOVZ?= =?us-ascii?Q?KDGHCfrq9qxLTuO3Heqpk5ttFs41atz6WhagQWjSe95wZVGFhtPnPV2V7xMz?= =?us-ascii?Q?hFdR7muVHGDkJJy+efQubJaGvY2RZrD/BuPqMTWa82mN21lzOF26du/AoJM5?= =?us-ascii?Q?zOtWKcdpFxUFznQ7fJS0QgPiNeAbLOND5mvQjDNCPhPHthtcNv/PbnzgCPb/?= =?us-ascii?Q?NVsY4u9S6wWQi1nSXQHs3ezjpQ1MUWCs5sQO5drloodQjFBRM5cOFAwNL4uV?= =?us-ascii?Q?7innTxZyxgRj9/rL+OCk6Ke91F0Z5/Y47jhb96/5WNIJC+bayNhqk8DW6JV6?= =?us-ascii?Q?Ws5yQknxnTSP9gtdgIGZk3z4qt2Z9+SS6As4O82U6xlnzpDd8FZZH/ZxnQ0x?= =?us-ascii?Q?xl1bDF1b2/W7OWxN36wyHw3zqoROlvGaslDu268xfL/hIiz28ySP88BJfD1L?= =?us-ascii?Q?2CLqE9S9cJ3VisMhlXgk1XsBnElWVayja68ltabqsexYMNiFrBb6yt5798WX?= =?us-ascii?Q?9tE85LN0lUC2UyhN6/D9hZbv1WBlCTw9+nD2sebjf0TqYEvr0LSgu2Xy70bq?= =?us-ascii?Q?i+eACTMSQTjFvVcMVdZptMpe9xJYENhTkcjOKbadFwgId5tchlZF5zGh81zV?= =?us-ascii?Q?9UTwPgHbUa481YW+KHC/r0471VUhcMYIdg0VMOU523TsXxrSkrpoUCn2OHcP?= =?us-ascii?Q?41tK3JMwsOofguqSt+F7YJ6ay8NfKIac87mMv+TlWbwHSHVd/S6oYgDlm+Y3?= =?us-ascii?Q?jkn2YIHTEYwwVhK8Zjk4Lks3rf5cHxNKXUIOc9cpITEaXzADPokHOaDMgx7s?= =?us-ascii?Q?+mUsJWwYpHuTP5mKJDo=3D?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BL1PR11MB5478.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: b22c8215-1453-4dae-cdc0-08dbb6a3652a X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Sep 2023 10:55:09.6110 (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: lM4WgPTslX9euJIkx2ydrdN4CEwjNVhu/dlJkbTB4mG+Lh4rAe6Lh9j7yoabX5d5KHSoVbE6uImYUP7afqWlNw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY5PR11MB6186 X-OriginatorOrg: intel.com Precedence: Bulk 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,gua.guo@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: 4gX24lQlk90muL7so7C08rcEx7686176AA= Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=Yo+MdLBG; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=intel.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io Series Reviewed-by: Gua Gua -----Original Message----- From: Wang, BruceX =20 Sent: Saturday, September 16, 2023 6:53 PM To: devel@edk2.groups.io Cc: Wang, BruceX ; Guo, Gua Subject: [PATCH v3 0/2] UefiPayloadPkg supports Fit From: Gua Guo V3: Fix Lean Sheng comment in patch mail V2: Fix Gua and Chasel comment in PR V1: Initialize Version Brucex.Wang (2): MdePkg/BaseFdtLib: Add Fdt function. UefiPayloadPkg: Add FIT support MdePkg/Include/Library/FdtLib.h | 34 + MdePkg/Library/BaseFdtLib/FdtLib.c | 40 ++ .../Include/Guid/UniversalPayloadBase.h | 19 + UefiPayloadPkg/PayloadLoaderPeim/FitLib.h | 60 ++ .../PayloadLoaderPeim/FitLib/FitLib.c | 127 ++++ .../PayloadLoaderPeim/FitPayloadLoaderPeim.c | 150 ++++ .../FitPayloadLoaderPeim.inf | 59 ++ UefiPayloadPkg/Readme.md | 189 +++++ UefiPayloadPkg/Tools/MkFitImage.py | 272 ++++++++ .../FitUniversalPayloadEntry.c | 654 ++++++++++++++++++ .../FitUniversalPayloadEntry.inf | 98 +++ UefiPayloadPkg/UefiPayloadPkg.dec | 3 + UefiPayloadPkg/UefiPayloadPkg.dsc | 27 +- UefiPayloadPkg/UniversalPayloadBuild.py | 328 ++++++--- 14 files changed, 1964 insertions(+), 96 deletions(-) create mode 100644 = UefiPayloadPkg/Include/Guid/UniversalPayloadBase.h create mode 100644 UefiPayloadPkg/PayloadLoaderPeim/FitLib.h create mode 100644 UefiPayloadPkg/PayloadLoaderPeim/FitLib/FitLib.c create mode 100644 UefiPayloadPkg/PayloadLoaderPeim/FitPayloadLoaderPeim.c create mode 100644 UefiPayloadPkg/PayloadLoaderPeim/FitPayloadLoaderPeim.i= nf create mode 100644 UefiPayloadPkg/Readme.md create mode 100644 UefiPayloa= dPkg/Tools/MkFitImage.py create mode 100644 UefiPayloadPkg/UefiPayloadEntry/FitUniversalPayloadEntr= y.c create mode 100644 UefiPayloadPkg/UefiPayloadEntry/FitUniversalPayloadEntr= y.inf -- 2.39.2.windows.1 -=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 (#108752): https://edk2.groups.io/g/devel/message/108752 Mute This Topic: https://groups.io/mt/101396435/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-