qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] HelloWord kernel for qemu-system-aarch64
@ 2014-09-04 10:40 Semion Prihodko
  2014-09-04 13:29 ` Peter Maydell
  0 siblings, 1 reply; 11+ messages in thread
From: Semion Prihodko @ 2014-09-04 10:40 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 694 bytes --]

Hi guys,

Need your help. I trying to find a way to compile/link a minimal kernel
which outputs "Hello World" in qemu-system-aarch64. No tutorial found.
There is no problem running the same example in Foundation emulator, but I
need QEMU.

Trying to reuse axf-file in Foundation example:

aarch64-linux-gnu-objcopy -O binary hello.axf kernel.bin
qemu-system-aarch64 -machine virt -cpu cortex-a57 -nographic -smp 1 -m 3G
-kernel kernel.bin

I got:

qemu: fatal: Trying to execute code outside RAM or ROM at 0x0000000000000000

What's wrong here? Can you show me some tutorial how to build minimal
HelloWorld kernel for qemu-system-aarch64 (without need to generate
axf-file)? Thanks in advance.

[-- Attachment #2: Type: text/html, Size: 904 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2014-09-05 18:27 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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).