All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christopher Covington <cov@codeaurora.org>
To: Semion Prihodko <semion.ababo@gmail.com>
Cc: Peter Maydell <peter.maydell@linaro.org>,
	QEMU Developers <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] HelloWord kernel for qemu-system-aarch64
Date: Thu, 04 Sep 2014 14:15:32 -0400	[thread overview]
Message-ID: <5408AC44.3000701@codeaurora.org> (raw)
In-Reply-To: <CAOLuvB2DPVBT0W-NjgNLoHK6vqQOw-GoX9aX8eVzgmq53_n7rw@mail.gmail.com>

Hi Semion,

On 09/04/2014 09:40 AM, Semion Prihodko wrote:
> Still don't know how to build/run a simple Hello World kernel on
> qemu-system-aarch64?
> 
> Guys, this is a very basic thing, please provide concrete steps. Thanks.

Here you go. Start at the wget.

http://lists.gnu.org/archive/html/qemu-devel/2014-07/msg03487.html

Angel semihosting isn't implemented upstream so a text hello world won't be
trivial, although given enough time it should be possible to implement Angel
semihosting for A64 in QEMU, implement DCC in QEMU and Newlib/libgloss or
implement PL011 UART or VirtIO-MMIO console in Newlib/libgloss.

Some of the bootloaders and firmwares out there (bootwrapper, ARM trusted
firmware, UEFI/Tianocore) may have examples of using the PL011 UART.

Christopher

-- 
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
hosted by the Linux Foundation.

  parent reply	other threads:[~2014-09-04 18:15 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-04 10:40 [Qemu-devel] HelloWord kernel for qemu-system-aarch64 Semion Prihodko
2014-09-04 13:29 ` Peter Maydell
2014-09-04 13:40   ` Semion Prihodko
2014-09-04 13:44     ` Peter Maydell
2014-09-04 13:49       ` Semion Prihodko
2014-09-04 13:50         ` Peter Maydell
2014-09-04 18:15     ` Christopher Covington [this message]
2014-09-05 14:50       ` Semion Prihodko
2014-09-05 16:57         ` Claudio Fontana
2014-09-05 17:52           ` Semion Prihodko
2014-09-05 18:27             ` Christopher Covington

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=5408AC44.3000701@codeaurora.org \
    --to=cov@codeaurora.org \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=semion.ababo@gmail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.