[PATCH rtems-libbsd v2 0/3] MicroBlaze AXI Ethernet Support

Alex White alex.white at oarcorp.com
Thu Feb 10 22:12:22 UTC 2022


v2:
- Reworked patches to follow CONTRIBUTING.md guide
- Excluded unneeded vmem calls
- Moved ethernet frame alignment handling to the network interface driver

This patch set adds support for Xilinx's AXI Ethernet IP core. It has
been tested both in QEMU and on the KCU105 board using the default
FPGA implementation from the Xilinx's KCU105 PetaLinux BSP.

Alex White (1):
  if_xae: Port to RTEMS

Jennifer Averett (2):
  Add MicroBlaze support
  if_xae: Import from FreeBSD

 buildset/default.ini                          |    1 +
 freebsd/sys/dev/mii/tiphy.h                   |   57 +
 freebsd/sys/dev/xdma/xdma.c                   |  501 ++++++++
 freebsd/sys/dev/xdma/xdma.h                   |  285 +++++
 freebsd/sys/dev/xdma/xdma_bank.c              |  100 ++
 freebsd/sys/dev/xdma/xdma_mbuf.c              |  151 +++
 freebsd/sys/dev/xdma/xdma_queue.c             |  126 ++
 freebsd/sys/dev/xdma/xdma_sg.c                |  661 ++++++++++
 freebsd/sys/dev/xdma/xdma_sglist.c            |  103 ++
 freebsd/sys/dev/xilinx/axidma.c               |  677 ++++++++++
 freebsd/sys/dev/xilinx/axidma.h               |   96 ++
 freebsd/sys/dev/xilinx/if_xae.c               | 1108 +++++++++++++++++
 freebsd/sys/dev/xilinx/if_xaereg.h            |  122 ++
 freebsd/sys/dev/xilinx/if_xaevar.h            |   80 ++
 .../sys/microblaze/include/machine/in_cksum.h |   83 ++
 libbsd.py                                     |   41 +-
 rtemsbsd/include/bsp/nexus-devices.h          |   10 +-
 rtemsbsd/include/rtems/bsd/local/xdma_if.h    |  144 +++
 rtemsbsd/local/xdma_if.c                      |   57 +
 .../rtems/bsd/test/network-config.h.in        |    2 +
 20 files changed, 4401 insertions(+), 4 deletions(-)
 create mode 100644 freebsd/sys/dev/mii/tiphy.h
 create mode 100644 freebsd/sys/dev/xdma/xdma.c
 create mode 100644 freebsd/sys/dev/xdma/xdma.h
 create mode 100644 freebsd/sys/dev/xdma/xdma_bank.c
 create mode 100644 freebsd/sys/dev/xdma/xdma_mbuf.c
 create mode 100644 freebsd/sys/dev/xdma/xdma_queue.c
 create mode 100644 freebsd/sys/dev/xdma/xdma_sg.c
 create mode 100644 freebsd/sys/dev/xdma/xdma_sglist.c
 create mode 100644 freebsd/sys/dev/xilinx/axidma.c
 create mode 100644 freebsd/sys/dev/xilinx/axidma.h
 create mode 100644 freebsd/sys/dev/xilinx/if_xae.c
 create mode 100644 freebsd/sys/dev/xilinx/if_xaereg.h
 create mode 100644 freebsd/sys/dev/xilinx/if_xaevar.h
 create mode 100644 freebsd/sys/microblaze/include/machine/in_cksum.h
 create mode 100644 rtemsbsd/include/rtems/bsd/local/xdma_if.h
 create mode 100644 rtemsbsd/local/xdma_if.c

-- 
2.30.2



More information about the devel mailing list