Hi all,
When I try running my own hello world binary for ARM, compiled
natively on the BeagleBone, SE simulation fails as shown below.
Running the binary from tests/test-progs/hello/bin/arm/linux/hello,
however, works just fine.
Are there any specific options that were used to compile the binary in
the repository? Maybe any flags regarding the non-supported
instructions for ARM in system call emulation?
This is the output from gem5:
---Simulation begins.
0: system.remote_gdb.listener: listening for remote gdb on port 7000
**** REAL SIMULATION ****
info: Entering event queue @ 0. Starting simulation...
panic: Page table fault when accessing virtual address 0x1c
@ cycle 698500
[invoke:build/ARM_SE/sim/faults.cc, line 64]
Memory Usage: 608316 KBytes
For more information see: http://www.m5sim.org/panic/4f0b3472
Program aborted at cycle 698500
Aborted
This is the command line:
./build/ARM_SE/m5.debug configs/example/se.py
I compiled my hello world binary on the BeagleBone Black, running
Debian, with gcc-4.4. The binary in test-progs is compiled with
gcc-4.3 on an Ubuntu machine. Passing both binaries through the
file-command results in this:
hello world on BeagleBone:
ELF 32-bit LSB executable, ARM, version 1 (SYSV), statically linked,
for GNU/Linux 2.6.26, not stripped
hello world from repository:
ELF 32-bit LSB executable, ARM, version 1 (SYSV), statically linked,
for GNU/Linux 2.6.16, not stripped
I run a rather old version of gem5, however I am surprised that the
binary in the repository passes simulation, but mine won't. Do you
have any pointers that could help me out?
Thanks,
Max
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users