From nobody Sat Nov 15 06:57:58 2025 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1755248619; cv=none; d=zohomail.com; s=zohoarc; b=HB97qhLatdILGT9YQD0LxzNev7SQPW/vVdsl5sj6n8I7jlwwJ2mW7/jgD3wwTgJLpAHxmJQU0aHzwmD8C8n2YfDpliaNyE1ZgMD+X5w/m+irtDyNh/6Kkr7+L+fGP+/ZyzvK6gGhVwSm82hmAarr2kF01+pi0oV1u9RPheLbxJo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1755248619; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=j7zFtEhof/fPqe84pHFWwYVCgkcZBxKurmwcEoc0vuc=; b=m85V1LjPPzT43aCHiXSW4kkXPMjdy4gfMiB82PR4tuJvHZVYDIAvzYxjZIBlIps7Uet1WCT00Wlgx3nxU8dcPIyeEhG/IU697M0c7HV7Qoe9csaWtkVlKN9gInhX+tFLzEDyXqVIcvEvPnPPIQZAEj9drWNwfRBnCnNrw51if7I= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1755248619069253.21221954786142; Fri, 15 Aug 2025 02:03:39 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1umqJe-0003hO-UN; Fri, 15 Aug 2025 05:01:38 -0400 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 1umqJa-0003fj-3q; Fri, 15 Aug 2025 05:01:34 -0400 Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1umqJW-0005tH-OU; Fri, 15 Aug 2025 05:01:33 -0400 Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-45a1b00f23eso9588175e9.0; Fri, 15 Aug 2025 02:01:28 -0700 (PDT) Received: from corvink-nb.beckhoff.com ([2001:9e8:dc31:6500:43b3:5eac:8d91:b512]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-45a22321a54sm10964045e9.18.2025.08.15.02.01.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Aug 2025 02:01:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1755248488; x=1755853288; 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=j7zFtEhof/fPqe84pHFWwYVCgkcZBxKurmwcEoc0vuc=; b=bx47Qn/bdlt6aRmpxew4RT9bNxjl0K2rbwCNk5qR40jexgStdKBXFjd3AGiCme50kb 8XwebJh0nqWNpHXp1G8ZcknC3xRZteM+a82Pkmoh4iXNyfGU2SsFQQ8pFDD9nKWfkxhg IJeKF1By17ivNz4zQZZzXcygOnCnBT3weFE/EcZn4Hj4/bKowwzKYP7eqt5jv62TVnl9 U+TJgX6/4oXsp5z7+R6Zhm6q5yiTB39RhW1DcDKf71UdoxZhOEg9LYRW4v18KTZdb1Kq Ht2O0IznnaWXMFJWwnLhGBPY3WfFIrawBw2K/RQ/P9Wf7brg1FZ+j47UqwezcLjvdgkq X/Ww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1755248488; x=1755853288; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=j7zFtEhof/fPqe84pHFWwYVCgkcZBxKurmwcEoc0vuc=; b=lzgANx+DsDFDGwFYBAcWEVTMHsw8LoDHjU8QW25NamkOby3PvQYHlhADLfwmhfssBV MfGtTQnlFlSWRqJD48byQckXa6fRWv6l5pVvdD5jqUQ1koE4deZxCCIOYz879IngcOWp CW1/rR/JKF1De9aS/Qvj4dZEw9XGHb4b7AklXqYu89dlwTi6STHHlomDV9E1kbAa/hZf oMKmufl0Q0+cWNfWvJUzVOrT9A6itrFBRSmz0tSgn3mBuRT2qfAcMqwhVfqD9hR3lAFc twwrGenmqn+26monlD8kZFSXi8mlLO5HNzZkugZClg292p2USgQRPKUDUfxzGJuYMT5I Wq8Q== X-Forwarded-Encrypted: i=1; AJvYcCURVJHUIVerVNGCv+uqnFL53oONDUJ6D4RQxBDTAPKOVLz+tt4hmf9EWmV7mZQ4gYHw8vyXZa/JDA==@nongnu.org, AJvYcCXGVhM4Ja92+zqO14r+bRVIe1Ro23H0gINhYTG3ssq1c4Cum0EuUltANURyGS/Kz/KZM9FJ9QvO6y0w9Q==@nongnu.org X-Gm-Message-State: AOJu0YzAYUjcQxF0TMv738AB3TlW7pC4o55ExJYXGvgIJQNlOihWjovB zGcJQN6c4uZGH+kQ1VP2RJ2PJ05j5gV5GHUNmp9zYa6Oi2xQ7PEALIWb3OeC4fKC X-Gm-Gg: ASbGncskx3EjAllWJVpFlhsUFG4FnnxzOWV7HL7NViMUbdL61TG5FK3a+csGUldb7Hy pFtjFf8tmrX+M0fdQm52Z/zTsyjqbP+so3rbGuyNpeHoRou8AJXXtaGfwXLuxvtj83YjlgnHFxJ XTuLHxX7vcUb3u604619CfUmIkEGvQPjNUXyYlKxKgLvV3lbmZ2bpMIJcfJ2udxbvBqWAEXJ1ZN NhmCT8RjArRLAVfAPThbe75l4rocUXtuXwIbeeonga1pHHb7ooDmjiH4QyLVi2gkrpY3FvbRZJh 2gv3vhDgsAEHPwv6/9lXlevADFK2gQZGaDjw6uXzO5pJsRnudt5nfZKd3eC4+udSL+nik1oEM8c b/ThbXFlxj9YkP7khz93Y2/A5UMTJCgvcLzFA1YHbDbomOQ== X-Google-Smtp-Source: AGHT+IE4Jgcuark9gRpiwE8pT6VOcNRt7Y/o8+QXDU9hksn3F3doUvts2+wZltjSu3Bf3CPeeeEm6g== X-Received: by 2002:a05:600c:354b:b0:456:eb9:5236 with SMTP id 5b1f17b1804b1-45a21808b2bmr13975715e9.15.1755248487602; Fri, 15 Aug 2025 02:01:27 -0700 (PDT) From: =?UTF-8?q?Corvin=20K=C3=B6hne?= To: qemu-devel@nongnu.org Cc: Peter Maydell , =?UTF-8?q?Corvin=20K=C3=B6hne?= , qemu-arm@nongnu.org, Kevin Wolf , Paolo Bonzini , "Edgar E. Iglesias" , Alistair Francis , =?UTF-8?q?Yannick=20Vo=C3=9Fen?= , Hanna Reitz , qemu-block@nongnu.org, YannickV Subject: [PATCH v2 14/14] docs/system/arm: Add support for Beckhoff CX7200 Date: Fri, 15 Aug 2025 11:01:12 +0200 Message-ID: <20250815090113.141641-15-corvin.koehne@gmail.com> X-Mailer: git-send-email 2.50.1 In-Reply-To: <20250815090113.141641-1-corvin.koehne@gmail.com> References: <20250815090113.141641-1-corvin.koehne@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::32e; envelope-from=corvin.koehne@gmail.com; helo=mail-wm1-x32e.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=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @gmail.com) X-ZM-MESSAGEID: 1755248620791116600 From: YannickV This commit offers some documentation on the Beckhoff CX7200 qemu emulation. Signed-off-by: Yannick Vo=C3=9Fen --- 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``) +=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 A= 9. +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 Zyn= q. + +More details here: +https://docs.amd.com/r/en-US/ug585-zynq-7000-SoC-TRM/Zynq-7000-SoC-Technic= al-Reference-Manual +https://www.beckhoff.com/de-de/produkte/ipc/embedded-pcs/cx7000-arm-r-cort= ex-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=3DCX7200_Zynq_Fsbl.elf \ + -display none \ + -icount shift=3Dauto \ + + +For setting the EEPROM content of the CCAT provide the following on the co= mmand 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 256= bytes. diff --git a/docs/system/target-arm.rst b/docs/system/target-arm.rst index 9aaa9c414c..db7707725d 100644 --- a/docs/system/target-arm.rst +++ b/docs/system/target-arm.rst @@ -106,6 +106,7 @@ Board-specific documentation arm/xlnx-versal-virt arm/xlnx-zynq arm/xlnx-zcu102 + arm/beckhoff-cx7200 =20 Emulated CPU architecture support =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 --=20 2.50.1