qemu-discuss
[Top][All Lists]
Advanced

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

Re: [Qemu-discuss] [Qemi-discuss] qemu-system-aarch64 crashes when runni


From: Peter Maydell
Subject: Re: [Qemu-discuss] [Qemi-discuss] qemu-system-aarch64 crashes when running aarch64 eabi bare-metal elf
Date: Fri, 6 Jun 2014 11:02:02 +0100

On 26 May 2014 07:15, Mallikarjun Goudar <address@hidden> wrote:
> Hi,
> I built an "'hello world" application using aarch64-none-elf-gcc (linaro gcc
> tools). And I tried to run generated elf using following command:
>
> qemu-system-aarch64 -M virt -cpu cortex-a57  -nographic -serial null
> -monitor null -semihosting -kernel test.elf
>
> I get following error:
>
> qemu: fatal: Trying to execute code outside RAM or ROM at 0x0000000000000000

This means your code is trying to execute at address 0, but there is
no RAM there on this board. You need to make your code execute
at the addresses where there is RAM, which in this case is
0x40000000 and up.

thanks
-- PMM



reply via email to

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