From nobody Sun Apr 28 22:15:34 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail(p=none dis=none) header.from=intel.com Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 1527657929170682.1189605759575; Tue, 29 May 2018 22:25:29 -0700 (PDT) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id A4A5A210D6CC4; Tue, 29 May 2018 22:25:27 -0700 (PDT) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) (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 81CD0210D6CC1 for ; Tue, 29 May 2018 22:25:26 -0700 (PDT) Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 29 May 2018 22:25:24 -0700 Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by orsmga006.jf.intel.com with ESMTP; 29 May 2018 22:25:24 -0700 Received: from fmsmsx122.amr.corp.intel.com (10.18.125.37) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 29 May 2018 22:25:23 -0700 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by fmsmsx122.amr.corp.intel.com (10.18.125.37) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 29 May 2018 22:25:23 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.51]) by shsmsx102.ccr.corp.intel.com ([169.254.2.223]) with mapi id 14.03.0319.002; Wed, 30 May 2018 13:25:21 +0800 X-Original-To: edk2-devel@lists.01.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=192.55.52.43; helo=mga05.intel.com; envelope-from=mang.guo@intel.com; receiver=edk2-devel@lists.01.org X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,458,1520924400"; d="dat'59?scan'59,208,59";a="45830402" From: "Guo, Mang" To: "edk2-devel@lists.01.org" Thread-Topic: [Patch][edk2-platforms/devel-MinnowBoardMax-UDK2017] Enable Http boot Thread-Index: AdP31ppQGihhc0nwRIGl+iNuv8Jiiw== Date: Wed, 30 May 2018 05:25:21 +0000 Message-ID: <22D2C85ED001C54AA20BFE3B0E4751D15268C31C@SHSMSX103.ccr.corp.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: <22D2C85ED001C54AA20BFE3B0E4751D15268C31C@SHSMSX103.ccr.corp.intel.com> x-originating-ip: [10.239.127.40] MIME-Version: 1.0 X-Content-Filtered-By: Mailman/MimeDel 2.1.26 Subject: [edk2] [Patch][edk2-platforms/devel-MinnowBoardMax-UDK2017] Enable Http boot X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "Wei, David" Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail: RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Guo Mang --- Vlv2TbltDevicePkg/PlatformPkg.dec | 6 ++-- Vlv2TbltDevicePkg/PlatformPkg.fdf | 20 ++++++++++++- Vlv2TbltDevicePkg/PlatformPkgConfig.dsc | 1 + Vlv2TbltDevicePkg/PlatformPkgGcc.fdf | 20 ++++++++++++- Vlv2TbltDevicePkg/PlatformPkgGccX64.dsc | 49 +++++++++++++++++++++++++++++= -- Vlv2TbltDevicePkg/PlatformPkgIA32.dsc | 51 +++++++++++++++++++++++++++++= ++-- Vlv2TbltDevicePkg/PlatformPkgX64.dsc | 51 +++++++++++++++++++++++++++++= ++-- 7 files changed, 186 insertions(+), 12 deletions(-) diff --git a/Vlv2TbltDevicePkg/PlatformPkg.dec b/Vlv2TbltDevicePkg/Platform= Pkg.dec index 7002fdc..f0bcf08 100644 --- a/Vlv2TbltDevicePkg/PlatformPkg.dec +++ b/Vlv2TbltDevicePkg/PlatformPkg.dec @@ -2,7 +2,7 @@ # Platform Package # # This package provides platform specific modules. -# Copyright (c) 2009 - 2017, Intel Corporation. All rights reserved.
+# Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.
# = =20 # This program and the accompanying materials are licensed and made availa= ble under # the terms and conditions of the BSD License that accompanies this distri= bution. =20 @@ -230,6 +230,7 @@ gEfiSpiProtocolGuid =3D { 0x1156efc6, 0xea32, 0x4396, { 0x= b5, 0xd5, 0x26, 0x93, 0x2e, 0x83, 0xc3, 0x13 }} gEfiGpioOperationProtocolGuid =3D { 0x38DDFE8F, 0x8991, 0x44AA, { 0x= 98, 0x89, 0x83, 0xF4, 0x91, 0x84, 0x65, 0xB0 }} gEfiEsrtOperationProtocolGuid =3D { 0x4549AB47, 0x6E60, 0x4293, { 0x= B9, 0x1D, 0x31, 0xB6, 0x10, 0xAD, 0x80, 0x56 }} + gExitPmAuthProtocolGuid =3D { 0xd088a413, 0xa70 , 0x4217, = {0xba, 0x55, 0x9a, 0x3c, 0xb6, 0x5c, 0x41, 0xb3}} =20 [Guids] gEfiFwDisplayCapsuleGuid =3D { 0x3b8c8162, 0x188c, 0x46a4, { 0xae,= 0xc9, 0xbe, 0x43, 0xf1, 0xd6, 0x56, 0x97 } } @@ -237,4 +238,5 @@ gEfiDFUVerGuid =3D { 0x0dc73aed, 0xcbf6, 0x4a25, { 0xa6,= 0x8d, 0x59, 0xc8, 0x0f, 0x44, 0xc7, 0xc3 } } gEfiEsrtTableGuid =3D { 0xb122a263, 0x3661, 0x4f68, { 0x99,= 0x29, 0x78, 0xf8, 0xb0, 0xd6, 0x21, 0x80 } } gEfiCapsuleCrashLogVarGuid =3D { 0xf3ff1468, 0x04ba, 0x4966, { 0x9f,= 0xb2, 0xe4, 0xa7, 0x90, 0x05, 0x46, 0x50 } } - gEfiCapsuleCrashGuid =3D { 0x0e1d2972, 0x65af, 0x4ac1, { 0xbf,= 0xa3, 0xce, 0xf4, 0xab, 0x0c, 0x38, 0xfe } } \ No newline at end of file + gEfiCapsuleCrashGuid =3D { 0x0e1d2972, 0x65af, 0x4ac1, { 0xbf,= 0xa3, 0xce, 0xf4, 0xab, 0x0c, 0x38, 0xfe } } + gTpmDeviceInstanceTpm20PttPtpGuid =3D { 0x93d66f66, 0x55da, 0x4f03= , { 0x9b, 0x5f, 0x32, 0xcf, 0x9e, 0x54, 0x3b, 0x3a } } \ No newline at end of file diff --git a/Vlv2TbltDevicePkg/PlatformPkg.fdf b/Vlv2TbltDevicePkg/Platform= Pkg.fdf index d651833..84bc7db 100644 --- a/Vlv2TbltDevicePkg/PlatformPkg.fdf +++ b/Vlv2TbltDevicePkg/PlatformPkg.fdf @@ -439,7 +439,13 @@ INF MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/= ReportStatusCodeRouterSmm. INF MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf INF RuleOverride =3D BINARY $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)= $(TARGET)/$(DXE_ARCHITECTURE)/MpCpu.inf INF $(PLATFORM_PACKAGE)/Metronome/Metronome.inf +!if $(HTTP_BOOT_SUPPORT) =3D=3D TRUE +INF MdeModulePkg/Universal/BdsDxe/BdsDxe.inf +INF MdeModulePkg/Application/BootManagerMenuApp/BootManagerMenuApp.inf +INF MdeModulePkg/Application/UiApp/UiApp.inf +!else INF IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf +!endif INF MdeModulePkg/Universal/LoadFileOnFv2/LoadFileOnFv2.inf INF MdeModulePkg/Universal/SmmCommunicationBufferDxe/SmmCommunicationBuffe= rDxe.inf INF MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf @@ -683,11 +689,17 @@ FILE DRIVER =3D 961578FE-B6B7-44c3-AF35-6BC705CD2B1F { # # UEFI Shell # +!if $(HTTP_BOOT_SUPPORT) =3D=3D TRUE +FILE APPLICATION =3D 7C04A583-9E3E-4f1c-AD65-E05268D0B4D1 { +# SECTION PE32 =3D EdkShellBinPkg/FullShell/$(EDK_DXE_ARCHITECTURE)/She= ll_Full.efi + SECTION PE32 =3D ShellBinPkg/UefiShell/$(EDK_DXE_ARCHITECTURE)/Shell.e= fi + } +!else FILE APPLICATION =3D PCD(gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShel= lFile) { # SECTION PE32 =3D EdkShellBinPkg/FullShell/$(EDK_DXE_ARCHITECTURE)/She= ll_Full.efi SECTION PE32 =3D ShellBinPkg/UefiShell/$(EDK_DXE_ARCHITECTURE)/Shell.e= fi } - +!endif =20 =20 !if $(GOP_DRIVER_ENABLE) =3D=3D TRUE @@ -720,6 +732,12 @@ FILE FREEFORM =3D 878AC2CC-5343-46F2-B563-51F89DAF56BA= { INF MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf INF MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf INF MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf +!if $(HTTP_BOOT_SUPPORT) =3D=3D TRUE + INF NetworkPkg\HttpDxe\HttpDxe.inf + INF NetworkPkg\HttpBootDxe\HttpBootDxe.inf + INF NetworkPkg\HttpUtilitiesDxe\HttpUtilitiesDxe.inf + INF NetworkPkg\DnsDxe\DnsDxe.inf +!endif !if $(NETWORK_IP6_ENABLE) =3D=3D TRUE INF NetworkPkg/Ip6Dxe/Ip6Dxe.inf INF NetworkPkg/Dhcp6Dxe/Dhcp6Dxe.inf diff --git a/Vlv2TbltDevicePkg/PlatformPkgConfig.dsc b/Vlv2TbltDevicePkg/Pl= atformPkgConfig.dsc index 0a8da1f..ad1ed4d 100644 --- a/Vlv2TbltDevicePkg/PlatformPkgConfig.dsc +++ b/Vlv2TbltDevicePkg/PlatformPkgConfig.dsc @@ -93,3 +93,4 @@ DEFINE ESRT_ENABLE =3D TRUE # DEFINE SOURCE_DEBUG_ENABLE =3D FALSE =20 +DEFINE HTTP_BOOT_SUPPORT =3D FALSE \ No newline at end of file diff --git a/Vlv2TbltDevicePkg/PlatformPkgGcc.fdf b/Vlv2TbltDevicePkg/Platf= ormPkgGcc.fdf index 7478d3c..2c1a283 100644 --- a/Vlv2TbltDevicePkg/PlatformPkgGcc.fdf +++ b/Vlv2TbltDevicePkg/PlatformPkgGcc.fdf @@ -392,7 +392,13 @@ INF MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/= ReportStatusCodeRouterSmm. INF MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf INF RuleOverride =3D BINARY $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)= $(TARGET)/$(DXE_ARCHITECTURE)/MpCpu.inf INF $(PLATFORM_PACKAGE)/Metronome/Metronome.inf +!if $(HTTP_BOOT_SUPPORT) =3D=3D TRUE +INF MdeModulePkg/Universal/BdsDxe/BdsDxe.inf +INF MdeModulePkg/Application/BootManagerMenuApp/BootManagerMenuApp.inf +INF MdeModulePkg/Application/UiApp/UiApp.inf +!else INF IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf +!endif INF MdeModulePkg/Universal/LoadFileOnFv2/LoadFileOnFv2.inf INF MdeModulePkg/Universal/SmmCommunicationBufferDxe/SmmCommunicationBuffe= rDxe.inf INF MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf @@ -636,11 +642,17 @@ FILE DRIVER =3D 961578FE-B6B7-44c3-AF35-6BC705CD2B1F { # # UEFI Shell # +!if $(HTTP_BOOT_SUPPORT) =3D=3D TRUE +FILE APPLICATION =3D 7C04A583-9E3E-4f1c-AD65-E05268D0B4D1 { +# SECTION PE32 =3D EdkShellBinPkg/FullShell/$(EDK_DXE_ARCHITECTURE)/She= ll_Full.efi + SECTION PE32 =3D ShellBinPkg/UefiShell/$(EDK_DXE_ARCHITECTURE)/Shell.e= fi + } +!else FILE APPLICATION =3D PCD(gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShel= lFile) { # SECTION PE32 =3D EdkShellBinPkg/FullShell/$(EDK_DXE_ARCHITECTURE)/She= ll_Full.efi SECTION PE32 =3D ShellBinPkg/UefiShell/$(EDK_DXE_ARCHITECTURE)/Shell.e= fi } - +!endif =20 =20 !if $(GOP_DRIVER_ENABLE) =3D=3D TRUE @@ -673,6 +685,12 @@ FILE FREEFORM =3D 878AC2CC-5343-46F2-B563-51F89DAF56BA= { INF MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf INF MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf INF MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf +!if $(HTTP_BOOT_SUPPORT) =3D=3D TRUE + INF NetworkPkg/HttpDxe/HttpDxe.inf + INF NetworkPkg/HttpBootDxe/HttpBootDxe.inf + INF NetworkPkg/HttpUtilitiesDxe/HttpUtilitiesDxe.inf + INF NetworkPkg/DnsDxe/DnsDxe.inf +!endif !if $(NETWORK_IP6_ENABLE) =3D=3D TRUE INF NetworkPkg/Ip6Dxe/Ip6Dxe.inf INF NetworkPkg/Dhcp6Dxe/Dhcp6Dxe.inf diff --git a/Vlv2TbltDevicePkg/PlatformPkgGccX64.dsc b/Vlv2TbltDevicePkg/Pl= atformPkgGccX64.dsc index 5379824..61dd876 100644 --- a/Vlv2TbltDevicePkg/PlatformPkgGccX64.dsc +++ b/Vlv2TbltDevicePkg/PlatformPkgGccX64.dsc @@ -105,6 +105,13 @@ UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntry= Point.inf UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiA= pplicationEntryPoint.inf DxeSmmDriverEntryPoint|IntelFrameworkPkg/Library/DxeSmmDriverEntryPoint/= DxeSmmDriverEntryPoint.inf +!if $(HTTP_BOOT_SUPPORT) =3D=3D TRUE + TcgPhysicalPresenceLib|SecurityPkg/Library/DxeTcgPhysicalPresenceLib/Dxe= TcgPhysicalPresenceLib.inf + Tcg2PhysicalPresenceLib|SecurityPkg/Library/DxeTcg2PhysicalPresenceLib/D= xeTcg2PhysicalPresenceLib.inf + TcgPpVendorLib|SecurityPkg/Library/TcgPpVendorLibNull/TcgPpVendorLibNull= .inf + Tcg2PpVendorLib|SecurityPkg/Library/Tcg2PpVendorLibNull/Tcg2PpVendorLibN= ull.inf + Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRoute= rDxe.inf +!endif =20 # # Basic @@ -178,6 +185,11 @@ UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf TcpIoLib|MdeModulePkg/Library/DxeTcpIoLib/DxeTcpIoLib.inf DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf +!if $(HTTP_BOOT_SUPPORT) =3D=3D TRUE + HttpLib|MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.inf + PlatformBootManagerLib | $(PLATFORM_PACKAGE)/Library/PlatformBootManager= Lib/PlatformBootManagerLib.inf + BootLogoLib | MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf +!endif !endif !if $(S3_ENABLE) =3D=3D TRUE S3Lib|IntelFrameworkModulePkg/Library/PeiS3Lib/PeiS3Lib.inf @@ -629,6 +641,9 @@ gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE =20 [PcdsFixedAtBuild.common] +!if $(HTTP_BOOT_SUPPORT) =3D=3D TRUE + gEfiNetworkPkgTokenSpaceGuid.PcdAllowHttpConnections|TRUE +!endif !if $(MINNOW2_FSP_BUILD) =3D=3D TRUE # $(FLASH_REGION_VLVMICROCODE_BASE) gFspWrapperTokenSpaceGuid.PcdCpuMicrocodePatchAddress|0xFFC00000 @@ -1187,6 +1202,30 @@ $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARG= ET)/IA32/fTPMInitPeim.inf $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTU= RE)/MpCpu.inf $(PLATFORM_PACKAGE)/Metronome/Metronome.inf =20 +!if $(HTTP_BOOT_SUPPORT) =3D=3D TRUE + MdeModulePkg/Universal/BdsDxe/BdsDxe.inf{ + + OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf + IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf + BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf + PlatformBdsLib|$(PLATFORM_PACKAGE)/Library/PlatformBdsLib/PlatformBd= sLib.inf + DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPor= t.inf + PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf + SerialPortLib|$(PLATFORM_PACKAGE)/Library/SerialPortLib/SerialPortLi= b.inf + !if $(FTPM_ENABLE) =3D=3D TRUE =20 + Tpm2DeviceLib|Vlv2TbltDevicePkg/Library/Tpm2DeviceLibSeCDxe/Tpm2Devi= ceLibSeC.inf + !else + TrEEPhysicalPresenceLib|$(PLATFORM_PACKAGE)/Library/DxeTrEEPhysicalP= resenceLibNull/DxeTrEEPhysicalPresenceLibNull.inf + !endif =20 + } + MdeModulePkg/Application/BootManagerMenuApp/BootManagerMenuApp.inf + MdeModulePkg/Application/UiApp/UiApp.inf { + + NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf + NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf + NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanc= eManagerUiLib.inf + } +!else IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf{ OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf @@ -1202,11 +1241,11 @@ $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TAR= GET)/IA32/fTPMInitPeim.inf TrEEPhysicalPresenceLib|$(PLATFORM_PACKAGE)/Library/DxeTrEEPhysicalP= resenceLibNull/DxeTrEEPhysicalPresenceLibNull.inf !endif =20 } - =20 + $(PLATFORM_PACKAGE)/UiApp/UiApp.inf +!endif MdeModulePkg/Universal/LoadFileOnFv2/LoadFileOnFv2.inf MdeModulePkg/Universal/SmmCommunicationBufferDxe/SmmCommunicationBufferD= xe.inf =20 - $(PLATFORM_PACKAGE)/UiApp/UiApp.inf =20 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf @@ -1550,6 +1589,12 @@ $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARG= ET)/IA32/fTPMInitPeim.inf MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf +!if $(HTTP_BOOT_SUPPORT) =3D=3D TRUE + NetworkPkg/HttpDxe/HttpDxe.inf + NetworkPkg/HttpBootDxe/HttpBootDxe.inf + NetworkPkg/HttpUtilitiesDxe/HttpUtilitiesDxe.inf + NetworkPkg/DnsDxe/DnsDxe.inf +!endif MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf { diff --git a/Vlv2TbltDevicePkg/PlatformPkgIA32.dsc b/Vlv2TbltDevicePkg/Plat= formPkgIA32.dsc index a9a14d3..698385d 100644 --- a/Vlv2TbltDevicePkg/PlatformPkgIA32.dsc +++ b/Vlv2TbltDevicePkg/PlatformPkgIA32.dsc @@ -105,7 +105,14 @@ UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntry= Point.inf UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiA= pplicationEntryPoint.inf DxeSmmDriverEntryPoint|IntelFrameworkPkg/Library/DxeSmmDriverEntryPoint/= DxeSmmDriverEntryPoint.inf - +!if $(HTTP_BOOT_SUPPORT) =3D=3D TRUE =20 + TcgPhysicalPresenceLib|SecurityPkg/Library/DxeTcgPhysicalPresenceLib/Dxe= TcgPhysicalPresenceLib.inf + Tcg2PhysicalPresenceLib|SecurityPkg/Library/DxeTcg2PhysicalPresenceLib/D= xeTcg2PhysicalPresenceLib.inf + TcgPpVendorLib|SecurityPkg/Library/TcgPpVendorLibNull/TcgPpVendorLibNull= .inf + Tcg2PpVendorLib|SecurityPkg/Library/Tcg2PpVendorLibNull/Tcg2PpVendorLibN= ull.inf + Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRoute= rDxe.inf +!endif + =20 # # Basic # @@ -178,6 +185,11 @@ UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf TcpIoLib|MdeModulePkg/Library/DxeTcpIoLib/DxeTcpIoLib.inf DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf +!if $(HTTP_BOOT_SUPPORT) =3D=3D TRUE + HttpLib|MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.inf + PlatformBootManagerLib | $(PLATFORM_PACKAGE)/Library/PlatformBootManager= Lib/PlatformBootManagerLib.inf + BootLogoLib | MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf +!endif !endif !if $(S3_ENABLE) =3D=3D TRUE S3Lib|IntelFrameworkModulePkg/Library/PeiS3Lib/PeiS3Lib.inf @@ -640,6 +652,9 @@ gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE =20 [PcdsFixedAtBuild.common] +!if $(HTTP_BOOT_SUPPORT) =3D=3D TRUE + gEfiNetworkPkgTokenSpaceGuid.PcdAllowHttpConnections|TRUE +!endif !if $(MINNOW2_FSP_BUILD) =3D=3D TRUE # $(FLASH_REGION_VLVMICROCODE_BASE) gFspWrapperTokenSpaceGuid.PcdCpuMicrocodePatchAddress|0xFFC00000 @@ -1195,6 +1210,30 @@ $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARG= ET)/IA32/fTPMInitPeim.inf $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTU= RE)/MpCpu.inf $(PLATFORM_PACKAGE)/Metronome/Metronome.inf =20 +!if $(HTTP_BOOT_SUPPORT) =3D=3D TRUE + MdeModulePkg/Universal/BdsDxe/BdsDxe.inf{ + + OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf + IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf + BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf + PlatformBdsLib|$(PLATFORM_PACKAGE)/Library/PlatformBdsLib/PlatformBd= sLib.inf + DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPor= t.inf + PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf + SerialPortLib|$(PLATFORM_PACKAGE)/Library/SerialPortLib/SerialPortLi= b.inf + !if $(FTPM_ENABLE) =3D=3D TRUE =20 + Tpm2DeviceLib|Vlv2TbltDevicePkg/Library/Tpm2DeviceLibSeCDxe/Tpm2Devi= ceLibSeC.inf + !else + TrEEPhysicalPresenceLib|$(PLATFORM_PACKAGE)/Library/DxeTrEEPhysicalP= resenceLibNull/DxeTrEEPhysicalPresenceLibNull.inf + !endif =20 + } + MdeModulePkg/Application/BootManagerMenuApp/BootManagerMenuApp.inf + MdeModulePkg/Application/UiApp/UiApp.inf { + + NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf + NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf + NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanc= eManagerUiLib.inf + } +!else IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf{ OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf @@ -1210,11 +1249,11 @@ $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TAR= GET)/IA32/fTPMInitPeim.inf TrEEPhysicalPresenceLib|$(PLATFORM_PACKAGE)/Library/DxeTrEEPhysicalP= resenceLibNull/DxeTrEEPhysicalPresenceLibNull.inf !endif =20 } - =20 + $(PLATFORM_PACKAGE)/UiApp/UiApp.inf +!endif MdeModulePkg/Universal/LoadFileOnFv2/LoadFileOnFv2.inf MdeModulePkg/Universal/SmmCommunicationBufferDxe/SmmCommunicationBufferD= xe.inf =20 - $(PLATFORM_PACKAGE)/UiApp/UiApp.inf =20 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf @@ -1562,6 +1601,12 @@ $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARG= ET)/IA32/fTPMInitPeim.inf MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf +!if $(HTTP_BOOT_SUPPORT) =3D=3D TRUE + NetworkPkg\HttpDxe\HttpDxe.inf + NetworkPkg\HttpBootDxe\HttpBootDxe.inf + NetworkPkg\HttpUtilitiesDxe\HttpUtilitiesDxe.inf + NetworkPkg\DnsDxe\DnsDxe.inf +!endif MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf { diff --git a/Vlv2TbltDevicePkg/PlatformPkgX64.dsc b/Vlv2TbltDevicePkg/Platf= ormPkgX64.dsc index b66f285..6ebbb66 100644 --- a/Vlv2TbltDevicePkg/PlatformPkgX64.dsc +++ b/Vlv2TbltDevicePkg/PlatformPkgX64.dsc @@ -105,7 +105,14 @@ UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntry= Point.inf UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiA= pplicationEntryPoint.inf DxeSmmDriverEntryPoint|IntelFrameworkPkg/Library/DxeSmmDriverEntryPoint/= DxeSmmDriverEntryPoint.inf - +!if $(HTTP_BOOT_SUPPORT) =3D=3D TRUE =20 + TcgPhysicalPresenceLib|SecurityPkg/Library/DxeTcgPhysicalPresenceLib/Dxe= TcgPhysicalPresenceLib.inf + Tcg2PhysicalPresenceLib|SecurityPkg/Library/DxeTcg2PhysicalPresenceLib/D= xeTcg2PhysicalPresenceLib.inf + TcgPpVendorLib|SecurityPkg/Library/TcgPpVendorLibNull/TcgPpVendorLibNull= .inf + Tcg2PpVendorLib|SecurityPkg/Library/Tcg2PpVendorLibNull/Tcg2PpVendorLibN= ull.inf + Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRoute= rDxe.inf +!endif + =20 # # Basic # @@ -178,6 +185,11 @@ UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf TcpIoLib|MdeModulePkg/Library/DxeTcpIoLib/DxeTcpIoLib.inf DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf +!if $(HTTP_BOOT_SUPPORT) =3D=3D TRUE + HttpLib|MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.inf + PlatformBootManagerLib | $(PLATFORM_PACKAGE)/Library/PlatformBootManager= Lib/PlatformBootManagerLib.inf + BootLogoLib | MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf +!endif !endif !if $(S3_ENABLE) =3D=3D TRUE S3Lib|IntelFrameworkModulePkg/Library/PeiS3Lib/PeiS3Lib.inf @@ -640,6 +652,9 @@ gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE =20 [PcdsFixedAtBuild.common] +!if $(HTTP_BOOT_SUPPORT) =3D=3D TRUE + gEfiNetworkPkgTokenSpaceGuid.PcdAllowHttpConnections|TRUE +!endif !if $(MINNOW2_FSP_BUILD) =3D=3D TRUE # $(FLASH_REGION_VLVMICROCODE_BASE) gFspWrapperTokenSpaceGuid.PcdCpuMicrocodePatchAddress|0xFFC00000 @@ -1196,6 +1211,30 @@ $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARG= ET)/IA32/fTPMInitPeim.inf $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTU= RE)/MpCpu.inf $(PLATFORM_PACKAGE)/Metronome/Metronome.inf =20 +!if $(HTTP_BOOT_SUPPORT) =3D=3D TRUE + MdeModulePkg/Universal/BdsDxe/BdsDxe.inf{ + + OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf + IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf + BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf + PlatformBdsLib|$(PLATFORM_PACKAGE)/Library/PlatformBdsLib/PlatformBd= sLib.inf + DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPor= t.inf + PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf + SerialPortLib|$(PLATFORM_PACKAGE)/Library/SerialPortLib/SerialPortLi= b.inf + !if $(FTPM_ENABLE) =3D=3D TRUE =20 + Tpm2DeviceLib|Vlv2TbltDevicePkg/Library/Tpm2DeviceLibSeCDxe/Tpm2Devi= ceLibSeC.inf + !else + TrEEPhysicalPresenceLib|$(PLATFORM_PACKAGE)/Library/DxeTrEEPhysicalP= resenceLibNull/DxeTrEEPhysicalPresenceLibNull.inf + !endif =20 + } + MdeModulePkg/Application/BootManagerMenuApp/BootManagerMenuApp.inf + MdeModulePkg/Application/UiApp/UiApp.inf { + + NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf + NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf + NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanc= eManagerUiLib.inf + } +!else IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf{ OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf @@ -1211,11 +1250,11 @@ $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TAR= GET)/IA32/fTPMInitPeim.inf TrEEPhysicalPresenceLib|$(PLATFORM_PACKAGE)/Library/DxeTrEEPhysicalP= resenceLibNull/DxeTrEEPhysicalPresenceLibNull.inf !endif =20 } - =20 + $(PLATFORM_PACKAGE)/UiApp/UiApp.inf +!endif MdeModulePkg/Universal/LoadFileOnFv2/LoadFileOnFv2.inf MdeModulePkg/Universal/SmmCommunicationBufferDxe/SmmCommunicationBufferD= xe.inf =20 - $(PLATFORM_PACKAGE)/UiApp/UiApp.inf =20 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf @@ -1564,6 +1603,12 @@ $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARG= ET)/IA32/fTPMInitPeim.inf MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf +!if $(HTTP_BOOT_SUPPORT) =3D=3D TRUE + NetworkPkg\HttpDxe\HttpDxe.inf + NetworkPkg\HttpBootDxe\HttpBootDxe.inf + NetworkPkg\HttpUtilitiesDxe\HttpUtilitiesDxe.inf + NetworkPkg\DnsDxe\DnsDxe.inf +!endif MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf { --=20 2.10.1.windows.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel