ali bagherian <alibghrn <at> gmail.com> writes:

> 
> 
> Hi, 
> 
> I used MIPS cross compilers from CodeSourcery to recompile the Hello.c sample 
for MIPS. it could compile it without any error but when I tried to run it, It 
does not run properly. I could run it properly before I compile it . 
> 
> I used following command to compile it :
> 
> mips-linux-gnu-gcc -EL -g hello.c -o hello -static
> 
> 
> I used following command to run it:
> 
> build/MIPS/gem5.opt configs/example/se.py -c  tests/test-
progs/hello/bin/mips/linux/hello
> 
> 
> This is the output after runing compiled program
> 
> 
> 
> Global frequency set at 1000000000000 ticks per second
> warn: CoherentBus system.membus has no snooping ports attached!
> 0: system.remote_gdb.listener: listening for remote gdb #0 on port 7000
> **** REAL SIMULATION ****
> info: Entering event queue  <at>  0.  Starting simulation...
> info: Increasing stack size by one page.
> warn: 478500: Halting thread 0 in system.cpu  <at>  PC 40f2c0, setting 
> restart 
PC to 40f2c4
> Exiting  <at>  tick 9223372036854775807 because simulate() limit reached
> 
> 
> 
> There is no 'Hello world'  in output.
> 
> Thanks,
> Ali
> 
> 
> _______________________________________________
> gem5-users mailing list
> gem5-users <at> gem5.org
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Hi Ali,

The same happened to me when simulating mips. Did you find any solution? I am 
stuck to this problem:

Global frequency set at 1000000000000 ticks per second
warn: CoherentBus system.membus has no snooping ports attached!
0: system.remote_gdb.listener: listening for remote gdb #0 on port 7000
**** REAL SIMULATION ****
info: Entering event queue @ 0.  Starting simulation...
info: Increasing stack size by one page.
warn: 584000: Halting thread 0 in system.cpu @ PC 40e144, setting restart PC to 
40e148
Exiting @ tick 9223372036854775807 because simulate() limit reached

Thanks.
Fernanda


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

Reply via email to