[PATCH v4 00/15] hw/arm: add Beckhoff CX7200 board

Corvin Köhne posted 15 patches 3 days, 6 hours ago
Failed in applying to current master (apply log)
docs/system/arm/beckhoff-cx7200.rst          |  57 +++
docs/system/target-arm.rst                   |   1 +
hw/arm/Kconfig                               |  18 +
hw/arm/beckhoff_CX7200.c                     | 443 +++++++++++++++++++
hw/arm/meson.build                           |   1 +
hw/block/m25p80.c                            |   3 +-
hw/dma/xlnx-zynq-devcfg.c                    |  29 +-
hw/misc/Kconfig                              |   6 +
hw/misc/beckhoff_ccat.c                      | 338 ++++++++++++++
hw/misc/meson.build                          |   2 +
hw/misc/xlnx-zynq-ddrc.c                     | 413 +++++++++++++++++
hw/misc/zynq_slcr.c                          |  31 ++
hw/timer/a9gtimer.c                          |  26 +-
hw/timer/arm_mptimer.c                       |  32 +-
include/hw/misc/xlnx-zynq-ddrc.h             | 148 +++++++
include/hw/timer/a9gtimer.h                  |   2 +
include/hw/timer/arm_mptimer.h               |   4 +
tests/functional/test_arm_beckhoff_cx7200.py |  19 +
18 files changed, 1561 insertions(+), 12 deletions(-)
create mode 100644 docs/system/arm/beckhoff-cx7200.rst
create mode 100644 hw/arm/beckhoff_CX7200.c
create mode 100644 hw/misc/beckhoff_ccat.c
create mode 100644 hw/misc/xlnx-zynq-ddrc.c
create mode 100644 include/hw/misc/xlnx-zynq-ddrc.h
create mode 100644 tests/functional/test_arm_beckhoff_cx7200.py
[PATCH v4 00/15] hw/arm: add Beckhoff CX7200 board
Posted by Corvin Köhne 3 days, 6 hours ago
From: Corvin Köhne <c.koehne@beckhoff.com>

Hi,

Beckhoff has build a board, called CX7200, based on the Xilinx Zynq A9
platform. This commit series adds the Beckhoff CX7200 as new board variant to
QEMU.

The emulation is able to successfully boot an CX7200 image. The image includes
some self tests executed on every boot. Only the cache self test fails due to
QEMU emulating the cache as always being coherent. The self tests include f.e.:

* Network
* Flash
* CCAT DMA + EEPROM [1]
* TwinCAT (Beckhoff's automation control software [2])

[1] https://github.com/beckhoff/ccat
[2] https://www.beckhoff.com/en-us/products/automation/

YannickV (15):
  hw/timer: Make frequency configurable
  hw/timer: Make PERIPHCLK divider configurable
  hw/dma/zynq-devcfg: Handle bitstream loading via DMA to 0xffffffff
  hw/arm/zynq-devcfg: Prevent unintended unlock during initialization
  hw/dma/zynq: Ensure PCFG_DONE bit remains set to indicate PL is in
    user mode
  hw/dma/zynq-devcfg: Simulate dummy PL reset
  hw/dma/zynq-devcfg: Indicate power-up status of PL
  hw/dma/zynq-devcfg: Fix register memory
  hw/misc: Add dummy ZYNQ DDR controller
  hw/misc/zynq_slcr: Add logic for DCI configuration
  hw/misc: Add Beckhoff CCAT device
  hw/block/m25p80: Add HAS_SR_TB flag for is25lp016d
  hw/arm: Add new machine based on xilinx-zynq-a9 for Beckhoff CX7200
  tests/functional: Add a Beckhoff CX7200 test
  docs/system/arm: Add support for Beckhoff CX7200

 docs/system/arm/beckhoff-cx7200.rst          |  57 +++
 docs/system/target-arm.rst                   |   1 +
 hw/arm/Kconfig                               |  18 +
 hw/arm/beckhoff_CX7200.c                     | 443 +++++++++++++++++++
 hw/arm/meson.build                           |   1 +
 hw/block/m25p80.c                            |   3 +-
 hw/dma/xlnx-zynq-devcfg.c                    |  29 +-
 hw/misc/Kconfig                              |   6 +
 hw/misc/beckhoff_ccat.c                      | 338 ++++++++++++++
 hw/misc/meson.build                          |   2 +
 hw/misc/xlnx-zynq-ddrc.c                     | 413 +++++++++++++++++
 hw/misc/zynq_slcr.c                          |  31 ++
 hw/timer/a9gtimer.c                          |  26 +-
 hw/timer/arm_mptimer.c                       |  32 +-
 include/hw/misc/xlnx-zynq-ddrc.h             | 148 +++++++
 include/hw/timer/a9gtimer.h                  |   2 +
 include/hw/timer/arm_mptimer.h               |   4 +
 tests/functional/test_arm_beckhoff_cx7200.py |  19 +
 18 files changed, 1561 insertions(+), 12 deletions(-)
 create mode 100644 docs/system/arm/beckhoff-cx7200.rst
 create mode 100644 hw/arm/beckhoff_CX7200.c
 create mode 100644 hw/misc/beckhoff_ccat.c
 create mode 100644 hw/misc/xlnx-zynq-ddrc.c
 create mode 100644 include/hw/misc/xlnx-zynq-ddrc.h
 create mode 100644 tests/functional/test_arm_beckhoff_cx7200.py

-- 
2.47.3