Hi,
Finally, after massive rework updated version of Armada 7040 NIC
driver is available for mainline review. It's 100% compliant with
EDK2 coding style rules, with new headers' structure, camelcase
in the library, etc. Detailed description of the modifications can be found
in changelog below.
Driver itself is relatively short and not complicated, as it simply
implements SNP routines. Most significant part is the library,
but it consists of HW-configurations routines only.
The patches are also available in the public github tree:
https://github.com/MarvellEmbeddedProcessors/edk2-open-platform/commits/opp…
Any comments or remarks would be welcome.
Best regards,
Marcin
Changelog v1->v2
* Separate HW part of library header
- Mvpp2LibHw.h - contains all HW-related defines and structures'
definitions
- Mvpp2Lib.h - library function prototypes and inline functions
- Pp2Dxe.h - OS glue, macros, structures, driver constants
* Remove all Marvell-specific typedefs
- MV_U8, MV_32 and so on
* Adjust code to UEFI coding style
- Use typedefs for structures
- Replace tabs with spaces
- Replace "static" prefixes with "STATIC"
- Change under_score style to CamelCase
- Adjust namings accordingly
- Commits currently passed PatchCheck test
* Improvements/fixes
- Remove Linux-related leftovers in Pp2Dxe.h
- Change library headers to BSD - only
- Remove duplicated AXI configuration
- Enable setting MAC address with PCD's
- Implement Snp->StationAddress callback for resetting/updating MAC
address
Bartosz Szczepanek (3):
Drivers/Net: Import Mvpp2Lib for Pp2Dxe driver
Drivers/Net: Create Pp2Dxe driver
Platforms/Marvell: Enable Pp2Dxe driver on Armada70x0 platform
Documentation/Marvell/PortingGuide/Pp2.txt | 70 +
Drivers/Net/Pp2Dxe/Mvpp2Lib.c | 4237 ++++++++++++++++++++++++++++
Drivers/Net/Pp2Dxe/Mvpp2Lib.h | 305 ++
Drivers/Net/Pp2Dxe/Mvpp2LibHw.h | 2043 ++++++++++++++
Drivers/Net/Pp2Dxe/Pp2Dxe.c | 1281 +++++++++
Drivers/Net/Pp2Dxe/Pp2Dxe.h | 455 +++
Drivers/Net/Pp2Dxe/Pp2Dxe.inf | 94 +
Platforms/Marvell/Armada/Armada.dsc.inc | 1 +
Platforms/Marvell/Armada/Armada70x0.dsc | 21 +-
Platforms/Marvell/Armada/Armada70x0.fdf | 1 +
Platforms/Marvell/Marvell.dec | 19 +
11 files changed, 8526 insertions(+), 1 deletion(-)
create mode 100644 Documentation/Marvell/PortingGuide/Pp2.txt
create mode 100644 Drivers/Net/Pp2Dxe/Mvpp2Lib.c
create mode 100644 Drivers/Net/Pp2Dxe/Mvpp2Lib.h
create mode 100644 Drivers/Net/Pp2Dxe/Mvpp2LibHw.h
create mode 100644 Drivers/Net/Pp2Dxe/Pp2Dxe.c
create mode 100644 Drivers/Net/Pp2Dxe/Pp2Dxe.h
create mode 100644 Drivers/Net/Pp2Dxe/Pp2Dxe.inf
--
1.8.3.1
hello users,
when i try ifconfig -l in UEFI shell i got following error
Shell> ifconfig -l
Error. The protocol 'gEfiIp4ConfigProtocolGuid' was required and not found
(3B95AA31-3793-434B-8667-C8070892E05E).
I want to setup the tftp boot for Hikey. Please help me to solve this issue.
Regards,
Heisenberg
Remove all dependencies on ArmPkg's BaseMemoryLibStm, which is deprecated
and will be removed.
Ard Biesheuvel (5):
Platforms/AMD/Styx: switch to MdePkg versions of BaseMemoryLib
Platforms/Hisilicon/Pv660: move to MdePkg version of BaseMemoryLib
Platforms/ARM: move to MdePkg version of BaseMemoryLib
Platforms/Marvell/Armada: move to MdePkg version of BaseMemoryLib
Platforms/TI/BeagleBoard: remove dependency on ArmPkg/BaseMemoryLibStm
Chips/Hisilicon/Pv660/Pv660.dsc.inc | 7 ++++---
Platforms/AMD/Styx/CelloBoard/CelloBoard.dsc | 6 +++---
Platforms/AMD/Styx/OverdriveBoard/OverdriveBoard.dsc | 6 +++---
Platforms/ARM/VExpress/ArmVExpress.dsc.inc | 6 +++---
Platforms/Marvell/Armada/Armada.dsc.inc | 5 +++--
Platforms/TexasInstruments/BeagleBoard/BeagleBoardPkg.dsc | 2 +-
6 files changed, 17 insertions(+), 15 deletions(-)
--
2.7.4
Add support for the SoftIron Overdrive 1000. This requires first moving
FdtDxe/ from OverdriveBoard/ to Drivers/, so that it can be used by
OverdriveBoard/ and Overdrive1000Board/
Changes from V1:
* Remove XGBE
* Remove Flags:
gEfiMdePkgTokenSpaceGuid.PcdComponentNameDisable
gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnosticsDisable
gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable
gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable
* Remove RVCT flags
* Change the GUID to be different from OverdriveBoard
* DTS changes
String changes
Remove GPIO block 0 (LSIOC_GPIO0-7)[1]
* Switch to MdePkg/BaseMemoryLib
Alan.
[1] GPIO Block zero is not mapped in the DT because the PCIe reset lines are
on that block and manipulating them from user space (or after boot at all)
is not supported on this platform. OverdriveBoard/ has it this way.
Alan Ott (2):
Platforms/AMD/Styx: Move FdtDxe/ from OverdriveBoard/ to Drivers/
Platforms/AMD/Styx: Add configuration for Overdrive 1000
.../FdtDxe/BdsLinuxFdt.c | 0
.../{OverdriveBoard => Drivers}/FdtDxe/FdtDxe.c | 0
.../{OverdriveBoard => Drivers}/FdtDxe/FdtDxe.h | 0
.../{OverdriveBoard => Drivers}/FdtDxe/FdtDxe.inf | 0
.../FdtDxe/LinuxLoader.h | 0
.../FdtDxe/LinuxLoaderHelper.c | 0
.../Overdrive1000Board/Binary/PreUefiFirmware.bin | Bin 0 -> 401408 bytes
.../FdtBlob/styx-overdrive1000.dtb | Bin 0 -> 8117 bytes
.../FdtBlob/styx-overdrive1000.dts | 446 +++++++++++++
.../Styx/Overdrive1000Board/Overdrive1000Board.dsc | 702 +++++++++++++++++++++
.../Styx/Overdrive1000Board/Overdrive1000Board.fdf | 412 ++++++++++++
.../AMD/Styx/OverdriveBoard/OverdriveBoard.dsc | 2 +-
.../AMD/Styx/OverdriveBoard/OverdriveBoard.fdf | 2 +-
13 files changed, 1562 insertions(+), 2 deletions(-)
rename Platforms/AMD/Styx/{OverdriveBoard => Drivers}/FdtDxe/BdsLinuxFdt.c (100%)
rename Platforms/AMD/Styx/{OverdriveBoard => Drivers}/FdtDxe/FdtDxe.c (100%)
rename Platforms/AMD/Styx/{OverdriveBoard => Drivers}/FdtDxe/FdtDxe.h (100%)
rename Platforms/AMD/Styx/{OverdriveBoard => Drivers}/FdtDxe/FdtDxe.inf (100%)
rename Platforms/AMD/Styx/{OverdriveBoard => Drivers}/FdtDxe/LinuxLoader.h (100%)
rename Platforms/AMD/Styx/{OverdriveBoard => Drivers}/FdtDxe/LinuxLoaderHelper.c (100%)
create mode 100644 Platforms/AMD/Styx/Overdrive1000Board/Binary/PreUefiFirmware.bin
create mode 100644 Platforms/AMD/Styx/Overdrive1000Board/FdtBlob/styx-overdrive1000.dtb
create mode 100644 Platforms/AMD/Styx/Overdrive1000Board/FdtBlob/styx-overdrive1000.dts
create mode 100644 Platforms/AMD/Styx/Overdrive1000Board/Overdrive1000Board.dsc
create mode 100644 Platforms/AMD/Styx/Overdrive1000Board/Overdrive1000Board.fdf
--
2.5.0