From patchwork Wed Dec 15 10:40:20 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 524251 Delivered-To: patch@linaro.org Received: by 2002:a05:6e04:2287:0:0:0:0 with SMTP id bl7csp232743imb; Wed, 15 Dec 2021 03:15:09 -0800 (PST) X-Google-Smtp-Source: ABdhPJz9soDUM1oxJf/06sNzDMwgsKGVjgC72wQDI1l/bqKwZkCtjtu5UK3d/grESiAT/ucnBdYt X-Received: by 2002:a25:8e0d:: with SMTP id p13mr5546362ybl.46.1639566909849; Wed, 15 Dec 2021 03:15:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1639566909; cv=none; d=google.com; s=arc-20160816; b=uvrw9wIJulBna0xxLTAoWkwcWG+7xezeRGpc1hGCcR5qSKp7pOvI0uxN6wuE7FJQTc P15pozytAed1ejZaV+JhdnyxpHr9wn3A7HK5eACnTUC/wmATeQlkyuaRcpPPN2aD7Rbz sR+vgg7tNobeI2Iqyd1iUMD3IxgmLxkoGdjvr2LzpjDPHDbjh8C+KhK2GMsi8QJaiYHe E18dpacK+0JDnGJsTQzLdvX/bOkMJsqonxT4bESp50MtMNFp/rXKr7z8h0XhchpI2Sh3 +1OiuLaKxunTM2OohUjVyGIMpYMm/6NRjmQCTyYlcQkFR2BdBr9Iqb1yWP0ExC1g5CTk jLYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; 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=5tWc0SpCxjJ+nrESHqQyrz7We4RccBy36x+rXAWJeBE=; b=nZbpw24wLRNw2p/crSCU/yj9np0YgIHpIaDN2GYi45tPnvK7nX5hqucdycR8mDizi1 OEkUsGr8r7GPMY2ODA+D/5xk931kYj8T8JTp8Wg2A3CFa2hV7KYxupyCw96IyOt3/LBo FgWyt7BXQwVacb53YFNL/d0rNkgqQJTUj1WIGbHnXFs2ggcX7W6YZ7gjPoxs3HW9QHzC j5FgnplnAum0EeWiAYJvMLtRixkkDCRDfD90MsojiW1QfYuZv1B8PByCAGtTyM4IMxK4 LHUBK91IacFLxZte0SPwxnKm/Ya2Qem3bE8GK1Y5p2zBRydc+7RWoI/queIpTEEood1U 0YVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SqVMyirx; 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 Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id m184si1585427ybb.392.2021.12.15.03.15.09 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 15 Dec 2021 03:15:09 -0800 (PST) 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=SqVMyirx; 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 Received: from localhost ([::1]:49960 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mxSFZ-0006nx-8Q for patch@linaro.org; Wed, 15 Dec 2021 06:15:09 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41190) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxRiX-0006ga-Vd for qemu-devel@nongnu.org; Wed, 15 Dec 2021 05:41:02 -0500 Received: from [2a00:1450:4864:20::430] (port=42986 helo=mail-wr1-x430.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mxRiR-0008Pa-Hu for qemu-devel@nongnu.org; Wed, 15 Dec 2021 05:41:00 -0500 Received: by mail-wr1-x430.google.com with SMTP id c4so37352702wrd.9 for ; Wed, 15 Dec 2021 02:40:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=5tWc0SpCxjJ+nrESHqQyrz7We4RccBy36x+rXAWJeBE=; b=SqVMyirxDOnN56MasCFEu4cgL7i6jC2KpwRBlnrccfaUgbDxH8pcmqiyOWK6RaMrot EZf+fVG+B1CPVMcXQt7dEc9jHSKk2t1HAV85X/WCBT2s864LxCBgv1PpwaVbtY6u5GAt Q46iiKPo28auMOXQUK+M4oa5y8/0Tie8Tp257/fm86OeXP+9ShU0W+01Afhi6TVcKZML izv6XT0i2xMjTE4VNGLixZy81pzFM6AQfC3kp97NtTEpRYiDnmpgXkA4WmXCfjtoPPTe 3zaRe1DZa1YnJGlwRtpAo3H+XmuERXmTxzchneO7aeho7XvKZN/J8SQFW7gHxhLWv5x9 kR4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=5tWc0SpCxjJ+nrESHqQyrz7We4RccBy36x+rXAWJeBE=; b=P/USKSnl3S1x4DWIA0etFqCBFL74Hb4Q+d8PZSn5Eg0BTNhROX+fvaMGp7XjJ+TDf6 hKmHESEHMB9nfJ2eB6LzqdZVnaFTDd2qnCN84qUKFe9CIFiSmYLE0xYwMBFu7gTC6YVw fU+RgpQKYuc38zSNYazdGqY5jWFaPVfkE3Fiakch5vNz79kKKQCVWDlQ9rAnL2OxLDb5 GbBNOSGYL6GHRKDMdFzPrM/KjYbwKg0rRu7BK6W+ifZit6M9yA3Q+b+AC/cf9gtNK+Vb VMvvrwF+FGMuuWe4h2nOZhP5cQMbWIMgthCNHi3oQ5faS0yduSF+ka4O6By1DGDsx4mv 0GIA== X-Gm-Message-State: AOAM530sMdkQyJWL9Dj/Sy8+MkTeT4KNtjVi52NTzYcpGB0CES5uahTv OUk2znNdhxYVo7sn7Kerp21t9awXbG25sg== X-Received: by 2002:adf:fa83:: with SMTP id h3mr3274563wrr.434.1639564853409; Wed, 15 Dec 2021 02:40:53 -0800 (PST) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [2001:8b0:1d0::2]) by smtp.gmail.com with ESMTPSA id e18sm1600815wrs.48.2021.12.15.02.40.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Dec 2021 02:40:53 -0800 (PST) From: Peter Maydell To: qemu-devel@nongnu.org Subject: [PULL 04/33] docs: aspeed: Give an example of booting a kernel Date: Wed, 15 Dec 2021 10:40:20 +0000 Message-Id: <20211215104049.2030475-5-peter.maydell@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211215104049.2030475-1-peter.maydell@linaro.org> References: <20211215104049.2030475-1-peter.maydell@linaro.org> MIME-Version: 1.0 X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::430 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::430; envelope-from=peter.maydell@linaro.org; helo=mail-wr1-x430.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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" From: Joel Stanley A common use case for the ASPEED machine is to boot a Linux kernel. Provide a full example command line. Reviewed-by: Cédric Le Goater Signed-off-by: Joel Stanley Message-id: 20211117065752.330632-4-joel@jms.id.au Signed-off-by: Peter Maydell --- docs/system/arm/aspeed.rst | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/docs/system/arm/aspeed.rst b/docs/system/arm/aspeed.rst index b87697fcf0b..6aafd611e9a 100644 --- a/docs/system/arm/aspeed.rst +++ b/docs/system/arm/aspeed.rst @@ -78,9 +78,9 @@ Missing devices Boot options ------------ -The Aspeed machines can be started using the ``-kernel`` option to -load a Linux kernel or from a firmware. Images can be downloaded from -the OpenBMC jenkins : +The Aspeed machines can be started using the ``-kernel`` and ``-dtb`` options +to load a Linux kernel or from a firmware. Images can be downloaded from the +OpenBMC jenkins : https://jenkins.openbmc.org/job/ci-openbmc/lastSuccessfulBuild/ @@ -88,6 +88,15 @@ or directly from the OpenBMC GitHub release repository : https://github.com/openbmc/openbmc/releases +To boot a kernel directly from a Linux build tree: + +.. code-block:: bash + + $ qemu-system-arm -M ast2600-evb -nographic \ + -kernel arch/arm/boot/zImage \ + -dtb arch/arm/boot/dts/aspeed-ast2600-evb.dtb \ + -initrd rootfs.cpio + The image should be attached as an MTD drive. Run : .. code-block:: bash