From: "Cédric Le Goater" <clg@kaod.org>
To: Joel Stanley <joel@jms.id.au>, Peter Maydell <peter.maydell@linaro.org>
Cc: Andrew Jeffery <andrew@aj.id.au>,
qemu-arm@nongnu.org, qemu-devel@nongnu.org
Subject: Re: [SPAM] [RESEND PATCH 3/3] docs: aspeed: Give an example of booting a kernel
Date: Wed, 17 Nov 2021 07:47:43 +0100 [thread overview]
Message-ID: <662d5a80-967d-fbb5-2ea9-a750036f7fd0@kaod.org> (raw)
In-Reply-To: <20211117010947.297540-4-joel@jms.id.au>
On 11/17/21 02:09, Joel Stanley wrote:
> A common use case for the ASPEED machine is to boot a Linux kernel.
> Provide a full example command line.
>
> Signed-off-by: Joel Stanley <joel@jms.id.au>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Thanks
C.
> ---
> 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 4bed7b5221b4..de408b0364ea 100644
> --- a/docs/system/arm/aspeed.rst
> +++ b/docs/system/arm/aspeed.rst
> @@ -77,9 +77,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/
>
> @@ -87,6 +87,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
>
prev parent reply other threads:[~2021-11-17 6:49 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-17 1:09 [RESEND PATCH 0/3] docs: aspeed: Minor updates Joel Stanley
2021-11-17 1:09 ` [RESEND PATCH 1/3] docs: aspeed: Add new boards Joel Stanley
2021-11-17 6:41 ` [SPAM] " Cédric Le Goater
2021-11-17 1:09 ` [RESEND PATCH 2/3] docs: aspeed: Update OpenBMC image URL Joel Stanley
2021-11-17 6:42 ` [SPAM] " Cédric Le Goater
2021-11-17 1:09 ` [RESEND PATCH 3/3] docs: aspeed: Give an example of booting a kernel Joel Stanley
2021-11-17 6:47 ` Cédric Le Goater [this message]
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=662d5a80-967d-fbb5-2ea9-a750036f7fd0@kaod.org \
--to=clg@kaod.org \
--cc=andrew@aj.id.au \
--cc=joel@jms.id.au \
--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).