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 4BD9F9417F7 for ; Mon, 18 Sep 2023 16:09:25 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=ftyfJc09TZShbTCfIo+3TloK5Oyblb27neXJBjFZfJA=; 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=1695053364; v=1; b=bgJpqdPIcJmFko2TtCFSXmrx/HUQA94oaA54zVhxPmsRyHyclFQ+pK6pilQUyzT8SuZt6MFs dNBR7ERrEI8p432nfSE/hVUuhr7QeemUJ+8WurJee5zJ3sZXIo43GlWeUEP8Tkv9GAxJh8rTV5B IVjW9hlgA5dc9ODYAgaqt5g8= X-Received: by 127.0.0.2 with SMTP id ABi1YY7687511xZNFV3nR9wm; Mon, 18 Sep 2023 09:09:24 -0700 X-Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.31]) by mx.groups.io with SMTP id smtpd.web10.55571.1695053362975952188 for ; Mon, 18 Sep 2023 09:09:23 -0700 X-IronPort-AV: E=McAfee;i="6600,9927,10837"; a="443776283" X-IronPort-AV: E=Sophos;i="6.02,156,1688454000"; d="scan'208";a="443776283" X-Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Sep 2023 09:04:08 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10837"; a="861117105" X-IronPort-AV: E=Sophos;i="6.02,156,1688454000"; d="scan'208";a="861117105" X-Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by fmsmga002.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 18 Sep 2023 09:04:07 -0700 X-Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) 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; Mon, 18 Sep 2023 09:04:06 -0700 X-Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx610.amr.corp.intel.com (10.18.126.90) 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, 18 Sep 2023 09:04:06 -0700 X-Received: from NAM02-SN1-obe.outbound.protection.outlook.com (104.47.57.40) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.32; Mon, 18 Sep 2023 09:04:06 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SYE7tBGisdrfIjLeqagFNqXIe7kRrtGcTR1ifwDWxDp62jF3lNzNcmjETRK4vZ8Bdupjkh3yIOFCAfpxb3RlBNQQ36btlTDMtXn8bIJGpYHdZg1Eu3MV/fcJ7jkTpWoxPEGU2QsirO/TSW+tgs/H2Ao/lIne0v9bPsBTV7YyguZfoRH9joXvuWFayRPioqK0ERTOTgsxNvo0DEbtC+BAoKH+CuZ+AywXLEqyPx0XNIxGgz8hOvGlhcuLFC61i3F8yiHL/UMFL6PWKQZvcE+m48HfNjGlrjeq5LcdO7YZSKdra0MyyFcc+PSqvvnqv8J8Una4TdqG6val1IjFw31ooA== 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=hmdRlYwKPVwcBPJG6PadKsvDiSeHc99AHYBvJHXPwvk=; b=eCeFjUgINDc/VgMQrU6wZq2SvCxw5aPwKA4TlVXSm7tlwIjSsUSMHdyfOATR0Qk0W6FjjKcZAX6cZBRyq3rA+Yft8wj6CnxRP2l7j6XEuT9cYYx37UJpt71Hc+PSP7HcQfX3an+TrplPoe6JAAog3SzcGLLROchPkEA44wxG37ey70U2aMhLASz4uwrEMb+ViIqJs7inFmfhPiEHN0GLUOBizWnv1mdQ1fsmQWd3mG0O/0MMLbfYLIOf4p5N7w2f8H5wXmzIRFPrDfMagOXnpfsjRObPLvMmIXlDXHgQwIR6B5O1ziFHGWzXptcDdxOcA1c6JxZw1wKFG6VI7NuPuA== 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 BN9PR11MB5241.namprd11.prod.outlook.com (2603:10b6:408:132::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6792.26; Mon, 18 Sep 2023 16:04:05 +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.026; Mon, 18 Sep 2023 16:04:04 +0000 From: "Guo, Gua" To: "devel@edk2.groups.io" , "Wang, BruceX" Subject: Re: [edk2-devel] [PATCH v4 0/2] UefiPayloadPkg: Add FIT support Thread-Topic: [edk2-devel] [PATCH v4 0/2] UefiPayloadPkg: Add FIT support Thread-Index: AQHZ6kcOc9FQHzEM3UO0UUjdgyKRjrAgvtGA Date: Mon, 18 Sep 2023 16:04:04 +0000 Message-ID: References: <20230918070157.1507-1-brucex.wang@intel.com> In-Reply-To: <20230918070157.1507-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_|BN9PR11MB5241:EE_ x-ms-office365-filtering-correlation-id: 430389a5-c1ea-4a95-bc2c-08dbb860e1e3 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam-message-info: eg4D/LfyxJBhiRCIehCsvkMhT6hIPa/en9DlkHbYK3aQMBp25606ZahdO5DQl7sngvh69W/JdRHu6I8n4Gt0X3YSgyEjEayKLPfA43vHB5T7JuyrgP9QoezHLspnXdO/gp99Fdm0yu5GX/MnPnv0gi34dohHuJQaKN2DYQcXrj/oqneCs0vH9BoRmZIx2kmcgv9ZEKMZeUYER1UivDYDTcuQ73+gE/VGzXvObVJM9DIe8w0Z9AQXmFtUEhbjDBdUJIStUwoU+F8WK+lokWYmB71I9D0aSnKreiGRVhPhWX4flHfZZqFdO5m0Rit4JkKvC59jvnz0fe74Z6a6zUqeCAn/Ltagn7M697YHjlKHva6U/4mRWqD7PCE9ADnTSvzlbQuClccqWDXXvkRAQVmWd0xpdQPD77Ji2AEqso7gSqMF21gS8gkn8NtmhveMAMe08o+9xZ/D2UZdE9+o/qUVDavL5ngqQs9hhiyhl8uIktPGXWU5Q+9PVby15y9QUSMCstQcMdWR4XQ+hcdq56cX4UaFQh4doTunFHnjEBMVVp8T9AZ3W81TSo+kcJ+ljHRI2wE6f7TC6QtGliC8tej/vvINGyU8PV4Nz0CAbc+dMyvvalESsPi0GqvRnejKbMsHPSiTmLh96RHqFoIQeehReg== x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?3p3Ip4GXjlsY+zwJoAjal4F328SvGG+E58lFs6nQT47O4ukQnuFcuEf8Tg9G?= =?us-ascii?Q?L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u4k9u9O+voHzqXGjiWnQ1?= =?us-ascii?Q?VKcOwkH542wAi2G04ZhhOs0pcpBhEt+LyKoBl/c9C7fh5T2gEJr3s5kLVaoG?= =?us-ascii?Q?LdLWBftf6OkTpCOwHIGj1VIvJlpV74XUn7XZMVz35LlVfHkEw5zjuIsaNaq/?= =?us-ascii?Q?YazBsguIkgXmi3I6xDP1yC0/KYqGqDNUY7ElYpVxlu90t7V01oRAftrbhylP?= =?us-ascii?Q?GWWgYGmHw5r5DluE87FQ+Gv3oA/PDXBjH5FTeGmvTCtP0gltNa+vb/UmTW9A?= =?us-ascii?Q?NsreTlyZORjxl/srNceoUJuzhLH1T006DiDd+EXcQEx3kLpZdPMYcSbLQdnk?= =?us-ascii?Q?qZt8aPIXK+QUzSy05EkoX1Iv7xymysmMxbpUQY8jSBS2fpcJPHYfx16Ipa3W?= =?us-ascii?Q?h6sXrPD7c7hOIoZAbI5o+WQwf+Kr/TaB+tjsJngZVXLNe/D2RpGMH5uvTIfx?= =?us-ascii?Q?ZCsTLfmmgkLEG3QfpYoYhEIGaIm2GSCCLDJ7y6dLwISXN6XDR54rqF4uptED?= =?us-ascii?Q?5thAFxvEcMpDY+ig3uL2jdUDIArEWDMs0O8w8PTgamS6FLcLZbsqYFY9J9Hx?= =?us-ascii?Q?DJz8MuI6AOFlSVw19A8Ih7SFUeIKZfl6Nq3QuMnz3KlB1n2jYW6/Y5Utaf5M?= =?us-ascii?Q?kb4OtnvERz7rAX1XUuw=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: 430389a5-c1ea-4a95-bc2c-08dbb860e1e3 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Sep 2023 16:04:04.9081 (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: 3ZOa11SbltjtWEoYOJr3aEnNvbuMp6C1m8py5eAwPpmRM/wRbYhkTE4QBynWI/TK+DlbaemVhpbKqUky7cuE2g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN9PR11MB5241 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: DoAimmJ9bA0quWj2kaw4D7n5x7686176AA= 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=bgJpqdPI; 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 Guo -----Original Message----- From: devel@edk2.groups.io On Behalf Of brucex.wang@= intel.com Sent: Monday, September 18, 2023 3:02 PM To: devel@edk2.groups.io Cc: Wang, BruceX Subject: [edk2-devel] [PATCH v4 0/2] UefiPayloadPkg: Add FIT support From: "Brucex.Wang" 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 | 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.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 (#108804): https://edk2.groups.io/g/devel/message/108804 Mute This Topic: https://groups.io/mt/101435622/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-