From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail05.groups.io (mail05.groups.io [45.79.224.7]) by spool.mail.gandi.net (Postfix) with ESMTPS id 440F8940E67 for ; Mon, 3 Jun 2024 02:17:26 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=+7Wm0ZA4TIUiqMhigInGsbJROQ4Sp0whSR+tk+8PlaI=; c=relaxed/simple; d=groups.io; h=From:To:Subject:Date:Message-Id:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20240206; t=1717381046; v=1; b=YB945aV5UKZMUNgKV5Ng5mBj4PzwZbO070NIusTYcHZ1gZ+3VNPkMWw4sM5qGAZNQ4Bsw+Tq UhFGJz5lmfXmbqEliccgnQU4jmxRe029kVlx346JC9PDd4m8DfJnZXDeqDRKBWIib4naDwEpDc3 yeXkavTZqYhEz2Vq3WkyGY4NUzwsLoOOm4IR+Fi+4Qd2FPVDfB7nb/Yi4o402Mcy+v46GOo7SOm e1h/GsUM0XlNfdmdc861Pu/5vkr49bA7knZ/jUM7xn8RKla01s9op/9mFjH3XG10DV1MeeX6Pfy /TSvIjL14c6S4FXhBz/hLMVZimKXH6Zfj2pbNrCMwrrXg== X-Received: by 127.0.0.2 with SMTP id PLXJYY7687511xeidFBAB4gr; Sun, 02 Jun 2024 19:17:24 -0700 X-Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.13]) by mx.groups.io with SMTP id smtpd.web11.73895.1717381043949001643 for ; Sun, 02 Jun 2024 19:17:24 -0700 X-CSE-ConnectionGUID: 9n/EuzotQyyDYDHEzCVCrg== X-CSE-MsgGUID: nGAUnOMMRzO5gPRHoxnXVA== X-IronPort-AV: E=McAfee;i="6600,9927,11091"; a="16804959" X-IronPort-AV: E=Sophos;i="6.08,210,1712646000"; d="scan'208";a="16804959" X-Received: from orviesa004.jf.intel.com ([10.64.159.144]) by fmvoesa107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Jun 2024 19:17:23 -0700 X-CSE-ConnectionGUID: k6V9yQYPSnK+NCNY6wK6aw== X-CSE-MsgGUID: H8liWpKESlGIcS9N2KhL8w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,210,1712646000"; d="scan'208";a="41821222" X-Received: from linusliu-desk1.gar.corp.intel.com ([10.225.76.64]) by orviesa004.jf.intel.com with ESMTP; 02 Jun 2024 19:17:23 -0700 From: "Linus Liu" To: devel@edk2.groups.io Subject: [edk2-devel] [PATCH v4 0/6] To align with ecosystem common interface, the FDT support is added to Universal Payload) Date: Sun, 2 Jun 2024 19:17:16 -0700 Message-Id: <20240603021716.1371-1-linus.liu@intel.com> MIME-Version: 1.0 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 Resent-Date: Sun, 02 Jun 2024 19:17:24 -0700 Resent-From: linus.liu@intel.com Reply-To: devel@edk2.groups.io,linus.liu@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: qqgJlP2H9FPQ48oPtMvepS5Vx7686176AA= Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=YB945aV5; 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 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io PR : https://github.com/tianocore/edk2/pull/5669=0D V2: Update typo [3/6] avalible ,[6/6] speciifc, HandOffhbo =0D V3: Update cover letter content.=0D V4: Update [4/6] BuildFdtForSerial, [5/6] ParseDtb - serial node , base add= ress content. *** BLURB HERE *** Linus Liu (6): MdePkg: Fix build error after enable FDT support. UefiPayloadPkg: Addd header files for FDT structure and function. UefiPayloadPkg: Support Debug function when Hob was not available. UefiPayloadPkg: Update PayloadLoader to suport FDT. UefiPayloadPkg: Add FDT Paser relative LIBs. UefiPayloadPkg: Update UefiPayload driver for FDT support. UefiPayloadPkg/Library/BaseSerialPortLibHob/BaseSerialPortLibHob.c = | 69 ++ UefiPayloadPkg/Library/CustomFdtNodeParserLib/CustomFdtNodeParserLib.c = | 158 +++ UefiPayloadPkg/Library/CustomFdtNodeParserNullLib/CustomFdtNodeParserNullL= ib.c | 51 + UefiPayloadPkg/Library/DebugPrintErrorLevelLibHob/DebugPrintErrorLevelLibH= ob.c | 5 + UefiPayloadPkg/Library/FdtParserLib/FdtParserLib.c = | 627 ++++++++++++ UefiPayloadPkg/{UefiPayloadEntry/UniversalPayloadEntry.c =3D> Library/HobP= arseLib/HobParseLib.c} | 255 ++--- UefiPayloadPkg/Library/PayloadEntryHobLib/Hob.c = | 7 +- UefiPayloadPkg/Library/PlatformHookLib/PlatformHookLib.c = | 4 + UefiPayloadPkg/PayloadLoaderPeim/FitPayloadLoaderPeim.c = | 1009 +++++++++++++++++++- UefiPayloadPkg/PayloadLoaderPeim/PayloadLoaderPeim.c = | 71 +- UefiPayloadPkg/UefiPayloadEntry/FitUniversalPayloadEntry.c = | 428 ++++----- UefiPayloadPkg/UefiPayloadEntry/Ia32/DxeLoadFunc.c = | 12 + UefiPayloadPkg/UefiPayloadEntry/Ia32/{DxeLoadFunc.c =3D> DxeLoadFuncFit.c}= | 32 +- UefiPayloadPkg/UefiPayloadEntry/MemoryAllocation.c = | 50 + UefiPayloadPkg/UefiPayloadEntry/PrintHob.c = | 6 +- UefiPayloadPkg/UefiPayloadEntry/UniversalPayloadEntry.c = | 6 - UefiPayloadPkg/UefiPayloadEntry/X64/DxeLoadFunc.c = | 12 + UefiPayloadPkg/UefiPayloadEntry/X64/{DxeLoadFunc.c =3D> DxeLoadFuncFit.c} = | 31 +- MdePkg/Library/BaseFdtLib/BaseFdtLib.inf = | 7 +- UefiPayloadPkg/Include/Guid/UniversalPayloadBase.h = | 2 + UefiPayloadPkg/Include/Library/FdtParserLib.h = | 64 ++ UefiPayloadPkg/Include/UniversalPayload/DeviceTree.h = | 30 + UefiPayloadPkg/Library/BaseSerialPortLibHob/BaseSerialPortLibHob.inf = | 10 + UefiPayloadPkg/Library/BaseSerialPortLibHob/DxeBaseSerialPortLibHob.inf = | 13 +- UefiPayloadPkg/Library/CustomFdtNodeParserLib/CustomFdtNodeParserLib.inf = | 46 + UefiPayloadPkg/Library/CustomFdtNodeParserNullLib/CustomFdtNodeParserNullL= ib.inf | 33 + UefiPayloadPkg/Library/FdtParserLib/FdtParseLib.inf = | 63 ++ UefiPayloadPkg/Library/HobParseLib/HobParseLib.inf = | 40 + UefiPayloadPkg/Library/PayloadEntryHobLib/HobLib.inf = | 1 + UefiPayloadPkg/PayloadLoaderPeim/FitPayloadLoaderPeim.inf = | 16 +- UefiPayloadPkg/PayloadLoaderPeim/PayloadLoaderPeim.inf = | 12 + UefiPayloadPkg/UefiPayloadEntry/FitUniversalPayloadEntry.inf = | 20 +- UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.h = | 68 ++ UefiPayloadPkg/UefiPayloadEntry/UniversalPayloadEntry.inf = | 16 +- UefiPayloadPkg/UefiPayloadPkg.dec = | 22 + UefiPayloadPkg/UefiPayloadPkg.dsc = | 29 +- 36 files changed, 2851 insertions(+), 474 deletions(-) create mode 100644 UefiPayloadPkg/Library/CustomFdtNodeParserLib/CustomFdt= NodeParserLib.c create mode 100644 UefiPayloadPkg/Library/CustomFdtNodeParserNullLib/Custo= mFdtNodeParserNullLib.c create mode 100644 UefiPayloadPkg/Library/FdtParserLib/FdtParserLib.c copy UefiPayloadPkg/{UefiPayloadEntry/UniversalPayloadEntry.c =3D> Library= /HobParseLib/HobParseLib.c} (61%) copy UefiPayloadPkg/UefiPayloadEntry/Ia32/{DxeLoadFunc.c =3D> DxeLoadFuncF= it.c} (90%) copy UefiPayloadPkg/UefiPayloadEntry/X64/{DxeLoadFunc.c =3D> DxeLoadFuncFi= t.c} (74%) create mode 100644 UefiPayloadPkg/Include/Library/FdtParserLib.h create mode 100644 UefiPayloadPkg/Include/UniversalPayload/DeviceTree.h create mode 100644 UefiPayloadPkg/Library/CustomFdtNodeParserLib/CustomFdt= NodeParserLib.inf create mode 100644 UefiPayloadPkg/Library/CustomFdtNodeParserNullLib/Custo= mFdtNodeParserNullLib.inf create mode 100644 UefiPayloadPkg/Library/FdtParserLib/FdtParseLib.inf create mode 100644 UefiPayloadPkg/Library/HobParseLib/HobParseLib.inf --=20 2.39.2.windows.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#119415): https://edk2.groups.io/g/devel/message/119415 Mute This Topic: https://groups.io/mt/106455145/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-