Executing samle RTEMS application on QEMU

S Akhtar crystaldoll85 at gmail.com
Fri Jun 17 03:55:06 UTC 2011


Dear RTEMS users

I am using RTEMS-4.10 for i386ex board
I have installed toolchain and RTEMS with i386ex bsp and set up appropriate
PATH and RTEMS_MAKEFILE_PATH variables
I am using windows xp
But when i execute sample application hello.exe on qemu, i get the following
error

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

EAX=00000001 EBX=f000e2c3 ECX=03f98dfe EDX=000020ff
ESI=0007fdc8 EDI=00000001 EBP=0007fd9c ESP=0007fd40
EIP=ff0720ff EFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=0
ES =0010 00000000 ffffffff 00cf9300 DPL=0 DS   [-WA]
CS =0008 00000000 ffffffff 00cf9a00 DPL=0 CS32 [-R-]
SS =0010 00000000 ffffffff 00cf9300 DPL=0 DS   [-WA]
DS =0010 00000000 ffffffff 00cf9300 DPL=0 DS   [-WA]
FS =0010 00000000 ffffffff 00cf9300 DPL=0 DS   [-WA]
GS =0010 00000000 ffffffff 00cf9300 DPL=0 DS   [-WA]
LDT=0000 00000000 0000ffff 00008200 DPL=0 LDT
TR =0000 00000000 0000ffff 00008b00 DPL=0 TSS32-busy
GDT=     0000833c 00000027
IDT=     00000000 000003ff
CR0=00000011 CR2=00000000 CR3=00000000 CR4=00000000
DR0=00000000 DR1=00000000 DR2=00000000 DR3=00000000
DR6=ffff0ff0 DR7=00000400
CCS=00000400 CCD=fffffc01 CCO=SUBL
EFER=0000000000000000
FCW=037f FSW=0000 [ST=0] FTW=00 MXCSR=00001f80
FPR0=0000000000000000 0000 FPR1=0000000000000000 0000
FPR2=0000000000000000 0000 FPR3=0000000000000000 0000
FPR4=0000000000000000 0000 FPR5=0000000000000000 0000
FPR6=0000000000000000 0000 FPR7=0000000000000000 0000
XMM00=00000000000000000000000000000000
XMM01=00000000000000000000000000000000
XMM02=00000000000000000000000000000000
XMM03=00000000000000000000000000000000
XMM04=00000000000000000000000000000000
XMM05=00000000000000000000000000000000
XMM06=00000000000000000000000000000000
XMM07=00000000000000000000000000000000

This application has requested the Runtime to terminate it in an unusual
way.
Please contact the application's support team for more information.
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

the qemu command i use is

qemu -L . -m256 -boot a -fda rtems-boot.img -hda fat:. -no-reboot -kernel
hello.exe

the grub window appears and i type:

set root=(hd0,1)
multiboot (hd0,1)/hello.exe
boot

then i get the error mentioned above
i am using qemu 0.13.0-windows

Regards

S. Akhtar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20110617/acc98fbb/attachment.html>


More information about the users mailing list