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 DB3D3D8026F for ; Mon, 25 Sep 2023 23:28:44 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=IkwiYEvCh2h8iQCZX+IO5VUnkwX288LUXZtiEODLabM=; c=relaxed/simple; d=groups.io; h=ARC-Seal:ARC-Message-Signature:ARC-Authentication-Results:From:To:CC: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=1695684523; v=1; b=ssowHePejFMDDoiEt1uGWPV+aknLFsZCaHT0QXsr3Odc+i9JHQ97Q1T4ivQoTIzfREhzLID6 4ht4PKU0PF9KyYHM/mLVI9ZLZOkshX69gWeCrALqsEbPH2f+QizHOHi6BW9FzHOD3e75UzvS77l fTX1Nn3/GVVJjeFz4nlVSkS4= X-Received: by 127.0.0.2 with SMTP id 28HAYY7687511xFmOikf8a1O; Mon, 25 Sep 2023 16:28:43 -0700 X-Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.126]) by mx.groups.io with SMTP id smtpd.web10.7153.1695684522561770316 for ; Mon, 25 Sep 2023 16:28:42 -0700 X-IronPort-AV: E=McAfee;i="6600,9927,10843"; a="366498527" X-IronPort-AV: E=Sophos;i="6.03,176,1694761200"; d="scan'208";a="366498527" X-Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Sep 2023 16:28:41 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10843"; a="864179755" X-IronPort-AV: E=Sophos;i="6.03,176,1694761200"; d="scan'208";a="864179755" X-Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by fmsmga002.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 25 Sep 2023 16:28:41 -0700 X-Received: from orsmsx603.amr.corp.intel.com (10.22.229.16) 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.2507.32; Mon, 25 Sep 2023 16:28:40 -0700 X-Received: from orsedg603.ED.cps.intel.com (10.7.248.4) 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.2507.32 via Frontend Transport; Mon, 25 Sep 2023 16:28:40 -0700 X-Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.168) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.32; Mon, 25 Sep 2023 16:28:40 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=U12X/7Apdm3VHCJyPm5w/iOa9tSK4mSZl5o3XpCbS78tGdX6gY3yaiet0CL7IJufM9KzCPAkBpBVh4cfBRE0PrSvTkq/o6Gb/dTCVYMfNIWj2VWA+J+TmM9n9oCL2j4Ms0ZlkP7oJ1ujskCLSIRFPy7Pf0XV2Idw4QMv2T7KMYWm2y6NKLhSDPl3SX6PqyVrx0l8I0AucxzPhClYYo7o30mgDhs7IasurJdFsNJ1I97PQXJ/x6dI10J/Su/H9mI/28vgIrRxq3EwO5C91UmVTJDJHaGma+1OTQBKT4bkoXkb69HVPmpurHV6L0DsJBrQLIcVVXKHUDV91H4wIBg+ew== 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=JUcRKsyuMHDv/4qZrcpAbnAp4erZxKcjXBY8neMDuGY=; b=OAHnETUxS2sR06hyUPVxLiDORxBv3fvy/jSaipJ8YgvIyBl23vo78YGXFfAEXb3vpdf9E93AZIloahVXiRSN4kWWmx/Qd3Qi8xE442/1UhOy8o/6vKM/eVefh+PqK2u6d2JAKxpfBLviE5qxMlTp8yXZnJ5GEgAjOAYPAZBXAHSUaiWiMjXdyXSc1w8LvW6/nahN94N1MqltrIVfUhP9hgrIS5dp7EID+TYOJK/KSXNe0W4D+PipXy4r5xTpP5uD6c2PaMlxqUzNjuNT2FnSD8BQ0iKAviO46k718wqKpkohC5lnn5BAMDIrmh3MRHmWPiBhQVerwNUIfyIIHARiZA== 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 SA1PR11MB6942.namprd11.prod.outlook.com (2603:10b6:806:2bf::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6792.21; Mon, 25 Sep 2023 23:28:38 +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%5]) with mapi id 15.20.6813.017; Mon, 25 Sep 2023 23:28:38 +0000 From: "Guo, Gua" To: "devel@edk2.groups.io" , "Wang, BruceX" CC: "Chiu, Chasel" , "Lu, James" , "Lin, Benny" , "Dong, Guo" Subject: Re: [edk2-devel] [PATCH v5 0/2] Add FIT support Thread-Topic: [edk2-devel] [PATCH v5 0/2] Add FIT support Thread-Index: AQHZ78jm1Rh93t9wlkC1EAIjXETcw7AsL+KQ Date: Mon, 25 Sep 2023 23:28:38 +0000 Message-ID: References: <20230925021517.1444-1-brucex.wang@intel.com> In-Reply-To: <20230925021517.1444-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_|SA1PR11MB6942:EE_ x-ms-office365-filtering-correlation-id: c5586bd0-56b7-45d5-75e7-08dbbe1f253a x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam-message-info: fFEPXoG2h8rMvq00IZBPd34XGEsShmnOKlnidsR+zdXwOsqDUAGiF8FWKjNnXF/muBJmvC6UnIPKG/U9HyJZwYmy5o41Tb0UvBOCLVmdR7WEs9KrV0bcO5D0ibu9TKGcmlAt6jptDgtouw4shKRi7kKOHUsoBUBAoKNUm8hqnI1quj3DQ54UGsvvNqi/miR3um981U7JJRKD2QNzM3gvgohv3/fvLzt+C6hLj2akf3S2cq1c4hKQZZeXVuTt5jmlmJGL+Xh1yKW/tutqmOCRo9DCPXgd/6B/Pu7Vt3bw7tCO1E1WdSxDAkH3i4EMN9hkz3Oi+P5UGeMTEirWUOHBFCEBJjv9ygZ5qv2oxorLtU0bHqvOLJR16t1Po34Jl+/67a8wpJ3JHsB3wMCgTdLW46hdC7qdys4GR7SVXYtdQSLYmVtv7repnfvgYVUVP4AcoCwKJankaLAu7NFW7em2E9u2aw7GMRg7fD+ovqxZu+AkOvlksR9hryPjgrwTojdDT1EV+Mvro26bPyXIoAPG3gqHKEdueKTcZBDnTog7UyFlkhVioY5bPke3rDCTrfupMNMbYYywe1t0+nBVpm7YTTHYV5UmJmXy4l0TaH6Xudw7XE9YPN8XU8A7/M5pNZirmDnQ8fRy/sV/EsHCWiyimQ== x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?h/otdpUKqML7vQe9E2B2+ZhSw4NOm08QhXexpA/fj9U8Ro3JJL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Lk2Q0rppCqAj57QfoVszGj0jHzOiPoFISs?= =?us-ascii?Q?1uHpUqTOl3Tzvcg2TVf3PZiCUKQ8tBuH8Ikgrd2uQeYWV4o5n+Sp71orsjOZ?= =?us-ascii?Q?6OsYCRYMLQPBUThTk0pbJ86AyzD9yvbYaWU9eEuPo6fKTcadXyeMstF9+0xG?= =?us-ascii?Q?qV9LSQ5p9L4XxeVNj4hqkwW05zkYaRhOoPrTt9FuylfRzGKXKmTd2UtyF2n4?= =?us-ascii?Q?/6ThyCVsDS0pv2cvzkWI/E572mN8Ipb29+ACPe96HdUgHLmRhQHWEpAJn6eO?= =?us-ascii?Q?GGP4TIib/UX8QHatIywb73Ae0a6Gm/JObhXRLB6qNpG1eBYjIljlGW3qMkYL?= =?us-ascii?Q?Myy/4Btlzp7fQJsHhkX7ekZN3wYQClhAP/H4GI+wFVKs6WOpdH6LJxd3aI/t?= =?us-ascii?Q?9Z32T1lFn59Wimn5uJqBNOakP2qKFIcTYg7LfKMuykrm2zyWCn4H1sAO6Ng3?= =?us-ascii?Q?y5tzIWcHp5TwP+kX2oqg68HSqXeMWHK2EZnKI2CiUuUzgV3oRglujGZPBghY?= =?us-ascii?Q?fSZaLv06JZqV/oI0shHJKX6TCX4fIpv/V2A2gx6XB56du8yrQEaPc4663LGb?= =?us-ascii?Q?IJC6IRW/ba6MkbdiuIPzTgF/wNHxyWwGELg/NJGlEGMuL7NFUSJamnIS3TKL?= =?us-ascii?Q?hq0e+IHfw+kXlAEnrYU=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: c5586bd0-56b7-45d5-75e7-08dbbe1f253a X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Sep 2023 23:28:38.0506 (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: a9BmzRKaKWidqQdnZdRc6CWS69Hl/rdqzIow65N6I5SjLhooPiByb/uIhsqCyWwSwPz/LMwtzzVOBbCM5OVseg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR11MB6942 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: V5nmNEDFuoZRBRGdKdSrDWTSx7686176AA= 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=ssowHePe; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=intel.com (policy=none); arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:dns request to arcselector9901._domainkey.microsoft.com failed: no records with this name}") Series Reviewed-by: Gua Guo -----Original Message----- From: devel@edk2.groups.io On Behalf Of brucex.wang@= intel.com Sent: Monday, September 25, 2023 10:15 AM To: devel@edk2.groups.io Cc: Wang, BruceX Subject: [edk2-devel] [PATCH v5 0/2] Add FIT support From: "Brucex.Wang" V5: Fix Gcc build failure. V4: Fix Benny comment in patch mail. 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 | 653 ++++++++++++++++++ .../FitUniversalPayloadEntry.inf | 98 +++ UefiPayloadPkg/UefiPayloadPkg.dec | 3 + UefiPayloadPkg/UefiPayloadPkg.dsc | 27 +- UefiPayloadPkg/UniversalPayloadBuild.py | 331 ++++++--- 14 files changed, 1966 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.1.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 (#109051): https://edk2.groups.io/g/devel/message/109051 Mute This Topic: https://groups.io/mt/101576342/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-