From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:400c:c09::241; helo=mail-wm0-x241.google.com; envelope-from=leif.lindholm@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wm0-x241.google.com (mail-wm0-x241.google.com [IPv6:2a00:1450:400c:c09::241]) (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 2A5F721CEB121 for ; Thu, 26 Oct 2017 08:35:53 -0700 (PDT) Received: by mail-wm0-x241.google.com with SMTP id m72so19879018wmc.0 for ; Thu, 26 Oct 2017 08:39:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=i8iq2FbtY2QVCeL+5WigvJ+HaOqwVmXP5h9DP7LM0Pk=; b=B74Dzn9wWUElMogZA2gSqdnQ5fFMMoGS+6ic+eWDICl35jEDkb4mAbUQC05ryEg8ob 8H4xR8gPcC1cMxrTI+pG2PZ81lXcIDUthZrwy1EAUMFKLT8gSwCIrFGbu4sKYrHKiWJq ps/6LXKoaQFO3xxA3UZxNP8pRT+PGJeQYklH0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=i8iq2FbtY2QVCeL+5WigvJ+HaOqwVmXP5h9DP7LM0Pk=; b=sF0Nwvtn1wThcu2oCUQPd+YSbqYTvnqQQsWH3xVvz9TAVFE7lsYdmWDGO5J9/wHEX/ 1rnPgSCfFN/i7/PLq6DaKBQTZPp+4IGKDkufhRToJW9MQtIeXiyUiXudW2qMSLkjpiG4 VlwFdjmSs4CvfNHpoOu870pSWEem0VmEBHTboWldCtdxJKvaHrhSwcLxb6j8S+RndXkb Uz5HY9BixjUYk9dlQZRfRr7O8zwtWL104TB/X4DgHDJeie/CbECcSk+uLVlvN9QpX9zK 5sWwlsDTNyf12X0tnyaHMVApZD0gma/2yiAq+fjo6/sQ4rydhlD/bG07DIwkawCNFf7f BfMQ== X-Gm-Message-State: AMCzsaXlhMUBLu/gaTzpQ5qzsr+5pW10EOaJaJbSObtGUOOfn27rh21j v1+euPeWi2m+S+fI7+oSPLgPn/3K7ck= X-Google-Smtp-Source: ABhQp+RcRUPItX0ZMYvovB/06TjojPz+Ee0cnqsIcDeK3ixO15jejdE5eUkDkl9xhMKH7wAVhzwNWA== X-Received: by 10.28.100.212 with SMTP id y203mr2004105wmb.64.1509032377998; Thu, 26 Oct 2017 08:39:37 -0700 (PDT) Received: from bivouac.eciton.net (bivouac.eciton.net. [2a00:1098:0:86:1000:23:0:2]) by smtp.gmail.com with ESMTPSA id 56sm4698463wrx.2.2017.10.26.08.39.36 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 26 Oct 2017 08:39:37 -0700 (PDT) Date: Thu, 26 Oct 2017 16:39:35 +0100 From: Leif Lindholm To: Ard Biesheuvel Cc: edk2-devel@lists.01.org, daniel.thompson@linaro.org, masami.hiramatsu@linaro.org Message-ID: <20171026153935.qcsrdo6vqa4ipxee@bivouac.eciton.net> References: <20171025175947.22798-1-ard.biesheuvel@linaro.org> <20171025175947.22798-10-ard.biesheuvel@linaro.org> MIME-Version: 1.0 In-Reply-To: <20171025175947.22798-10-ard.biesheuvel@linaro.org> User-Agent: NeoMutt/20170113 (1.7.2) Subject: Re: [PATCH edk2-platforms v2 09/23] Platform/SynQuacerEvalBoard: add NETSEC driver X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Oct 2017 15:35:53 -0000 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Oct 25, 2017 at 06:59:33PM +0100, Ard Biesheuvel wrote: > Add the NETSEC driver to the SynQuacerEvalBoard platform. > > Contributed-under: TianoCore Contribution Agreement 1.1 > Signed-off-by: Ard Biesheuvel Reviewed-by: Leif Lindholm > --- > Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoard.dsc | 47 ++++++++++++++++++++ > Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoard.fdf | 25 +++++++++++ > 2 files changed, 72 insertions(+) > > diff --git a/Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoard.dsc b/Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoard.dsc > index efac41837599..926e504ff9fd 100644 > --- a/Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoard.dsc > +++ b/Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoard.dsc > @@ -114,6 +114,9 @@ [LibraryClasses.common] > SerialPortLib|ArmPlatformPkg/Library/PL011SerialPortLib/PL011SerialPortLib.inf > PL011UartLib|ArmPlatformPkg/Drivers/PL011Uart/PL011Uart.inf > > + HttpLib|MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.inf > + TcpIoLib|MdeModulePkg/Library/DxeTcpIoLib/DxeTcpIoLib.inf > + > NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf > NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf > > @@ -230,6 +233,22 @@ [PcdsFixedAtBuild.common] > gArmTokenSpaceGuid.PcdGenericWatchdogControlBase|0x2a440000 > gArmTokenSpaceGuid.PcdGenericWatchdogRefreshBase|0x2a450000 > > + # > + # NETSEC Info > + # > + gNetsecDxeTokenSpaceGuid.PcdNetsecDxeBaseAddress|0x522D0000 > + gNetsecDxeTokenSpaceGuid.PcdEepRomBase|0x10000000 > + gNetsecDxeTokenSpaceGuid.PcdEncTxDescNum|128 > + gNetsecDxeTokenSpaceGuid.PcdDecRxDescNum|128 > + gNetsecDxeTokenSpaceGuid.PcdJumboPacket|0 > + gNetsecDxeTokenSpaceGuid.PcdFlowCtrl|0 > + gNetsecDxeTokenSpaceGuid.PcdFlowCtrlStartThreshold|36 > + gNetsecDxeTokenSpaceGuid.PcdFlowCtrlStopThreshold|48 > + gNetsecDxeTokenSpaceGuid.PcdPauseTime|256 > + gNetsecDxeTokenSpaceGuid.PcdPhyDevAddr|1 > + > + gEfiNetworkPkgTokenSpaceGuid.PcdAllowHttpConnections|TRUE > + > gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000 > gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000 > gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|1000000 > @@ -476,3 +495,31 @@ [Components.common] > # RNG > # > Silicon/Openmoko/ChaosKeyDxe/ChaosKeyDxe.inf > + > + # > + # 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/SnpDxe/SnpDxe.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/Ip6Dxe/Ip6Dxe.inf > + NetworkPkg/TcpDxe/TcpDxe.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 > + Silicon/Socionext/SynQuacer/Drivers/Net/NetsecDxe/NetsecDxe.inf { > + > + DmaLib|EmbeddedPkg/Library/NonCoherentDmaLib/NonCoherentDmaLib.inf > + } > diff --git a/Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoard.fdf b/Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoard.fdf > index 1f85ee636dfa..658c9b83ca05 100644 > --- a/Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoard.fdf > +++ b/Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoard.fdf > @@ -168,6 +168,31 @@ [FV.FvMain] > # > INF Silicon/Openmoko/ChaosKeyDxe/ChaosKeyDxe.inf > > + # > + # 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/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/Ip6Dxe/Ip6Dxe.inf > + INF NetworkPkg/TcpDxe/TcpDxe.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 Silicon/Socionext/SynQuacer/Drivers/Net/NetsecDxe/NetsecDxe.inf > + > [FV.FVMAIN_COMPACT] > FvAlignment = 16 > ERASE_POLARITY = 1 > -- > 2.11.0 >