Hi all,

I'm a new user of gem5 simulator. Recently, i'm trying to make the basic
"hello world" test program running on MIPS_SE.

I use the "Sourcery_CodeBench_Lite for Mips_Gnu_Linux", which recommended
by gem5 wiki document, to cross compile the basic hello.c
(./tests/test-progs/hello/src/hello.c).
I use the command: "mips-linux-gnu-gcc -o hello hello.c -EL -static"
Then i replace ./tests/test-progs/hello/bin/mips/linux/hello with this
result file.
At last, i run the gem5 with the command: ./build/MIPS_SE/gem5.opt
configs/example/se.py,
but i receive the following result:

**** REAL SIMULATION ****
info: Entering event queue @ 0.  Starting simulation...
info: Increasing stack size by one page.
panic: Page table fault when accessing virtual address 0xffff9014
 @ cycle 370000
[invoke:build/MIPS_SE/sim/faults.cc, line 65]
Memory Usage: 548360 KBytes
Program aborted at cycle 370000
Abort


Is there something wrong with my compile command? What else i need to do to
make the gem5 run the helloworld program?


Thanks,

Joe
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to