[PATCH v2 0/4] Xilinx Zynq UltraScale+ MPSoC BSP

Jeff Kubascik Jeff.Kubascik at dornerworks.com
Wed Apr 10 23:38:51 UTC 2019


From: Jeff Kubascik <jeff.kubascik at dornerworks.com>

This set of patches creates a new BSP layer for the Xilinx Zynq UltraScale+
MPSoC.

The first two patches move the zynq-uart driver into a common directory, so that
both the xilinx-zynq and xilinx-zynqmp BSPs can use it.

The third patch copies the xilinx-zynq BSP layer to xilinx-zynqmp, to use as a
starting point.

The fourth patch modifies the xilinx-zynqmp BSP layer as needed to work for the
Ultra96 board, which is based on the MPSoC. Only AArch32 mode is currently
supported.


[PATCH v2]

On 4/8/2019 1:18 AM, Sebastian Huber wrote:> Hello,
> 
> On 06/04/2019 02:53, Jeff Kubascik wrote:
>> diff --git a/bsps/arm/xilinx-zynq/console/debug-console.c b/bsps/arm/xilinx-zynq/console/debug-console.c
>> index 38c0050e90..bc89a7f152 100644
>> --- a/bsps/arm/xilinx-zynq/console/debug-console.c
>> +++ b/bsps/arm/xilinx-zynq/console/debug-console.c
>> @@ -19,6 +19,8 @@
>>
>>   #include <bspopts.h>
>>
>> +extern zynq_uart_context zynq_uart_instances[2];
> 
> please move this declaration to a header file.
> 
> --
> Sebastian Huber, embedded brains GmbH
> 

Declaration has been moved to bsp.h.

On 4/8/2019 1:20 AM, Sebastian Huber wrote:
> 
> The patch set looks good. Should we change the license of the original
> Zynq BSP to BSD-2-Clause before this change? Currently, the new BSP
> under the old RTEMS license.
> 
> --
> Sebastian Huber, embedded brains GmbH
> 

I have rebased the patches to include the BSD-2-Clause license change submitted
by Sebastian.

-Jeff Kubascik

Jeff Kubascik (4):
  bsp/zynq-uart: Remove zynq_uart_instances from header
  bsp/zynq-uart: Move Zynq UART driver to shared directory
  bsp/xilinx-zynqmp: Stub out Xilinx MPSoC BSP
  bsp/xilinx-zynqmp: Implement Ultra96 target

 .../include/bsp/zynq-uart-regs.h              |   0
 .../{xilinx-zynq => }/include/bsp/zynq-uart.h |   4 +-
 .../console => shared/serial}/zynq-uart.c     |   0
 bsps/arm/xilinx-zynq/console/debug-console.c  |   2 +
 bsps/arm/xilinx-zynq/headers.am               |   4 +-
 bsps/arm/xilinx-zynq/start/bspreset.c         |   2 +
 bsps/arm/xilinx-zynqmp/README                 |  30 +++++
 .../xilinx-zynqmp/config/xilinx_zynqmp.inc    |  10 ++
 .../config/xilinx_zynqmp_ultra96.cfg          |   1 +
 .../xilinx-zynqmp/console/console-config.c    | 116 ++++++++++++++++++
 bsps/arm/xilinx-zynqmp/headers.am             |  12 ++
 bsps/arm/xilinx-zynqmp/include/bsp.h          |  80 ++++++++++++
 bsps/arm/xilinx-zynqmp/include/bsp/irq.h      |  67 ++++++++++
 bsps/arm/xilinx-zynqmp/include/tm27.h         |  40 ++++++
 bsps/arm/xilinx-zynqmp/start/bsp_specs        |   9 ++
 bsps/arm/xilinx-zynqmp/start/bspreset.c       |  30 +++++
 bsps/arm/xilinx-zynqmp/start/bspsmp.c         |  43 +++++++
 bsps/arm/xilinx-zynqmp/start/bspstart.c       |  49 ++++++++
 bsps/arm/xilinx-zynqmp/start/bspstarthooks.c  |  73 +++++++++++
 bsps/arm/xilinx-zynqmp/start/bspstartmmu.c    |  66 ++++++++++
 bsps/arm/xilinx-zynqmp/start/linkcmds.in      |  36 ++++++
 c/src/lib/libbsp/arm/acinclude.m4             |   2 +
 c/src/lib/libbsp/arm/xilinx-zynq/Makefile.am  |   2 +-
 .../lib/libbsp/arm/xilinx-zynqmp/Makefile.am  |  82 +++++++++++++
 .../lib/libbsp/arm/xilinx-zynqmp/configure.ac | 112 +++++++++++++++++
 25 files changed, 866 insertions(+), 6 deletions(-)
 rename bsps/arm/{xilinx-zynq => }/include/bsp/zynq-uart-regs.h (100%)
 rename bsps/arm/{xilinx-zynq => }/include/bsp/zynq-uart.h (92%)
 rename bsps/arm/{xilinx-zynq/console => shared/serial}/zynq-uart.c (100%)
 create mode 100644 bsps/arm/xilinx-zynqmp/README
 create mode 100644 bsps/arm/xilinx-zynqmp/config/xilinx_zynqmp.inc
 create mode 100644 bsps/arm/xilinx-zynqmp/config/xilinx_zynqmp_ultra96.cfg
 create mode 100644 bsps/arm/xilinx-zynqmp/console/console-config.c
 create mode 100644 bsps/arm/xilinx-zynqmp/headers.am
 create mode 100644 bsps/arm/xilinx-zynqmp/include/bsp.h
 create mode 100644 bsps/arm/xilinx-zynqmp/include/bsp/irq.h
 create mode 100644 bsps/arm/xilinx-zynqmp/include/tm27.h
 create mode 100644 bsps/arm/xilinx-zynqmp/start/bsp_specs
 create mode 100644 bsps/arm/xilinx-zynqmp/start/bspreset.c
 create mode 100644 bsps/arm/xilinx-zynqmp/start/bspsmp.c
 create mode 100644 bsps/arm/xilinx-zynqmp/start/bspstart.c
 create mode 100644 bsps/arm/xilinx-zynqmp/start/bspstarthooks.c
 create mode 100644 bsps/arm/xilinx-zynqmp/start/bspstartmmu.c
 create mode 100644 bsps/arm/xilinx-zynqmp/start/linkcmds.in
 create mode 100644 c/src/lib/libbsp/arm/xilinx-zynqmp/Makefile.am
 create mode 100644 c/src/lib/libbsp/arm/xilinx-zynqmp/configure.ac

-- 
2.17.1



More information about the devel mailing list