From: Joel Stanley <joel@jms.id.au>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: "Andrew Jeffery" <andrew@aj.id.au>,
qemu-arm@nongnu.org, "Cédric Le Goater" <clg@kaod.org>,
qemu-devel@nongnu.org
Subject: [PATCH v2 3/4] docs: aspeed: Give an example of booting a kernel
Date: Wed, 17 Nov 2021 14:57:51 +0800 [thread overview]
Message-ID: <20211117065752.330632-4-joel@jms.id.au> (raw)
In-Reply-To: <20211117065752.330632-1-joel@jms.id.au>
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 <clg@kaod.org>
Signed-off-by: Joel Stanley <joel@jms.id.au>
---
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 b87697fcf0b1..6aafd611e9a5 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
--
2.33.0
next prev parent reply other threads:[~2021-11-17 7:01 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-17 6:57 [PATCH v2 0/4] docs: aspeed: Minor updates Joel Stanley
2021-11-17 6:57 ` [PATCH v2 1/4] docs: aspeed: Add new boards Joel Stanley
2021-11-17 7:53 ` [SPAM] " Cédric Le Goater
2021-11-17 6:57 ` [PATCH v2 2/4] docs: aspeed: Update OpenBMC image URL Joel Stanley
2021-11-17 6:57 ` Joel Stanley [this message]
2021-11-17 6:57 ` [PATCH v2 4/4] docs: aspeed: ADC is now modelled Joel Stanley
2021-11-29 13:26 ` [PATCH v2 0/4] docs: aspeed: Minor updates Peter Maydell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211117065752.330632-4-joel@jms.id.au \
--to=joel@jms.id.au \
--cc=andrew@aj.id.au \
--cc=clg@kaod.org \
--cc=peter.maydell@linaro.org \
--cc=qemu-arm@nongnu.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).