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 lists.gnu.org (lists.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 D966DD41175 for ; Thu, 15 Jan 2026 11:36:36 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1vgLeF-0005zn-EM; Thu, 15 Jan 2026 06:36:19 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1vgLe7-00056o-FU for qemu-devel@nongnu.org; Thu, 15 Jan 2026 06:36:13 -0500 Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1vgLe1-0004jC-Fj for qemu-devel@nongnu.org; Thu, 15 Jan 2026 06:36:09 -0500 Received: by mail-wm1-x32c.google.com with SMTP id 5b1f17b1804b1-47ee0291921so5708755e9.3 for ; Thu, 15 Jan 2026 03:36:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1768476963; x=1769081763; darn=nongnu.org; h=content-transfer-encoding:mime-version:message-id:date:user-agent :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ycDPsCwNaASY+uQrnGAoedQ8DFHm06IPlbqpqkvxwq4=; b=soKRfz7v0eGp59Pa4W7O+LE+IPcOmbswrvl0G0ZXx/oYjCa+V93PMp/wDMz5nKOVKG F1rLII5E+b4XkRgU3YzYyrn8wg+R8g3Mly15w8Dg6/oHcSf0GNt+fPr4sC5V/AJupxKT PGVICyeo+ao3l1MKr7ow7nj557bcOAdzzi8kdMQ8fvt6KGk1YNn2XJvZBQORbSdwsPWM 2AFiX0fjd4jTtRPxH8X/ndU3uwdUpjuJ5I6Zytx9hxWzBVAW7et0T62gCh168PISd1bx JU79SRXW07dYc8LQFGSEnGOwCP4OUle3Q7lXfSmboDSfTK8WwPM/hkZ2bstNDdS3sDWm ob2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768476963; x=1769081763; h=content-transfer-encoding:mime-version:message-id:date:user-agent :references:in-reply-to:subject:cc:to:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ycDPsCwNaASY+uQrnGAoedQ8DFHm06IPlbqpqkvxwq4=; b=N3nDnhz/vRfpWwGfivvhfNiQn9RiiJ7R0pYWenBup2JmUROUnITVA6owswMu+tOIlD /Erjz26lABttqaYTBpU8g1cnxeLDcvJtUIwEvMKethAMnh5IdAMwmjFip/ExS86VYr4p //IiiFgwIrOp425CXOIYmgvA/hrAZ1UbHk4mp24JugI5oO/X03X+WMY2ccn6GOYWB5Kj 3KugjXGoEXZePYb7E9J3sILLMspu2QMEANsWvK0KHGY9s+zYrzkM4Ecjr7bwhJJKAn57 /cXNxs8hAULtnF2bbZRUVuXDfVBKrfxy9D76wIoJpdQiv22pXSUDD0vfraOsImmFoT5j nQtA== X-Gm-Message-State: AOJu0Yxu0EeLIIBuoeaFpdeb4gFisk0ndr+SOahjExdWCqPadlEIk4HZ F+5eqxNs4u1zn15R586ugN7gv2dsP7u733AEvGHbR/r0fKoclze66TJ6gMknPzwM9Js= X-Gm-Gg: AY/fxX7OPF6SXhUfFNVT1OfhGgitIudnuCpqTwbsgXrDqvXnQNeDtP8zKqJTsiDDJUk JK5Bfc5gu8YB6365EAf5PuTfO/PZQCvzObXCAsbQXNZ4jTzOTRHCM8UBrhApbfoGF+zylH7U37e zylahLPF7hRbd6pjh6AlvThZFn4LNPYGGsrWu/BmMcwDFeLHVvxJnqLzYUtK/4A5jgAZvMI4Kqt vQrrpTve9Li8602cw8Chhdx79OpTxdEQoT3eOtQzJKR+6i737Uvy4oKIv7fdw8JXTV6jFIkUASb ZOKcTZu9kWIFmyalwU0KoazeZuT8gI4OAvkZTZDXTjkXZGMrbQdMw2tAu9lZ9euQbxqcsoMrXGZ tK3N+fKfqwptE9slvQ9Ej1IwQIvkKM6/ejH/0LhJI7V+qH4q/BHG40Tay1BmXkltN8Ab3dzZSl6 X0QlKAP+73jF0= X-Received: by 2002:a05:600c:c4b8:b0:471:1765:839c with SMTP id 5b1f17b1804b1-47ee3394887mr65697325e9.20.1768476963188; Thu, 15 Jan 2026 03:36:03 -0800 (PST) Received: from draig.lan ([185.126.160.19]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-47ee0b48921sm47019475e9.0.2026.01.15.03.36.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Jan 2026 03:36:01 -0800 (PST) Received: from draig (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id 530E05F7DD; Thu, 15 Jan 2026 11:36:00 +0000 (GMT) From: =?utf-8?Q?Alex_Benn=C3=A9e?= To: Corvin =?utf-8?Q?K=C3=B6hne?= Cc: qemu-devel@nongnu.org, "Edgar E. Iglesias" , Paolo Bonzini , Alistair Francis , qemu-arm@nongnu.org, Peter Maydell , Kevin Wolf , qemu-block@nongnu.org, Corvin =?utf-8?Q?K=C3=B6hne?= , Hanna Reitz , Yannick =?utf-8?Q?Vo=C3=9Fen?= Subject: Re: [PATCH v5 15/15] docs/system/arm: Add support for Beckhoff CX7200 In-Reply-To: <20251204093502.50582-16-corvin.koehne@gmail.com> ("Corvin =?utf-8?Q?K=C3=B6hne=22's?= message of "Thu, 4 Dec 2025 10:35:02 +0100") References: <20251204093502.50582-1-corvin.koehne@gmail.com> <20251204093502.50582-16-corvin.koehne@gmail.com> User-Agent: mu4e 1.12.15-pre1; emacs 30.1 Date: Thu, 15 Jan 2026 11:36:00 +0000 Message-ID: <873447jefz.fsf@draig.linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::32c; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x32c.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, 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 Corvin K=C3=B6hne writes: > 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/beckho= ff-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``) > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > +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 devic= e. > +The Beckhoff Communication Controller (CCAT) can be found in the PL of Z= ynq. > + > +More details here: > +https://docs.amd.com/r/en-US/ug585-zynq-7000-SoC-TRM/Zynq-7000-SoC-Techn= ical-Reference-Manual > +https://www.beckhoff.com/de-de/produkte/ipc/embedded-pcs/cx7000-arm-r-co= rtex-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/RTO= S (based on FreeRTOS): > + > +.. code-block:: bash > + > + $ qemu-system-arm -M beckhoff-cx7200 \ > + -device loader,file=3DCX7200_Zynq_Fsbl.elf \ > + -display none \ > + -icount shift=3Dauto \ > + Is icount actually required for running? Or does it just affect the fidelity of performance counters? > + > +For setting the EEPROM content of the CCAT provide the following on the = command line: > + > +.. code-block:: bash > + > + -drive file=3Deeprom.bin,format=3Draw,id=3Dccat-eeprom > + > +The size of eeprom.bin must be aligned to a power of 2 and bigger than 2= 56 bytes. > diff --git a/docs/system/target-arm.rst b/docs/system/target-arm.rst > index a96d1867df..e634872b97 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/highbank > arm/digic Otherwise: Reviewed-by: Alex Benn=C3=A9e --=20 Alex Benn=C3=A9e Virtualisation Tech Lead @ Linaro