From patchwork Tue Oct 29 15:10:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 839341 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:4593:b0:37d:45d0:187 with SMTP id gb19csp427853wrb; Tue, 29 Oct 2024 08:14:24 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCUUtpYNLeXFQn71APwoAjg26xZKQ2STGYda11InARo7pKyaJEMrLNz4zbbSiVg2ydoluVJtYw==@linaro.org X-Google-Smtp-Source: AGHT+IE5bR0IJyeLzKedhSBDR/yPppC0TdkIQPsYjdaemK0B9GWw4RhlS+MGFCm+zYnJdlNwtHua X-Received: by 2002:a05:6214:5783:b0:6c3:5833:260f with SMTP id 6a1803df08f44-6d18587e93dmr205131746d6.39.1730214864009; Tue, 29 Oct 2024 08:14:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1730214863; cv=none; d=google.com; s=arc-20240605; b=ZoeJfMCtFIHCSnel9ALGbWata0/s7MDB1lfhSy0bxwF70Ku5PfNZ32psuK8DjJEVeQ QBlerThzT2OKTPBMCnjWQ2fw+er5qWIMoaiZS8uZ4UbSUHViFg1YVy8iV4DN21J7pIiZ dLjQWa/LJkPg3V1AvHMpXEbQ7Ut9pO2mgq2hRdmPfbbGHdJTqIthY8ozb5FsPNdDtSLC /RE4LCKFFJKl5DSBSog93xgoPxGN5L2Jgu+AtpHOkcPUr3jn7zn1PRIPQWDIX4d/t9f6 U7X+9MiDx+M+IbQBosJf6iHSFwhN+a5TnV9Cp5BTjeK+WKdLX1+0arQdXMez1TV7UnYf fxyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=Le5KO4n1JBHxVJ58eqGZ4EhoqdvJDYpjRshzm7ZvnO8=; fh=FJEKdKDhuTiAEfyZLUOYI8L4LiWeSVgnAZ2Ue/4ic1I=; b=kKJc8kyyVHEVFPjqlsjFtfz4y2wVTwH2GkR4vsPu1maA4pRDXfuh83dsSmwvjIkmRy urB3QpEob4+N60V5Q5IjlKsSaKcVUzPNJXYNZhcfsxs6p5oMlPkJ5vRlTnvwMFdLWBht YzlDt1o5PrW7oDUVQWMSa27+pgBmiUhKAoNCAVlAuW62DkSp9itE/dT4XvuFTGZKuGE3 i+OVkQXV4tHiVaydCKX8RzUYmO7hH9nUDFBGZlONuxlWrA10JHDn/RckiQbjEUr538mw iHsSKw9Q6+TwsSidO1HE1GKsT1uCZ2/O6LhSDE4gutnDGaTquJxmgh6q8HKSE3xH6Nv3 oi9A==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=f95HTwa7; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id 6a1803df08f44-6d179a1122dsi113791736d6.257.2024.10.29.08.14.23 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 29 Oct 2024 08:14:23 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=f95HTwa7; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t5nup-00059J-Vt; Tue, 29 Oct 2024 11:13:59 -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 1t5nsA-0000or-KQ for qemu-devel@nongnu.org; Tue, 29 Oct 2024 11:11:09 -0400 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t5ns2-0007i4-H1 for qemu-devel@nongnu.org; Tue, 29 Oct 2024 11:11:06 -0400 Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-43161c0068bso52985025e9.1 for ; Tue, 29 Oct 2024 08:10:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1730214656; x=1730819456; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=Le5KO4n1JBHxVJ58eqGZ4EhoqdvJDYpjRshzm7ZvnO8=; b=f95HTwa7WHjplUIBvfACfNLh8Am0TPp1dWaJfIu2ONqdOQPduSzuMRFeuuNbhjOz6m YaUqXmJ0tCTAcd13XnfPUBlkfpfeGEZzhE5e+rpVjpj3wkgTIDjSc8lIiKJhc7vI556w aQzCU3bjOwcBQWKuKL9d8Z8RotIeP7v7z+zukisrtketnNEpZtQABfl8XcYISmuMgcyj e9FSdwNE9C3Aa8IEGSTXiXN350mJRHG1aeee9NphNR5KEBsjWtzFfJhJD811RZSI+jK4 xZ8EYbID0j27YOafF/2/hVSlphQUmdWpfSQZVE0GiGWfmZSi9IJd3Pd8DklAmvsa5PBQ 9SPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730214656; x=1730819456; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Le5KO4n1JBHxVJ58eqGZ4EhoqdvJDYpjRshzm7ZvnO8=; b=qIhe8JiNWIg9ZW12ffO2nscEQylNxP5mET9I33G7zE5T/ZzDij+vWt5ungYzLculhp 50SU0/Z82Jwrdezrz4/VSMYYAjtzR7nxAxxperYR/fnAG+G/oc08Rwk2EcYHybmEc94p XXVEc6px7h0aAzJ3tnvDm6IQ/9109PJ52SPhGwu9gfsnTaWy5ZCLXUPvB236idv5XUnN wVPKwcXP81uDNo690W3Y2QnsoPD8pzn6xAdB3fU9Y1PLYPvagHpm/rgEYesCwuna9anT 1WJMOcGh1OcMdSx7MEwEL+7BSkP2wryh6fY3Z9MjURPwICd2fNB0mAc3X0rhSlJEHw63 cBtw== X-Forwarded-Encrypted: i=1; AJvYcCWINhbQYQGgzAEF1rVp5fi7fI5NppGP9wMfXVKr1S5kP6ePqr82QvaE5F8xXM7wiZykxSNSHQin0f9x@nongnu.org X-Gm-Message-State: AOJu0Yw6tFFDCPKXE4RrJdzuC4jpCr1786nIabuEQe+CUBtGSloySNeI Q5MjyV2K8VeQxspu1ZD8rAvHOqbZ2TqPQDh6/OuLCW5yyqMjKNLOW1JGBx7l0B3CJspkpGGS4/c Y X-Received: by 2002:a05:600c:3593:b0:431:4f29:9542 with SMTP id 5b1f17b1804b1-4319ac77f6amr85101005e9.6.1730214655699; Tue, 29 Oct 2024 08:10:55 -0700 (PDT) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [2001:8b0:1d0::2]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4319360cc2esm146835865e9.44.2024.10.29.08.10.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Oct 2024 08:10:55 -0700 (PDT) From: Peter Maydell To: qemu-arm@nongnu.org, qemu-devel@nongnu.org Subject: [PULL 11/18] docs/system/arm: Split fby35 out from aspeed.rst Date: Tue, 29 Oct 2024 15:10:41 +0000 Message-Id: <20241029151048.1047247-12-peter.maydell@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241029151048.1047247-1-peter.maydell@linaro.org> References: <20241029151048.1047247-1-peter.maydell@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::333; envelope-from=peter.maydell@linaro.org; helo=mail-wm1-x333.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 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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org The fby35 machine is not implemented in hw/arm/aspeed.c, but its documentation is currently stuck at the end of aspeed.rst, formatted in a way that it gets its own heading in the top-level list of boards in target-arm.html. We don't have any other boards that we document like this; split it out into its own rst file. This improves consistency with other board docs and means we can have the entry in the target-arm list be in the correct alphabetical order. Signed-off-by: Peter Maydell Reviewed-by: Alex Bennée Reviewed-by: Cédric Le Goater Message-id: 20241018141332.942844-4-peter.maydell@linaro.org --- MAINTAINERS | 1 + docs/system/arm/aspeed.rst | 48 -------------------------------------- docs/system/arm/fby35.rst | 47 +++++++++++++++++++++++++++++++++++++ docs/system/target-arm.rst | 1 + 4 files changed, 49 insertions(+), 48 deletions(-) create mode 100644 docs/system/arm/fby35.rst diff --git a/MAINTAINERS b/MAINTAINERS index 6b1fa225d6e..e74d16bcf1d 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1123,6 +1123,7 @@ F: include/hw/*/*aspeed* F: hw/net/ftgmac100.c F: include/hw/net/ftgmac100.h F: docs/system/arm/aspeed.rst +F: docs/system/arm/fby35.rst F: tests/*/*aspeed* F: tests/*/*ast2700* F: hw/arm/fby35.c diff --git a/docs/system/arm/aspeed.rst b/docs/system/arm/aspeed.rst index 968ba88b997..63910d382fe 100644 --- a/docs/system/arm/aspeed.rst +++ b/docs/system/arm/aspeed.rst @@ -257,51 +257,3 @@ To boot a kernel directly from a Zephyr build tree: $ qemu-system-arm -M ast1030-evb -nographic \ -kernel zephyr.elf - -Facebook Yosemite v3.5 Platform and CraterLake Server (``fby35``) -================================================================== - -Facebook has a series of multi-node compute server designs named -Yosemite. The most recent version released was -`Yosemite v3 `__. - -Yosemite v3.5 is an iteration on this design, and is very similar: there's a -baseboard with a BMC, and 4 server slots. The new server board design termed -"CraterLake" includes a Bridge IC (BIC), with room for expansion boards to -include various compute accelerators (video, inferencing, etc). At the moment, -only the first server slot's BIC is included. - -Yosemite v3.5 is itself a sled which fits into a 40U chassis, and 3 sleds -can be fit into a chassis. See `here `__ -for an example. - -In this generation, the BMC is an AST2600 and each BIC is an AST1030. The BMC -runs `OpenBMC `__, and the BIC runs -`OpenBIC `__. - -Firmware images can be retrieved from the Github releases or built from the -source code, see the README's for instructions on that. This image uses the -"fby35" machine recipe from OpenBMC, and the "yv35-cl" target from OpenBIC. -Some reference images can also be found here: - -.. code-block:: bash - - $ wget https://github.com/facebook/openbmc/releases/download/openbmc-e2294ff5d31d/fby35.mtd - $ wget https://github.com/peterdelevoryas/OpenBIC/releases/download/oby35-cl-2022.13.01/Y35BCL.elf - -Since this machine has multiple SoC's, each with their own serial console, the -recommended way to run it is to allocate a pseudoterminal for each serial -console and let the monitor use stdio. Also, starting in a paused state is -useful because it allows you to attach to the pseudoterminals before the boot -process starts. - -.. code-block:: bash - - $ qemu-system-arm -machine fby35 \ - -drive file=fby35.mtd,format=raw,if=mtd \ - -device loader,file=Y35BCL.elf,addr=0,cpu-num=2 \ - -serial pty -serial pty -serial mon:stdio \ - -display none -S - $ screen /dev/tty0 # In a separate TMUX pane, terminal window, etc. - $ screen /dev/tty1 - $ (qemu) c # Start the boot process once screen is setup. diff --git a/docs/system/arm/fby35.rst b/docs/system/arm/fby35.rst new file mode 100644 index 00000000000..742b887d44c --- /dev/null +++ b/docs/system/arm/fby35.rst @@ -0,0 +1,47 @@ +Facebook Yosemite v3.5 Platform and CraterLake Server (``fby35``) +================================================================== + +Facebook has a series of multi-node compute server designs named +Yosemite. The most recent version released was +`Yosemite v3 `__. + +Yosemite v3.5 is an iteration on this design, and is very similar: there's a +baseboard with a BMC, and 4 server slots. The new server board design termed +"CraterLake" includes a Bridge IC (BIC), with room for expansion boards to +include various compute accelerators (video, inferencing, etc). At the moment, +only the first server slot's BIC is included. + +Yosemite v3.5 is itself a sled which fits into a 40U chassis, and 3 sleds +can be fit into a chassis. See `here `__ +for an example. + +In this generation, the BMC is an AST2600 and each BIC is an AST1030. The BMC +runs `OpenBMC `__, and the BIC runs +`OpenBIC `__. + +Firmware images can be retrieved from the Github releases or built from the +source code, see the README's for instructions on that. This image uses the +"fby35" machine recipe from OpenBMC, and the "yv35-cl" target from OpenBIC. +Some reference images can also be found here: + +.. code-block:: bash + + $ wget https://github.com/facebook/openbmc/releases/download/openbmc-e2294ff5d31d/fby35.mtd + $ wget https://github.com/peterdelevoryas/OpenBIC/releases/download/oby35-cl-2022.13.01/Y35BCL.elf + +Since this machine has multiple SoC's, each with their own serial console, the +recommended way to run it is to allocate a pseudoterminal for each serial +console and let the monitor use stdio. Also, starting in a paused state is +useful because it allows you to attach to the pseudoterminals before the boot +process starts. + +.. code-block:: bash + + $ qemu-system-arm -machine fby35 \ + -drive file=fby35.mtd,format=raw,if=mtd \ + -device loader,file=Y35BCL.elf,addr=0,cpu-num=2 \ + -serial pty -serial pty -serial mon:stdio \ + -display none -S + $ screen /dev/tty0 # In a separate TMUX pane, terminal window, etc. + $ screen /dev/tty1 + $ (qemu) c # Start the boot process once screen is setup. diff --git a/docs/system/target-arm.rst b/docs/system/target-arm.rst index 3c0a5848453..9c01e66ffa9 100644 --- a/docs/system/target-arm.rst +++ b/docs/system/target-arm.rst @@ -90,6 +90,7 @@ undocumented; you can get a complete list by running arm/digic arm/cubieboard arm/emcraft-sf2 + arm/fby35 arm/musicpal arm/kzm arm/nrf