qemu-discuss
[Top][All Lists]
Advanced

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

[Qemu-discuss] qemu-system-aarch64 crashes when running aarch64 eabi bar


From: Mallikarjun Goudar
Subject: [Qemu-discuss] qemu-system-aarch64 crashes when running aarch64 eabi bare-metal elf
Date: Mon, 26 May 2014 11:50:43 +0530

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

PC=0000000000000000  SP=0000000000000000
X00=0000000000000000 X01=0000000000000000 X02=0000000000000000
X03=0000000000000000
X04=0000000000000000 X05=0000000000000000 X06=0000000000000000
X07=0000000000000000
X08=0000000000000000 X09=0000000000000000 X10=0000000000000000
X11=0000000000000000
X12=0000000000000000 X13=0000000000000000 X14=0000000000000000
X15=0000000000000000
X16=0000000000000000 X17=0000000000000000 X18=0000000000000000
X19=0000000000000000
X20=0000000000000000 X21=0000000000000000 X22=0000000000000000
X23=0000000000000000
X24=0000000000000000 X25=0000000000000000 X26=0000000000000000
X27=0000000000000000
X28=0000000000000000 X29=0000000000000000 X30=0000000000000000
PSTATE=400003c5 (flags -Z--)

q00=0000000000000000:0000000000000000 q01=0000000000000000:0000000000000000
q02=0000000000000000:0000000000000000 q03=0000000000000000:0000000000000000
q04=0000000000000000:0000000000000000 q05=0000000000000000:0000000000000000
q06=0000000000000000:0000000000000000 q07=0000000000000000:0000000000000000
q08=0000000000000000:0000000000000000 q09=0000000000000000:0000000000000000
q10=0000000000000000:0000000000000000 q11=0000000000000000:0000000000000000
q12=0000000000000000:0000000000000000 q13=0000000000000000:0000000000000000
q14=0000000000000000:0000000000000000 q15=0000000000000000:0000000000000000
q16=0000000000000000:0000000000000000 q17=0000000000000000:0000000000000000
q18=0000000000000000:0000000000000000 q19=0000000000000000:0000000000000000
q20=0000000000000000:0000000000000000 q21=0000000000000000:0000000000000000
q22=0000000000000000:0000000000000000 q23=0000000000000000:0000000000000000
q24=0000000000000000:0000000000000000 q25=0000000000000000:0000000000000000
q26=0000000000000000:0000000000000000 q27=0000000000000000:0000000000000000
q28=0000000000000000:0000000000000000 q29=0000000000000000:0000000000000000
q30=0000000000000000:0000000000000000 q31=0000000000000000:0000000000000000
FPCR: 00000000  FPSR: 00000000
Aborted (core dumped)


Am I missing any option here? Can anybody please guide me to run
simple hello world program using qemu-system-aarch64? I see a similar
discussion but did not get any help from that thread.

http://lists.nongnu.org/archive/html/qemu-discuss/2014-04/msg00002.html

Thank you very much for your time and help.

qemu-system-aarch64 --version
QEMU emulator version 2.0.50, Copyright (c) 2003-2008 Fabrice Bellard

Thanks,
Mallikarjun



reply via email to

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