[PATCH rtems-lwip 0/1] Add ZYNQ 7000 Support

berndmoessner80 at gmail.com berndmoessner80 at gmail.com
Sat Jan 6 15:15:18 UTC 2024


From: Bernd Moessner <berndmoessner80 at gmail.com>

This patch adds support for the ZYNQ 7000 Family. It targets the AVNET Picozed board, but the other boards in RTEMS can be added in a similar way.

The patch also affects the ZYNQ Ultrascale+ Family as I have moved some code from xil_shims.c to a location which can be shared between both families.

Please note that the test executables build, but will not run. This is due to the fact that access to the eth peripheral is locked by the MMU. I'd like to address this issue by changing the MMU table in RTEMS or providing a seperate one for Picozed with the Kernel sources.

Regards
Bernd

Bernd Moessner (1):
  Add ZYNQ 7000 support

 defs/bsps/aarch64/xilinx_zynqmp_base.json     |  2 +
 defs/bsps/arm/xilinx_zynq_base.json           | 28 ++++++
 defs/bsps/arm/xilinx_zynq_picozed.json        | 13 +++
 .../ports/xilinx/include/netif/xadapter.h     |  4 +
 .../contrib/ports/xilinx/netif/xemacpsif.c    | 18 ++++
 .../ports/xilinx/netif/xemacpsif_dma.c        | 14 +++
 .../bsp/standalone/src/arm/cortexa9/xil_mmu.h | 92 +++++++++++++++++++
 rtemslwip/xilinx/freertos.c                   | 64 +++++++++++++
 rtemslwip/xilinx/xpseudo_asm.h                |  5 +
 rtemslwip/xilinx/xscugic_hw.c                 | 40 ++++++++
 rtemslwip/zynq/common_lwipopts.h              |  3 +
 rtemslwip/zynq/xil_shims.c                    | 42 +++++++++
 rtemslwip/zynq/xlwipconfig.h                  | 38 ++++++++
 rtemslwip/zynq_picozed/lwipbspopts.h          |  1 +
 rtemslwip/zynq_picozed/netstart.c             | 66 +++++++++++++
 rtemslwip/zynq_picozed/xemacps_g.c            | 35 +++++++
 rtemslwip/zynq_picozed/xparameters_ps.h       | 72 +++++++++++++++
 rtemslwip/zynq_picozed/xtopology_g.c          | 40 ++++++++
 rtemslwip/zynqmp/xil_shims.c                  | 45 ---------
 19 files changed, 577 insertions(+), 45 deletions(-)
 create mode 100644 defs/bsps/arm/xilinx_zynq_base.json
 create mode 100644 defs/bsps/arm/xilinx_zynq_picozed.json
 create mode 100644 embeddedsw/lib/bsp/standalone/src/arm/cortexa9/xil_mmu.h
 create mode 100644 rtemslwip/xilinx/freertos.c
 create mode 100644 rtemslwip/xilinx/xscugic_hw.c
 create mode 100644 rtemslwip/zynq/common_lwipopts.h
 create mode 100644 rtemslwip/zynq/xil_shims.c
 create mode 100644 rtemslwip/zynq/xlwipconfig.h
 create mode 100644 rtemslwip/zynq_picozed/lwipbspopts.h
 create mode 100644 rtemslwip/zynq_picozed/netstart.c
 create mode 100644 rtemslwip/zynq_picozed/xemacps_g.c
 create mode 100644 rtemslwip/zynq_picozed/xparameters_ps.h
 create mode 100644 rtemslwip/zynq_picozed/xtopology_g.c

-- 
2.34.1



More information about the devel mailing list