qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] AArch64 ELF File Loading


From: Peter Maydell
Subject: Re: [Qemu-devel] AArch64 ELF File Loading
Date: Fri, 25 Jul 2014 15:41:45 +0100

On 25 July 2014 15:35, Christopher Covington <address@hidden> wrote:
> qemu-system-aarch64 -nodefaults -nographic -monitor none -M virt \
>   -cpu cortex-a57 -m 3G -semihosting -kernel hello
>
> qemu: fatal: Trying to execute code outside RAM or ROM at 0x0000000000000000

This means your code took an exception (and there's
no RAM at the low address where the vector table is
by default). Try "-d in_asm,exec,int" to get a better idea
of what's being executed.

Also, where do you expect the output from that printf
to be going? Does your gcc/bare metal libc write to
the UART? How does it know what address the UART is?
If it's expecting to do semihosting for output, then you're
running into the fact that we don't implement semihosting
for AArch64 yet.

thanks
-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]