From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mx.groups.io with SMTP id smtpd.web11.12373.1680312599543807832 for ; Fri, 31 Mar 2023 18:29:59 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=fx3F6ts3; spf=pass (domain: intel.com, ip: 134.134.136.20, mailfrom: andrei.warkentin@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1680312599; x=1711848599; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=90nvFHywTR2nox1xlYUbFZ5xhc1AHF7V3jkyU1Z5hwQ=; b=fx3F6ts3D2fM0jyRR6Cn2gm9w2Xcwv9er3VrnJakDAEEWwZRx6WFVzeK ZfEpxTXRgf6rY9cNSl0ZR4RdrLR5/usKgAhRtZExE/wcjrmnjOHaSLuK0 wHt2xlWEq7bCtfd34OLTZSpSJn2g/ns2VW+0KroZhzYJ3mc6lNEqokoDY 7OHRSiKEpm1lCtXM1vzoBBmN+iX3iA7JJTP67A/ZB8XdQBsoUuJyGImmF QaP1BL9ZAAyeId8TjWsLE3mldmsVZ93hFVdTW6D9YYE/B8I+Ui/cj19ud 1qBaZh4/WkxsXa5Bau4KG3/4fNU1GTjpWK5b5LWZmFB1IxvBj/A+OWnc2 w==; X-IronPort-AV: E=McAfee;i="6600,9927,10666"; a="330151377" X-IronPort-AV: E=Sophos;i="5.98,308,1673942400"; d="scan'208";a="330151377" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Mar 2023 18:29:58 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10666"; a="796330820" X-IronPort-AV: E=Sophos;i="5.98,308,1673942400"; d="scan'208";a="796330820" Received: from orsmsx601.amr.corp.intel.com ([10.22.229.14]) by fmsmga002.fm.intel.com with ESMTP; 31 Mar 2023 18:29:58 -0700 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Fri, 31 Mar 2023 18:29:57 -0700 Received: from orsmsx601.amr.corp.intel.com (10.22.229.14) by ORSMSX611.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Fri, 31 Mar 2023 18:29:57 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21 via Frontend Transport; Fri, 31 Mar 2023 18:29:57 -0700 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.106) 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.2507.21; Fri, 31 Mar 2023 18:29:57 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZfJv6MWJprWjd0DQEZ/ejsHVC2YtgRpg0L/fLUaY0OBLjBDfPuxP2QVkgC8FsRSl6ScHfuG0CZcI9nxCJHtsAdAaInrOths5tGg8L9lmn8PrOdL+8Buoc2I4VhT1mhWIkeOzTMKTQ33+TKhS3RiAngOJCQZv50XB+dLyUzfXMQSdqMpTXzlftzqbZfPQoY9f5OP1fk32DJBttjjGu6fMhLVPb3fQ/H007XKx2VnJ9HxiLV0NRrx4vZXcMdUdIVKcgai5U8TY9herMaTHNlMzWl22JjxLL0HQn0P5qkwykTzKNutcmiFARY4tOxp7JntK1+VyS37/U3bVD2jN+SFSFg== 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=0dZwEesvg9KDrkfQT3fauUIsz9WDjH7+S1DSK7lUw7Q=; b=nKVje0DCDf1OKEyXjgNxNjSfqFtVlZniH/b0NLos9z6TiFhDOZyzqx+0i1KzhZeyBl9TaUHOeRhMlRzbrJ4Bgktbari5nox5e/n2oFs8n2GzE4dglNhPqMAD2HOZ+FZdEdScbCZa8ge0vO6ymgH8CfFHSgwkJoOtI6Tg80w+GhquYx7lmTaT/H8aL2bY2XRCbPlMUzNmwlbDjqLIFMoeoFInhTFHYaFB6gcuj44ePf6UlC/0/uJRcQYMSLCi5+2fZjuHgWS1QZaULcZHKEkCfyBDxXm0Y6DOkIPNwrt0UgLX1dayFmTEGX7d9AsM8cB02w2Xe5rKivLOUFj+6+3nTA== 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 PH8PR11MB6856.namprd11.prod.outlook.com (2603:10b6:510:22b::7) by MW6PR11MB8337.namprd11.prod.outlook.com (2603:10b6:303:248::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6254.24; Sat, 1 Apr 2023 01:29:53 +0000 Received: from PH8PR11MB6856.namprd11.prod.outlook.com ([fe80::f480:22ed:c915:13f1]) by PH8PR11MB6856.namprd11.prod.outlook.com ([fe80::f480:22ed:c915:13f1%4]) with mapi id 15.20.6222.033; Sat, 1 Apr 2023 01:29:52 +0000 From: "Andrei Warkentin" To: "devel@edk2.groups.io" , "Lin, Benny" CC: "Kinney, Michael D" , "Gao, Liming" , "Liu, Zhiguang" , "Sean Brogan" , Michael Kubacki Subject: Re: [edk2-devel] [PATCH 0/2] Support FDT library. Thread-Topic: [edk2-devel] [PATCH 0/2] Support FDT library. Thread-Index: AQHZYysCfHp7A/ekW0qQTm8zIKlPPq8Vq+2w Date: Sat, 1 Apr 2023 01:29:52 +0000 Message-ID: References: In-Reply-To: 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-traffictypediagnostic: PH8PR11MB6856:EE_|MW6PR11MB8337:EE_ x-ms-office365-filtering-correlation-id: 8e3cf8b8-7305-49f2-b944-08db3250978a 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: iIBlVbEUIx4UzchyTurcl/NY7jcSan7Xv1m7Y4OlOWa9KoMNmR1Xzirg4pXrH9wPB/qrfxoitigNEpmiGatjwhDiXGL7LOX8X9DOx9+p1OOvTzTgFYttIo1iMG9m9j3EJA1ZPJfIAGtHMfMi6zsr3CbfWYBWz9AsfKu/V4WBKHfketlBscLj+fOrmyL3ypw+Fv7yE6fK1PlHeVfPieu/XuknY0U4O7w69NA1km9jpZrE4o904YYBYDU6gaRb2DNZ8TDeENilVnu2VQm4s9TZtlBBX4ZvtR3V/pAIgJlgu4dbGU6kyg2J8sWwW3xKiPYbeUs86EZM5j8/CvfdCWkjk9ifu+VUNK9NJfyTAH5QGvTjjHjTxsQ8kms7wLAYzVo1AkGr+iWFinScWJumzcQ76b4attQWwXzB5hLNC3bSdIDV7XMESOELWgeVMxcCyhCvKZGrQYQhjLvhvzGfjaxWoUJRDYbFjHQ6Fn5CuBJbW6AkScSbgc4LMG2D0hp9EX4kz4WfqAjuSJDTjOnIMWp+etAo9K7VON0rW7Dv4hlfYughQZ7dkCuUFWuVc4Z60X8gMHVqXJDeMMlMSk67FWOEgbTVh+n5uYVYfsJm3/u0ZgkBfRblqpDd4etJdEV/h3m5qCRg3LArlW5UwuuxoFN8DA== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH8PR11MB6856.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(346002)(39860400002)(136003)(396003)(376002)(366004)(451199021)(41300700001)(966005)(122000001)(82960400001)(186003)(86362001)(66556008)(66476007)(66446008)(66946007)(64756008)(4326008)(76116006)(53546011)(9686003)(6506007)(26005)(66899021)(55016003)(8676002)(8936002)(2906002)(52536014)(33656002)(38100700002)(54906003)(6636002)(83380400001)(38070700005)(5660300002)(7696005)(478600001)(316002)(110136005)(71200400001);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?fF5AAqO41LvDRD6Yjvu+X2RtyYhIeduqrQxSDhmRdJsFmZOHlhzlInHIXqPA?= =?us-ascii?Q?OqaBPnH9Jg/LqG0/EusgVx6aMHiapbbq62GL3EM0Ys/sbU8SbAb/2AglEsFP?= =?us-ascii?Q?bG5KC/mO36OGRtNFWuZ6mEjbmd6jsfcUissTRRayzumnJY+/IJPj1soUYkCt?= =?us-ascii?Q?Td8950G1Bc7rU/Y5h5XgQ6AtBgWhOMhCw17CTRJztCxZBMFfY0YQejGqjtYG?= =?us-ascii?Q?nOBROXfu0DTL6ViwDoyWUFvoH2z2iHJ99tjH/XOFoVl+L2rjgr/tWKAAPKuf?= =?us-ascii?Q?s2IJIedkSHOehramA7ZfrUT4XEvNxYcfq8A0VX5mkK+7cm+jSQEpmZY8zyPu?= =?us-ascii?Q?9h/EbkQPiKe7PG9o1czim8rkm2DH9P5XXBDKBGhscwHk0OO/8Jr/Wa7jpF8v?= =?us-ascii?Q?MdR21ux0dkH5nW8I+Be3fYMUMpiUMP0qGE8RJz0tBuSc97m7mT154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PXdNWLNH7chJVPRiuoCXVW?= =?us-ascii?Q?yV2HxSMCS1yDVZS657u9UVZ8DexDLIyoIvvhthQFdd1DmerM333cNK/nTtLO?= =?us-ascii?Q?+yF//0REEpJ+PrH9GcDrEKp19onf0+G3X1N70k6q/cz5mwTUGu0X456U93Ud?= =?us-ascii?Q?1i46ri4Hd1XHmnVm1dleFdPR+MVX69n57MNDG5739WfKI1AQ1T4jugGaDZZy?= =?us-ascii?Q?slkdUeylAKdGHK7hXorO5P2GIV0/Nhi7VTTyr4Zex5wde8MX3kFRe76QIBbE?= =?us-ascii?Q?sA=3D=3D?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PH8PR11MB6856.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8e3cf8b8-7305-49f2-b944-08db3250978a X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Apr 2023 01:29:52.4120 (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: i6EsHqxKwG5lVGX9MXIW977pgz5KcbZvJ1t82lcb6H+dkTyu9/bugydqAFIAHz563d6PVFd6K2W+NRIvjLgV7qwsLxC2Ajpjv8p4u+q2emU= X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW6PR11MB8337 Return-Path: andrei.warkentin@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable How does this relate to the existing EmbeddedPkg/Library/FdtLib code? Is th= ere a specific plan to move away from this in existing components? I did look in the BZ (https://bugzilla.tianocore.org/show_bug.cgi?id=3D4392= ) but this doesn't seem to acknowledge that there is existing Fdt support i= n EmbeddedPkg. A > -----Original Message----- > From: devel@edk2.groups.io On Behalf Of Benny > Lin > Sent: Thursday, March 30, 2023 11:52 AM > To: devel@edk2.groups.io > Cc: Lin, Benny ; Kinney, Michael D > ; Gao, Liming ; > Liu, Zhiguang ; Sean Brogan > ; Michael Kubacki > > Subject: [edk2-devel] [PATCH 0/2] Support FDT library. >=20 > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D4392 > Add FDT support in EDK2 by submodule 3rd party libfdt > (https://github.com/devicetree-org/pylibfdt/tree/main/libfdt) >=20 > Cc: Michael D Kinney > Cc: Liming Gao > Cc: Zhiguang Liu > Cc: Sean Brogan > Cc: Michael Kubacki > Signed-off-by: Benny Lin >=20 > Benny Lin (2): > MdePkg: Support FDT library. > .pytool: Support FDT library. >=20 > .gitmodules | 3 + > .pytool/CISettings.py | 2 + > MdePkg/Include/Library/FdtLib.h | 300 ++++++++++++++++++++++ > MdePkg/Library/BaseFdtLib/BaseFdtLib.inf | 62 +++++ > MdePkg/Library/BaseFdtLib/BaseFdtLib.uni | 14 + > MdePkg/Library/BaseFdtLib/FdtLib.c | 284 ++++++++++++++++++++ > MdePkg/Library/BaseFdtLib/LibFdtSupport.h | 102 ++++++++ > MdePkg/Library/BaseFdtLib/LibFdtWrapper.c | 138 ++++++++++ > MdePkg/Library/BaseFdtLib/libfdt | 1 + > MdePkg/Library/BaseFdtLib/limits.h | 10 + > MdePkg/Library/BaseFdtLib/stdbool.h | 10 + > MdePkg/Library/BaseFdtLib/stddef.h | 10 + > MdePkg/Library/BaseFdtLib/stdint.h | 10 + > MdePkg/Library/BaseFdtLib/stdlib.h | 10 + > MdePkg/Library/BaseFdtLib/string.h | 10 + > MdePkg/MdePkg.ci.yaml | 17 +- > MdePkg/MdePkg.dec | 4 + > MdePkg/MdePkg.dsc | 2 + > ReadMe.rst | 1 + > 19 files changed, 988 insertions(+), 2 deletions(-) create mode 100644 > MdePkg/Include/Library/FdtLib.h create mode 100644 > MdePkg/Library/BaseFdtLib/BaseFdtLib.inf > create mode 100644 MdePkg/Library/BaseFdtLib/BaseFdtLib.uni > create mode 100644 MdePkg/Library/BaseFdtLib/FdtLib.c > create mode 100644 MdePkg/Library/BaseFdtLib/LibFdtSupport.h > create mode 100644 MdePkg/Library/BaseFdtLib/LibFdtWrapper.c > create mode 160000 MdePkg/Library/BaseFdtLib/libfdt create mode 100644 > MdePkg/Library/BaseFdtLib/limits.h > create mode 100644 MdePkg/Library/BaseFdtLib/stdbool.h > create mode 100644 MdePkg/Library/BaseFdtLib/stddef.h > create mode 100644 MdePkg/Library/BaseFdtLib/stdint.h > create mode 100644 MdePkg/Library/BaseFdtLib/stdlib.h > create mode 100644 MdePkg/Library/BaseFdtLib/string.h >=20 > -- > 2.39.1.windows.1 >=20 >=20 >=20 >=20 >=20