From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=134.134.136.24; helo=mga09.intel.com; envelope-from=guo.dong@intel.com; receiver=edk2-devel@lists.01.org Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id D6C54211D6734 for ; Fri, 29 Mar 2019 08:07:34 -0700 (PDT) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 29 Mar 2019 08:07:33 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,284,1549958400"; d="scan'208";a="144958873" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by FMSMGA003.fm.intel.com with ESMTP; 29 Mar 2019 08:07:32 -0700 Received: from fmsmsx163.amr.corp.intel.com (10.18.125.72) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.408.0; Fri, 29 Mar 2019 08:07:32 -0700 Received: from fmsmsx120.amr.corp.intel.com ([169.254.15.249]) by fmsmsx163.amr.corp.intel.com ([169.254.6.121]) with mapi id 14.03.0415.000; Fri, 29 Mar 2019 08:07:32 -0700 From: "Dong, Guo" To: "Ni, Ray" , "edk2-devel@lists.01.org" , Laszlo Ersek CC: "Wu, Hao A" , "Kinney, Michael D" , "Ma, Maurice" Thread-Topic: [edk2] [PATCH] UefiPayloadPkg: Enhance UEFI payload for coreboot and Slim Bootloader Thread-Index: AQHU5d/g0UV7Ndf1GU27xnTGdpydsKYiEJYAgAClPeA= Date: Fri, 29 Mar 2019 15:07:32 +0000 Message-ID: <0DE6ECBAEEB99B4DA9564FF580F3580A47DED9B1@fmsmsx120.amr.corp.intel.com> References: <20190329003332.1876-1-guo.dong@intel.com> <734D49CCEBEEF84792F5B80ED585239D5C0A2E99@SHSMSX104.ccr.corp.intel.com> In-Reply-To: <734D49CCEBEEF84792F5B80ED585239D5C0A2E99@SHSMSX104.ccr.corp.intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiODJlNDJkMTktNmI2ZS00YzE0LWE3MzUtMzY3NWQ2YzE0ZWJmIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiZTZxNTBKS1IrUEdZejFvTlg0ZVZ6eFJDbnBJbzFDS1JseDltNjJtd050NDl6MFBJRm1zSVhwVytMZGdEVXRRaCJ9 dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-originating-ip: [10.1.200.107] MIME-Version: 1.0 Subject: Re: [PATCH] UefiPayloadPkg: Enhance UEFI payload for coreboot and Slim Bootloader X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Mar 2019 15:07:35 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi Ray, Yes, the new UefiPayload will not require legacy 8254 timer. And we could remove Coreboot packages after UefiPayloadPkg check in. Thanks, Guo > -----Original Message----- > From: Ni, Ray > Sent: Thursday, March 28, 2019 10:15 PM > To: Dong, Guo ; edk2-devel@lists.01.org; Laszlo Ersek > > Cc: Wu, Hao A ; Kinney, Michael D > ; Ma, Maurice > Subject: RE: [edk2] [PATCH] UefiPayloadPkg: Enhance UEFI payload for > coreboot and Slim Bootloader >=20 >=20 > Guo, > Just to double confirm: UefiPayloadPkg will not require Legacy8254 timer > support. > The old packages Coreboot*Pkgs will be removed. > Which means now only QEMU/OVMF needs the Legacy8254 support. >=20 > Laszlo, > Now since QEMU/OVMF is the only consumer of the Legacy8254 driver, do > you agree that the Legacy8254 is moved to OvmfPkg? > Note: We agreed that Legacy8259 will be moved to OvmfPkg/Csm directory > and that decision is not going to be changed by this new situation. >=20 > Thanks, > Ray >=20 > > -----Original Message----- > > From: edk2-devel On Behalf Of Guo > > Dong > > Sent: Friday, March 29, 2019 8:34 AM > > To: edk2-devel@lists.01.org > > Subject: [edk2] [PATCH] UefiPayloadPkg: Enhance UEFI payload for > > coreboot and Slim Bootloader > > > > CorebootModulePkg and CorebootPayloadPkg originally supports coreboot > > only. > > In order to support other bootloaders, such as Slim Bootloader, they > > need be updated to be more generic. > > UEFI Payload (UefiPayloadPkg) a converged package from > > CorebootModulePkg and CorebootPayloadPkg with following updates: > > a. Support both coreboot and Slim Bootloader b. Removed > > SataControllerDxe and BaseSerialPortLib16550 to use EDK2 modules c. > > Support passing bootloader parameter to UEFI payload, e.g. coreboot > > table from coreboot or HOB list from Slim Bootloader d. Using > > GraphicsOutputDxe from EDK2 with minor change instead of FbGop e. > > Remove the dependency to IntelFrameworkPkg and > IntelFrameworkModulePkg > > and QuarkSocPkg > > f. Use BaseDebugLibSerialPort library as DebugLib g. Use HPET timer, > > drop legacy 8254 timer support h. Use BaseXApicX2ApicLib instead of > > BaseXApicLib i. Other clean ups > > > > On how UefiPayloadPkg could work with coreboot/Slim Bootloader, please > > refer UefiPayloadPkg/BuildAndIntegrationInstructions.txt > > > > Once UefiPayloadPkg is checked-in, CorebootModulePkg and > > CorebootPayloadPkg could be retired. > > > > Contributed-under: TianoCore Contribution Agreement 1.1 > > Signed-off-by: Guo Dong