Hi,
i am trying to run a simple hello_cpu application on the ARM CPU. i use ARM
cross-compiler: arm-linux-gnueabi-gcc
==================== hello_cpu.c ===================================
#include <stdio.h>
#include "m5op.h"
int main(){
printf("Hello World (ID:%d)\n",m5a_getid());
return 0;
}
================================================================
to run my application i used the following commands:
========================== commandes ============================
arm-linux-gnueabi-gcc -o gem5/hello_cpu gem5/util/m5/hello_cpu.c
gem5/util/m5/m5op_arm.S
gem5/build/ARM/gem5.opt gem5/configs/example/se.py -c gem5/hello_cpu
================================================================
the error message I got was :
============================ errors ==============================
gem5 Simulator System. http://gem5.org
gem5 is copyrighted software; use the --copyright option for details.
gem5 compiled Mar 26 2012 18:01:14
gem5 started Mar 28 2012 14:58:13
gem5 executing on WorkStation-T3400
command line: gem5/build/ARM/gem5.opt gem5/configs/example/se.py -c
gem5/hello_cpu
Global frequency set at 1000000000000 ticks per second
0: system.remote_gdb.listener: listening for remote gdb #0 on port 7000
**** REAL SIMULATION ****
info: Entering event queue @ 0. Starting simulation...
warn: instruction 'cdp' unimplemented
panic: Page table fault when accessing virtual address 0x11
@ cycle 2149500
[invoke:build/ARM/sim/faults.cc, line 70]
Memory Usage: 620044 KBytes
Program aborted at cycle 2149500
Aborted
=================================================================
I would appreciate it very much if someone can give me some hints
Thank you!
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users