From patchwork Tue Dec 11 15:02:36 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 153473 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp716613ljp; Tue, 11 Dec 2018 07:03:05 -0800 (PST) X-Google-Smtp-Source: AFSGD/Vo/OMsSYypS/5ifJJbo9LWWDNnvBVNzwXsfuFAp4WTmhAdto4QWuDeRDER2t6UnDZ9Po91 X-Received: by 2002:a63:b4c:: with SMTP id a12mr15090163pgl.131.1544540585391; Tue, 11 Dec 2018 07:03:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544540585; cv=none; d=google.com; s=arc-20160816; b=UJc7NnYXnnWgMCSKgHnuE95CGsll6DQA3ooPwf9+ayJdT9l3RlgNMFmMMAD9lzhovM Sl9Hos2O2pqxiaRImIGiCIAuPNtKqJ0RCZtQ4IWj1m20/5yXvAo109gSdVu/1QHaFWQQ SLXHk4uW6pJPKRAOkfv76Bj2dzfOIjLLrxndbn7YrdkiK5sxzkxlnnz93buUl7TTXCiE IO0xx2XX2Yfq2vMY9XFHfx+7uhpfW2uQdKw/63iTfN/OxqK76jkWCY+f3D7QIiVuc/cG 7nyLAwXCZilsV5suUiL5YwSZGWl3GwZmFVFQcembj4D+fa+uZNKZeQVYVO64ZLCmGqoG pByQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:subject:mime-version:references:in-reply-to:message-id :date:to:from:dkim-signature:delivered-to; bh=A4hpAOcCNPYkqd2rlIXTo1xgSlxzK98dHxeaB/Y9b9c=; b=JKsUUySEjK3g4ULn47WXBKstd7JW5kuJN8vhDCxTR/3kQTWatVDB17bmcO/ZmknCi+ 1cKvXSrWVidEICeMyWY3e85cnjfqW4qXMu9VmvZwo/q84ddZJqpo2Bw8T3a+UFgwI8dE 7/7Zf3h78vFAqCzLqJHnurQldVp2oZ2rKMNmCCMJk/iQrzqyz5ZjC5eoDjcvgUiHd0S4 eu2rY1kWwGwf/XwjnYnrT4D7xg1hN3LUeI6N3wMH3IJTqyYpTwMfKu/XNvRm10cVGUU+ YpUovtIEr71g1HqTzUNCt99gPXtxXVv1kdy7nSjGVpjHnVg3LiGJY4nD/Qwk+v7Y2UII g18g== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=PQ0ue3K9; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ml01.01.org (ml01.01.org. [2001:19d0:306:5::1]) by mx.google.com with ESMTPS id o192si12449825pgo.129.2018.12.11.07.03.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 11 Dec 2018 07:03:05 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) client-ip=2001:19d0:306:5::1; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=PQ0ue3K9; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 959112119A461; Tue, 11 Dec 2018 07:02:52 -0800 (PST) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:4864:20::335; helo=mail-wm1-x335.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 3E73B21199539 for ; Tue, 11 Dec 2018 07:02:51 -0800 (PST) Received: by mail-wm1-x335.google.com with SMTP id s14so2570832wmh.1 for ; Tue, 11 Dec 2018 07:02:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=E6dCM0IanQF9IaZ7F/j/55OM4CmXi4Ijj8w2IoMmnBk=; b=PQ0ue3K9wPj9E2t45ROfksrgQigjptwtOkSR6FItLqt9rLkqBEli/1uHSdEwVjA5wL cJlbyRCzl3EUFMwZ3qDxkSsG/saObAFZW9E9XCNLlYpEgk+kTR1wVPZqAfRe1ZWR6ZeN 7JDZRxuIV0QDWNdJn2mrzCM6JDdzr38Ls7gnQ= 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=E6dCM0IanQF9IaZ7F/j/55OM4CmXi4Ijj8w2IoMmnBk=; b=WLZDm3Cfo80TvihmwQSjXwuHcgM63UjoyiN9sjoxb4Ek1GLfd/nEobmDf8FI+qGqoR lYT5sz0C3xkAnDjCW9aEq52e9OeVY8awq9jAhO0Z1LWZcbiBOk2Xz74jpTGoIZEtXYnI g8EvtW5toLKZVjBktavKn5s+/hFsjFKTtukOHqiWr2DReES2SNWqofvI0ooMAhz1YVZ9 3n4ThtS7XNQktOUNyuXPlcxHEB67ES/mFKgpG6w80r1ifjeNta/KOFmxZ8G1EoTpFeIN FuP92qC/iin7f69TKHgYj9/maS4OEYMwSO2Z+ojZo9TyN5O2ANn1evmrBuznR2hgMivW gikw== X-Gm-Message-State: AA+aEWa7UOff0q7qRTCFK56Wn1gtnaHgQmfbGHmgxrH2kV6p1qDu+kSL C8yvcGaHTgRujLsNOMG3JcI9lvN61vqWaw== X-Received: by 2002:a1c:70b:: with SMTP id 11mr2782045wmh.74.1544540568709; Tue, 11 Dec 2018 07:02:48 -0800 (PST) Received: from harold.home ([2a01:cb1d:112:6f00:8c3:6b9d:cbc9:58c6]) by smtp.gmail.com with ESMTPSA id o9sm285793wmh.3.2018.12.11.07.02.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 11 Dec 2018 07:02:47 -0800 (PST) From: Ard Biesheuvel To: edk2-devel@lists.01.org Date: Tue, 11 Dec 2018 16:02:36 +0100 Message-Id: <20181211150237.32275-6-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20181211150237.32275-1-ard.biesheuvel@linaro.org> References: <20181211150237.32275-1-ard.biesheuvel@linaro.org> MIME-Version: 1.0 Subject: [edk2] [PATCH edk2-platforms 5/6] Platform/AMD/OverdriveBoard: enable support for IPv6 networking and HTTP boot 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: , Cc: alan@softiron.co.uk Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" Enable the various bits and pieces that implement IPv6 networking and HTTP/HTTPS boot from UEFI. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel --- Platform/AMD/OverdriveBoard/OverdriveBoard.dsc | 32 ++++++++++++++------ Platform/AMD/OverdriveBoard/OverdriveBoard.fdf | 19 +++++++++--- 2 files changed, 36 insertions(+), 15 deletions(-) -- 2.19.2 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel diff --git a/Platform/AMD/OverdriveBoard/OverdriveBoard.dsc b/Platform/AMD/OverdriveBoard/OverdriveBoard.dsc index 4b7342b3e3ce..04d655440d5b 100644 --- a/Platform/AMD/OverdriveBoard/OverdriveBoard.dsc +++ b/Platform/AMD/OverdriveBoard/OverdriveBoard.dsc @@ -128,7 +128,6 @@ DEFINE DO_CAPSULE = FALSE DisplayUpdateProgressLib|MdeModulePkg/Library/DisplayUpdateProgressLibGraphics/DisplayUpdateProgressLibGraphics.inf !if $(DO_CAPSULE) == TRUE BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf - OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf EdkiiSystemCapsuleLib|SignedCapsulePkg/Library/EdkiiSystemCapsuleLib/EdkiiSystemCapsuleLib.inf FmpAuthenticationLib|SecurityPkg/Library/FmpAuthenticationLibPkcs7/FmpAuthenticationLibPkcs7.inf @@ -136,6 +135,11 @@ DEFINE DO_CAPSULE = FALSE PlatformFlashAccessLib|Silicon/AMD/Styx/Library/StyxPlatformFlashAccessLib/StyxPlatformFlashAccessLib.inf !endif + TcpIoLib|MdeModulePkg/Library/DxeTcpIoLib/DxeTcpIoLib.inf + OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf + HttpLib|MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.inf + TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf + UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf PlatformBootManagerLib|ArmPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf @@ -459,6 +463,8 @@ DEFINE DO_CAPSULE = FALSE # map the stack as non-executable when entering the DXE phase gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|TRUE + gEfiNetworkPkgTokenSpaceGuid.PcdAllowHttpConnections|TRUE + !if $(DO_XGBE) gAmdModulePkgTokenSpaceGuid.PcdXgbeEnable|TRUE @@ -658,23 +664,29 @@ DEFINE DO_CAPSULE = FALSE # # Networking stack # - MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf -# MdeModulePkg/Universal/Network/Ip4ConfigDxe/Ip4ConfigDxe.inf MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf - MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf { - - gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x21 - } + MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf + MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf - NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf + NetworkPkg/Ip6Dxe/Ip6Dxe.inf NetworkPkg/TcpDxe/TcpDxe.inf -## Bug https://bugs.linaro.org/show_bug.cgi?id=2239 -# NetworkPkg/IScsiDxe/IScsiDxe.inf + NetworkPkg/Udp6Dxe/Udp6Dxe.inf + NetworkPkg/Dhcp6Dxe/Dhcp6Dxe.inf + NetworkPkg/Mtftp6Dxe/Mtftp6Dxe.inf + NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf + NetworkPkg/IScsiDxe/IScsiDxe.inf + NetworkPkg/DnsDxe/DnsDxe.inf + NetworkPkg/HttpUtilitiesDxe/HttpUtilitiesDxe.inf + NetworkPkg/HttpDxe/HttpDxe.inf + NetworkPkg/HttpBootDxe/HttpBootDxe.inf + NetworkPkg/TlsDxe/TlsDxe.inf + NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf + MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf # # Core Info diff --git a/Platform/AMD/OverdriveBoard/OverdriveBoard.fdf b/Platform/AMD/OverdriveBoard/OverdriveBoard.fdf index c7e27e20ad4a..5dcf67d819f6 100644 --- a/Platform/AMD/OverdriveBoard/OverdriveBoard.fdf +++ b/Platform/AMD/OverdriveBoard/OverdriveBoard.fdf @@ -195,20 +195,29 @@ READ_LOCK_STATUS = TRUE # # Networking stack # - INF MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf 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/Ip4ConfigDxe/Ip4ConfigDxe.inf INF MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf INF MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf + INF MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.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/Ip6Dxe/Ip6Dxe.inf INF NetworkPkg/TcpDxe/TcpDxe.inf -## Bug https://bugs.linaro.org/show_bug.cgi?id=2239 -# INF NetworkPkg/IScsiDxe/IScsiDxe.inf + INF NetworkPkg/Udp6Dxe/Udp6Dxe.inf + INF NetworkPkg/Dhcp6Dxe/Dhcp6Dxe.inf + INF NetworkPkg/Mtftp6Dxe/Mtftp6Dxe.inf + INF NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf + INF NetworkPkg/IScsiDxe/IScsiDxe.inf + INF NetworkPkg/DnsDxe/DnsDxe.inf + INF NetworkPkg/HttpUtilitiesDxe/HttpUtilitiesDxe.inf + INF NetworkPkg/HttpDxe/HttpDxe.inf + INF NetworkPkg/HttpBootDxe/HttpBootDxe.inf + INF NetworkPkg/TlsDxe/TlsDxe.inf + INF NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf + INF MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf # # Core Info