On Fri, Sep 08, 2017 at 07:23:10PM +0100, Ard Biesheuvel wrote:
> Add the NETSEC driver to the SynquacerEvalBoard platform.
>
> Contributed-under: TianoCore Contribution Agreement 1.1
> Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
> ---
> Platform/Socionext/SynquacerEvalBoard/SynquacerEvalBoard.dsc | 34 ++++++++++++++++++++
> Platform/Socionext/SynquacerEvalBoard/SynquacerEvalBoard.fdf | 17 ++++++++++
> 2 files changed, 51 insertions(+)
>
> diff --git a/Platform/Socionext/SynquacerEvalBoard/SynquacerEvalBoard.dsc b/Platform/Socionext/SynquacerEvalBoard/SynquacerEvalBoard.dsc
> index aea39b46d91b..3d4fbc87e2fa 100644
> --- a/Platform/Socionext/SynquacerEvalBoard/SynquacerEvalBoard.dsc
> +++ b/Platform/Socionext/SynquacerEvalBoard/SynquacerEvalBoard.dsc
> @@ -217,6 +217,20 @@
> 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
> +
> gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000
> gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000
> gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|1000000
> @@ -441,3 +455,23 @@
> # 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/Tcp4Dxe/Tcp4Dxe.inf
> + MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
> + MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
> + MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
So, I'm going to take my couple of days to hack on config fragments
from tomorrow, so you may just want to wait on that - but otherwise,
IPv6 and HTTP boot would be nice.
/
Leif
> + Silicon/Socionext/Synquacer/Drivers/Net/NetsecDxe/NetsecDxe.inf {
> + <LibraryClasses>
> + DmaLib|EmbeddedPkg/Library/NonCoherentDmaLib/NonCoherentDmaLib.inf
> + }
> diff --git a/Platform/Socionext/SynquacerEvalBoard/SynquacerEvalBoard.fdf b/Platform/Socionext/SynquacerEvalBoard/SynquacerEvalBoard.fdf
> index befad354918e..bd06adf93b3c 100644
> --- a/Platform/Socionext/SynquacerEvalBoard/SynquacerEvalBoard.fdf
> +++ b/Platform/Socionext/SynquacerEvalBoard/SynquacerEvalBoard.fdf
> @@ -166,6 +166,23 @@ READ_LOCK_STATUS = TRUE
> #
> 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/Tcp4Dxe/Tcp4Dxe.inf
> + INF MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
> + INF MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
> + INF MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
> + INF Silicon/Socionext/Synquacer/Drivers/Net/NetsecDxe/NetsecDxe.inf
> +
> [FV.FVMAIN_COMPACT]
> FvAlignment = 8
> ERASE_POLARITY = 1
> --
> 2.11.0
>
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel