From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=pass header.i=@akeo-ie.20150623.gappssmtp.com header.s=20150623 header.b=dl5YgxaB; spf=none, err=permanent DNS error (domain: akeo.ie, ip: 209.85.208.68, mailfrom: pete@akeo.ie) Received: from mail-ed1-f68.google.com (mail-ed1-f68.google.com [209.85.208.68]) by groups.io with SMTP; Fri, 07 Jun 2019 06:56:19 -0700 Received: by mail-ed1-f68.google.com with SMTP id p15so3156687eds.8 for ; Fri, 07 Jun 2019 06:56:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akeo-ie.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=3osl2UchuSInf2YGqsAuXo6ZLh58TXjk521cuXrMJVc=; b=dl5YgxaBCEQLrqMjOzFK9/8w4WcYDXM/vIoXbX0GyARh26BzBg0fGGRiK098n4Lueq yWb+R7qxu+yRlDJ76HmFunVceXWFNFaORxvPYNwegHruIhdyAMRSYFC4rxQWTwZ69X7X 3GmQMpPXULlkr6RNVyKaYiQU8LdrEuOyvUv7kF/8isjFmwGR2akwHwtI711yfEJ486Pa mb1oZ7GhSJqs4DoWSKhA/6dDQ/6U6shN75xICpGXOgsEkd0nXNw9huXhSzLzDxcM6e+N JHK0iHY2ejDJvPQyZFjKLGlV4z/u+QcfqrBWUPudRKn3crjQsg0kNCbKf4pjPbLsFi4r eX6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=3osl2UchuSInf2YGqsAuXo6ZLh58TXjk521cuXrMJVc=; b=o5ZPtsj7GCBfk0IFNup6qNTOYU7I3/aVJ1DphbgB5aL8ivPVxSnbDOxDYNdI93USYe dLitNCYz/OC1pnAubZ5GutvsArI0iiDEz6n/Z6NT62vMZhmW6ylg+tvMvvmDVRbjxthr GUISMvOOBd9InPb9w5mOO6iPxkFlZFDHj3ztMdifuGWigKIYhTBXqiDaPzZHX8OVCzMl 502npxq8brN/WNMPD9vT44Lm7FpaJiGsz5Oz4bY6h0KEtzV4ICUKaLt9xsru5eS8rfWS Ct4N8Clicu3DHhHJGEqmIpU4p+nSon94kWBFORKnqWbWTLAMlZ7PLYaWsQEpURZbOT/r oPHA== X-Gm-Message-State: APjAAAWmdv4n+K/W9eT8M18MIRJv7Avx0SUX2iSuL1gBlPuqnL22Tyt0 CIKKaHLyIeDcx4TxP76I7+8ILf336210FA== X-Google-Smtp-Source: APXvYqzweD1UGzg6ACXOEt8EWnDXOpv2RKOZbKL6afP6TRCiRnjWpfr7LXs3Q5xsrx/gIBL/tzhckQ== X-Received: by 2002:a17:906:1181:: with SMTP id n1mr16779135eja.177.1559915777403; Fri, 07 Jun 2019 06:56:17 -0700 (PDT) Return-Path: Received: from localhost.localdomain ([84.203.79.95]) by smtp.gmail.com with ESMTPSA id f3sm378992ejo.90.2019.06.07.06.56.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 07 Jun 2019 06:56:16 -0700 (PDT) From: "Pete Batard" To: devel@edk2.groups.io Cc: ard.biesheuvel@linaro.org, leif.lindholm@linaro.org Subject: [PATCH 2/2] RaspberryPi/RPi3: Update DSC/FDF to use NetworkPkg DSC/FDF Date: Fri, 7 Jun 2019 14:55:58 +0100 Message-Id: <20190607135558.2460-3-pete@akeo.ie> X-Mailer: git-send-email 2.21.0.windows.1 In-Reply-To: <20190607135558.2460-1-pete@akeo.ie> References: <20190607135558.2460-1-pete@akeo.ie> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit This patch updates the platform DSC/FDF files to use the include fragment files provided by NetworkPkg. Signed-off-by: Pete Batard --- Platform/RaspberryPi/RPi3/RPi3.dsc | 31 ++++++++------------ Platform/RaspberryPi/RPi3/RPi3.fdf | 11 +------ 2 files changed, 13 insertions(+), 29 deletions(-) diff --git a/Platform/RaspberryPi/RPi3/RPi3.dsc b/Platform/RaspberryPi/RPi3/RPi3.dsc index f87d06f9b080..7c9ee5ef4802 100644 --- a/Platform/RaspberryPi/RPi3/RPi3.dsc +++ b/Platform/RaspberryPi/RPi3/RPi3.dsc @@ -25,6 +25,12 @@ [Defines] SKUID_IDENTIFIER = DEFAULT FLASH_DEFINITION = Platform/RaspberryPi/$(PLATFORM_NAME)/$(PLATFORM_NAME).fdf + # + # Network definition + # + DEFINE NETWORK_TLS_ENABLE = FALSE + DEFINE NETWORK_HTTP_BOOT_ENABLE = FALSE + # # Defines for default states. These can be changed on the command line. # -D FLAG=VALUE @@ -85,12 +91,6 @@ [LibraryClasses.common] # use the accelerated BaseMemoryLibOptDxe by default, overrides for SEC/PEI below BaseMemoryLib|MdePkg/Library/BaseMemoryLibOptDxe/BaseMemoryLibOptDxe.inf - # Networking Requirements - NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf - DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf - UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf - IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf - # # It is not possible to prevent the ARM compiler from inserting calls to intrinsic functions. # This library provides the instrinsic functions such a compiler may generate calls to. @@ -117,6 +117,11 @@ [LibraryClasses.common] PlatformHookLib|MdeModulePkg/Library/BasePlatformHookLibNull/BasePlatformHookLibNull.inf SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf + # Cryptographic libraries + IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf + BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf + OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf + # # Uncomment (and comment out the next line) For RealView Debugger. The Standard IO window # in the debugger will show load and unload commands for symbols. You can cut and paste this @@ -140,11 +145,8 @@ [LibraryClasses.common] # Secure Boot dependencies # !if $(SECURE_BOOT_ENABLE) == TRUE - IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf - OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf - BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf # re-use the UserPhysicalPresent() dummy implementation from the ovmf tree PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.inf @@ -587,16 +589,7 @@ [Components.common] # # Networking stack # - MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf - MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf - MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf - MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf - MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf - MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf - MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf - MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf - NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf - NetworkPkg/TcpDxe/TcpDxe.inf +!include NetworkPkg/Network.dsc.inc # # RNG diff --git a/Platform/RaspberryPi/RPi3/RPi3.fdf b/Platform/RaspberryPi/RPi3/RPi3.fdf index 3bd2be314401..f2c0ee09af1e 100644 --- a/Platform/RaspberryPi/RPi3/RPi3.fdf +++ b/Platform/RaspberryPi/RPi3/RPi3.fdf @@ -265,16 +265,7 @@ [FV.FvMain] # # Networking stack # - INF MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf - INF MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf - INF MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf - INF MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf - INF MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf - INF MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf - INF MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf - INF MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf - INF NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf - INF NetworkPkg/TcpDxe/TcpDxe.inf +!include NetworkPkg/Network.fdf.inc # # RNG -- 2.21.0.windows.1