Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 99F91CD4F35 for ; Wed, 13 May 2026 10:59:26 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1wN7JB-0006zQ-5r; Wed, 13 May 2026 06:59:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1wN7Fi-0003Bc-SO for qemu-devel@nongnu.org; Wed, 13 May 2026 06:55:47 -0400 Received: from mail-wm1-x335.google.com ([2a00:1450:4864:20::335]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1wN7Fd-0001UY-I0 for qemu-devel@nongnu.org; Wed, 13 May 2026 06:55:46 -0400 Received: by mail-wm1-x335.google.com with SMTP id 5b1f17b1804b1-488b150559bso51712265e9.1 for ; Wed, 13 May 2026 03:55:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1778669739; x=1779274539; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=GoZtt2lK0yUwG4pPWSgeKyahL320UQGIppVE1LDSKSc=; b=F9ccWNLDfM+DYN5txf/quuaVrjM46nkHX2TqPG8sSdEqnZAgerMrTceuX9Y77EjNKk tTJtGtBoTGaZByTxVvZIT/1iSU1stX537v4zJnbrzYGoP2h5MlghRhKaC1aaqIi1J0a+ Z1jvviaeU222UQsXnueYFvHMWYachhEs8kRV75YMylh7hqHcdxm2/H+rhVE8q7FYG5lB AP7c4LSt2InpYa9QPrinZR9CioxJB6TGUg1Ul0kvFJIXpj4Z8+cTUtI5JMbIyR3gw0xe gPn/2s59Hr5PfV5U57KerazmcQw/7bAfGzRqoFW8a7PusLdy3GSwA1HnGqASlycqE87D Tx+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1778669739; x=1779274539; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=GoZtt2lK0yUwG4pPWSgeKyahL320UQGIppVE1LDSKSc=; b=rUc1qweD9QuIkaomhYncwAZVeaINlr+KMD93vmxvac/4Ekr444Qo5JlTTlK1lnj5D4 uRARiPHWWMk8Qwb91tr4a08qVpQm4uXjKTSMFoNKM6pYDLtXy16kh2biIC8TVCfGjZDW nXciDF41eb7Y7ytbzUerCNoJCqkf7aDUXgy5FPsFylcreweWWP++7reqEnvFlskUyaRf gUDbLuJiOMAK8zSzbAmR+fGPeJ8JYVQsMmeh1egCiYXfq4/gO+OxBaakHzBLKliuHhwm 9T6LMLY+xW5MhE7h7iY7olpQEbCsKUjCs46kr+pcy74yBTl5dChVI3d04QePUMA8L5fd q6Bg== X-Gm-Message-State: AOJu0YxeNpEP8QvdIyyGgh9lv/aTeKp/s3KnmPWQbC2QrEbarGHvCddP nRLHqTpkhGXqtGHgyvEEAAMD2W/MxZTJJRC2HTbfcplCGQf69DsfDpCk8MuJxUA2 X-Gm-Gg: Acq92OEU3zGXG1adnLTvoCb9hcheQqfOD/RGcotQFuHkK1vLjIyqqHqPpGRPWDdYbIT Z3RgCbdFqOXIN4MAwJwuiPeDp5lGYEG8Zif5zLdMbdtl6EheANSEVlsMy0QbiyEDF+1YpNp++Tb DzIAQJt0jgBl/KoclA9qPIE4xOQdgUnCg8TmfulGoqlitS2jiZsrOWLnFu9dOt5Zn2jZ2e6tXx4 8HdLnqkEw5fC+tc7EXgNwJdQUMV9EPBXmCwB30oz3pF9a7YBG4pvjJzQ2X05WM1/WyGAHX81+3P k3R3fj82zXbH8+b31gt6PpxB4qlhO2LQFw1LKDDwobaYK1mN0f34BY39gY36EKYK+EsRy0Dmiur IKE1kZYNZMomYCSkAWj72x5gGxgYVIGYXs3pzkKi96xn2G+myYMu6Dk0ZsieYjldi2Ao2aYcz11 HsWMe3FyiZsbqHfL0eAE1BXD6mCfLtHyA5SmHQFWNaZBwn X-Received: by 2002:a05:600c:8b13:b0:48a:6315:da26 with SMTP id 5b1f17b1804b1-48fc9a53bdbmr40751085e9.26.1778669739592; Wed, 13 May 2026 03:55:39 -0700 (PDT) Received: from PC-DA2D10.beckhoff.com ([195.226.174.196]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-48e8f410d9fsm56062295e9.6.2026.05.13.03.55.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 May 2026 03:55:39 -0700 (PDT) From: =?UTF-8?q?Corvin=20K=C3=B6hne?= To: qemu-devel@nongnu.org Cc: qemu-block@nongnu.org, Hanna Reitz , Kevin Wolf , qemu-arm@nongnu.org, =?UTF-8?q?Corvin=20K=C3=B6hne?= , Peter Maydell , Paolo Bonzini , Pierrick Bouvier , =?UTF-8?q?Yannick=20Vo=C3=9Fen?= , Alistair Francis , "Edgar E. Iglesias" , YannickV Subject: [PATCH v6 15/15] docs/system/arm: Add support for Beckhoff CX7200 Date: Wed, 13 May 2026 12:55:17 +0200 Message-ID: <20260513105517.146706-16-corvin.koehne@gmail.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260513105517.146706-1-corvin.koehne@gmail.com> References: <20260513105517.146706-1-corvin.koehne@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::335; envelope-from=corvin.koehne@gmail.com; helo=mail-wm1-x335.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, WEIRD_QUOTING=0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org From: YannickV This commit offers some documentation on the Beckhoff CX7200 qemu emulation. Signed-off-by: YannickV --- docs/system/arm/beckhoff-cx7200.rst | 57 +++++++++++++++++++++++++++++ docs/system/target-arm.rst | 1 + 2 files changed, 58 insertions(+) create mode 100644 docs/system/arm/beckhoff-cx7200.rst diff --git a/docs/system/arm/beckhoff-cx7200.rst b/docs/system/arm/beckhoff-cx7200.rst new file mode 100644 index 0000000000..f060319b0f --- /dev/null +++ b/docs/system/arm/beckhoff-cx7200.rst @@ -0,0 +1,57 @@ +Beckhoff CX7200 (``beckhoff-cx7200``) +====================================== +The Beckhoff CX7200 is based on the same architecture as the Xilinx Zynq A9. +The Zynq 7000 family is based on the AMD SoC architecture. These products +integrate a feature-rich dual or single-core Arm Cortex-A9 MPCore based +processing system (PS) and AMD programmable logic (PL) in a single device. +The Beckhoff Communication Controller (CCAT) can be found in the PL of Zynq. + +More details here: +https://docs.amd.com/r/en-US/ug585-zynq-7000-SoC-TRM/Zynq-7000-SoC-Technical-Reference-Manual +https://www.beckhoff.com/de-de/produkte/ipc/embedded-pcs/cx7000-arm-r-cortex-r/cx7293.html + +The CX7200 supports following devices: + - A9 MPCORE + - cortex-a9 + - GIC v1 + - Generic timer + - wdt + - OCM 256KB + - SMC SRAM@0xe2000000 64MB + - Zynq SLCR + - SPI x2 + - QSPI + - UART + - TTC x2 + - Gigabit Ethernet Controller + - SD Controller + - XADC + - Arm PrimeCell DMA Controller + - DDR Memory + - DDR Controller + - Beckhoff Communication Controller (CCAT) + - EEPROM Interface + - DMA Controller + +Following devices are not supported: + - I2C + +Running +""""""" +Directly loading an ELF file to the CPU of the CX7200 to run f.e. TC/RTOS (based on FreeRTOS): + +.. code-block:: bash + + $ qemu-system-arm -M beckhoff-cx7200 \ + -device loader,file=CX7200_Zynq_Fsbl.elf \ + -display none \ + -icount shift=auto \ + + +For setting the EEPROM content of the CCAT provide the following on the command line: + +.. code-block:: bash + + -drive file=eeprom.bin,format=raw,id=ccat-eeprom + +The size of eeprom.bin must be aligned to a power of 2 and bigger than 256 bytes. diff --git a/docs/system/target-arm.rst b/docs/system/target-arm.rst index c57102a414..fbe8ef5584 100644 --- a/docs/system/target-arm.rst +++ b/docs/system/target-arm.rst @@ -82,6 +82,7 @@ Board-specific documentation arm/aspeed arm/bananapi_m2u.rst arm/b-l475e-iot01a.rst + arm/beckhoff-cx7200 arm/sabrelite arm/digic arm/cubieboard -- 2.47.3